Thisbit VoiceStudio engine

THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION

PUT /v1/captures/{capture_id}/audio/{index}

Save ordered microphone audio for live transcription and final refinement.

Implemented. Requires a configured microphone capture in recording state for new chunks.

PUT $STUDIO_CUSTOMER_URL/v1/captures/{capture_id}/audio/{index}
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 project write access and processing entitlement.

Request

Raw mono 16 kHz signed PCM16 little-endian bytes, not a WAV or encoded media container. Content-Type: application/octet-stream. X-Content-SHA256 is the lowercase hex SHA-256 of those bytes; X-Capture-Offset-Ms is the chunk’s source start, including pauses. Consecutive indices begin at 0. Each chunk is even length, 2–320,000 bytes (up to ten seconds). Total limits: one hour and 1,800 chunks.

Return value

200 with index, sha256, samples and offset_ms. Acceptance is durable; live events follow after recognition. The hosted recorder sends roughly five-second chunks.

Errors and retrying

Retry identical bytes, checksum, index and offset after a lost reply; an already accepted chunk is deduplicated even after pausing/stopping. A sequence gap, changed chunk, overlapping offset or new chunk outside recording returns 409; invalid PCM bounds/checksum returns 400; oversized body returns 413. A duration overflow returns 409 capture_limit; stop with the accepted chunk count and retain any overflow locally.

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