LLM
Get LLM usage for a run
Self-hosted (on-prem) only — returns 404 on SaaS. Cost, token, and request totals recorded for a single scan, PR review, or chat run. usage is null until the run has reported cost. Requires an unrestricted token (tokens limited by rbac scopes are rejected).
GET
Error
Authorizations
API token obtained from the Tokens endpoint. Include as Authorization: Bearer <token>.
Path Parameters
Available options:
scan, pr_review, chat Response
Per-run LLM usage (null when not yet recorded).
Error