Resume a session
POST
/api/v1/sessions/resume
const url = 'https://deck.example.com/api/v1/sessions/resume';const options = { method: 'POST', headers: {cookie: 'qd_auth=<qd_auth>', 'Content-Type': 'application/json'}, body: '{"session":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://deck.example.com/api/v1/sessions/resume \ --header 'Content-Type: application/json' \ --cookie qd_auth=<qd_auth> \ --data '{ "session": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”quietdeck session resume <session> and the registry’s Resume and Close: a session by address (tab@machine,
a tab name, or a session ID).
Media typeapplication/json
quietdeck session resume <session> and the registry’s Resume and Close: a session by address (tab@machine,
a tab name, or a session ID).
object
session
required
string
Example generated
{ "session": "example"}Responses
Section titled “Responses”What the node did for a start or a resume.
Media typeapplication/json
What the node did for a start or a resume.
object
address
required
The new session’s address in the orchestrator.
string
node
required
string
prompt_error
Set when the session started but its initial prompt couldn’t be sent.
string | null
session_id
Absent when the agent hadn’t reported it yet (Codex before its first turn without /status).
string | null
tab
required
string
Example generated
{ "address": "example", "node": "example", "prompt_error": "example", "session_id": "example", "tab": "example"}default
Section titled “default”An error, with its message.
Media typeapplication/json
Every error the REST API returns, with an HTTP status.
object
error
required
string
Example generated
{ "error": "example"}