API Reference
Log In
API Reference

Get billing metrics.

Permissions: system.MEMBER.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
date-time
required

Start datetime for the billing data query.

string
required
length ≥ 1

The aggregation window size (e.g., '1d' for daily, '1w' for weekly).

orgIds

List of organization IDs to filter the query. If not provided, data for all organizations is returned.

projIds

List of project IDs to filter the query. If not provided, data for all projects is returned.

End datetime for the billing data query. If not provided, data up to the current datetime is returned.

groupBy
length ≥ 1

List of fields to group the billing data by. If not provided, no grouping is applied.

Headers
string
required

Service key.

string

User ID.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json