Skip to main content

Stop a running execution of an agent

POST 

https://platform.docana.com/api/v1/agents/:agentId/executions/:executionId/stop/

Signals the worker running the execution to abort the in-flight run, then flips the persisted status from RUNNING to STOPPED. This also clears orphaned executions stuck in RUNNING after their worker died. Idempotent: stopping an execution that already finished or stopped returns stopped: false with alreadyTerminal: true. applicationId is a required query parameter.

Request

Responses

The stop outcome (idempotent)