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

# List Voice AI agents eligible as transfer targets

> Returns the set of Prompts in the caller's organization that can be configured as transfer destinations for the Voice AI `transfer` server tool. An agent is eligible when its `voiceAI.enabled` is `true` AND it has been synced to ElevenLabs (`voiceAI.elevenlabsAgentId` is set) — only synced agents have a routable agent ID for inter-agent transfer. Pass `excludePromptId` with the current agent's id so the agent cannot transfer to itself; non-ObjectId values are ignored (no exclusion is applied).



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/calls/voice-ai/transferable-agents
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/calls/voice-ai/transferable-agents:
    get:
      tags:
        - Calls
      summary: List Voice AI agents eligible as transfer targets
      description: >-
        Returns the set of Prompts in the caller's organization that can be
        configured as transfer destinations for the Voice AI `transfer` server
        tool. An agent is eligible when its `voiceAI.enabled` is `true` AND it
        has been synced to ElevenLabs (`voiceAI.elevenlabsAgentId` is set) —
        only synced agents have a routable agent ID for inter-agent transfer.
        Pass `excludePromptId` with the current agent's id so the agent cannot
        transfer to itself; non-ObjectId values are ignored (no exclusion is
        applied).
      operationId: get_calls_voice_ai_transferable_agents
      parameters:
        - in: query
          name: excludePromptId
          required: false
          description: >-
            Prompt `_id` to exclude from the result. Typically the current
            agent's id, to prevent self-transfer.
          schema:
            type: string
      responses:
        '200':
          description: Transferable agents list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallsVoiceAiTransferableAgentsResponse'
        '401':
          description: Unauthorized — no organizationId on the token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallsErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallsErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    CallsVoiceAiTransferableAgentsResponse:
      type: object
      properties:
        agents:
          type: array
          items:
            $ref: '#/components/schemas/CallsVoiceAiTransferableAgent'
      required:
        - agents
      additionalProperties: true
      example:
        agents:
          - id: 64d2f9c5e8a1d4e001a0b1c2
            name: Senior Leasing Specialist
          - id: 64d2f9c5e8a1d4e001a0b1c3
            name: Maintenance Coordinator
    CallsErrorResponse:
      type: object
      description: >-
        Error envelope used across most calls endpoints. Some endpoints wrap a
        string error; validation endpoints (parseContractInput) return a
        structured `error` object with `code` and `details`.
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          oneOf:
            - type: string
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
                details:
                  type: array
                  items:
                    type: object
                    additionalProperties: true
              additionalProperties: true
        code:
          type: string
          description: >-
            Stable error code on certain errors (e.g. `NUMBER_NOT_ON_TRUNK`,
            `AGENT_NOT_SYNCED`, `OUTBOUND_IN_FLIGHT`).
      additionalProperties: true
      example:
        success: false
        error: Call not found
    CallsVoiceAiTransferableAgent:
      type: object
      description: A single Prompt eligible as a Voice AI transfer target.
      properties:
        id:
          type: string
          description: Prompt `_id` (stringified ObjectId).
        name:
          type: string
      required:
        - id
        - name
      additionalProperties: true
      example:
        id: 64d2f9c5e8a1d4e001a0b1c2
        name: Senior Leasing Specialist
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````