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

Body of a desktop ticket. purpose is optional and must be watch.

purpose
enum<string>
사용 가능한 옵션:
watch
origin
string
viewer
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}$
transport
enum<string>

Request the supported RFB fallback of the existing capture; viewer remains required for screen-live sessions. Omit for the default transport.

사용 가능한 옵션:
rfb
ttl_seconds
integer
필수 범위: 15 <= x <= 120

응답

Success.

A transport-bound credential (D-7). BMA WebSocket tickets are single-use; LiveKit credentials support SDK reconnect with admission rechecked. purpose names what it opens (watch, connect; control is reserved).

ticket
string
필수

Opaque credential, never logged. BMA-owned WebSocket tickets are single-use. LiveKit access tokens support SDK reconnect and refresh; each connection rechecks the current session, viewer and control lease.

ws_url
string
필수

WebSocket URL without the ticket.

type
any
필수

Always ticket.

purpose
enum<string>
필수
사용 가능한 옵션:
watch,
connect,
control
id
string
expires_at
string<date-time>
subprotocol
string
permissions
string[]
machine_id
string
desktop_session_id
string
viewer
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}$
transport
enum<string>
사용 가능한 옵션:
livekit,
rfb
room
string
publisher_identity
string
viewer_identity
string

The platform-derived SFU participant identity of this ticket, distinct from viewer.

input_identity
string

Response-only trusted RFB input identity derived by the platform from the admitted capture and viewer. It must match an RFB control grant's holder and cannot authenticate as an SFU participant.

control_available
boolean

Whether the screen-live machine supports a separately acquired input lease.