Skip to main content

Get a test run of an agent

GET 

https://platform.docana.com/api/v1/agents/:agentId/test-runs/:runId/

Returns the run with the parent test case id and name and an overallScore averaged from the smart assertion scores. responseShape=summary replaces the heavy stepResults with one-line step verdicts — the right shape for polling; the default full response embeds the complete stepResults. While status is RUNNING, passed and finishedAt are null, so poll this endpoint until the run finishes. The applicationId query parameter is optional: when omitted, it is derived from the run itself.

Request

Responses

The test run