Transcripts
Create transcript
POST
Creates a transcript and returns the created row.
header
AuthorizationBearer <esk_live_…>A workspace API key created in workspace settings. It acts as the member who created it, narrowed to its abilities, projects and credit limit. Each operation names the ability it needs.
Scope: transcripts:create
Endless-Api-Version?stringPin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.
application/json- body
organization_id*stringMatch
^org_source_asset_id?stringFormat
uuidsource_url?stringFormat
uriaudio_url?stringFormat
urisource_filename?stringmime_type?stringLength
length <= 255language?stringmethod?stringValue in
"fast""high-quality"title?stringtool_call_id?|nullconversation_id?|nullOK
application/json- response
asset*detail*outcome*stringValue in
"created""reused"curl -X POST 'https://api.endless.app/transcripts' \ -H 'Content-Type: application/json' \ -d '{ "organization_id": "string"}'Example Response
{ "asset": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organization_id": "string", "created_by_id": "string", "type": "image", "title": "string", "mime_type": "string", "url": "string", "object_key": "string", "content": "string", "upload_file_state": "in_progress", "enrichment_state": "ignored", "visibility": "private", "workspace_role": "viewer", "color": "red", "metadata": "string", "generation_id": "a3c889df-e7ae-4ae9-9838-8884129ade5e", "origin_conversation_id": "4754211d-696b-46d6-8b2f-376fa5a2850c", "origin_canvas_id": "16b35206-3210-42c7-a590-f6d220e0854e", "uploaded_from": "library", "mod_transcript_id": "string", "mod_asset_id": "string", "mod_source_id": "string", "dual_media_id": "string", "deleted_at": "2019-08-24T14:15:22Z", "deleted_by_id": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "detail": { "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4", "segments": [ { "id": "string", "speaker_id": "string", "start_sec": 0, "end_sec": 0, "words": [ { "t": "string", "s": 0, "e": 0 } ] } ], "speakers": [ { "id": "string", "name": "string", "talk_pct": 0 } ], "chapters": [ { "id": "string", "title": "string", "start_sec": 0 } ], "organization_id": "string", "created_by_id": "string", "source": "string", "requested_language": "string", "transcript_language": "string", "tier": "fast", "transcribed_by": "captions", "live": true, "failed_at": "2019-08-24T14:15:22Z", "supadata_job_id": "string", "credits_hold": -2147483648, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "outcome": "created"}Set tool state PATCH
Set tool state. Scoped to the tool named by `tool_id`. Send a sparse body — only the fields that changed. Each field is authorized on its own, so resending an unchanged one also demands its permission.
Get transcript GET
Returns a single transcript. Scoped to the transcript named by `transcript_id`.