Workflows
Cancel an execution
Ask a running execution of yours to stop. Cancellation is cooperative.
Writes the SharedMemory cancel marker the engine and agent loops poll at their next turn/tool boundary, and stamps the row cancelled. Wrong owner → 404 (no existence leak); not running → 409. Since /v1/workflows/execute is synchronous, pass your own x-trace-id on the execute call and use it as {id} here.
Authorization: send Authorization: Bearer $PLUNGE_API_KEY; X-API-Key: <ozk_ key> is accepted as an alternative.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Path parameters
Response
Cancelled
application/json
Missing, invalid, expired or revoked ozk_ key.
Error code: unauthorizedfrom code
not_found — no such execution for this key
application/json
not_running — the execution already finished or was cancelled
application/json
Per-key rate limit reached; honour Retry-After.
Error code: rate_limitedfrom code