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

# List Agents



## OpenAPI

````yaml get /v1/agents/list
openapi: 3.0.2
info:
  title: Vocode Hosted API
  description: |2-

            Vocode's Hosted API helps you automate phone calls in minutes. 🚀

            ## Numbers

            You can buy phone lines and place agents on them.

            ## Calls

            You can start, end, and get information about calls.
            
  termsOfService: http://example.com/terms/
  contact:
    name: Support
    email: support@vocode.dev
  version: 1.0.0
servers:
  - url: https://api.vocode.dev
    description: Production environment
  - url: https://staging.vocode.dev
    description: Staging environment
security: []
tags:
  - name: numbers
    description: Operations with phone numbers.
  - name: calls
    description: Manage calls.
paths:
  /v1/agents/list:
    get:
      tags:
        - agents
      summary: List Agents
      operationId: list_agents
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List Agents V1 Agents List Get
                type: array
                items:
                  $ref: '#/components/schemas/NormalizedAgent'
      security:
        - HTTPBearer: []
components:
  schemas:
    NormalizedAgent:
      title: NormalizedAgent
      required:
        - id
        - user_id
        - prompt
        - actions
        - voice
      type: object
      properties:
        id:
          title: Id
          type: string
          format: uuid
        user_id:
          title: User Id
          type: string
          format: uuid
        prompt:
          title: Prompt
          type: string
        actions:
          title: Actions
          type: array
          items:
            type: string
            format: uuid
        voice:
          title: Voice
          type: string
          format: uuid
        initial_message:
          title: Initial Message
          type: string
        webhook:
          title: Webhook
          type: string
          format: uuid
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````