Skip to main content

Run a test case of an agent

POST 

https://platform.docana.com/api/v1/agents/:agentId/test-cases/:testCaseId/run/

Creates a test run in RUNNING status, schedules the evaluation in the background, and returns immediately with the runId. The evaluation replays the eval spec steps against the agent and records per-step results. Poll GET /api/v1/agents/{agentId}/test-runs/{runId}/ to track progress and use POST /api/v1/agents/{agentId}/test-runs/{runId}/stop/ to cancel. The test case must be enabled and associated with an application.

Request

Responses

The test run was scheduled