Get Test Run
Agent Testing
Get Test Run
Retrieve detailed results for a specific test run including chat history, assertion results, and scores.
GET
Get Test Run
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.
Headers
Your API key for authentication.
Path Parameters
The unique identifier of the test run.
Response
The unique identifier for the test run.
The ID of the scenario that was executed.
The current status of the run. One of:
PENDING, RUNNING, PASSED, FAILED, ERROR, CANCELLED.The full conversation history between the simulated persona and the agent. Each entry contains:
role- Eitheruser(the persona) orassistant(the agent).content- The text spoken in that turn.
Variables that were extracted or set during the test run. Keys are variable names, values are the extracted values.
An ordered list of pathway node IDs that were visited during the test run.
The node ID where the conversation ended.
The total number of conversational turns in the test run.
The total duration of the test run in milliseconds.
A score between 0 and 1 representing how well the agent performed across all assertions and evaluations.
A detailed tone analysis of the agent’s responses. Contains:
naturalness- Score (0-1) for how natural the agent sounded.conciseness- Score (0-1) for response brevity and clarity.empathy- Score (0-1) for empathetic responses.flow_preservation- Score (0-1) for maintaining conversation flow.back_channeling- Score (0-1) for appropriate use of acknowledgments.topic_transitions- Score (0-1) for smooth topic changes.overall_tone_score- Aggregate tone score (0-1).issues- Array of identified tone issues.examples- Array of specific examples from the conversation.
Results for each assertion defined in the scenario. Each entry includes the assertion configuration and whether it passed or failed.
If the run status is
ERROR, this contains a description of what went wrong. Otherwise null.ISO 8601 timestamp for when the run was created.
Docs for agents: llms.txt