Skip to main content
GET
Aggregate transactions

Authorizations

Authorization
string
header
required

Pass an API key (prefixed lk_) or a JWT access token as a bearer token. Generate API keys in the dashboard at https://dashboard.lyceum.technology/api-keys.

Path Parameters

slug
string
required

Query Parameters

category
enum<string>
required

Public-facing transaction categories.

Each value maps to a Croesus meter slug internally (see service.transaction_category_to_meter). The indirection lets us rename or reshape Croesus meters without breaking the public API.

Available options:
vms,
executions,
inference_prompt_tokens,
inference_completion_tokens,
serverless_inference_prompt_tokens,
serverless_inference_completion_tokens
group_by
string
required

Response

Successful Response

category
enum<string>
required

Public-facing transaction categories.

Each value maps to a Croesus meter slug internally (see service.transaction_category_to_meter). The indirection lets us rename or reshape Croesus meters without breaking the public API.

Available options:
vms,
executions,
inference_prompt_tokens,
inference_completion_tokens,
serverless_inference_prompt_tokens,
serverless_inference_completion_tokens
aggregates
OrgTransactionAggregate · object[]
required