UsageEntry
One charge on the ledger: what it was for, its amount and fee, and the price and token counts it was computed from.
Shape
- amount_microsinteger · int64
- entry_idUsageEntryId (string · uuid)
- fee_microsinteger · int64
- kindUsageEntryKindsettledorphan_settledcorrection
- lineUsageLineai_model_usageWhat a ledger entry charges for. One line so far: AI model usage.
- monthstring
- occurred_atstring · date-time
- price_refobjectWhat the amount was calculated from: the model price used and the token counts.
- subjectobjectWhat was charged for — for a model call, organization, agent, session and turn.
Example
Synthesized example{
"amount_micros": 74,
"entry_id": "497491ef-a267-44ed-ac99-5d1904507061",
"fee_micros": 70,
"kind": "settled",
"line": "ai_model_usage",
"month": "month-d382",
"occurred_at": "2026-10-13T18:12:25Z",
"price_ref": {},
"subject": {}
}
Graph
Used inside
Contains
No named schema inside.
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation