Skip to main content
GET
Python (SDK)

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Query Parameters

state
enum<string> | null
Available options:
pending,
running,
publishing,
succeeded,
failed,
cancelling,
cancelled
generator_id
string | null
output_repo
string | null
created_after
string<date-time> | null
created_before
string<date-time> | null
limit
integer
default:20
Required range: 1 <= x <= 100
cursor
string | null
order
enum<string>
default:desc
Available options:
asc,
desc

Response

Successful Response

data
Generation · object[]
required
next_cursor
string | null
total
integer | null