Dry-run one case, saved or ad-hoc
POST /voice/agents/{agent_id}/test
SPENDS NOTHING. One dry run, from a saved case (test_case_id) or an
ad-hoc input (input_message), never both.
Returns the run row with the composed preview: the instruction stack the
agent would receive, the tools it could reach for and the grounding it
could cite, judged against the assertion. No model call, no call placed,
no message sent. triggered_by defaults to the key’s identity.
Authorizations
Parameters
Path Parameters
Voice agent id.
Voice agent id.
Header Parameters
Request Body required
One dry run. Exactly one source: test_case_id (a saved case) or
input_message (ad-hoc). Never calls a model, never places a call, never
sends a message - it resolves what the agent WOULD receive and reach for.
object
Responses
200
Successful Response
object
One voice object - a collection, an agent, a route, a chat.
Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error