Workspaces

Get workspace usage

Creative Units balance plus total and per-day consumption over the last days days.

get/v1/workspaces/{workspace_id}/usage

Path parameters

workspace_idstring uuid required

Id of the workspace that owns the resource.

Id of the workspace that owns the resource.

Query parameters

daysinteger

How many days back to report.

How many days back to report.

Response

Successful Response

balance_creative_unitsnumber required

Current Creative Units balance.

reserved_creative_unitsnumber required

Creative Units reserved by in-flight generations.

available_creative_unitsnumber required

Balance minus reserved: what's spendable right now.

period_startstring required

Start of the reported window (UTC date).

period_endstring required

End of the reported window (UTC date).

total_creative_unitsnumber required

Total Creative Units consumed over the window.

Changes

No recorded changes to this endpoint across all 1 revision of this API.