curl -X POST https://api.60db.ai/agents/simulations/RUN_ID/pause \
-H "Authorization: Bearer your-api-key"
Agent Reliability
Control Simulation
Pause, resume or cancel a simulation run
POST
/
agents
/
simulations
/
{runId}
/
{action}
curl -X POST https://api.60db.ai/agents/simulations/RUN_ID/pause \
-H "Authorization: Bearer your-api-key"
AI Simulation needs an active Pro or Business plan.
pause and cancel work on any plan, so a run can be stopped after the plan ends; resume needs Pro or Business and otherwise returns 403 POLICY_DENY.Request
Headers
Path
The simulation run
run_id (UUID) from Start a simulationResponse
200 OK.{ "run_id": "6f1c1e2a-3333-4000-8000-000000000001", "state": "paused" }
Errors
| Status | Code | Meaning |
|---|---|---|
| 403 | POLICY_DENY | Your role cannot do this, resume without an active Pro or Business plan, or the API key lacks the agents scope |
| 404 | RUN_NOT_FOUND | No run with this ID in your workspace |
Example
curl -X POST https://api.60db.ai/agents/simulations/RUN_ID/pause \
-H "Authorization: Bearer your-api-key"