Responses are generated using AI and may contain mistakes.
Bland is getting a major upgrade. We're working on updating our docs as users transition in the coming weeks. Reach out to support@bland.ai with questions.
Returns one experiment. For an active experiment, variant_calls_routed is the live count of connected variant calls and new variant text conversations, so poll this endpoint to track progress toward variant_call_quota. An active experiment whose ends_at has passed is completed with date_ended before it is returned. Use List Experiments to find experiment IDs.Experiments are available on enterprise plans. Other organizations get 403 ENTERPRISE_REQUIRED.
Headers
string
required
Your API key for authentication.
Path Parameters
string
required
The agent’s unique identifier.
string
required
The experiment’s unique identifier. Must be a valid UUID; returns 400 BAD_REQUEST otherwise.
Response
object
The experiment.
Show experiment object
string
Unique identifier for the experiment.
string
The agent the experiment belongs to.
string
active or completed. Completion is terminal.
string | null
null while active. On completion, one of manual (stopped through the API), date_ended, quota_reached, or baseline_changed (the baseline environment was repointed).
string
The control environment: production or staging.
string | null
The version currently pinned to baseline_env, read at request time. While the experiment is active this is the control arm; for a completed experiment it may no longer be the version it ran against.
string
The version under test.
integer
Share of eligible calls routed to the variant, 1 to 100.
object | null
Weekly schedule during which the variant receives traffic, or null when always eligible. timezone is an IANA name; days maps mon through sun to { "start": "HH:mm", "end": "HH:mm" } windows in that timezone. A window whose end is earlier than its start wraps past midnight.
string | null
When variant traffic begins, or null for immediately.
string | null
When the experiment completes on its own, or null for no end date.
integer | null
Maximum connected variant calls, or null for no cap.
integer
Connected calls and new text conversations routed to the variant. Live while active, frozen at completion.
string | null
ID of the user who created the experiment, or null when no user is recorded. For a request made with an API key, this is the user who created the key.
string
ISO 8601 timestamp of creation.
string | null
ISO 8601 timestamp of completion, or null while active.
string | null
ID of the rollout that opened and drives this experiment, or null for an experiment created with Create Experiment.
null | array
null on success, or a list of error objects if the request failed.