> ## 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.

# Get Test Analytics

> Get basic testing analytics for a pathway over a time window.

### Headers

**authorization** `string` *required*

Your API key for authentication.

### Path Parameters

**pathwayId** `string` *required*

The pathway ID.

### Query Parameters

**days** `integer` (default: 30)

Number of days to look back. Maximum value is 365.

### Response

**total\_runs** `integer`

Total number of test runs in the time window.

**passed** `integer`

Number of test runs that passed.

**failed** `integer`

Number of test runs that failed.

**pass\_rate** `number`

Pass rate as a decimal from 0 to 1.

**avg\_score** `number`

Average score across all runs, from 0 to 1.

**runs** `array`

Individual run summaries for the time window.

```json Response theme={null}
{
  "total_runs": 48,
  "passed": 39,
  "failed": 9,
  "pass_rate": 0.8125,
  "avg_score": 0.84,
  "runs": [
    {
      "id": "run_a1b2c3d4-5678-9abc-def0-1234567890ab",
      "scenario_id": "scn_f0e1d2c3-b4a5-9687-7856-342109876543",
      "scenario_name": "Happy Path - Appointment Booking",
      "status": "passed",
      "score": 0.95,
      "created_at": "2026-04-13T14:22:00.000Z"
    },
    {
      "id": "run_b2c3d4e5-6789-abcd-ef01-234567890abc",
      "scenario_id": "scn_e1d2c3b4-a596-8778-5634-210987654321",
      "scenario_name": "Angry Caller De-escalation",
      "status": "failed",
      "score": 0.42,
      "created_at": "2026-04-13T14:18:00.000Z"
    },
    {
      "id": "run_c3d4e5f6-789a-bcde-f012-34567890abcd",
      "scenario_id": "scn_d2c3b4a5-9687-7856-3421-098765432109",
      "scenario_name": "Voicemail Detection",
      "status": "passed",
      "score": 1.0,
      "created_at": "2026-04-12T09:45:00.000Z"
    }
  ]
}
```

***

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.