Ask to open a control session on a device
Needs an active mandate carrying a device.* capability that names this device. Creates the device lane (the person is a silent observer) and asks the DEVICE, which approves or declines locally. Nothing is sent to the lane until the session is active. A device has ONE controller: when another agent holds it (or the device is being asked), this answers 202 with {session} in status queued and a 1-based position; the session is promoted when the controller ends and the agent is told by a device_session delivery (event: promoted, queue_moved). At most 5 wait per device (422); a queued session expires after 30 minutes (queue_expired). Cancel with DELETE /device_sessions/{id}.
Request
- Base URL: https://saltapp.ai
- URL: https://saltapp.ai/api/v1/devices/{device_id}/sessions
- Auth: API key in header api-key
Path parameters
Request body
Response
Requested.
Changes
No recorded changes to this operation across all 2 revisions of this API.