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

# List Agents

> Retrieve a list of agents for the authenticated user's company with optional filtering, searching, and pagination



## OpenAPI

````yaml GET /agent/list
openapi: 3.1.0
info:
  title: Outbox AI API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.getoutbox.ai
security: []
paths:
  /agent/list:
    get:
      summary: List Agents
      description: >-
        Retrieve a list of agents for the authenticated user's company with
        optional filtering, searching, and pagination
      parameters:
        - name: page
          in: query
          description: >-
            Page number for pagination. If omitted, returns all results
            unpaginated. Page size is 10 items.
          required: false
          schema:
            type: integer
        - name: type
          in: query
          description: Filter by agent type
          required: false
          schema:
            type: string
            enum:
              - all
              - chat
              - voice
            default: all
        - name: search
          in: query
          description: >-
            Search term to filter agents by name (case-insensitive partial
            match)
          required: false
          schema:
            type: string
      responses:
        '200':
          description: List of agents retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentList'
        '401':
          description: Unauthorized - Invalid or missing API key
      security:
        - CompanyApiKey: []
components:
  schemas:
    AgentList:
      type: object
      properties:
        results:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Agent ID
              name:
                type: string
                description: Agent name
              type:
                type: string
                enum:
                  - chatbot
                  - voicebot
                description: Agent type
              variables:
                type: array
                items:
                  $ref: '#/components/schemas/Variable'
        total:
          type: integer
          description: Total count of agents matching filters
    Variable:
      type: object
      properties:
        variable:
          type: string
        default:
          type: string
        name:
          type: string
          description: Human-friendly label
  securitySchemes:
    CompanyApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: Company API Key

````