Skip to main content

List all output assets for a flow

This is the primary endpoint to retrieve your generated 3D models and assets. Get an overview of all generated output assets from a completed flow.

Requirements: Flow must be in one of the following terminal states:

  • completed: Flow finished successfully
  • aborted: Flow was manually aborted (partial outputs may be available)
  • failed: Flow encountered an error (partial outputs may be available)

Query Parameters:

  • include_data: Boolean flag to include or exclude the actual file data in the response
    • true: Returns full data URIs with base64-encoded file data - use for downloading outputs directly
    • false (default): Returns only metadata - use for listing/overview before downloading

Response includes:

  • Asset ID for each output
  • File status (available, error)
  • Base64-encoded file data (if include_data=true) - ready to decode and save
  • Error message (if output generation failed)
  • Additional custom metadata (copied from corresponding input)

Example Response (with include_data=true):

{
"flow_id": "6941ac784e4fd44b7afb5f4c",
"outputs": [
{
"asset_id": "6941ac8e0af54e6f95f3a06d",
"additional": null,
"status": "ready",
"data": "data:model/gltf-binary;base64,Z2xURg..."
}
]
}

Use Cases:

  • Download all generated 3D models at once
  • List all generated outputs before downloading
  • Check which outputs completed successfully
  • Get asset IDs for individual output downloads via GET /flows/{flow_id}/outputs/{asset_id}
info

This endpoint allows you to list all output assets for a flow.

Endpoint

GET https://flows.generio.ai/flows/{flow_id}/outputs

Parameters

flow_id (required)

  • Location: path
  • Type: string

include_data (optional)

Whether to include the data of the assets.

  • Location: query
  • Type: string
  • Default: false

Responses

200

Successful Response

422

Validation Error

Code Examples

Copy and run these examples in your terminal or code editor. Make sure to replace YOUR_TOKEN with your actual authentication token.

curl -X GET "https://flows.generio.ai/flows/{flow_id}/outputs" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"