Delete an auto-improve run of an agent
DELETEhttps://platform.docana.com/api/v1/agents/:agentId/auto-improve/runs/:runId/
Permanently removes the run record. Deletion does not interrupt in-flight work, but orchestration ends once the worker detects the deletion. Use POST /api/v1/agents/{agentId}/auto-improve/stop/ to stop a run without deleting its history. When applicationId is given, write access to it is checked.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The run was deleted
Invalid query parameters or run/agent mismatch
The API key or session is missing, expired, or malformed.
No write access to the application
Run not found
Unexpected server error.