from/to as ISO 8601 timestamps; optionally pass projectId to scope the report to one project. Amounts are billable spend only (what we absorb is never included). Authenticated by either an organization API key with the usage:read permission (any project in the organization), or a project API key with the billing:read permission (that key’s own project only; any other projectId is a 403).
Calls
GET /v1/usageOptions
string
required
Start of the window (inclusive), ISO 8601.
string
required
End of the window (exclusive), ISO 8601. Must be after
from, and the window may not exceed 366 days.string
Limit the report to a single project. Omit for the whole organization.