> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Experiments

> List an agent's experiments, newest first.

### Overview

Returns every experiment on the agent, active and completed, newest first. At most one is `active`. An active experiment whose `ends_at` has passed is completed with `date_ended` before it is returned, so the list never reports a stale active experiment. For a single experiment with its live progress, use [Get Experiment](https://docs.bland.ai/api-v2/get/agents-id-experiments-experiment-id.md).

### Headers

**authorization** `string` *required*

Your API key for authentication.

### Path Parameters

**agent\_id** `string` *required*

The agent's unique identifier.

### Response

**data.experiments** `array`

Array of experiment objects, newest first.

**experiment object**

**id** `string`

Unique identifier for the experiment.

**agent\_id** `string`

The agent the experiment belongs to.

**status** `string`

`active` or `completed`. Completion is terminal.

**completed\_reason** `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).

**baseline\_env** `string`

The control environment: `production` or `staging`.

**baseline\_current\_version\_id** `string | null`

The version currently pinned to `baseline_env`, read at request time. For a completed experiment this may no longer be the version it ran against.

**variant\_version\_id** `string`

The version under test.

**traffic\_percentage** `integer`

Share of eligible calls routed to the variant, `1` to `100`.

**run\_hours** `object | null`

Weekly schedule (`timezone` plus per-day `{ start, end }` windows) during which the variant receives traffic, or `null` when always eligible.

**starts\_at** `string | null`

When variant traffic begins, or `null` for immediately.

**ends\_at** `string | null`

When the experiment completes on its own, or `null` for no end date.

**variant\_call\_quota** `integer | null`

Maximum connected variant calls, or `null` for no cap.

**variant\_calls\_routed** `integer`

Connected calls routed to the variant. Live while active, frozen at completion.

**created\_by** `string | null`

ID of the user who created the experiment, or `null` when created with an org-level key.

**created\_at** `string`

ISO 8601 timestamp of creation.

**completed\_at** `string | null`

ISO 8601 timestamp of completion, or `null` while active.

**errors** `null | array`

`null` on success, or a list of error objects if the request failed.

```json Response theme={null}
{
  "data": {
    "experiments": [
      {
        "id": "90384992-15ea-43bb-9656-fa76b5f15bc8",
        "agent_id": "ee8fcf53-b284-4356-8942-63445fd42b7e",
        "status": "active",
        "completed_reason": null,
        "baseline_env": "production",
        "baseline_current_version_id": "b062d11d-7da4-4560-aad8-9f494e945fbb",
        "variant_version_id": "7350f8e0-8b2e-40d5-9365-34318282afdc",
        "traffic_percentage": 10,
        "run_hours": null,
        "starts_at": null,
        "ends_at": null,
        "variant_call_quota": null,
        "variant_calls_routed": 137,
        "created_by": "4cabf114-62e5-4cc4-a676-8890d0c19173",
        "created_at": "2026-09-09T08:30:12.640Z",
        "completed_at": null
      },
      {
        "id": "de11a8bf-3222-4dca-bbfb-e0ad5e8927fa",
        "agent_id": "ee8fcf53-b284-4356-8942-63445fd42b7e",
        "status": "completed",
        "completed_reason": "baseline_changed",
        "baseline_env": "production",
        "baseline_current_version_id": "b062d11d-7da4-4560-aad8-9f494e945fbb",
        "variant_version_id": "9a838897-bb5c-4131-9db3-3e24fca4603e",
        "traffic_percentage": 25,
        "run_hours": null,
        "starts_at": null,
        "ends_at": "2026-09-15T00:00:00.000Z",
        "variant_call_quota": 1000,
        "variant_calls_routed": 412,
        "created_by": "4cabf114-62e5-4cc4-a676-8890d0c19173",
        "created_at": "2026-08-28T13:02:51.115Z",
        "completed_at": "2026-09-08T17:45:09.882Z"
      }
    ]
  },
  "errors": null
}
```

```json Not Found theme={null}
{
  "data": null,
  "errors": [
    {
      "error": "NOT_FOUND",
      "message": "Agent not found"
    }
  ]
}
```

***

Docs for agents: [llms.txt](https://docs.bland.ai/llms.txt)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.