Budget & Spend Tracking

Get Organization Spend Report

Get spend for an organization over a date range, grouped by api_key with a per-model and per-team breakdown.

Covers spend logged against the organization directly and against any of its teams. Callable by proxy admins (any organization) and org admins (their own organizations). Defaults to the calling key's organization_id when ?organization_id= is omitted.

get/organization/spend/report

Query parameters

start_datestring nullable

Time from which to start viewing spend (YYYY-MM-DD)

Time from which to start viewing spend (YYYY-MM-DD)

end_datestring nullable

Time till which to view spend (YYYY-MM-DD)

Time till which to view spend (YYYY-MM-DD)

organization_idstring nullable

View spend for a specific organization_id. Proxy admins may pass any organization; org admins are scoped to organizations they administer.

View spend for a specific organization_id. Proxy admins may pass any organization; org admins are scoped to organizations they administer.

Response

Successful Response

object[] required

Changes

Changed in 1 of the 42 revisions of this API.1