List your organization's own devices
Code Mode: praxis.sandbox.byod.devices.list
HTTP: GET /sandbox/v1/byod/devices
List the devices your organization has paired, oldest first, with each one’s platform, name, model, OS version, live online fact and when it was last seen. Use it to find a device id before you act on it, rename it or disconnect it, or to show the BYOD page. A revoked device is not listed, so a device that disappears from this answer was disconnected; there is no paging because an organization’s own devices are few. Each row carries capabilities and, for a desktop, the agent_dirs it registered. Example: GET /sandbox/v1/byod/devices returns {data:[{object:‘byod_device’,id:‘byd_0123456789abcdefghijklmno’,platform:‘android’,name:‘Shelf phone’,model:‘23127PN0CC’,os_version:‘16’,online:true,last_seen_at:‘2026-11-22T12:58:00.000Z’,created_at:‘2026-11-22T12:40:00.000Z’,capabilities:[‘display’],agent_dirs:[]}]}.
Signature
praxis.sandbox.byod.devices.list(args?:Record<string,never>):Promise<{/** The organization's devices that are not disconnected, oldest first; a disconnected device is left out. */ data:Array<{/** Resource type; always "byod_device". */ object:"byod_device";/** Device id, `byd_` followed by 26 lowercase hex characters. */ id:string;/** The device's platform, which decides the use faces it answers. */ platform:"android"|"macos"|"linux";/** Display name of the device, 1 to 64 characters. */ name:string;/** Device model the phone's app reported when it claimed the pairing, such as 23127PN0CC; empty when the app sent none. */ model:string;/** Operating-system version the app reported, such as 16; empty when the app sent none. */ os_version:string;/** True while the device holds its one control connection; false when it is paired but not connected. */ online:boolean;/** When the device last said hello or answered a ping, as an ISO-8601 timestamp; null until it first connects. */ last_seen_at:string|null;/** When the device was paired, as an ISO-8601 timestamp; the list is ordered by it, oldest first. */ created_at:string;/** What the device can be asked to do, derived from its platform: display for a phone (act, the action socket), agent for a desktop (a local coding agent session). */ capabilities:Array<"display"|"agent">;/** The absolute directories a desktop registered for agent sessions with its last hello; a session may only start in one of these. */ agent_dirs:Array<string>;/** Which agent each registered directory is bound to, as the desktop's last hello reported. */ agent_bindings:Array<{/** The absolute directory the desktop bound to an agent with praxis agent connect. */ dir:string;/** The agent the directory is bound to: its identity number or its agent id. */ agent:string}>;/** The version of the envd on the desktop, as its last hello reported. */ envd_version:string|null;/** Whether the desktop's envd lets a platform session run in bypassPermissions (all tool calls without asking). */ allow_bypass:boolean}>}>;Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | The organization’s devices that are not disconnected, oldest first. |
| 401 | Authentication required: supply an organization API key that carries a tenant. | |
| 503 | SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry. |