Experiments
Retrieve Experiment
Retrieves an experiment or feature flag by its expt_ ID or flag_key handle. Requires experiment:read on the owning account.
get/experiments/{id}
Request
- Base URLhttps://api.whop.com/api/v1
- URLhttps://api.whop.com/api/v1/experiments/{id}
- AuthHTTP bearer
Response
experiment found
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"assignment_seed": "checkout_redesign_v21768435200",
"bucket_by": "user",
"configuration_revision": 1,
"control": {
"related_resource": {
"object": "app"
}
},
"created_at": "2026-01-01T12:00:00.000Z",
"created_by": "user_xxxxxxxxxxxxxx",
"ended_at": "2026-01-01T12:00:00.000Z",
"findings": "Treatment lifted conversion 8%",
"flag_key": "checkout_redesign_v2",
"hypothesis": "Users will convert more",
"id": "expt_xxxxxxxxxxxxxx",
"name": "Checkout Redesign V2",
"related_resource": {
"object": "app"
},
"started_at": "2026-01-01T12:00:00.000Z",
"status": "draft",
"targeting_rules": [
{
"conditions": [
{
"operator": "any",
"type": "user_id"
}
],
"type": "include"
}
],
"updated_at": "2026-01-01T12:00:00.000Z",
"variants": [
{
"name": "treatment",
"ranges": [
[
0,
50
]
],
"related_resource": {
"object": "app"
},
"weight": 50
}
],
"winning_arm": "treatment"
}Changes
No operation changes recorded.