Skip to main content

Command center

The command center is an Org Owner's or Org Admin's overview of their organization: projects and their health, people, agents, delivery, cost, quality and risks. Every endpoint takes range (1h, 24h, 7d, 30d, 90d or 1y; default 30d) and optionally one project id and one persona; an org parameter is refused with 403 and a project you cannot read answers 404.

๐Ÿ“„๏ธGet each agent's best setup

Lists in `rows`, per persona, the best-ranked configuration from the outcome ledger (at least `min_n` judged outcomes) beside the current one: the project's default model with `project`, else the most-dispatched configuration; each with its success rate, cost per success and `n`, and `settings_link`, the project settings page where the default model is set. A persona whose best setup is already the current one is left out. Requires the Org Owner or Org Admin role and agent performance on the plan (else 403).

๐Ÿ“„๏ธList the command center's deployments

Lists every project of the organization in `rows`: its last five merge-lane rows to the integration branch (`merges`, newest first, each `merged`, `failed`, `queued` or `testing` with its PR number, link and time; empty without a merge lane) and `ci`, the newest CI run on that branch read live through the caller's own forge account: `status`, `workflow`, `branch`, `at`, `url`, and a `reason` in words when the status is `unknown`. Requires the Org Owner or Org Admin role (else 403).

๐Ÿ“„๏ธList the command center's people

Returns the organization's people for the range: `metrics` (members, active people, active share, hands-off rate, human minutes per merged PR, median answer time), `rows` (one per member, those with no activity included: tasks created now and in the range before, tasks per day, done, success rate, PRs merged, net lines, tokens, AI spend, spend per done task, hands-off rate, median answer minutes, last active, and `mix`, tasks created per persona) and `project_rows` (the same per project, with its members and active people). An unknown figure is null, never 0. Requires the Org Owner or Org Admin role (else 403).