API Reference agents

Sleep an agent

POST/projects/{project_id}/agents/{agent_id}/sleep

Pause the agent runtime process inside the workspace sandbox.

Request

curl -X POST "$ALLYBUILD_API_URL/projects/$PROJECT_ID/agents/$AGENT_ID/sleep" \
  -H "Authorization: Bearer $TASK_JWT" \
  -H "Content-Type: application/json"