List generation history
Changed onLists generation history for the authenticated caller, including pending, running, completed, and failed generations. Results are newest first and can be filtered by workspace_id, project_id, and status. Each item includes poll_url; use it to poll pending/running generations and to fetch completed or failed run details and outputs.
Request
- Base URLhttps://app.flora.ai/api/v1
- URLhttps://app.flora.ai/api/v1/generations
- AuthHTTP bearer
Query parameters
Maximum number of results to return
Opaque cursor for fetching the next page
Workspace identifier
Project identifier
Run status filter
Include each generation's submitted inputs (prompt and input references) on the item. Off by default; the inputs block can be large.
Response
Generation history returned.
Example response
{
"generations": [
{
"run_id": "run_abc123",
"error_code": "provider_error",
"error_message": "The provider failed to complete the generation.",
"outputs": [
{
"output_id": "output_1",
"url": "https://media.flora.ai/output.png",
"asset_id": "asset_abc123",
"label": "preview"
}
],
"generation_id": "run_abc123",
"workspace_id": "ws_abc123",
"project_id": "prj_abc123",
"model": {
"model_id": "t2i-flux-2-pro"
},
"inputs": {
"asset_ids": [
"asset_abc123"
]
}
}
],
"meta": {
"next_cursor": "eyJvZmZzZXQiOjIwfQ"
}
}Changes
- warning
added the new
not_configuredenum value to the/response property for the response status - warning
added the new
not_configuredenum value to the/response property for the response status - warning
added the new
not_configuredenum value to the/response property for the response status - warning
added the new
not_configuredenum value to the/response property for the response status - warning
added the new
not_configuredenum value to the/response property for the response status - warning
added the new
not_configuredenum value to the/response property for the response status - warning
added the new
not_configuredenum value to the/response property for the response status - warning
added the new
not_configuredenum value to the/response property for the response status - warning
added the new
not_configuredenum value to the/response property for the response status
- warning
- info
endpoint added
- info