/generations returns a paginated list of all generation jobs on your account, including their current status, output URLs, and credit ledger entries. Use it to build dashboards, audit credit usage, or let users browse past results.
GET https://v1.api.estudjo.com/generations
string
required
Your estudjo API key.
Query parameters
integer
Page number to retrieve. Defaults to
1.integer
Number of results per page. Accepts
1–250. Defaults to 250.string
Filter results to a single status. Accepted values:
pending, completed, or failed. Omit to return all statuses.Example request
Response
boolean
true when the request was valid and the response contains data.object
Credit log types
Each generation produces one or morecredits_logs entries that trace the full lifecycle of its credit charge.
Reading the ledger:
- A single
reserveentry with no follow-up → the generation is still pending. reserve+spend→ generation completed and credits were charged.reserve+release→ generation failed and the reserved credits were refunded.
per_page reflects the limit that was actually applied to the query (not necessarily what you passed). Always use ceil(total / per_page) to compute the total number of pages rather than ceil(total / limit).