Skip to content

List video jobs

The project's video jobs, newest first, with cursor pagination and a status filter.

Markdown
On this page
GET/v1/videos

Lists the video jobs of the key's project, newest first. Each item is a job object as returned by GET /videos/{id}, with a freshly signed output.url for completed jobs.

Query parameters

limitinteger

Items per page, 1 to 100. Defaults to 20.

afterstring

The next_cursor of the previous page.

statusstring

Only jobs in this status: queued, in_progress, completed, failed or cancelled.

Example

Request
curl "https://api.getlykia.com/v1/videos?limit=20&status=completed" \
  -H "Authorization: Bearer $LYKIA_API_KEY"
Response200
{
    "object": "list",
    "data": [
        {
            "id": "gen-1795463406-qOWSYdRnX7cEsv8q",
            "object": "video",
            "status": "completed",
            "progress": 100,
            "model": "bytedance/seedance-1.0-pro",
            "provider": "bytedance",
            "created_at": 1795463406,
            "completed_at": 1795463439,
            "expires_at": 1796068239,
            "duration_seconds": 5,
            "params": {
                "duration": 5,
                "aspect_ratio": "16:9",
                "resolution": "720p",
                "image": false,
                "last_frame": false,
                "reference_images": 0
            },
            "usage": {
                "cost": 0.2574,
                "is_byok": false,
                "cost_details": {
                    "upstream_cost": 0.2574,
                    "platform_fee": 0,
                    "is_byok": false
                }
            },
            "output": {
                "url": "https://files.example.com/media/gen-1795463406-qOWSYdRnX7cEsv8q/0.mp4?X-Amz-Expires=3600&X-Amz-Signature=5f0c9e…",
                "expires_at": "2026-11-23T20:54:38.581Z",
                "mime_type": "video/mp4",
                "bytes": 310368
            }
        }
    ],
    "next_cursor": "gen-1795463406-qOWSYdRnX7cEsv8q",
    "has_more": true
}

Response

objectstring

Always list.

dataarray

Job objects.

next_cursorstring | null

Pass as after for the next page.

has_moreboolean

Whether there is a next page.