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.