Experiments
Refresh experiment results
Request a results refresh for one experiment. HTTP 202 confirms acceptance, not completed results. The response identifies the experiment and does not include a job ID. Read experiment results to check freshness. A request while a refresh is queued or running returns 409. After completion, another request can start another refresh.
post/api/v2/experiments/{experiment_id}/results/refresh
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopesproduct_analytics_experiments_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
experiment_idstring uuid required
The UUID of the experiment.
Example:550e8400-e29b-41d4-a716-446655440000
Query parameters
full_refreshboolean
Force a full warehouse rebuild. Defaults to false when omitted.
Response
Accepted
Example response
{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "experiment-results-refresh"
}
}Changes
Changes to this operation have not been checked yet.