API ReferenceTranscript

Get recording metadata

This will only return Recording metadata and media links (if available)

To get transcript content, use the /transcript endpoint

GET/spaces/{spaceId}/recordings/{recordingId}

Authorization API key in the x-api-key header

Path parameters

  • spaceIdstringrequired

    ID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.

  • recordingIdstringrequired

    ID of the recording. You can find from the url in dashboard when you open the workspace or using the list recordings endpoint.

Responses

  • 200Recording metadata

    application/json · RecordingWithAssets

    • transcriptTranscriptMetadatarequired
      Show 9 properties
      • speakerAssignmentsarray of SpeakerAssignmentrequired
        Show 2 properties
        • speakerIndexnumberrequired

          Index of the speaker in the transcript content

        • speakerIdstringrequired

          ID of the speaker you have created in your workspace

      • idstringrequired
      • createdAtstringrequired
      • updatedAtstringrequired
      • transcriptForIdstringrequired

        ID of the recording for which this is a transcript

      • languageLanguageCoderequired

        One 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"

      • statusTranscriptStatusrequired

        One of"NOT_STARTED""IN_QUEUE""IN_PROGRESS""COMPLETE""FAILED"

      • queuedAtstringrequired

        Date time when it was queued for transcription

      • completedAtstringrequired

        Date time when the transcription was complete

    • audioFileBlobFile

      If there is an audio file for the recording. Only relavant if the original upload was a video

      Show 9 properties
      • idstringrequired
      • createdAtstringrequired
      • updatedAtstringrequired
      • mimeTypestringrequired
      • typestringrequired
      • sizenumberrequired
      • publicUrlstringrequired
      • publicUrlExpirystringrequired
      • workspaceIdstringrequired
    • originalFileBlobFile

      The original uploaded media file

      Show 9 properties
      • idstringrequired
      • createdAtstringrequired
      • updatedAtstringrequired
      • mimeTypestringrequired
      • typestringrequired
      • sizenumberrequired
      • publicUrlstringrequired
      • publicUrlExpirystringrequired
      • workspaceIdstringrequired
    • webhooksarray of Webhookrequired
      Show 4 properties
      • eventWebhookEventrequired

        One of"TRANSCRIPT_CREATED""TRANSLATION_CREATED""INSIGHT_CREATED"

      • workspaceIdstringrequired

        Workspace the webhook is linked to. Only triggers for contents of this workspace.

      • createdByIdstringrequired

        ID of the user that created this webhook

      • urlstringrequired

        Webhook url

  • 400Invalid input

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 401Authentication failed

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 403You don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional details for the cause of the error if available

  • 404Not found or don't have access

    application/json · ApiError

    • errorstringrequired

      short description of the error

    • errorDetailsobject

      additional 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": {}
}