List video jobs
The project's video jobs, newest first, with cursor pagination and a status filter.
MarkdownOn this page
GET
/v1/videosLists 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
limitintegerItems per page, 1 to 100. Defaults to 20.
afterstringThe next_cursor of the previous page.
statusstringOnly 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"import os
import requests
params = {"limit": 20}
while True:
page = requests.get(
"https://api.getlykia.com/v1/videos",
headers={"Authorization": f"Bearer {os.environ['LYKIA_API_KEY']}"},
params=params,
timeout=30,
).json()
for job in page["data"]:
print(job["id"], job["status"], job["model"])
if not page["has_more"]:
break
params["after"] = page["next_cursor"]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
objectstringAlways list.
dataarrayJob objects.
next_cursorstring | nullPass as after for the next page.
has_morebooleanWhether there is a next page.