Pause run

http
POST /runs/{run_id}/pause

Pause a run. Requires project.runs.write.

Parameters

NameInRequiredDescription
run_idpathYesRun to pause. Conversation-owned runs also require editor access on the conversation. Requests a safe-boundary pause. A fresh pause request for a running agent without project-bound dispatch stop authority returns 409 RUN_NOT_PAUSABLE. An authorized retry of the identical request with the same idempotency key returns its stored result.
Idempotency-KeyheaderYes

Responses

StatusDescription
202Requests a safe-boundary pause; the run pauses at its next safe boundary.
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
413Payload too large
429Rate limit exceeded