List all videos

GET/v1/videos

List all video generation tasks for your account.

Authentication

Authorization Bearer

API key as bearer token in Authorization header.

Query Parameters

limitintegerdefault:20

Maximum number of results to return. Maximum: 100.

afterstring

Cursor for forward pagination.

beforestring

Cursor for backward pagination.

orderenum<string>default:desc

Sort direction by created_at.

Available options: asc desc

Response

objectstring

Always list.

dataobject[]

List of video task objects.

data.idstring

Video task ID.

data.objectstring

Always video.

data.statusenum<string>

Task status.

Available options: queued in_progress completed failed

data.modelstring

Model used.

data.promptstring

Input prompt.

data.created_atinteger

Unix timestamp.

has_moreboolean

Whether more results are available.

first_idstring | null

ID of the first item in data, or null if empty.

last_idstring | null

ID of the last item in data, or null if empty.

Request

Shell
1curl https://api.token360.ai/v1/videos \
2  -H "Authorization: Bearer sk-your-api-key"

Response

JSON
1{
2  "object": "list",
3  "data": [
4    {
5      "id": "your-video-id",
6      "object": "video",
7      "status": "completed",
8      "model": "seedance-2.0",
9      "prompt": "A cat playing piano...",
10      "created_at": 1701476542
11    }
12  ],
13  "has_more": false,
14  "first_id": "your-video-id",
15  "last_id": "your-video-id"
16}
Was this page helpful?