POST

授权

x-api-key
string
header
必填

请求头

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.

路径参数

desktop_session_id
string
必填

请求体

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.

必填范围: 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.

可用选项:
livekit,
rfb

响应

Success.

type
string
必填

Always desktop_control_status.

Allowed value: "desktop_control_status"
mode
enum<string>
必填
可用选项:
paused,
agent,
human
epoch
integer<int64>
必填
generation
integer<int64>
必填
holder
string
必填
agent_state
string
必填
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.