Device
Operations
Every route this entity exposes. Each route links to its own reference on this page.
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
devices, err := client.Device(nil).List(map[string]any{"organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(devices)
device, err := client.Device(nil).Load(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(device)
Lua
Construct client as shown in the Lua setup, then call the operations:
local devices, err = client:Device():list({ organization_id = "example" })
local device, err = client:Device():load({ id = "example_id", organization_id = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$devices = $client->Device()->list(["organization_id" => "example"]);
$device = $client->Device()->load(["id" => "example_id", "organization_id" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
devices = client.Device().list({"organization_id": "example"})
device = client.Device().load({"id": "example_id", "organization_id": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
devices = client.Device.list({ "organization_id" => "example" })
device = client.Device.load({ "id" => "example_id", "organization_id" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const devices = await client.Device().list({ organization_id: "example" })
const device = await client.Device().load({ id: "example_id", organization_id: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
architecture |
string |
Yes | Architecture |
channel |
string |
Yes | Channel |
coding_connection |
one,object,null |
No | Independent organization coding-control service state for the current device owner. |
connection_checked_at |
one,string,null |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
connection_status |
string |
Yes | Display-only native presence. |
control_delivery_policy |
object |
Yes | Control Delivery Policy |
control_spawn_policy |
object |
No | Control Spawn Policy |
created_at |
string |
Yes | Created At |
device |
object |
Yes | Device |
environment |
string |
Yes | Environment |
execution_available |
boolean |
Yes | Execution Available |
id |
string |
Yes | Id |
name |
string |
Yes | Name |
native_device_id |
string |
Yes | Native Device Id |
paired_at |
string |
Yes | Paired At |
pairing_generation |
integer |
Yes | Pairing Generation |
platform |
string |
Yes | Platform |
project_visibility |
object |
Yes | Folder discovery and new-thread selection. |
provider_status |
array |
No | Recent native provider observations; absent on older API replicas. |
revoked_at |
one,string,null |
Yes | Revoked At |
scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
user_browser_access |
string |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
create
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/connection
Operation ID: connection_api_v1_organization_device.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
transport |
string |
No |
Responses
200: Identity-bound node connection; execution remains unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object or object |
Yes | |
execution_available |
boolean |
Yes |
401: Authentication required
403: Current device owner authority required
404: Device or transport rollout unavailable
422: Invalid request fields
502: Bad gateway
503: Hosted node connection unavailable
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/control_delivery_policy
Operation ID: deviceControlDeliveryPolicyUpdate.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
restricted |
boolean |
Yes | |
version |
integer |
Yes |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
device |
object |
Yes | |
device.architecture |
enum: arm64, x64 |
Yes | |
device.channel |
enum: dev, alpha, release |
Yes | |
device.coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
device.coding_connection.can_retry |
boolean |
Yes | |
device.coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
device.connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
device.connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
device.control_delivery_policy |
object |
Yes | |
device.control_delivery_policy.restricted |
boolean |
Yes | |
device.control_delivery_policy.version |
integer |
Yes | |
device.control_spawn_policy |
object |
No | |
device.control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
device.control_spawn_policy.repositories |
array of string |
Yes | |
device.control_spawn_policy.version |
integer |
Yes | |
device.created_at |
string (date-time) |
Yes | |
device.environment |
string |
Yes | |
device.id |
string |
Yes | |
device.name |
string |
Yes | |
device.native_device_id |
string |
Yes | |
device.paired_at |
string (date-time) |
Yes | |
device.pairing_generation |
integer |
Yes | |
device.platform |
enum: darwin, win32, linux |
Yes | |
device.project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
device.project_visibility.folders |
array of string |
Yes | |
device.project_visibility.mode |
enum: all, selected |
Yes | |
device.project_visibility.version |
integer |
Yes | |
device.provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
device.provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
device.provider_status[].provider |
enum: codex, claude |
Yes | |
device.provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
device.revoked_at |
string,null (date-time) |
Yes | |
device.scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
device.user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/control_spawn_policy
Operation ID: deviceControlSpawnPolicyUpdate.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
repositories |
array of string |
Yes | |
version |
integer |
Yes |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
device |
object |
Yes | |
device.architecture |
enum: arm64, x64 |
Yes | |
device.channel |
enum: dev, alpha, release |
Yes | |
device.coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
device.coding_connection.can_retry |
boolean |
Yes | |
device.coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
device.connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
device.connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
device.control_delivery_policy |
object |
Yes | |
device.control_delivery_policy.restricted |
boolean |
Yes | |
device.control_delivery_policy.version |
integer |
Yes | |
device.control_spawn_policy |
object |
No | |
device.control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
device.control_spawn_policy.repositories |
array of string |
Yes | |
device.control_spawn_policy.version |
integer |
Yes | |
device.created_at |
string (date-time) |
Yes | |
device.environment |
string |
Yes | |
device.id |
string |
Yes | |
device.name |
string |
Yes | |
device.native_device_id |
string |
Yes | |
device.paired_at |
string (date-time) |
Yes | |
device.pairing_generation |
integer |
Yes | |
device.platform |
enum: darwin, win32, linux |
Yes | |
device.project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
device.project_visibility.folders |
array of string |
Yes | |
device.project_visibility.mode |
enum: all, selected |
Yes | |
device.project_visibility.version |
integer |
Yes | |
device.provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
device.provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
device.provider_status[].provider |
enum: codex, claude |
Yes | |
device.provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
device.revoked_at |
string,null (date-time) |
Yes | |
device.scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
device.user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/desktop_connection
Operation ID: desktop_connection_api_v1_organization_device.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
transport |
string |
No |
Responses
200: Paired Desktop connection metadata; execution still requires separate authority
application/json
| Property | Type | Required | Description |
|---|---|---|---|
connection |
object or object or object |
Yes | |
execution_available |
boolean |
Yes |
401: Authentication required
403: Current device owner authority required
404: Device or transport rollout unavailable
422: Invalid request fields
502: Bad gateway
503: Hosted node connection unavailable
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/process_surface
Operation ID: process_surface_api_v1_organization_device.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
transport |
string |
No |
Responses
200: Process surface approved; task and local authorization remain required
application/json
| Property | Type | Required | Description |
|---|---|---|---|
local_approval_required |
boolean |
Yes | |
surface |
object or object |
Yes |
401: Authentication required
403: Current device owner authority required
404: Device or transport rollout unavailable
422: Invalid request fields
502: Bad gateway
503: Hosted node connection unavailable
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/project_visibility
Operation ID: deviceProjectVisibilityUpdate.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
folders |
array of string |
Yes | |
mode |
enum: all, selected |
Yes | |
version |
integer |
Yes |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
device |
object |
Yes | |
device.architecture |
enum: arm64, x64 |
Yes | |
device.channel |
enum: dev, alpha, release |
Yes | |
device.coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
device.coding_connection.can_retry |
boolean |
Yes | |
device.coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
device.connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
device.connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
device.control_delivery_policy |
object |
Yes | |
device.control_delivery_policy.restricted |
boolean |
Yes | |
device.control_delivery_policy.version |
integer |
Yes | |
device.control_spawn_policy |
object |
No | |
device.control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
device.control_spawn_policy.repositories |
array of string |
Yes | |
device.control_spawn_policy.version |
integer |
Yes | |
device.created_at |
string (date-time) |
Yes | |
device.environment |
string |
Yes | |
device.id |
string |
Yes | |
device.name |
string |
Yes | |
device.native_device_id |
string |
Yes | |
device.paired_at |
string (date-time) |
Yes | |
device.pairing_generation |
integer |
Yes | |
device.platform |
enum: darwin, win32, linux |
Yes | |
device.project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
device.project_visibility.folders |
array of string |
Yes | |
device.project_visibility.mode |
enum: all, selected |
Yes | |
device.project_visibility.version |
integer |
Yes | |
device.provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
device.provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
device.provider_status[].provider |
enum: codex, claude |
Yes | |
device.provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
device.revoked_at |
string,null (date-time) |
Yes | |
device.scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
device.user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/reconnect
Operation ID: devicePairingReconnect.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
architecture |
enum: arm64, x64 |
Yes | |
channel |
enum: dev, alpha, release |
Yes | |
name |
string |
Yes | |
platform |
enum: darwin, win32, linux |
Yes | |
public_key |
string |
Yes |
Responses
201: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
execution_available |
boolean |
Yes | |
pairing |
object |
Yes | |
pairing.expires_at |
string (date-time) |
Yes | |
pairing.id |
string |
Yes | |
pairing.payload |
string |
Yes | |
pairing.token |
string |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/rename
Operation ID: deviceRename.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
name |
string |
Yes |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
device |
object |
Yes | |
device.architecture |
enum: arm64, x64 |
Yes | |
device.channel |
enum: dev, alpha, release |
Yes | |
device.coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
device.coding_connection.can_retry |
boolean |
Yes | |
device.coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
device.connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
device.connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
device.control_delivery_policy |
object |
Yes | |
device.control_delivery_policy.restricted |
boolean |
Yes | |
device.control_delivery_policy.version |
integer |
Yes | |
device.control_spawn_policy |
object |
No | |
device.control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
device.control_spawn_policy.repositories |
array of string |
Yes | |
device.control_spawn_policy.version |
integer |
Yes | |
device.created_at |
string (date-time) |
Yes | |
device.environment |
string |
Yes | |
device.id |
string |
Yes | |
device.name |
string |
Yes | |
device.native_device_id |
string |
Yes | |
device.paired_at |
string (date-time) |
Yes | |
device.pairing_generation |
integer |
Yes | |
device.platform |
enum: darwin, win32, linux |
Yes | |
device.project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
device.project_visibility.folders |
array of string |
Yes | |
device.project_visibility.mode |
enum: all, selected |
Yes | |
device.project_visibility.version |
integer |
Yes | |
device.provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
device.provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
device.provider_status[].provider |
enum: codex, claude |
Yes | |
device.provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
device.revoked_at |
string,null (date-time) |
Yes | |
device.scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
device.user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/retry_control
Operation ID: retry_control_api_v1_organization_device.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
The request body is object.
Responses
202: Retry accepted, or the current attempt is already active; readiness remains separate
401: Sign-in required
403: Pairing or coding-control authority is unavailable
404: Owned computer unavailable in this organization and environment
422: Invalid request fields
503: Independent coding-control service is not configured
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/revoke
Operation ID: deviceRevoke.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
pairing_generation |
integer |
No | The generation reviewed by the owner. A newer pairing returns 409. |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
device |
object |
Yes | |
device.architecture |
enum: arm64, x64 |
Yes | |
device.channel |
enum: dev, alpha, release |
Yes | |
device.coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
device.coding_connection.can_retry |
boolean |
Yes | |
device.coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
device.connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
device.connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
device.control_delivery_policy |
object |
Yes | |
device.control_delivery_policy.restricted |
boolean |
Yes | |
device.control_delivery_policy.version |
integer |
Yes | |
device.control_spawn_policy |
object |
No | |
device.control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
device.control_spawn_policy.repositories |
array of string |
Yes | |
device.control_spawn_policy.version |
integer |
Yes | |
device.created_at |
string (date-time) |
Yes | |
device.environment |
string |
Yes | |
device.id |
string |
Yes | |
device.name |
string |
Yes | |
device.native_device_id |
string |
Yes | |
device.paired_at |
string (date-time) |
Yes | |
device.pairing_generation |
integer |
Yes | |
device.platform |
enum: darwin, win32, linux |
Yes | |
device.project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
device.project_visibility.folders |
array of string |
Yes | |
device.project_visibility.mode |
enum: all, selected |
Yes | |
device.project_visibility.version |
integer |
Yes | |
device.provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
device.provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
device.provider_status[].provider |
enum: codex, claude |
Yes | |
device.provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
device.revoked_at |
string,null (date-time) |
Yes | |
device.scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
device.user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
POST /api/v1/organizations/{organization_id}/devices/{device_registration_id}/user_browser_access
Operation ID: deviceUserBrowserAccessUpdate.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
device |
object |
Yes | |
device.architecture |
enum: arm64, x64 |
Yes | |
device.channel |
enum: dev, alpha, release |
Yes | |
device.coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
device.coding_connection.can_retry |
boolean |
Yes | |
device.coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
device.connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
device.connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
device.control_delivery_policy |
object |
Yes | |
device.control_delivery_policy.restricted |
boolean |
Yes | |
device.control_delivery_policy.version |
integer |
Yes | |
device.control_spawn_policy |
object |
No | |
device.control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
device.control_spawn_policy.repositories |
array of string |
Yes | |
device.control_spawn_policy.version |
integer |
Yes | |
device.created_at |
string (date-time) |
Yes | |
device.environment |
string |
Yes | |
device.id |
string |
Yes | |
device.name |
string |
Yes | |
device.native_device_id |
string |
Yes | |
device.paired_at |
string (date-time) |
Yes | |
device.pairing_generation |
integer |
Yes | |
device.platform |
enum: darwin, win32, linux |
Yes | |
device.project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
device.project_visibility.folders |
array of string |
Yes | |
device.project_visibility.mode |
enum: all, selected |
Yes | |
device.project_visibility.version |
integer |
Yes | |
device.provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
device.provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
device.provider_status[].provider |
enum: codex, claude |
Yes | |
device.provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
device.revoked_at |
string,null (date-time) |
Yes | |
device.scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
device.user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
list
GET /api/v1/organizations/{organization_id}/devices
Operation ID: devicesList.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
include_revoked |
query |
boolean |
No | Include this owner's revoked identity reservations for computer pairing recovery. Ordinary device lists omit them. |
cursor |
query |
string |
No |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
devices |
array of object |
Yes | |
devices[].architecture |
enum: arm64, x64 |
Yes | |
devices[].channel |
enum: dev, alpha, release |
Yes | |
devices[].coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
devices[].coding_connection.can_retry |
boolean |
Yes | |
devices[].coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
devices[].connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
devices[].connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
devices[].control_delivery_policy |
object |
Yes | |
devices[].control_delivery_policy.restricted |
boolean |
Yes | |
devices[].control_delivery_policy.version |
integer |
Yes | |
devices[].control_spawn_policy |
object |
No | |
devices[].control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
devices[].control_spawn_policy.repositories |
array of string |
Yes | |
devices[].control_spawn_policy.version |
integer |
Yes | |
devices[].created_at |
string (date-time) |
Yes | |
devices[].environment |
string |
Yes | |
devices[].id |
string |
Yes | |
devices[].name |
string |
Yes | |
devices[].native_device_id |
string |
Yes | |
devices[].paired_at |
string (date-time) |
Yes | |
devices[].pairing_generation |
integer |
Yes | |
devices[].platform |
enum: darwin, win32, linux |
Yes | |
devices[].project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
devices[].project_visibility.folders |
array of string |
Yes | |
devices[].project_visibility.mode |
enum: all, selected |
Yes | |
devices[].project_visibility.version |
integer |
Yes | |
devices[].provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
devices[].provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
devices[].provider_status[].provider |
enum: codex, claude |
Yes | |
devices[].provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
devices[].revoked_at |
string,null (date-time) |
Yes | |
devices[].scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
devices[].user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes | |
next_cursor |
string,null |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
load
GET /api/v1/organizations/{organization_id}/devices/{device_registration_id}
Operation ID: deviceGet.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
device |
object |
Yes | |
device.architecture |
enum: arm64, x64 |
Yes | |
device.channel |
enum: dev, alpha, release |
Yes | |
device.coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
device.coding_connection.can_retry |
boolean |
Yes | |
device.coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
device.connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
device.connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
device.control_delivery_policy |
object |
Yes | |
device.control_delivery_policy.restricted |
boolean |
Yes | |
device.control_delivery_policy.version |
integer |
Yes | |
device.control_spawn_policy |
object |
No | |
device.control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
device.control_spawn_policy.repositories |
array of string |
Yes | |
device.control_spawn_policy.version |
integer |
Yes | |
device.created_at |
string (date-time) |
Yes | |
device.environment |
string |
Yes | |
device.id |
string |
Yes | |
device.name |
string |
Yes | |
device.native_device_id |
string |
Yes | |
device.paired_at |
string (date-time) |
Yes | |
device.pairing_generation |
integer |
Yes | |
device.platform |
enum: darwin, win32, linux |
Yes | |
device.project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
device.project_visibility.folders |
array of string |
Yes | |
device.project_visibility.mode |
enum: all, selected |
Yes | |
device.project_visibility.version |
integer |
Yes | |
device.provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
device.provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
device.provider_status[].provider |
enum: codex, claude |
Yes | |
device.provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
device.revoked_at |
string,null (date-time) |
Yes | |
device.scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
device.user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
GET /api/v1/organizations/{organization_id}/devices/{device_registration_id}/control_delivery_policy
Operation ID: deviceControlDeliveryPolicyShow.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
device |
object |
Yes | |
device.architecture |
enum: arm64, x64 |
Yes | |
device.channel |
enum: dev, alpha, release |
Yes | |
device.coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
device.coding_connection.can_retry |
boolean |
Yes | |
device.coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
device.connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
device.connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
device.control_delivery_policy |
object |
Yes | |
device.control_delivery_policy.restricted |
boolean |
Yes | |
device.control_delivery_policy.version |
integer |
Yes | |
device.control_spawn_policy |
object |
No | |
device.control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
device.control_spawn_policy.repositories |
array of string |
Yes | |
device.control_spawn_policy.version |
integer |
Yes | |
device.created_at |
string (date-time) |
Yes | |
device.environment |
string |
Yes | |
device.id |
string |
Yes | |
device.name |
string |
Yes | |
device.native_device_id |
string |
Yes | |
device.paired_at |
string (date-time) |
Yes | |
device.pairing_generation |
integer |
Yes | |
device.platform |
enum: darwin, win32, linux |
Yes | |
device.project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
device.project_visibility.folders |
array of string |
Yes | |
device.project_visibility.mode |
enum: all, selected |
Yes | |
device.project_visibility.version |
integer |
Yes | |
device.provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
device.provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
device.provider_status[].provider |
enum: codex, claude |
Yes | |
device.provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
device.revoked_at |
string,null (date-time) |
Yes | |
device.scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
device.user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
GET /api/v1/organizations/{organization_id}/devices/{device_registration_id}/control_spawn_policy
Operation ID: deviceControlSpawnPolicyShow.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
device_registration_id |
path |
string |
Yes |
Responses
200: Device enrollment metadata
application/json
| Property | Type | Required | Description |
|---|---|---|---|
device |
object |
Yes | |
device.architecture |
enum: arm64, x64 |
Yes | |
device.channel |
enum: dev, alpha, release |
Yes | |
device.coding_connection |
object,null |
No | Independent organization coding-control service state for the current device owner. Null when unavailable or using the legacy transport. A retry request does not imply readiness. |
device.coding_connection.can_retry |
boolean |
Yes | |
device.coding_connection.status |
enum: provisioning, ready, failed |
Yes | |
device.connection_checked_at |
string,null (date-time) |
Yes | When this native presence observation was obtained; null when unobserved or unavailable. |
device.connection_status |
enum: registered, connected, offline, unknown, revoked |
Yes | Display-only native presence. Does not grant execution or placement authority. |
device.control_delivery_policy |
object |
Yes | |
device.control_delivery_policy.restricted |
boolean |
Yes | |
device.control_delivery_policy.version |
integer |
Yes | |
device.control_spawn_policy |
object |
No | |
device.control_spawn_policy.max_agents |
integer |
Yes | Maximum sessions agents can create through Control. Zero permits unlimited sessions. |
device.control_spawn_policy.repositories |
array of string |
Yes | |
device.control_spawn_policy.version |
integer |
Yes | |
device.created_at |
string (date-time) |
Yes | |
device.environment |
string |
Yes | |
device.id |
string |
Yes | |
device.name |
string |
Yes | |
device.native_device_id |
string |
Yes | |
device.paired_at |
string (date-time) |
Yes | |
device.pairing_generation |
integer |
Yes | |
device.platform |
enum: darwin, win32, linux |
Yes | |
device.project_visibility |
object |
Yes | Folder discovery and new-thread selection. Does not restrict existing threads or OS-account command access. |
device.project_visibility.folders |
array of string |
Yes | |
device.project_visibility.mode |
enum: all, selected |
Yes | |
device.project_visibility.version |
integer |
Yes | |
device.provider_status |
array of object |
No | Recent native provider observations; absent on older API replicas. |
device.provider_status[].observed_at |
string,null (date-time) |
Yes | Time of the current pairing report, including an expired report; null when absent or invalid. |
device.provider_status[].provider |
enum: codex, claude |
Yes | |
device.provider_status[].status |
enum: ready, checking, not-installed, sign-in-required, unavailable, unknown |
Yes | Latest signed account-readiness report for this pairing. Unknown after 45 seconds, disconnection, or a pairing change. Advisory only; requests recheck current access and provider readiness. |
device.revoked_at |
string,null (date-time) |
Yes | |
device.scheduled_check_ins |
boolean |
No | Whether the owner's private agents may check this computer's connection during scheduled runs. |
device.user_browser_access |
enum: off, agent_tabs, all_tabs |
Yes | Whether agents may use the owner's own Chrome-family browser here: off, only tabs agents open or the owner shares, or every tab. |
execution_available |
boolean |
Yes |
400: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
401: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
403: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
404: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
409: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
422: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |
502: Bad gateway
503: Request rejected or enrollment unavailable
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
array of string |
No | |
error |
string |
Yes | |
field_errors |
object |
No |