data holds the page’s items. nextCursor is the cursor for the next page, or
null on the last page.
Request the next page
SendnextCursor as the cursor query parameter, with the same filters as the
first request. You can change limit between pages.
400 validation_failed and param set to cursor.
Treat cursors as opaque strings.
GET /v1/generations lists newest first.
The following Node.js example reads every page of your generations:
Query string rules
Every endpoint reads its query string the same way:- An unknown query parameter fails with
400 invalid_request, andparamnames it. - A parameter sent more than once fails with
400 invalid_request. - A value that isn’t valid fails with
400 validation_failed, andparamnames the parameter. - An ID in the path is a UUID. Anything else returns
404 not_found, as an unknown ID does.