Skip to main content
GET
/
v1
/
usage
Get usage aggregates
curl --request GET \
  --url https://sync.ablo.app/v1/usage \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "day": "2023-12-25",
      "total": "<string>",
      "count": 123,
      "api_key_id": "<string>",
      "team_id": "<string>",
      "event_name": "<string>",
      "line_item": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.abloatai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key (sk_live_…) or Biscuit capability token. The same header carries both — the server discriminates by token shape.

Query Parameters

starting_at
string<date-time>
required
ending_at
string<date-time>
required
event_name
string

Filter to a single event (e.g. commit_ops).

bucket_width
enum<string>

Aggregation bucket. Only 1d supported today.

Available options:
1d
group_by[]
enum<string>[]
Available options:
api_key_id,
team_id,
event_name,
line_item

Response

Usage rows

object
enum<string>
Available options:
list
data
object[]