> ## 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.

# List Autonomy Gaps

> List what blocks your agents, with the number of closed tickets each blocker caused over the period.

Blockers without a ticket over the period are left out. The most costly blocker comes first.



## OpenAPI

````yaml /openapi-v1.json get /api/v1/autonomy-gaps
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/autonomy-gaps:
    get:
      tags:
        - Autonomy Gaps
      summary: List Autonomy Gaps
      description: >-
        List what blocks your agents, with the number of closed tickets each
        blocker caused over the period.


        Blockers without a ticket over the period are left out. The most costly
        blocker comes first.
      operationId: list_autonomy_gaps
      parameters:
        - in: query
          name: status
          schema:
            anyOf:
              - enum:
                  - open
                  - resolved
                  - dismissed
                type: string
              - type: 'null'
            description: open, resolved or dismissed. All when omitted.
            title: Status
          required: false
          description: open, resolved or dismissed. All when omitted.
        - in: query
          name: category
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              One category, or several separated by commas: missing_tool,
              forbidden_by_instructions, tool_error, missing_knowledge,
              human_decision, agent_behavior, product_issue.
            title: Category
          required: false
          description: >-
            One category, or several separated by commas: missing_tool,
            forbidden_by_instructions, tool_error, missing_knowledge,
            human_decision, agent_behavior, product_issue.
        - in: query
          name: agent_id
          schema:
            anyOf:
              - format: uuid
                type: string
              - type: 'null'
            description: Count only the tickets handled by this agent.
            title: Agent Id
          required: false
          description: Count only the tickets handled by this agent.
        - in: query
          name: days
          schema:
            default: 30
            description: Count the tickets created over this many days; 0 for all time.
            maximum: 3650
            minimum: 0
            title: Days
            type: integer
          required: false
          description: Count the tickets created over this many days; 0 for all time.
        - in: query
          name: search
          schema:
            default: ''
            description: Text found in the blocker's title or description.
            title: Search
            type: string
          required: false
          description: Text found in the blocker's title or description.
        - in: query
          name: sort
          schema:
            default: tickets
            description: tickets (most tickets first) or recent.
            enum:
              - tickets
              - recent
            title: Sort
            type: string
          required: false
          description: tickets (most tickets first) or recent.
        - in: query
          name: page
          schema:
            default: 1
            title: Page
            type: integer
          required: false
        - in: query
          name: page_size
          schema:
            default: 50
            title: Page Size
            type: integer
          required: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutonomyGapListOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    AutonomyGapListOut:
      properties:
        object:
          const: list
          default: list
          title: Object
          type: string
        data:
          items:
            $ref: '#/components/schemas/AutonomyGapListItemSchema'
          title: Data
          type: array
        has_more:
          title: Has More
          type: boolean
        total:
          title: Total
          type: integer
      required:
        - data
        - has_more
        - total
      title: AutonomyGapListOut
      type: object
    AutonomyGapListItemSchema:
      properties:
        id:
          format: uuid
          title: Id
          type: string
        category:
          title: Category
          type: string
        title:
          title: Title
          type: string
        description:
          title: Description
          type: string
        recommendation:
          title: Recommendation
          type: string
        status:
          title: Status
          type: string
        ticket_count:
          title: Ticket Count
          type: integer
        last_seen_at:
          format: date-time
          title: Last Seen At
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
      required:
        - id
        - category
        - title
        - description
        - recommendation
        - status
        - ticket_count
        - last_seen_at
        - created_at
      title: AutonomyGapListItemSchema
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

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