A session writes a handoff about itself
POST
/api/v1/handoffs
const url = 'https://deck.example.com/api/v1/handoffs';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"handoff":"example","manifest":"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/handoffs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "handoff": "example", "manifest": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”quietdeck handoff add: written by the session being moved, about itself.
Media typeapplication/json
quietdeck handoff add: written by the session being moved, about itself.
object
handoff
required
string
manifest
required
string
key
additional properties
Example generated
{ "handoff": "example", "manifest": "example"}Responses
Section titled “Responses”Media typeapplication/json
object
continued_at
string | null
continued_by
created_at
required
string
from
required
The session that wrote it: the one being moved.
object
node
required
string
session_id
string | null
tab
required
string
handoff
required
Markdown: what the session is for, where it’s up to, open items, decisions and why, conventions and gotchas, and pointers.
string
id
required
integer format: int64
manifest
required
Markdown: repositories, CLIs, each credential and where it comes from, hosts and networks, MCP servers, watchers and timers.
string
Example generated
{ "continued_at": "example", "continued_by": { "node": "example", "session_id": "example", "tab": "example" }, "created_at": "example", "from": { "node": "example", "session_id": "example", "tab": "example" }, "handoff": "example", "id": 1, "manifest": "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"}