GET
/
collections
/
{collection_id}
/
media
curl --request GET \
  --url https://api.trytldw.ai/v1/collections/{collection_id}/media \
  --header 'Authorization: Bearer <token>'
{
  "media": [
    {
      "external_id": "Video Title",
      "id": "c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l",
      "status": "COMPLETED"
    }
  ],
  "pagination": {
    "page": 0,
    "page_size": 50,
    "total_results": 1
  }
}

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

Query Parameters

page
integer
default:0

The page number to retrieve (0-indexed)

page_size
integer
default:50

The number of results per page

Response

200
application/json
Successful Response
media
object[]
required
Example:
[
  {
    "external_id": "Video Title",
    "id": "c1a2b3c4-1a2b-3c4d-5e6f-7g8h9i0j1k2l",
    "status": "COMPLETED"
  }
]
pagination
object
required