The new session claims a handoff
POST
/api/v1/handoffs/{id}/claim
const url = 'https://deck.example.com/api/v1/handoffs/1/claim';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
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/1/claim \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer format: int64
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"}