Raw Data

Raw data endpoint is designed to fetch headline testing data with as much detail as possible.

Raw data queries are good for pulling data over custom date ranges, to dig deep into granular metrics.

Get raw data

GET https://api.chartbeat.com/mab/htapi/v1/experiments/raw_data/

Note: The payload can quickly become large, please use date ranges and limit parameter for a good result set.

Query Parameters

NameTypeDescription

apikey (see note)

string

NOTE: Your API key should no longer be set as a query param; instead, pass it in the HTTP header

start*

string

YYYY-MM-DD

end*

string

YYYY-MM-DD

host*

string

The site on which you are querying

limit

integer

Base-10 values only

tz*

string

The timezone you'd like to run the query in a valid Olson timezone format, e.g. America/New_York.

status

string

Choices are 'active', 'archived', 'all'. Defaults to 'all'.

{
  "status": "string",
  "data": [
    {
      "experiment_id": "string",
      "status": "string",
      "type": "string",
      "model": "string",
      "host": "string",
      "domain": "string",
      "path": "string",
      "location": "string",
      "specific_location": "string",
      "exp_metadata": "string",
      "sections": [
        "string"
      ],
      "created_at": "2023-07-21T20:15:05.971Z",
      "archived_at": "2023-07-21T20:15:05.971Z",
      "activated_at": "2023-07-21T20:15:05.971Z",
      "completed_at": "2023-07-21T20:15:05.971Z",
      "total_outcomes": 0,
      "total_failures": 0,
      "outcome_last_received_at": 0,
      "num_outcomes": 0,
      "payout_coefficients": [
        0
      ],
      "priors": [
        0
      ],
      "num_variants": 0,
      "strategy_last_updated_at": 0,
      "winning_variant": "string",
      "convergence_type": "string",
      "value_remaining": "string",
      "valid": "string",
      "user_id": 0,
      "user_email": "string",
      "engagement_mean": 0,
      "engagement_intervals": [
        0
      ],
      "ctr_mean": 0,
      "probability": 0,
      "ctr_intervals": [
        0
      ],
      "engaged_click_intervals": [
        0
      ],
      "engaged_clicks_mean": 0,
      "outcome_counts": [
        0
      ],
      "content_type": "string",
      "content": "string",
      "variant_id": "string",
      "variant_metadata": "string"
    }
  ]
}

Last updated