Aggregated usage
GET
https://your-instance.com/api/organization/{id}/usageOwner-only. Returns spend rolled up for the organization — the numbers behind the dashboard in the console.
Request-level logs
GET
https://your-instance.com/api/organization/{id}/logsRole-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"
