Read which device claimed your pairing
Code Mode: praxis.sandbox.byod.pairings.status
HTTP: GET /sandbox/v1/byod/pairings/{code}/status
Read one of your organization’s own pairings: its code, its deadline and the device that claimed it. Poll it after showing the QR payload to learn that this very code was claimed, instead of guessing from the device list: claimed_device is null until a phone taps Allow, then it is the device that code registered (a phone that was paired before is reused, so it is the same device id). Unlike getByodPairing this call is authenticated and organization-scoped. An unknown code and another organization’s code both answer 404, so the answer never reveals that a foreign pairing exists. Example: GET /sandbox/v1/byod/pairings/K7M4PQRS/status returns {code:‘K7M4PQRS’,expires_at:‘2026-11-22T13:10:00.000Z’,claimed_device:null}.
Signature
praxis.sandbox.byod.pairings.status(args:{path:{code:string}}):Promise<{/** The 8-character pairing code that was asked about. */ code:string;/** When the code stops working, as an ISO-8601 timestamp. */ expires_at:string;/** The device this code registered, or null while no phone has claimed it (or when that device was disconnected since). */ claimed_device:{/** 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}|null}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| code | path | string | yes | The 8-character pairing code returned by createByodPairing. An unknown, spent or expired code answers 404. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | The pairing, with the device that claimed it or null while it is unclaimed. |
| 401 | Authentication required: supply an organization API key that carries a tenant. | |
| 404 | NOT_FOUND: no such pairing for this organization. The code is unknown or belongs to another organization; the two are indistinguishable. | |
| 503 | SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry. |