Retrieves the transcription for a given file.
If no transcription exists in the system, and a valid audioUrl is provided, a new transcription will be generated and stored.
audioUrl is provided, a new transcription will be generated and stored.
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token |
| Content-Type | string | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| fileId | string | Yes | Unique identifier of the audio file |
| Field | Type | Required | Description |
|---|---|---|---|
| audioUrl | string | No | URL of the audio file for transcription |
| Field | Type | Description |
|---|---|---|
| status | string | Transcription status (completed, processing, failed) |
| text | string | Full transcribed text |
| duration | number | Audio duration in seconds |
| confidence | number | Overall confidence score (0-1) |
| language | string | Detected language code |
| createdAt | string | Transcription creation timestamp |
| updatedAt | string | Last update timestamp |
| wordCount | integer | Total word count in transcription |
| speakerCount | integer | Number of detected speakers |
| Field | Type | Description |
|---|---|---|
| start | number | Segment start time in seconds |
| end | number | Segment end time in seconds |
| text | string | Transcribed text for segment |
| confidence | number | Confidence score for segment (0-1) |
/transcription/{fileId} to delete transcriptionsBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the audio file.
"670fcae25abf2d8e5c8a4a12"
URL of the audio file used for transcription (required only if no existing transcription is found).
"https://example.com/uploads/audio-file.mp3"