Pause a session
Interaction
Pause a session
Halt a running session without losing state.
POST
Pause a session
Pauses a running session. The agent stops processing but its state is fully preserved. You can resume it later to continue from exactly where it left off.
Returns
202 Accepted. The pause command is delivered asynchronously.
Path parameters
The session ID.
Examples
Use cases
- Review before continuing. Pause the agent to inspect its progress, then resume or redirect with a message.
- Cost control. Pause long-running sessions during off-hours and resume when needed.
- Human-in-the-loop. Pause when the agent reaches a decision point, review the options, then resume with guidance.
Errors
| Status | Cause |
|---|---|
404 | Session not found, or you don’t have access. |