v34

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-09194386949.7 KB
Beta
Usage Metrics

List Usage Metrics

List usage metrics with filtering and pagination.

get/api/v1/beta/usage-metrics

Query parameters

page_sizeinteger nullable

Number of items per page

Number of items per page

page_tokenstring nullable

Token for pagination

Token for pagination

include_totalboolean

Include total count in response

Include total count in response

project_idstring uuid nullable

Filter by project ID

Filter by project ID

user_idstring nullable

Filter by user ID

Filter by user ID

event_typesstring[] nullable

Filter by event types

Filter by event types

daysstring[] nullable

Filter by specific days (YYYY-MM-DD)

Filter by specific days (YYYY-MM-DD)

day_on_or_beforestring nullable

Filter by days on or before this date (YYYY-MM-DD)

Filter by days on or before this date (YYYY-MM-DD)

day_on_or_afterstring nullable

Filter by days on or after this date (YYYY-MM-DD)

Filter by days on or after this date (YYYY-MM-DD)

event_aggregation_typestring nullable

Filter by event aggregation type

Filter by event aggregation type

event_aggregation_keystring nullable

Filter by event aggregation key

Filter by event aggregation key

organization_idstring uuid required

Cookies

sessionstring nullable

Response

Successful Response

next_page_tokenstring nullable

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

total_sizeinteger nullable

The total number of items available. This is only populated when specifically requested. The value may be an estimate and can be used for display purposes only.