GET
/
collections
/
{collection_id}
/
videos
/
{file_id}
/
rich-transcripts
Retrieve rich transcription data for a specific file in a collection
curl --request GET \
  --url https://api.cloudglue.dev/v1/collections/{collection_id}/videos/{file_id}/rich-transcripts \
  --header 'Authorization: Bearer <token>'
{
  "collection_id": "<string>",
  "file_id": "<string>",
  "content": "<string>",
  "title": "<string>",
  "summary": "<string>",
  "speech": [
    {
      "text": "<string>",
      "start_time": 123,
      "end_time": 123
    }
  ],
  "visual_scene_description": [
    {
      "text": "<string>",
      "start_time": 123,
      "end_time": 123
    }
  ],
  "scene_text": [
    {
      "text": "<string>",
      "start_time": 123,
      "end_time": 123
    }
  ],
  "segment_summary": [
    {
      "title": "<string>",
      "summary": "<string>",
      "start_time": 123,
      "end_time": 123
    }
  ]
}
For details on how to create a video collection, see Create Collection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_id
string
required

The ID of the collection

file_id
string
required

The ID of the file

Query Parameters

response_format
enum<string>
default:json

Format for the response

Available options:
json,
markdown

Response

Rich transcription data

collection_id
string
required

The ID of the collection

file_id
string
required

The ID of the file

content
string

Content string returned based on formatting, e.g. set to markdown text when response_format=markdown is requested

title
string

Generated title of the video

summary
string

Generated video level summary

speech
object[]

Array of speech transcriptions

visual_scene_description
object[]

Array of visual descriptions

scene_text
object[]

Array of scene text extractions

segment_summary
object[]

Array of summary information for each segment of the video. Only available when enable_summary is set to true in the transcribe configuration.