Skip to main content
GET
/
video
/
generations
List video generations
curl --request GET \
  --url https://api.spikelabs.com/v1/video/generations \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "vid_abc123",
      "object": "video.generation",
      "status": "pending",
      "created_at": "2023-11-07T05:31:56Z",
      "personality_id": "<string>",
      "progress": 50,
      "video_url": "<string>",
      "thumbnail_url": "<string>",
      "duration": 123,
      "error": {
        "code": "<string>",
        "message": "<string>"
      },
      "completed_at": "2023-11-07T05:31:56Z"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication. Use your secret key (starts with sk_) as a Bearer token.

Query Parameters

limit
integer
default:20

Number of items to return (1-100)

Required range: 1 <= x <= 100
cursor
string

Pagination cursor from previous response

status
enum<string>
Available options:
pending,
processing,
completed,
failed,
cancelled

Response

200 - application/json

List of video generations

data
object[]
required
has_more
boolean
required
next_cursor
string | null