Thisbit VoiceStudio engine

THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION

POST /v1/captures/{capture_id}/commands

Start, pause, resume, finish or cancel a recording.

Implemented. Requires configured capture integrations. The browser must explicitly obtain microphone permission and send audio; a command alone does not start a remote microphone.

POST $STUDIO_CUSTOMER_URL/v1/captures/{capture_id}/commands
Host
Customer API
Caller
Integration backend or scoped recorder
Authorization
Integration bearer secret or this capture’s capability within the applicable recording/read deadline. Current member/project access; start, pause and resume also require processing entitlement.

Request

JSON action, operation_id (UUID), offset_ms (nondecreasing milliseconds from recording start; maximum 14,400,000). Start may include clock_origin_ms (Unix epoch milliseconds). Stop must include chunk_count (0–1800), exactly matching accepted chunks. Use 0 for captions. Drain audio before pause or stop. Only stop accepts optional vocabulary, vocabulary_hints and prompt_terms, with the same format and limits as creation. Stop adds to the session hints and merges aliases for matching terms; invalid hints return 400. Hints are frozen with project and remembered vocabulary for the additional full transcription reading. Repeat the exact hints on retries.

{
  "action": "stop",
  "operation_id": "66666666-6666-4666-8666-666666666666",
  "offset_ms": 5000,
  "chunk_count": 1
}

Return value

200 capture status. Start: ready → recording; pause: recording → paused; resume: paused → recording; stop: recording/paused → stopping; cancel: ready/recording/paused → cancelled. The worker drains live text then refines microphone audio. Cancel preserves accepted input for export until deletion.

Errors and retrying

Reuse the exact operation ID and body after a lost response. A successful retry returns current state without another transition. Changed input, an invalid transition, missing chunks or an empty microphone stop returns 409.

Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.

Next step

Record sessions · Authentication · All calls