Get run metrics
Self-hosted installs only. Returns the run workload metrics in the Prometheus text exposition format: open runs by workload and state (waiting, active, paused, idle, released), the idle time of live chat workspaces, the sandbox cleanups by reason (idle, cancel, ceiling, reaper, budget, launch_failure, oom, evicted, lost, finished) and the CPU and memory in use per run sandbox, outer and inner container where the backend can tell them apart. The output holds no organization IDs, run IDs, targets, tokens or request content. Point a Prometheus scrape job at this path with the token as its bearer token. Hosted installs return 404.
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Response
Prometheus text exposition.
The response is of type string.