/v2/agents/sessions/{session_id}/pausePauseSession freezes the session's microVM sandbox.
Supported on microvm-substrate sessions only; dewdrop/docker sessions return 501 Not Implemented. Paused sessions count against quota. Clients learn state via GetSession/ListSessions; no live session.updated event is emitted.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
A 401 is returned: Authentication failed due to invalid credentials. A 402 is returned: The team is blocked by the prepayment gate. A 403 is returned: Session belongs to another team. A 404 is returned: The resource was not found. A 409 is returned: Session is not in a pauseable state (must be READY or DETACHED). A 423 is returned: This session is unavailable; contact support. A 429 is returned: The API rate limit has been exceeded. A 500 is returned: There was a server error. A 501 is returned: Pause is not supported for this session's substrate (docker/dewdrop). Any other status is an error: There was an unexpected error.