Stop a running experiment
DELETEhttps://platform.docana.com/api/v1/agents/:agentId/experiments/:experimentId/
Stops a running experiment, recording MANUAL as the reason. All traffic returns to the published spec immediately. Threads that were still open are stamped as having changed arms mid-conversation, so they belong to neither arm and drop out of the readout. Ending is one-way: an experiment cannot be resumed, only replaced by a new one.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
The experiment was ended
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
No experiment with this id exists on this agent, no access to its application, or agent experiments not enabled there
The experiment exists but is not running — it has already ended
Unexpected server error.