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

# List AI agents

> Returns every AI agent in the caller's active organization — the agents that answer inbound calls and power outbound campaigns. Use an agent's `id` as `agent_id` on POST /v1/calls or POST /v1/room-token.



## OpenAPI

````yaml /openapi.json get /v1/agents
openapi: 3.1.0
info:
  title: RevDesk v1 API
  version: 1.0.0
  description: >-
    Programmatic access to the RevDesk voice platform — calls, numbers, caller
    trust, and brands.
  contact:
    name: RevDesk
    email: support@revdesk.com
servers:
  - url: https://api.revdesk.com
security:
  - bearerAuth: []
tags:
  - name: Phone Numbers
  - name: Caller IDs
  - name: Enterprise Registration
  - name: Branded Calling
  - name: Calls
  - name: SMS
  - name: WebRTC
  - name: Reputation
  - name: Usage
  - name: Account
  - name: Agents
  - name: Documents
  - name: Sub-entities
paths:
  /v1/agents:
    get:
      tags:
        - Agents
      summary: List AI agents
      description: >-
        Returns every AI agent in the caller's active organization — the agents
        that answer inbound calls and power outbound campaigns. Use an agent's
        `id` as `agent_id` on POST /v1/calls or POST /v1/room-token.
      operationId: v1_agents_get
      parameters:
        - name: limit
          in: query
          required: true
          schema:
            default: 50
            type: integer
            minimum: 1
            maximum: 100
        - name: cursor
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        name:
                          type: string
                        enabled:
                          type: boolean
                        agent_type:
                          type: string
                          enum:
                            - inbound
                            - outbound
                            - both
                            - unassigned
                        greeting:
                          anyOf:
                            - type: string
                            - type: 'null'
                        language:
                          anyOf:
                            - type: string
                            - type: 'null'
                        voice_id:
                          anyOf:
                            - type: string
                            - type: 'null'
                        business_name:
                          anyOf:
                            - type: string
                            - type: 'null'
                        business_description:
                          anyOf:
                            - type: string
                            - type: 'null'
                        phone_number:
                          anyOf:
                            - type: object
                              properties:
                                id:
                                  type: number
                                phone_number:
                                  type: string
                                provider:
                                  type: string
                                is_active:
                                  type: boolean
                              required:
                                - id
                                - phone_number
                                - provider
                                - is_active
                              additionalProperties: false
                            - type: 'null'
                        created_at:
                          type: string
                        updated_at:
                          type: string
                      required:
                        - id
                        - name
                        - enabled
                        - agent_type
                        - greeting
                        - language
                        - voice_id
                        - business_name
                        - business_description
                        - phone_number
                        - created_at
                        - updated_at
                      additionalProperties: false
                  meta:
                    type: object
                    properties:
                      cursor:
                        type: string
                      page_size:
                        type: number
                    required:
                      - page_size
                    additionalProperties: false
                required:
                  - data
                  - meta
                additionalProperties: false
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: Conflict (incl. idempotency conflicts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    ErrorEnvelope:
      type: object
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            fields:
              type: object
              additionalProperties:
                type: string
            doc_url:
              type: string
              format: uri
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````