Skip to main content

Duplicate a test case of an agent

POST 

https://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

The duplicated test case