Collections

Retrieve rich transcription data for a specific file in a collection

Changed on

Retrieve rich transcription data for a specific file in a collection. This API is only available when the a collection is created with collection_type 'rich-transcripts'

get/collections/{collection_id}/videos/{file_id}/rich-transcripts

Request

  • Base URL
    https://api.cloudglue.dev/v1
  • Auth
    HTTP bearer

Path parameters

collection_idstring required

The ID of the collection

file_idstring required

The ID of the file

Query parameters

response_format'json' | 'markdown'

Format for the response

start_time_secondsnumber

Start time in seconds to filter out results by

end_time_secondsnumber

End time in seconds to filter out results by

modalitiesstring[]

The modalities to output in the response. Can be used to return smaller data sets. Comma separated list of strings. Defaults to all modalities available / previously extracted. Accepted values are speech,visual_scene_description,scene_text, audio_description, summary, segment_summary, title

include_word_timestampsboolean

When true, include a words array on each speech entry with word-level start_time and end_time. Not available for YouTube sources. Only applies when response_format=json.

include_metadataboolean

Include the file's user-defined metadata and source metadata. In markdown these render as a ## Metadata section; in JSON they populate file.metadata and file.source_metadata.

Response

Rich transcription data

collection_idstring required

The ID of the collection

file_idstring required

The ID of the file

contentstring

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

titlestring

Generated title of the video

summarystring

Generated video level summary

duration_secondsnumber

Duration of the video in seconds

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the new optional query request parameter include_metadata

    • info

      added the optional property / to the response with the status