POST

Authorizations

x-api-key
string
header
required

Headers

bma-workspace-id
string

Project scope. Required when the API key can access more than one project. Also accepted as anthropic-workspace-id; headers sent together must agree, otherwise the request is a 400 workspace_id_conflict.

Path Parameters

desktop_session_id
string
required

Body

application/json
holder
string

Opaque viewer identifier owned by the tenant, distinct from the SFU participant identity.

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9._:-]{1,128}$
lease_id
string

The current lease to renew, or to compare and swap when transferring control.

lease_seconds
integer<int32>

Screen-live input leases are capped at 30 seconds by the executor.

Required range: 1 <= x <= 900
input_key
string

Base64url-encoded 32-byte Ed25519 public key, required for screen-live acquire and renew.

Pattern: ^[A-Za-z0-9_-]{43}$
transport
enum<string>

The screen-live input transport. Acquire defaults to livekit; renewal preserves the lease's transport when omitted. A transport change requires acknowledged release followed by a new acquire.

Available options:
livekit,
rfb

Response

Success.

type
string
required

Always desktop_control_status.

Allowed value: "desktop_control_status"
mode
enum<string>
required
Available options:
paused,
agent,
human
epoch
integer<int64>
required
generation
integer<int64>
required
holder
string
required
agent_state
string
required
lease_id
string
lease_expires_at
string<date-time>
input_grant
string

Response-only signed-input grant after the executor acknowledges control. Its input epoch, generation and participant identity are data-plane values, distinct from this control status's epoch, generation and tenant holder. Never persisted or returned by read-only status queries.