GET
/
media
/
{media_id}
curl --request GET \
  --url https://api.trytldw.ai/v1/media/{media_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l",
  "external_id": "video_12345",
  "status": "PENDING",
  "collection_id": "c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l",
  "title": "My Video",
  "segments": [
    {
      "start_ms": 0,
      "end_ms": 1000,
      "embedding": [
        123
      ],
      "description": "People walking in the park"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

media_id
string
required

Query Parameters

retrieve_embedding
boolean
default:false
retrieve_description
boolean
default:false

Response

200
application/json

Successful Response

The response is of type object.

GET
/
media
/
{media_id}
curl --request GET \
  --url https://api.trytldw.ai/v1/media/{media_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l",
  "external_id": "video_12345",
  "status": "PENDING",
  "collection_id": "c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l",
  "title": "My Video",
  "segments": [
    {
      "start_ms": 0,
      "end_ms": 1000,
      "embedding": [
        123
      ],
      "description": "People walking in the park"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

media_id
string
required

Query Parameters

retrieve_embedding
boolean
default:false
retrieve_description
boolean
default:false

Response

200
application/json

Successful Response

The response is of type object.