Get usage history
GET
/balance/usage
Returns credit usage aggregated by date, site, and task type. Requires balance:read scope.
Authorizations
BearerAuth
API key in format lm_xxxxxxxxxxxxxxxx. Get your key at app.looma.chat/integrations.
Type
HTTP (bearer)
Parameters
Query Parameters
period
Type
string
Valid values
"today""week""month""year""all"Default
"month"site_id
Filter by site ID
Type
integer
page
Page number
Type
integer
Minimum
1Default
1per_page
Items per page (max 100)
Type
integer
Minimum
1Maximum
100Default
30Responses
Usage data
application/json
JSON
{
"success": true
}

