This will only return Recording metadata and media links (if available)
To get transcript content, use the /transcript endpoint
API ReferenceTranscript
This will only return Recording metadata and media links (if available)
To get transcript content, use the /transcript endpoint
/spaces/{spaceId}/recordings/{recordingId}Authorization API key in the x-api-key header
spaceIdstringrequiredID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.
recordingIdstringrequiredID of the recording. You can find from the url in dashboard when you open the workspace or using the list recordings endpoint.
200Recording metadataapplication/json · RecordingWithAssets
transcriptTranscriptMetadatarequiredspeakerAssignmentsarray of SpeakerAssignmentrequiredspeakerIndexnumberrequiredIndex of the speaker in the transcript content
speakerIdstringrequiredID of the speaker you have created in your workspace
idstringrequiredcreatedAtstringrequiredupdatedAtstringrequiredtranscriptForIdstringrequiredID of the recording for which this is a transcript
languageLanguageCoderequiredOne of"bg""ca""zh""zh-CN""zh-Hans""zh-TW""zh-Hant""cs""da""da-DK""nl""en""en-US""en-AU""en-GB""en-NZ""en-IN""et""fi""nl-BE""fr""fr-CA""de""de-CH""el""hi""hu""id""it""ja""ko""lv""lt""ms""multi""no""pl""pt""pt-BR""ro""ru""sk""es""es-419""sv""th""tr""uk""vi"
statusTranscriptStatusrequiredOne of"NOT_STARTED""IN_QUEUE""IN_PROGRESS""COMPLETE""FAILED"
queuedAtstringrequiredDate time when it was queued for transcription
completedAtstringrequiredDate time when the transcription was complete
audioFileBlobFileIf there is an audio file for the recording. Only relavant if the original upload was a video
idstringrequiredcreatedAtstringrequiredupdatedAtstringrequiredmimeTypestringrequiredtypestringrequiredsizenumberrequiredpublicUrlstringrequiredpublicUrlExpirystringrequiredworkspaceIdstringrequiredoriginalFileBlobFileThe original uploaded media file
idstringrequiredcreatedAtstringrequiredupdatedAtstringrequiredmimeTypestringrequiredtypestringrequiredsizenumberrequiredpublicUrlstringrequiredpublicUrlExpirystringrequiredworkspaceIdstringrequiredwebhooksarray of WebhookrequiredeventWebhookEventrequiredOne of"TRANSCRIPT_CREATED""TRANSLATION_CREATED""INSIGHT_CREATED"
workspaceIdstringrequiredWorkspace the webhook is linked to. Only triggers for contents of this workspace.
createdByIdstringrequiredID of the user that created this webhook
urlstringrequiredWebhook url
400Invalid inputapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
401Authentication failedapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
403You don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
404Not found or don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
curl 'https://transcript.lol/api/v1/spaces/string/recordings/string' \
--header 'x-api-key: YOUR_API_KEY'const response = await fetch("https://transcript.lol/api/v1/spaces/string/recordings/string", {
method: "GET",
headers: {
"x-api-key": "YOUR_API_KEY"
},
});
const text = await response.text();import requests
response = requests.get(
"https://transcript.lol/api/v1/spaces/string/recordings/string",
headers={
"x-api-key": "YOUR_API_KEY"
},
)
print(response.text){
"transcript": {
"speakerAssignments": [
{
"speakerIndex": 0,
"speakerId": "string"
}
],
"id": "string",
"createdAt": "string",
"updatedAt": "string",
"transcriptForId": "string",
"language": "bg",
"status": "NOT_STARTED",
"queuedAt": "string",
"completedAt": "string"
},
"audioFile": {
"id": "string",
"createdAt": "string",
"updatedAt": "string",
"mimeType": "string",
"type": "string",
"size": 0,
"publicUrl": "string",
"publicUrlExpiry": "string",
"workspaceId": "string"
},
"originalFile": {
"id": "string",
"createdAt": "string",
"updatedAt": "string",
"mimeType": "string",
"type": "string",
"size": 0,
"publicUrl": "string",
"publicUrlExpiry": "string",
"workspaceId": "string"
},
"webhooks": [
{
"event": "TRANSCRIPT_CREATED",
"workspaceId": "string",
"createdById": "string",
"url": "string"
}
]
}{
"error": "string",
"errorDetails": {}
}{
"error": "string",
"errorDetails": {}
}{
"error": "string",
"errorDetails": {}
}{
"error": "string",
"errorDetails": {}
}