Experiments
Get experiment
Get a complete experiment by ID. The response includes structured metadata, related links, and, when a complete setup exists, decision metrics, variants, warehouse_exposure_configuration, datadog_flag_configuration, STATIC or STEPS traffic exposure, and assignment and event dates. STEPS describes the configured plan rather than wall-clock history; Datadog step durations exclude pauses. The list endpoint omits these setup details.
get/api/v2/experiments/{experiment_id}
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_read
- 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
Response
OK
Example response
{
"data": {
"attributes": {
"assignments_end_date": "2026-08-15T00:00:00Z",
"assignments_start_date": "2026-08-01T00:00:00Z",
"concluded_at": "2026-08-05T09:30:00Z",
"conclusion": {
"decision_reason": "The primary metric improved without material regressions",
"outcome": "POSITIVE",
"summary": "The treatment improved conversion"
},
"created_at": "2026-08-01T12:00:00Z",
"datadog_flag_configuration": null,
"decision_metrics": [
{
"is_primary": true,
"metric_id": "b1a2c3d4-0000-0000-0000-000000000000"
}
],
"decision_variant_key": "treatment",
"events_end_date": "2026-08-22T00:00:00Z",
"events_start_date": "2026-08-01T00:00:00Z",
"experiment_type": "STANDARD",
"hypothesis": "A clearer checkout button increases purchase conversion",
"name": "Checkout button test",
"pipeline_table_suffix": "a1b2c3d4",
"protocol_id": "e4d5f6a7-0000-0000-0000-000000000000",
"related_links": [
{
"id": "d1d2d3d4-0000-0000-0000-000000000000",
"title": "Experiment design",
"url": "https://docs.example.com/checkout-experiment"
}
],
"results_last_updated": "2026-08-05T09:25:00Z",
"split_by_properties": [],
"status": "DECISION_MADE",
"structured_metadata": [
{
"enum_values": [
"beta"
],
"field_display_name": "Launch stage",
"field_key": "launch_stage",
"field_type": "ENUM"
},
{
"field_display_name": "Notes",
"field_key": "notes",
"field_type": "FREETEXT",
"freetext_value": "Checkout redesign"
}
],
"subject_type_id": "c2b3d4e5-0000-0000-0000-000000000000",
"summary": "The treatment improved conversion",
"tags": [
"growth"
],
"teams": [
"growth"
],
"traffic_exposure": {
"fraction": 1,
"mode": "STATIC"
},
"updated_at": "2026-08-05T09:30:00Z",
"variants": [
{
"is_active": true,
"is_control": true,
"key": "control",
"name": "Control",
"weight": 50
},
{
"is_active": true,
"is_control": false,
"key": "treatment",
"name": "Treatment",
"weight": 50
}
],
"warehouse_exposure_configuration": {
"entry_point": null,
"experiment_key": "checkout_button_test",
"exposure_sql_model_id": "f5e6a7b8-0000-0000-0000-000000000000"
}
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "experiments"
}
}Changes
Changes to this operation have not been checked yet.