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

# Agents list

> Lists agents (current behavior).

## Notes

* Advanced agent listing with filtering capabilities
* Request body is optional - if not provided, uses defaults


## OpenAPI

````yaml post /api/agents
openapi: 3.0.3
info:
  title: Zudu API
  description: >-
    Comprehensive REST API for LiveKit Backend - Call Management, Agent
    Configuration, and Real-time Communication Services
  version: 1.0.0
  contact:
    name: Zudu AI Team
    url: https://zudu.ai
    email: support@zudu.ai
  license:
    name: Proprietary
    url: https://zudu.ai/license
servers:
  - url: https://api.zudu.ai
    description: Production (Customer-facing)
security:
  - apiKey: []
    apiSecret: []
tags:
  - name: Agent Management
    description: Create and manage AI agents
  - name: Call Data Management
    description: Call records and history
  - name: Customer API Keys
    description: Manage API keys
  - name: Post-Call Webhooks
    description: Webhook configuration
  - name: phone-number-controller
    description: Phone numbers
  - name: batch-call-controller
    description: Batch calls
  - name: MCP Server Management
    description: MCP servers
  - name: Knowledge Base Management
    description: Knowledge bases
  - name: Call Analysis
    description: Call analysis
paths:
  /api/agents:
    post:
      tags:
        - Agent Management
      operationId: listAgents
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                page:
                  type: integer
                  description: 'Page number (default: 0)'
                limit:
                  type: integer
                  description: 'Items per page (default: 20, max: 100)'
                sort_by:
                  type: string
                  description: 'Sort field (default: updated_at)'
                sort_order:
                  type: string
                  description: 'Sort direction (default: descending)'
                filter_criteria:
                  type: object
                  properties:
                    agent_name:
                      type: array
                      items:
                        type: string
            example:
              page: 0
              limit: 20
              sort_by: updated_at
              sort_order: descending
              filter_criteria:
                agent_name:
                  - search_term
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  status:
                    type: string
                  error:
                    type: string
                  data:
                    type: object
                    properties:
                      organization_id:
                        type: string
                      agents:
                        type: array
                        items:
                          type: object
                      pagination:
                        type: object
                      returned_count:
                        type: integer
                      sort_order:
                        type: string
                      sort_by:
                        type: string
              example:
                message: Agents retrieved successfully
                status: success
                error: null
                data:
                  organization_id: org_123
                  agents: []
                  pagination: {}
                  returned_count: 20
                  sort_order: descending
                  sort_by: updated_at
components:
  securitySchemes:
    apiKey:
      type: apiKey
      description: API Key for MCP server and external service authentication
      name: X-API-KEY
      in: header
    apiSecret:
      type: apiKey
      description: API Secret for MCP server and external service authentication
      name: X-API-SECRET
      in: header

````