cURL
Project
Get Project Detail
GET
cURL
Fetch a single project’s status and (if ready) its transcription text. Use this to poll for completion — see Lifecycle & Polling.Documentation Index
Fetch the complete documentation index at: https://docs.transcribetube.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
| Param | In | Type | Default | Description |
|---|---|---|---|---|
id | path | string | — | The projectId returned by POST /api/transcribeVideo. |
showTimecode | query | boolean | false | Include [HH:MM:SS.sss] timecodes in the text field (only applies when state is done). |
showSpeaker | query | boolean | false | Include Speaker N: labels in the text field. |
showTranscription | query | boolean | true | If false, omits the full transcript JSON (currently ignored by the API view but reserved). |
Examples
Response
The response shape depends on the project’s state.When state is done
| Field | Type | Description |
|---|---|---|
id | string | Project ID. |
name | string | Video title. |
youtubeId | string | The YouTube video ID. |
language | string | Language code. |
text | string | Plain-text transcription. Paragraphs separated by \n\n. With showTimecode=true, each paragraph is prefixed by [HH:MM:SS.sss]; with showSpeaker=true, by Speaker N:. |
The
done shape does not include the state field. If you’re branching on state, also check for the presence of text to confirm completion.When state is upload or transcription
| Field | Type | Description |
|---|---|---|
state | enum | upload or transcription. |
message | string | Human-readable status. |
videoLength | integer | Length in seconds. |
createdAt | string (ISO 8601) | When the project was created. |
Errors
| Status | When |
|---|---|
| 401 | Missing or invalid api-key header. |
| 404 | Project not found, or it belongs to a different user. |
Authorizations
Path Parameters
The ID of the project to retrieve
Query Parameters
Show Timecode on content
Show Speaker name on content
Show Transcription word by word

