GET
/
collections
/
{collection_id}
/
videos
/
{file_id}
/
media-descriptions
Retrieve media description data for a specific file in a collection
curl --request GET \
  --url https://api.cloudglue.dev/v1/collections/{collection_id}/videos/{file_id}/media-descriptions \
  --header 'Authorization: Bearer <token>'
{
  "object": "collection_file",
  "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "added_at": 123,
  "data": {
    "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

200
application/json

Media description data

The response is of type object.