POST /v2/agent/{agent_id}/dispositions/test
Runs all dispositions linked to the specified agent against a provided transcript and returns the grouped results. Useful for validating your disposition setup before going live.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | UUID | Yes | The agent whose dispositions will be evaluated |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
transcript | string | Yes | The call transcript to run dispositions against (max 50,000 characters) |
call_date | string | No | Optional ISO 8601 date/datetime string for temporal context (e.g. "2026-04-01T10:00:00Z") |
Response
200 OK
Returns extracted_data — results grouped by category and disposition name, in the same format as post-call execution data:
Example
Error Responses
| Status | Description |
|---|---|
403 | Access denied — agent does not belong to your account |
404 | Invalid or unknown agent_id |
500 | Internal server error |

