Skip to main content

Get a generation or run billing receipt

GET 

/api/v1/usage/receipt

Returns a billing receipt. Pass generation_id for a per-generation receipt, or orchestration_run_id for a per-run receipt summed across the orchestration run's meters — both share the same shape (per-model line items with tokens, the price-book version that priced them, and cost, plus totals). Exactly one of generation_id or orchestration_run_id must be supplied.

Request

Responses

The generation or run usage receipt