Ana içeriğe atla
GET
Get all LLM token usages

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Sorgu Parametreleri

per_page
integer | null

The number of items per page.

Gerekli aralık: 1 <= x <= 100
page
integer | null

The page number.

Gerekli aralık: x >= 1
sort_by
enum<string> | null

The field to sort by.

Mevcut seçenekler:
created_at,
total_token,
cost,
null
sort_order
enum<string> | null

The sort direction (asc or desc).

Mevcut seçenekler:
asc,
desc,
null
llm_id
integer | null

Filter by the model record ID.

Gerekli aralık: x >= 1
model
string | null

Filter by the model name as recorded on the usage (e.g. openai/gpt-4.1).

Maximum string length: 255
llm_role
enum<string> | null

Filter by the role the model was called for.

Mevcut seçenekler:
flexy_chat,
greeter,
info,
booking,
intake,
support,
spam,
router,
intake_router,
intent_splitter,
reply_format,
ai_report,
booking_summary,
treatment_summary,
product_summary,
transcription
created_at_from
string<date-time> | null

Filter records created on or after this date.

created_at_to
string<date-time> | null

Filter records created on or before this date.

Yanıt

Paginated set of LlmTokenUsageResource

data
LlmTokenUsageResource · object[]
gerekli
meta
object
gerekli