API ReferenceTranslation

List translations

This will list all translations generated for this recording

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

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

  • 200Translations

    application/json · array of Translation

    Translations generated for the recording

    • idstringrequired
    • createdAtstringrequired
    • updatedAtstringrequired
    • recordingIdstringrequired

      ID of the recording this is a translation for

    • languageLanguageCoderequired

      Target language for the translation

      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"

    • statusTranslationStatusrequired

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

    • failurestring

      Error message if translation failed

    • aiModelIdstring

      AI model used for translation

    • contentBlobIdstring

      ID of the blob containing processed translation content

    • contentRawBlobIdstring

      ID of the blob containing raw translation content

    • createdByIdstringrequired

      ID of the user who created this translation

    • queuedAtstring

      Date time when it was queued for translation

    • startedAtstring

      Date time when the translation started processing

    • completedAtstring

      Date time when the translation was complete

  • 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/translations' \
  --header 'x-api-key: YOUR_API_KEY'
const response = await fetch("https://transcript.lol/api/v1/spaces/string/recordings/string/translations", {
  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/translations",
    headers={
        "x-api-key": "YOUR_API_KEY"
    },
)
print(response.text)
[
  {
    "id": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "recordingId": "string",
    "language": "bg",
    "status": "NOT_STARTED",
    "failure": "string",
    "aiModelId": "string",
    "contentBlobId": "string",
    "contentRawBlobId": "string",
    "createdById": "string",
    "queuedAt": "string",
    "startedAt": "string",
    "completedAt": "string"
  }
]
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}
{
  "error": "string",
  "errorDetails": {}
}