Get Account App Message Costs

Per user-character billing drilldown for the developer console.

The canonical ledger stays usage_meter_events. This endpoint only projects customer-facing message costs by end-user/character pair, splitting text replies from image generation and retaining incurred-but-not-delivered usage so totals continue to reconcile to the ledger.

Authentication

AuthorizationBearer

LoreOS API key, sent as Authorization: Bearer <key>.

Path parameters

app_idstringRequired

Query parameters

viewstringOptionalformat: "^(users|characters)$"Defaults to users
fromstring or nullOptional
tostring or nullOptional
limitintegerOptional1-100Defaults to 20
messages_per_pairintegerOptional0-100Defaults to 5
external_user_refstring or nullOptional
character_slugstring or nullOptional
session_idstring or nullOptionalformat: "uuid"
modalityenumOptionalDefaults to all
Allowed values:

Response

Successful Response

Errors

422
Unprocessable Entity Error