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
keepalive_seconds
integer<int32>

Keepalive duration; 300 seconds when omitted.

必填范围: 60 <= x <= 3600

响应

The capture's keepalive deadline was extended.

type
string
必填

Always desktop_session_media.

Allowed value: "desktop_session_media"
desktop_session_id
string
必填

Desktop session ID (dsn_...).

Pattern: ^dsn_[a-z2-7]{26}$
state
enum<string>
必填
可用选项:
starting,
live,
closing
expires_at
string<date-time>
必填