THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION
GET /v1/captures/{capture_id}/events
Stream recording state and live transcript revisions with durable cursor replay.
Implemented. Requires configured capture integrations; live microphone text also requires the offline worker.
GET $STUDIO_CUSTOMER_URL/v1/captures/{capture_id}/events- Host
- Customer API
- Caller
- Integration backend or scoped recorder
- Authorization
- Bearer integration secret or this capture’s capability within the applicable recording/read deadline; membership and project read access are checked on every batch.
Request
Accept: text/event-stream. Optional after query or Last-Event-ID header is the last applied numeric event ID (0–10000); query takes precedence. Use streaming fetch for browsers because native EventSource cannot add an Authorization header.
Return value
200 text/event-stream with id, event and JSON data fields; JSON includes id, type, capture_id, at (epoch seconds) and data. Heartbeat comments carry no content. transcript.segment data has stable id/revision/final, text, generic speaker and source offsets. Microphone segments also include audio_start_ms/audio_end_ms and words: [{text, start_ms, end_ms, audio_start_ms, audio_end_ms}] on the segment's own clocks, clamped into its chunk; words may be empty, and caption segments carry words: []. Terminal completion/failure/cancellation closes the drained stream. Access loss sends access.unavailable and closes. A temporary control-service outage sends control.unavailable and closes; reconnect with backoff. transcription.warning identifies a chunk whose live reading failed; accepted audio still proceeds to refinement. State events include their operation_id when caller-issued.
Errors and retrying
Persist and deduplicate event IDs, then reconnect after the last applied ID with backoff. Cursor ahead of the stream returns 409. Upsert provisional segments by their segment ID/revision. Re-authorize after 403/access.unavailable; never retry expired capabilities indefinitely.
Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.