Get LiteLLM tag-activity analytics
Queries LiteLLM’s /tag/daily/activity endpoint, projects the response into a stable shape, and returns daily spend/token breakdowns with per-tag and per-model aggregates. The tag_prefix parameter is an IMP convenience: it resolves all tags matching the prefix via /tag/list before forwarding to LiteLLM, ensuring the full window is covered regardless of page size. Restricted to super_admin.
Authorizations
Organisation API key. Format: sk_<secret>/<keyname> — the secret portion, a literal slash, and the human-readable key name. The header exulu-api-key is accepted as an alias. A Bearer prefix is tolerated and stripped. Keys with an agent scope are only valid for the scoped agent instance.
Query Parameters
Start date (YYYY-MM-DD or ISO datetime).
End date (YYYY-MM-DD or ISO datetime).
Resolves all LiteLLM tags matching this prefix (e.g. user_id_, agent_id_) and passes them to the query.
Comma-separated explicit tag list. When combined with tag_prefix, returns the intersection.
Filter to a specific LiteLLM model name.
Page number (default 1).
x >= 1Set true to exclude team_* tags from the breakdown.
true, false