Skip to main content
GET
List generations

Authorizations

Authorization
string
header
required

Your API key (cz_…), created in the console. Use it only on your server.

Query Parameters

limit
integer
default:20

How many generations to return.

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

Return the generations created before this one: the last id of the previous page.

Pattern: ^gen_
status
enum<string>

Only this status.

Available options:
queued,
processing,
succeeded,
failed
model
string

Only this model slug.

Response

One page of generations.

One page of generations.

data
object[]
required

Generations, newest first.

has_more
boolean
required

Whether more generations follow; pass the last id as after.