Pular para o conteúdo principal

Create a test case for an agent

POST 

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

The name must be unique within the agent. When scheduler is set and the test case is enabled, the platform also runs it automatically on that cron schedule. Trigger it on demand with POST /api/v1/agents/{agentId}/test-cases/{testCaseId}/run/. The application scope comes from applicationId in the body, or from the query string when the body omits it, and defaults to the agent's own application when both omit it. An agent that is not part of an application needs an explicit applicationId.

Request​

Responses​

The created test case