Skip to main content

Generate or update test cases from the agent flow

POST 

https://platform.docana.com/api/v1/agents/:agentId/test-cases/update-from-flow/

Reads the agent's live workflow and derives one skeleton test case per decision and action node, without using an LLM (see POST /api/v1/agents/{agentId}/test-cases/generate-spec/ for LLM generation). Existing test cases are matched by name: matches are updated in place and the rest are created. The response lists each affected test case with the action taken.

Request

Responses

The generated and updated test cases