Usage and logs

What the organization spent, broken down by member, team and model.

Aggregated usage

GEThttps://your-instance.com/api/organization/{id}/usage

Owner-only. Returns spend rolled up for the organization — the numbers behind the dashboard in the console.

Request-level logs

GEThttps://your-instance.com/api/organization/{id}/logs

Role-aware, and the distinction matters: an owner sees every request the organization made, while a member sees only what their own keys produced. Each row carries its model, token counts and the resulting charge.

curl
curl "https://your-instance.com/api/organization/$ORG_ID/logs?page=1&page_size=50" \
  -H "Authorization: Bearer $CLAWROUTER_ACCESS_TOKEN" \
  -H "New-Api-User: $USER_ID"