> ## Documentation Index
> Fetch the complete documentation index at: https://ago.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Autonomy Gaps

> See what stopped your agents from resolving requests on their own, and how many tickets each blocker caused

Autonomy Gaps reads your closed tickets and tells you why each one needed your team: a tool the agent does not have, an instruction that tells it to hand off, a tool that failed, or information missing from your knowledge base. Tickets stopped by the same thing are grouped into one blocker, with the number of tickets it caused, so you can see which fix would avoid the most tickets.

## Enabling the Feature

Autonomy Gaps is off by default. Contact AGO support to turn it on for your workspace. Once it is on, super admins see **Autonomy gaps** in the **Support** menu and a panel on each ticket. Other admins do not see them.

***

## Which Tickets Are Analyzed

AGO analyzes a ticket once Zendesk reports it solved or closed, because only then does it show how your team resolved the request. The analysis runs right after the hourly [ticket sync](#tickets-closed-in-zendesk), on the tickets that:

* were opened from a conversation with an agent, through the ticket form, a live handoff or a workflow;
* the sync just found solved or closed;
* have at least one answer from the agent in the conversation;
* were not analyzed yet.

The sync only follows the Zendesk tickets AGO knows: those it created, by the Zendesk number it saved, and those you linked to a conversation. The other tickets of your Zendesk account are never read or analyzed. A ticket that was deleted in Zendesk is not analyzed either.

When the analysis of a ticket fails, it is tried again after a later sync that updates tickets, within two days and three attempts in total.

Tickets created automatically to archive an inactive conversation, and tickets created already solved, are left out: nobody was asked to handle them.

Closing a ticket in AGO does not start an analysis, and tickets already closed when the feature is turned on are left as they are. To analyze those, click **Analyze closed tickets** on the Autonomy gaps page. It covers the tickets closed in the last 30 days, up to 100 tickets per run, starting with the most recently created.

An open ticket shows "Analyzed after the Zendesk sync that finds it closed" in its panel. Each ticket is analyzed once. Use **Analyze again** on a closed ticket after it was reopened and closed again, or after you changed the agent.

***

## What AGO Compares

For each closed ticket, AGO works out how your team resolved the request, then why the agent could not do the same. It reads:

* the conversation, with the documents the agent found, the tools it called and their results;
* the agent's instructions and the list of its tools;
* the ticket, and what your team wrote on it after the handoff.

It then files the ticket under one category:

| Category | What stopped the agent | What you can do |
| - | - | - |
| Missing tool | It needed information about this customer, or an action in a system, and none of its tools does it | Give the agent a tool or a workflow that does it |
| Forbidden by its instructions | Its instructions tell it not to handle this kind of request, or to hand it to your team | Change the instruction, or dismiss the blocker if the rule is intended |
| Tool error | It had the right tool and the call failed | Repair the tool or the system behind it |
| Missing knowledge | The answer is general information that no document gave it | Add the article to your knowledge base |
| Decision kept for a person | The request needed a judgement or an approval: a commercial gesture, an exception, a dispute | Delegate the decision with a rule, or dismiss the blocker |
| Agent behavior | It had the knowledge and the tools, and still handed off | Adjust the agent's instructions |
| Product issue | The customer reported a malfunction | Send it to your product team |
| Person requested | The customer asked for a person without letting the agent help | Nothing: the ticket is counted, with no blocker |
| Other | The ticket does not show why your team was needed | Nothing: the ticket is counted, with no blocker |

Two categories come with evidence you can check:

* **Forbidden by its instructions** quotes the instruction word for word. If AGO cannot find the quoted sentence in the agent's instructions, the ticket is filed under **Other** instead.
* **Tool error** names the tool and its error message, read from the recorded call. Without a recorded failed call, the ticket is filed under **Other**.

***

## The Autonomy Gaps Page

Go to **Support** > **Autonomy gaps**. The page has two tabs: **Blockers** and **Ticket status**.

### Blockers

The first block shows how the analyzed tickets split by category over the period. Click a category to filter the list on it.

The list shows one row per blocker: what blocks the agent, the number of tickets it caused, its category, its status and the date of the last ticket. It is sorted by number of tickets, so the most costly blocker comes first. Filter by period (last 7, 30 or 90 days, or all time), status, category or agent, or search a blocker by name.

#### How tickets are grouped

A ticket joins an existing blocker when the same tool, the same instruction, the same article or the same decision would resolve both, even if the customers' requests are worded differently. Tickets stopped by the same failing tool always share one blocker.

When two blockers describe the same thing, open one of them and use **Same blocker as another one?** to merge it into the other. Its tickets are counted under the blocker you keep.

#### The blocker page

Click a blocker to open it. The page shows what blocks the agent, what to set up, and the tickets it caused (the 100 most recent) with:

* what the customer wanted;
* how your team resolved it;
* why the agent could not, with the evidence when there is one.

Click a ticket to open it. For a **Missing knowledge** blocker, a link opens your [Knowledge Gap Reports](https://ago.mintlify.site/features/knowledge-update-requests.md).

#### Follow-up

Set a status and add a note, then click **Save**.

| Status | Meaning |
| - | - |
| To handle | Still to handle. Shown by default |
| Resolved | The agent is no longer blocked. A new ticket stopped by the same thing opens a new blocker, which tells you the fix was not enough |
| Dismissed | You chose to leave this to your team. Later tickets are still counted on the blocker, and it does not come back in the list to handle |

### Ticket status

The **Ticket status** tab shows where the tickets opened from agent conversations stand. Each bar counts the tickets created on a date, split by their status today: new, open, pending, on hold, solved or closed. A bar that stays mostly open or pending several days after its date points to requests your team has not finished handling.

* Choose the period: the last 7 or 30 days show one bar per day, the last 90 days one bar per week, and all time one bar per month.
* The legend gives the number of tickets in each status over the period. Hover a bar to read its counts.
* For a ticket that lives in Zendesk, the status is the one the [ticket sync](https://ago.mintlify.site/data-connector/zendesk-ticketing-integration.md#ticket-sync) last wrote. Without ticket sync, the ticket keeps the status it has in AGO.
* A status your ticketing system names differently is counted as **Other**.

***

## On a Ticket

On a closed ticket, the **What stopped the agent** panel shows the category, the explanation, the evidence, how your team resolved the request and what the agent would have needed. It links to the blocker, with the number of tickets stopped by the same thing.

***

## Tickets Closed in Zendesk

When your tickets live in Zendesk, AGO learns that they are solved, and what your team answered, from [ticket sync](https://ago.mintlify.site/data-connector/zendesk-ticketing-integration.md#ticket-sync). Turn on **Enable ticket sync** in your Zendesk ticketing settings: Autonomy Gaps adds no other connection to Zendesk and no extra request.

Every hour, the sync updates the open tickets AGO created and copies their new comments. When it finds a ticket solved or closed, AGO analyzes it from those comments:

* your team's replies to the customer;
* your team's internal notes;
* the customer's follow-up messages.

The copy of the conversation that AGO posts on the ticket, and the automatic messages of your Zendesk triggers, are left out.

Without ticket sync, AGO never sees a Zendesk ticket close, and none is analyzed.

***

## Through the API and MCP

Read and follow up the blockers from your own tools, or from an AI assistant connected to the [AGO MCP server](https://ago.mintlify.site/api/mcp-tool-api.md#autonomy-gaps).

A scope is not enough: the credential must belong to a super admin. Use an [API key](https://ago.mintlify.site/security/api-key-authentication.md) that a super admin created, or connect the assistant as a super admin. A key created by another admin, or by a super admin who has since lost the role, is refused with the code `super_admin_required`.

```bash theme={null}
curl -H "X-API-Key: your-api-key" \
  "https://your-workspace.api.useago.com/api/v1/autonomy-gaps?status=open&days=30"
```

| Endpoint | Scope | Returns |
| - | - | - |
| `GET /api/v1/autonomy-gaps` | `autonomy_gaps:read` | The blockers with their number of tickets over `days` (`0` for all time), most costly first. Filters: `status`, `category` (comma-separated), `agent_id`, `search`; `sort`: `tickets` or `recent` |
| `GET /api/v1/autonomy-gaps/{gap_id}` | `autonomy_gaps:read` | One blocker with its 100 most recent tickets: the request, how your team resolved it, why the agent could not, the evidence |
| `GET /api/v1/autonomy-gaps/summary` | `autonomy_gaps:read` | The analyzed tickets by category |
| `GET /api/v1/autonomy-gaps/tickets/{ticket_id}` | `autonomy_gaps:read` | The analysis of one ticket; `analysis` is `null` while it is open |
| `GET /api/v1/autonomy-gaps/ticket-status` | `autonomy_gaps:read` | The tickets opened from agent conversations, per creation date and current status |
| `PUT /api/v1/autonomy-gaps/{gap_id}` | `autonomy_gaps:write` | Sets `status` (`open`, `resolved`, `dismissed`) and `review_notes` |
| `POST /api/v1/autonomy-gaps/{gap_id}/merge` | `autonomy_gaps:write` | Merges the blocker into `into_gap_id` and removes it |

```json theme={null}
{
  "object": "list",
  "data": [
    {
      "id": "<blocker UUID>",
      "category": "missing_tool",
      "title": "Refund an order",
      "description": "A tool that refunds an order in the back office.",
      "recommendation": "Connect the refund endpoint of your shop as a tool.",
      "status": "open",
      "ticket_count": 12,
      "last_seen_at": "2026-11-30T10:00:00Z",
      "created_at": "2026-11-02T09:00:00Z"
    }
  ],
  "has_more": false,
  "total": 1
}
```

Starting an analysis is not available through the API: tickets are analyzed after each Zendesk ticket sync, or from the page.

***

## Limitations

* AGO does not see tickets that live in HelpScout, HubSpot or Freshdesk close: none is analyzed by itself.
* Tickets closed in AGO, whatever the ticketing system, are analyzed only on request, with **Analyze closed tickets** or **Analyze again**.
* Tickets that were not opened from an agent conversation are not analyzed.
* The agent's instructions and tools are read when the ticket is analyzed, not as they were during the conversation. Use **Analyze again** to check a ticket against a change you made.
* For tickets handled in AGO ticketing, and for Zendesk comments synced before the feature was turned on, only your team's replies to the customer are read, not internal notes.
* A reopened ticket is not analyzed again by itself when it closes a second time.
* Tickets are grouped by an AI model, which can keep apart two blockers that are the same: merge them.

***

## Related

* [Knowledge Gap Reports](https://ago.mintlify.site/features/knowledge-update-requests.md): questions your knowledge base cannot answer
* [Tickets Analytics](https://ago.mintlify.site/features/tickets-analytics.md): ticket volume and conversion rates
* [Zendesk Ticketing](https://ago.mintlify.site/data-connector/zendesk-ticketing-integration.md): connect Zendesk as your ticketing system


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.