Get a test run of an agent
GEThttps://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
- 200
- 400
- 401
- 403
- 404
- 500
The test run
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
Test run not found
Unexpected server error.