Insights
Analytics of finished tasks — success and first-pass rates, spend and budget forecast, work per worker, why tasks stopped, and how long tasks take — in the dashboard, as CSV, through the API and as a weekly digest.
The Insights page has five views. Each covers the last 7, 30, 90 or 365 days, for the organization or one project. Periods are whole days in UTC, today included.
| View | Answers |
|---|---|
| Overview | How much finished, how often it passed your checks, and what it cost |
| Cost | Where the money went, and whether this month's budgets will hold |
| Workers | What each worker did, and how much of its time online it was working |
| Reliability | Why tasks stopped, how often agents needed a recovery, and which checks fail |
| Flow | How long tasks wait and take, and who and what they come from |
Figures with an arrow under them compare the period with the one of the same length just before it. Rates are compared in percentage points.
Overview
| Figure | Meaning |
|---|---|
| Success rate | Completed tasks, of completed and failed. Cancelled tasks are left out. |
| First-pass rate | Completed tasks whose first verification passed, without a fix |
| Fixes per task | Verification fix rounds per task |
| Cost, cost per completed task | What agents and providers reported |
| Agent time | Time agents and verification spent on the tasks |
| Created to completed | From creating a task to its completion |
The same figures are shown by agent, by model and by project, next to a chart of the tasks finished per day.
- A task counts for the agent and model it finished on, also when it started on another and fell back.
- Each attempt of a task tried by several agents is a task of its own here.
- A task that stopped and waits for recovery is neither completed nor failed, so it is not in the success rate. The Reliability view counts it.
Cost
Spend is counted on the day an agent session ended, so a task that ran over several days appears on each of them.
| Part | Shows |
|---|---|
| Spend per day | Cost, with the tokens of the day |
| Budgets this month | Spent, limit and a forecast for each budget |
| By project, model, agent | Cost, share of the total, agent sessions and tokens |
| Most expensive tasks | The ten tasks that cost the most in the period |
| By kind of usage | Agent sessions, provider limits hit, and switches to another agent or model |
The forecast continues the month's spend so far at the same rate to the end of the month. Early in a month it rests on few days and moves a lot. "Over the limit at this rate" is a warning, not a stop: tasks stop only when a limit is reached.
Agents that report no cost
Cost is what agents and providers report. For an agent that reports none it is zero: compare such agents by sessions, tokens and time, not by cost.
Workers
| Column | Meaning |
|---|---|
| Finished, success, first pass | Of the tasks that finished on the worker |
| Agent time | Time agents ran on the worker |
| Online | Time the worker was online, and its share of the period |
| Utilization | Agent time against the time online, for as many tasks as the worker runs at once |
| Stopped | Tasks that failed or needed recovery on the worker; in brackets, those stopped because the worker was lost |
Time online is added up from the worker's heartbeats. It is counted from the server update that introduced this view: days before that update show a dash, not zero. A worker that has been removed stays in the list as long as it has work in the period.
Reliability
A stopped task failed or needs recovery. The server records why at the moment it stops:
| Reason | When |
|---|---|
| Checks still failing | Verification, CI, or a review or plan was still not valid after the allowed fix rounds |
| Agent crashed or kept failing | Restart limit reached, the same failure three times in a row, or too many context resets |
| Provider limit | A limit was reached and the policy does not fall back |
| Budget reached | A spend limit was reached |
| Worker lost | The worker stopped renewing its lease and the policy asks for manual recovery |
| Worker error | An unexpected error in the worker itself |
| Setup missing | Sign-in, secrets, a sandbox, a compatible agent, or a repository or branch was missing |
| Time limit | The execution time limit was exceeded |
| Other | A worker that has not been updated yet stopped the task without naming a reason |
Still stopped tasks are failed or waiting for recovery now; recovered ones were retried and have completed since. The reason stays with a task after a retry.
The view also shows provider limits hit, tasks that fell back, context resets, agent restarts and fix rounds (in total and by agent), and for every verification step how often it ran, how often it failed and how long it takes. Every run of a step counts, so a test that failed once and passed after a fix is two runs and one failure. Skipped steps are left out.
Stops are counted from the server update that introduced this view. Tasks that stopped before it are not counted.
Flow
| Time | From, to |
|---|---|
| Waiting to start | Creating the task to the first agent start |
| Agent and verification time | Time the task was being worked on |
| Created to completed | Everything, waiting for people included |
Each is given as the median, the 90th percentile and the average of the completed tasks: half of the tasks took the median or less, nine in ten took the 90th percentile or less. For more than 50,000 completed tasks in a period, the most recent 50,000 are used.
The outcome figures are also shown by creator, by source (created by a person, a schedule, or an integration), by kind of task and by priority.
CSV
Every table has a CSV button that downloads it for the period and project on screen. Text that a spreadsheet would run as a formula gets a leading apostrophe.
Weekly digest
Settings → Chat and digest → Weekly digest sends a summary of the last seven full days (UTC) once a week, on the weekday and hour (UTC) you choose, to email addresses and to Slack or Microsoft Teams channels:
29 Sept 2026 to 5 Oct 2026 (UTC)
Tasks: 25 finished (down 43% on the week before): 20 completed, 5 failed.
Success rate: 80% (77% the week before). Passed the checks first time: 75%.
Spend: $27.71 (down 41% on the week before), $1.35 per completed task.
Budget this month: $23.49 of $60.00, forecast $145.22 (over the limit at this rate).
Stopped tasks: 8 (down 53% on the week before). Most common reason: time limit (2). 8 still wait for someone.
Check that fails most: test (21% of 43 runs).
Busiest worker: build-linux-1 (13 finished tasks).- Email it to me now sends the digest as it is at that moment to your own address only, and shows the text.
- Email needs SMTP on a self-hosted server. A chat channel receives the digest whatever notifications it is set to take; a channel that is switched off receives nothing.
- A digest is sent up to 24 hours after its time. If the server was down for longer, that week is skipped.
- Setting it up needs the permission to manage settings (owners and administrators).
API
curl "$AO_SERVER/api/v1/orgs/$AO_ORG/analytics?days=30&projectId=prj_123" -H "Authorization: Bearer $AO_TOKEN"| Endpoint | View |
|---|---|
GET /orgs/{orgId}/analytics | Overview |
GET /orgs/{orgId}/analytics/cost | Cost |
GET /orgs/{orgId}/analytics/workers | Workers |
GET /orgs/{orgId}/analytics/reliability | Reliability |
GET /orgs/{orgId}/analytics/flow | Flow |
GET, PUT /orgs/{orgId}/analytics/digest | Digest settings |
POST /orgs/{orgId}/analytics/digest/send | Email the digest to yourself |
days is 1 to 365 (default 30); projectId is optional. Add format=csv&table=<name> for one table of a view as a
CSV file, where <name> is a list in the JSON answer, for example byProject or workers:
curl "$AO_SERVER/api/v1/orgs/$AO_ORG/analytics/cost?days=90&format=csv&table=byModel" -H "Authorization: Bearer $AO_TOKEN"From the command line, agentctl insights prints the same views. Reading analytics needs the permission
to read tasks, which every member has.