Skip to main content
GET
Retrieve a project's generation statuses

Authorizations

Authorization
string
header
required

Your API key, as a Bearer token: Authorization: Bearer <key>.

Path Parameters

project_id
string
required

The project's id, from POST /projects.

Response

Successful Response

A project's generations -- aggregate counts by status plus each generation's status -- so a batch's progress can be tracked in one call.

project_id
string
required

The project's id.

total
integer
required

Total generations attached to the project.

status_counts
Status Counts · object
required

Generation counts keyed by status: pending, processing, completed, failed, cancelled.

generations
AssetGenerationListItem · object[]
required

Each generation in the project with its id, name, and status. Capped at 1000; page beyond it with GET /assets?project_id=.