Get credits timeseries
Changed onGet credit consumption timeseries data for the specified Organization, broken down by dimensions such as product and usage type.
Request
- Base URLhttps://gateway.cribl.cloud
- Auth
- OAuth 2Client credentialsToken URL: https://login.cribl.cloud/oauth/token
- or HTTP bearer
Path parameters
The <code>id</code> of the Organization.
Query parameters
Inclusive start of the query date range in ISO 8601 format. Must be before endingBefore. Minimum range is 1 day. Maximum range depends on window: 6 months for daily, 7 years for monthly.
Exclusive end of the query date range in ISO 8601 format. Must be after startingOn. Minimum range is 1 day. Maximum range depends on window: 6 months for daily, 7 years for monthly.
Aggregation granularity for timeseries data. Determines the maximum allowed date range: up to 6 months for daily, up to 7 years for monthly.
Response
Credits timeseries data.
Example response
{
"items": [
{
"date": "2025-05-01T00:00:00.000Z",
"credits": 147722.92,
"dimensions": [
{
"dimension": "stream",
"credits": 42150.5
}
]
}
],
"count": 12
}Changes
- info
removed the non-success response with the status
- info
- info
endpoint added
- info