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

Keepalive duration; 300 seconds when omitted.

Required range: 60 <= x <= 3600

Response

The capture's keepalive deadline was extended.

type
string
required

Always desktop_session_media.

Allowed value: "desktop_session_media"
desktop_session_id
string
required

Desktop session ID (dsn_...).

Pattern: ^dsn_[a-z2-7]{26}$
state
enum<string>
required
Available options:
starting,
live,
closing
expires_at
string<date-time>
required