Opens the offer context of one exact Delivery for its own recipient.
const url = 'https://example.com/v1/m/sessions/deliveries/example/handoff';const options = {method: 'GET', 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 GET \ --url https://example.com/v1/m/sessions/deliveries/example/handoff \ --header 'Authorization: Bearer <token>'Opens the offer context of one exact Delivery for its own recipient.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Path parameter id.
Header Parameters
Section titled “ Header Parameters ”Target tenant id; required when the principal can act in more than one tenant.
Responses
Section titled “ Responses ”Authorized handoff offer context of one exact Delivery
object
object
object
object
Optional. The git branch the handed-over work is on. A label the sender wrote; the receiver may open a session worktree from it.
Optional. The full git commit id the handed-over work is at (40 or 64 lowercase hex digits). The receiver may open a session worktree at it.
Response window measured against database time. A row may still be persisted as offered after its deadline; this read never runs the reaper.
object
object
object
object
Example
{ "handoff": { "from": { "kind": "user" }, "state": "offered", "to": { "kind": "user" } }, "offer_context": "current", "work_item": { "presentation": "handoff_context" }}Unauthenticated
object
Example generated
{}Forbidden
object
Example generated
{}Not found
object
Example generated
{}Rate limited
object
Example generated
{}Current authority, custody or store evidence is unavailable; or, with code commit_outcome_unknown, the write was issued and its outcome was never learned, so it may be durable and must not be retried automatically
object
Example generated
{}