Skip to content
  • Type to search every guide, endpoint and MCP tool.
POST

End live capture

/v1/events/{event_id}/live/end

Scope event_edit

The operator pressed Stop.

Without this the browser path had no way to say a capture had finished, and only the HMAC stream.ended webhook — which belongs to the edge-relay design, not to browser capture — ever ended one. The consequences were invisible at the desk and total afterwards: the capture stayed "live" forever, the streamed minutes were never priced, and compact_live_transcript never ran, so no Transcript was created and the session showed an editor nothing at all in Review. The capture appeared to work perfectly and then produced nothing anyone could open.

session_id is REQUIRED for the same reason it is on /segments: ending the wrong room's capture at a multi-room event is not recoverable by retrying.

Idempotent, because a browser will retry and an operator will press Stop twice.

reason and hidden_seconds come from the capture page and are logged, not stored: a capture that stopped early used to leave nothing to say why. "left-page" means the page closed or navigated away while live (the guards should make that rare); a long hidden_seconds means the window sat behind another app, where browsers throttle pages.

Parameters

event_idstring (uuid) · pathRequired
session_idstring (uuid) · queryRequired
reasonone of operator, left-page · query
hidden_secondsinteger · query
X-Capture-Writerstring · header

Responses

200Successful Response
422The request did not validate.
401The key is missing, unknown, revoked or expired.
403The key lacks the scope this call needs, or the organisation is not on Enterprise.
429Over the request rate. Wait for Retry-After seconds.