Stop a running auto-improve process of an agent
DELETEhttps://platform.docana.com/api/v1/agents/:agentId/auto-improve/stop/
Marks the run identified by processId as STOPPED so the background process terminates gracefully at its next checkpoint instead of starting another iteration. Answers 404 when the process has already finished or been stopped.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The process was stopped
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 or already stopped
Unexpected server error.