Skip to main content
GET
Retrieve Experiment

인증

Authorization
string
header
필수

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

헤더

Api-Version-Date
string

Pins the request to a dated API version.

예시:

"2026-11-17"

경로 매개변수

id
string
필수

The experiment identifier — the expt_ id or the flag_key handle.

쿼리 매개변수

account_id
string

Owning account ID. Required when id is a flag key; optional for an expt_ ID.

응답

experiment found

account_id
string
필수

Owning account ID.

예시:

"biz_xxxxxxxxxxxxxx"

assignment_seed
string
필수

Assignment hashes UTF-8 seed + subject ID with CRC32 modulo 100 and selects the stored end-exclusive range.

예시:

"checkout_redesign_v21768435200"

configuration_revision
integer
필수

Revision of the serving configuration. Increments on every configuration change, so a cached definition with a lower revision is stale. Does not change the assignment seed.

예시:

1

control
object
필수
flag_key
string
필수

Developer-chosen handle referenced from code. Anywhere the API takes an experiment identifier, the expt_ id and the flag_key are interchangeable.

예시:

"checkout_redesign_v2"

id
string
필수

Unique identifier for the experiment, prefixed expt_.

예시:

"expt_xxxxxxxxxxxxxx"

name
string
필수

Human-readable display name.

예시:

"Checkout Redesign V2"

Resource owned by the account that this experiment is bound to, such as an app or product. null when unbound. Fixed once the experiment first activates.

status
enum<string>
필수

Lifecycle state. draft — not yet live; active — currently running; paused — traffic paused; ended — concluded.

사용 가능한 옵션:
draft,
active,
paused,
ended
예시:

"draft"

updated_at
string<date_time> | null
필수
예시:

"2026-01-01T12:00:00.000Z"

variants
object[]
필수

Treatment arms. Users outside every arm's allocation form the implicit control group. Weights only ever grow and arms are never removed, so a user moves from control into a treatment at most once.

bucket_by
enum<string> | null

Randomization unit — user buckets each user independently, account buckets whole accounts (every user of an account gets the same arm). null for feature flags.

사용 가능한 옵션:
user,
account,
anonymous
예시:

"user"

created_at
string | null

When the experiment was created, as an ISO 8601 timestamp.

예시:

"2026-01-01T12:00:00.000Z"

created_by
string | null

ID of the user who created the experiment, prefixed user_. null for experiments created before creators were recorded.

예시:

"user_xxxxxxxxxxxxxx"

ended_at
string | null

When the experiment stopped collecting data, as an ISO 8601 timestamp. null while still running.

예시:

"2026-01-01T12:00:00.000Z"

findings
string | null

What was learned and why this outcome, recorded when the experiment was ended. null until then.

예시:

"Treatment lifted conversion 8%"

hypothesis
string | null

Hypothesis for this experiment. null when none is set, and always null for feature flags.

예시:

"Users will convert more"

metadata
object

Key-value pairs attached when the experiment was created. Empty when none were set.

예시:
started_at
string | null

When the experiment began collecting data, as an ISO 8601 timestamp. null for drafts.

예시:

"2026-01-01T12:00:00.000Z"

winning_arm
string | null

The treatment that won, set when the experiment was ended. Once set, every evaluation returns this arm to every caller regardless of targeting or allocation, and no further exposures are recorded. null means control won — an ended experiment with no winning arm evaluates to control for everyone. Always null for feature flags, which simply evaluate to disabled once ended.

예시:

"treatment"