Duplicate a test case of an agent
POSThttps://platform.docana.com/api/v1/agents/:agentId/test-cases/:testCaseId/duplicate/
Copies the eval spec, description, scheduler, and self-improvement settings into a new test case. When name is omitted, a unique name is derived from the source name plus duplicateNameSuffix, for example Order status (Copy) or Order status (Copy 2). The application scope comes from applicationId in the body, or from the query string when the body omits it.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
The duplicated test case
Invalid body
The API key or session is missing, expired, or malformed.
No access to the application
Test case not found
Unexpected server error.