Query Parameters
integer
default:"1"
Page number for pagination.
integer
default:"20"
Number of videos per page (max 100).
Response
array
Array of video objects.
object
Pagination information.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List all videos for the authenticated user
GET /v1/videos
import requests
response = requests.get(
"https://api.voidai.app/v1/videos",
headers={"Authorization": "Bearer sk-voidai-your_key_here"},
params={"page": 1, "limit": 10}
)
data = response.json()
for video in data["data"]:
print(f"{video['id']}: {video['status']} - {video['prompt'][:50]}...")
const response = await fetch('https://api.voidai.app/v1/videos?page=1&limit=10', {
headers: {
'Authorization': 'Bearer sk-voidai-your_key_here'
}
});
const data = await response.json();
for (const video of data.data) {
console.log(`${video.id}: ${video.status} - ${video.prompt.slice(0, 50)}...`);
}
curl "https://api.voidai.app/v1/videos?page=1&limit=10" \
-H "Authorization: Bearer sk-voidai-your_key_here"
{
"data": [
{
"id": "vid_abc123",
"status": "completed",
"prompt": "A serene beach at sunset with gentle waves",
"model": "sora-2",
"created_at": 1701691200
},
{
"id": "vid_def456",
"status": "processing",
"prompt": "A cat playing piano in a jazz club",
"model": "sora-2",
"created_at": 1701691100
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 25
}
}
