Create a test case for an agent
POSThttps://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/.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
The created test case
Invalid body
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
A resource referenced by the path does not exist or is not visible to the caller.
Test case creation failure