Ana içeriğe atla
GET
Get LLM token usage totals

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

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

success
boolean
gerekli
data
object
gerekli