Documents
Library documents, including finished audio and video transcripts. There is no separate transcripts resource. Transcription jobs stay in the app; completed jobs appear here with source=transcription.
Lists library documents. Finished transcriptions are included; there is no /transcripts collection. Check source and transcript_id.
Authorization
ApiKeyAuth API key from Settings > API, prefixed with sh_live_.
In: header
Query Parameters
1 <= value <= 10025Value of next_cursor from a previous page.
Case-insensitive title filter.
Value in
- "true"
- "false"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/documents"{ "data": [ { "id": "string", "title": "string", "language": "string", "document_type": "string", "status": "string", "is_archived": true, "total_sentences": 0, "version_id": "string", "source": "string", "transcript_id": "string", "visibility": "public", "share_url": "string", "created_at": "string", "updated_at": "string" } ], "next_cursor": "string", "has_more": true}Authorization
ApiKeyAuth API key from Settings > API, prefixed with sh_live_.
In: header
Header Parameters
Optional retry key. Replaying the same key with the same body returns the first successful response for 24 hours. Oversized speech responses cannot be replayed and answer 409 instead of regenerating. Not supported on streaming audio endpoints.
1 <= length <= 256Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/documents" \ -H "Content-Type: application/json" \ -d '{ "text": "string" }'{ "id": "string", "title": "string", "language": "string", "document_type": "string", "status": "string", "is_archived": true, "total_sentences": 0, "version_id": "string", "source": "string", "transcript_id": "string", "visibility": "public", "share_url": "string", "created_at": "string", "updated_at": "string", "text": "string"}Returns the document and its current text. Transcripts include speaker and timestamp headers in text, with source set to transcription. Reader timestamp hiding is app-only; stored text keeps the headers. visibility and share_url describe the unlisted web share page.
Authorization
ApiKeyAuth API key from Settings > API, prefixed with sh_live_.
In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "string", "title": "string", "language": "string", "document_type": "string", "status": "string", "is_archived": true, "total_sentences": 0, "version_id": "string", "source": "string", "transcript_id": "string", "visibility": "public", "share_url": "string", "created_at": "string", "updated_at": "string", "text": "string"}Authorization
ApiKeyAuth API key from Settings > API, prefixed with sh_live_.
In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08"Update title, text, language, archive state, or visibility. Public documents expose an unlisted share_url.
Authorization
ApiKeyAuth API key from Settings > API, prefixed with sh_live_.
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "title": "string", "language": "string", "document_type": "string", "status": "string", "is_archived": true, "total_sentences": 0, "version_id": "string", "source": "string", "transcript_id": "string", "visibility": "public", "share_url": "string", "created_at": "string", "updated_at": "string", "text": "string"}Create a new translated version. Bills the same credit wallet as MP3 export: 0.5 display credits (1 wallet cent) per started 30 seconds of estimated speech. Transcript clocks (0:34, SPEAKER_00 · 0:34, (0:34)) are playback references copied unchanged; they are not sent through the translation engine. Answers 402 when the wallet is short, and 503 when translation is not configured or down.
Authorization
ApiKeyAuth API key from Settings > API, prefixed with sh_live_.
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/translate" \ -H "Content-Type: application/json" \ -d '{ "target_language": "string" }'{ "id": "string", "title": "string", "language": "string", "document_type": "string", "status": "string", "is_archived": true, "total_sentences": 0, "version_id": "string", "source": "string", "transcript_id": "string", "visibility": "public", "share_url": "string", "created_at": "string", "updated_at": "string", "text": "string"}Download the current version as PDF, DOCX, TXT, CSV, SRT, or VTT. SRT/VTT need a transcription or complete sentence timings. This does not generate billed MP3/WAV audio.
Authorization
ApiKeyAuth API key from Settings > API, prefixed with sh_live_.
In: header
Path Parameters
uuidQuery Parameters
Value in
- "pdf"
- "docx"
- "txt"
- "csv"
- "srt"
- "vtt"
Value in
- "1"
- "true"
- "0"
- "false"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/export?format=pdf"