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

# Get Call

> Retrieve detailed information about a specific call by its ID.

This endpoint provides comprehensive information about any call (web or phone) 
including its current status, duration, and associated metadata.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/calls/{call_id}
openapi: 3.1.0
info:
  title: Verbex Platform API
  description: API for managing AI agents, calls, phone numbers, and more.
  version: 1.0.0
servers: []
security: []
tags:
  - name: Knowledge Bases
    description: >-
      Create and manage knowledge bases, ingest documents into them, and search
      them semantically.


      **Authentication.** Every request carries a bearer token: `Authorization:
      Bearer <API_TOKEN>`. That is the only credential a client sends. The
      gateway resolves your identity from it and injects the tenant headers the
      service reads internally, so clients never send `x-user-org-id` or
      `x-verbex-id` themselves.


      **Tenancy is enforced on every route.** A knowledge base belongs to one
      organization and one user. Requesting one your token does not own returns
      `404 Knowledge base not found`, never `403`. This is deliberate: a
      nonexistent ID, a malformed ID and someone else's ID are indistinguishable
      in the response, so the API cannot be used to probe for other tenants'
      data. If you get a `404` on an ID you are certain exists, suspect the
      token before you suspect the ID.


      **Ingestion is asynchronous.** File upload and website crawl both answer
      `202` as soon as the material is stored and the job is queued. Parsing,
      chunking, embedding and indexing happen afterwards in a worker. Poll the
      document status endpoint until it reports `completed` before expecting
      search to see the content. That gap is the most common source of "why
      isn't my data showing up".


      **There is no document update endpoint.** Every submission mints a new
      `document_id`, so re-uploading a file or re-crawling the same URLs creates
      a second document while the first remains. To refresh material, delete
      then resubmit — and note that the sequence is not atomic.
  - name: AI Agents v3
    description: >-
      Create, read, update and delete AI agents. v3 selects the LLM,
      speech-to-text model and voice by catalog id, and wraps every response in
      a standard envelope. It replaces the deprecated AI Agents v2 operations,
      which stop working on November 30, 2026. See [Migrate from v2 to
      v3](/api-reference/ai-agents-v3/migrate-from-v2).
  - name: LLM Models
    description: >-
      The LLM model catalog. Look up the `llm_model_id` to send as `llm.llm_id`
      when you create or update an agent.
  - name: Speech Providers
    description: >-
      The speech-to-text and text-to-speech provider catalogs. Look up the
      `provider_id`, `model_id` and `voice_id` to send when you create or update
      an agent.
paths:
  /v1/calls/{call_id}:
    get:
      tags:
        - Calls
      summary: Get Call
      description: >-
        Retrieve detailed information about a specific call by its ID.


        This endpoint provides comprehensive information about any call (web or
        phone) 

        including its current status, duration, and associated metadata.
      operationId: get_call_v1_calls__call_id__get
      parameters:
        - name: call_id
          in: path
          required: true
          schema:
            type: string
            title: Call Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/WebCallResponse'
                  - $ref: '#/components/schemas/PhoneCallResponse'
                title: Response Get Call V1 Calls  Call Id  Get
        '401':
          description: Unauthorized - missing or invalid API key (returned by the gateway).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayAuthErrorResponse'
        '403':
          description: Forbidden - the call belongs to another organization or workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__calls__schemas__ErrorResponse'
              examples:
                other_org:
                  value:
                    status: '403'
                    message: Forbidden
                    error_details: Call does not belong to your organization
                other_workspace:
                  value:
                    status: '403'
                    message: Forbidden
                    error_details: Call does not belong to your workspace
        '404':
          description: Not Found - no call exists with this ID.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__calls__schemas__ErrorResponse'
              example:
                status: '404'
                message: Not Found
                error_details: 'No call found with id: 6650f1c2a9b3e45d7c8f0a12'
        '500':
          description: >-
            Internal Server Error. `error_details` carries a reference ID for
            support.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__calls__schemas__ErrorResponse'
              example:
                status: '500'
                message: Internal Server Error
                error_details: >-
                  An unexpected error occurred, reference:
                  3f2b9c1e-7a41-4d6b-9a0e-2c5d8f1b6e47
components:
  schemas:
    WebCallResponse:
      properties:
        _id:
          type: string
          title: Id
          description: Unique identifier for the call
        ai_agent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Ai Agent Id
          description: Identifier of the AI agent handling this call
        ai_agent_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Ai Agent Name
          description: Name of the AI agent handling this call
        call_status:
          type: string
          enum:
            - registered
            - ongoing
            - ended
            - error
            - unreachable
          title: Call Status
          description: >-
            Current status of the call: 'registered' for initialized calls,
            'ongoing' for active calls, 'ended' for completed calls, 'error' for
            failed calls, 'unreachable' when the callee could not be reached
        override_ai_agent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Override Ai Agent Id
          description: Optional identifier for an alternative AI agent handling this call
        metadata:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Metadata
          description: Custom key-value pairs storing additional information about the call
        pia_llm_dynamic_data:
          anyOf:
            - type: object
            - type: 'null'
          title: Pia Llm Dynamic Data
          description: Dynamic data used by the AI agent during the call
        call_start_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Call Start Time
          description: Timestamp when the call was initiated, in UTC
        call_end_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Call End Time
          description: Timestamp when the call was terminated, in UTC
        messages:
          anyOf:
            - items:
                $ref: '#/components/schemas/MessageItem'
              type: array
            - type: 'null'
          title: Messages
          description: Chronological list of messages exchanged during the call
        recorded_call_audio_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Recorded Call Audio Url
          description: URL to access the recorded audio file of the call
        access_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Access Token
          description: Security token for accessing call-related resources
        call_duration_seconds:
          anyOf:
            - type: integer
            - type: 'null'
          title: Call Duration Seconds
          description: Duration of the call in seconds
        call_type:
          type: string
          const: web_call
          title: Call Type
          description: Indicates this response is for a web-based call
          default: web_call
        call_finish_reason:
          anyOf:
            - type: string
              enum:
                - user_ended_call
                - agent_ended_call
                - call_transferred
                - inactivity_timeout
                - maximum_duration_exceeded
                - concurrent_call_limit_reached
                - invalid_payment
                - potential_scam_detected
                - inbound_webhook_error
                - line_busy
                - call_failed
                - no_answer
                - llm_websocket_initialization_error
                - llm_websocket_connection_lost
                - llm_websocket_runtime_error
                - llm_websocket_payload_corruption
                - twilio_error
                - no_audio_input
                - speech_recognition_error
                - pia_platform_internal_error
                - unknown_error
                - user_connection_failure
            - type: 'null'
          title: Call Finish Reason
          description: Detailed reason why the web call ended, if applicable
        call_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Call Id
          description: Call identifier (same value as `_id` for most calls)
        call_reference_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Call Reference Id
          description: >-
            Reference ID in `a:b:c` format (three colon-separated segments).
            Omitted when not set.
          x-unpublished-description: >-
            Reference ID in `a:b:c` format (e.g.
            `campaign_id:recipient_id:attempt_no`) for campaign and batch calls.
            Omitted when not set.
        updated_date_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated Date Time
          description: When the call record was last updated, in UTC
        batch_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Batch Id
          description: Batch call ID, if the call belongs to a batch. Omitted when not set.
      type: object
      required:
        - call_status
      title: WebCallResponse
      x-unpublished-properties:
        _note: Hidden until published. To publish, move these back into `properties`.
        campaign_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Campaign Id
          description: >-
            Campaign ID, if the call belongs to a campaign. Omitted when not
            set.
    PhoneCallResponse:
      properties:
        _id:
          type: string
          title: Id
          description: Unique identifier for the call
        ai_agent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Ai Agent Id
          description: Identifier of the AI agent handling this call
        ai_agent_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Ai Agent Name
          description: Name of the AI agent handling this call
        call_status:
          type: string
          enum:
            - registered
            - ongoing
            - ended
            - error
            - unreachable
          title: Call Status
          description: >-
            Current status of the call: 'registered' for initialized calls,
            'ongoing' for active calls, 'ended' for completed calls, 'error' for
            failed calls, 'unreachable' when the callee could not be reached
        override_ai_agent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Override Ai Agent Id
          description: Optional identifier for an alternative AI agent handling this call
        metadata:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Metadata
          description: Custom key-value pairs storing additional information about the call
        pia_llm_dynamic_data:
          anyOf:
            - type: object
            - type: 'null'
          title: Pia Llm Dynamic Data
          description: Dynamic data used by the AI agent during the call
        call_start_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Call Start Time
          description: Timestamp when the call was initiated, in UTC
        call_end_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Call End Time
          description: Timestamp when the call was terminated, in UTC
        messages:
          anyOf:
            - items:
                $ref: '#/components/schemas/MessageItem'
              type: array
            - type: 'null'
          title: Messages
          description: Chronological list of messages exchanged during the call
        recorded_call_audio_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Recorded Call Audio Url
          description: URL to access the recorded audio file of the call
        access_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Access Token
          description: Security token for accessing call-related resources
        call_duration_seconds:
          anyOf:
            - type: integer
            - type: 'null'
          title: Call Duration Seconds
          description: Duration of the call in seconds
        call_type:
          type: string
          const: phone_call
          title: Call Type
          description: Indicates this response is for a telephone call
          default: phone_call
        from_number:
          type: string
          title: From Number
          description: The phone number that initiated the call (E.164 format)
        to_number:
          type: string
          title: To Number
          description: The phone number that received the call (E.164 format)
        direction:
          type: string
          enum:
            - inbound
            - outbound
          title: Direction
          description: >-
            Indicates whether the call was received by or initiated from the Pia
            Platform
        call_finish_reason:
          anyOf:
            - type: string
              enum:
                - user_ended_call
                - agent_ended_call
                - call_transferred
                - voicemail_detected
                - inactivity_timeout
                - answering_machine_detected
                - maximum_duration_exceeded
                - concurrent_call_limit_reached
                - invalid_payment
                - potential_scam_detected
                - inbound_webhook_error
                - line_busy
                - call_failed
                - no_answer
                - llm_websocket_initialization_error
                - llm_websocket_connection_lost
                - llm_websocket_runtime_error
                - llm_websocket_payload_corruption
                - frontend_payload_corruption
                - twilio_service_error
                - no_audio_input
                - speech_recognition_error
                - verbex_service_error
                - unknown_error
                - user_connection_failure
                - registered_call_timed_out
            - type: 'null'
          title: Call Finish Reason
          description: Detailed reason why the phone call ended, if applicable
        call_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Call Id
          description: Call identifier (same value as `_id` for most calls)
        call_reference_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Call Reference Id
          description: >-
            Reference ID in `a:b:c` format (three colon-separated segments).
            Omitted when not set.
          x-unpublished-description: >-
            Reference ID in `a:b:c` format (e.g.
            `campaign_id:recipient_id:attempt_no`) for campaign and batch calls.
            Omitted when not set.
        updated_date_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated Date Time
          description: When the call record was last updated, in UTC
        batch_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Batch Id
          description: Batch call ID, if the call belongs to a batch. Omitted when not set.
      type: object
      required:
        - call_status
        - from_number
        - to_number
        - direction
      title: PhoneCallResponse
      x-unpublished-properties:
        _note: Hidden until published. To publish, move these back into `properties`.
        sip_header_attributes:
          anyOf:
            - type: object
            - type: 'null'
          title: Sip Header Attributes
          description: SIP header attributes attached to the call. Omitted when not set.
        campaign_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Campaign Id
          description: >-
            Campaign ID, if the call belongs to a campaign. Omitted when not
            set.
    GatewayAuthErrorResponse:
      type: object
      title: GatewayAuthErrorResponse
      description: >-
        Returned by the API gateway when the API key is missing or invalid (the
        request never reaches the service).
      properties:
        error:
          type: string
          title: Error
          example: Authentication
        message:
          type: string
          title: Message
          example: Authentication failed
        traceId:
          type: string
          title: Trace Id
          example: e679120f-1d1c-41d2-947c-34e194d5a4a1
    app__calls__schemas__ErrorResponse:
      properties:
        status:
          type: string
          title: Status
          description: HTTP status code, as a string (e.g. `"422"`)
        message:
          type: string
          title: Message
          description: >-
            Error code or title. Values returned by the call service:


            | HTTP | `message` |

            |---|---|

            | 400 | `INVALID_ARGUMENT`, `INVALID_REQUEST_BODY`, `INPUT_ERROR`,
            `VALIDATION_ERROR`, `TYPE_MISMATCH`, `Bad Request` |

            | 403 | `Access denied` (call recording), `Forbidden` (get call) |

            | 404 | `Not Found` |

            | 422 | `Validation Error` |

            | 429 | `TOO_MANY_CONCURRENT_REQUESTS` |

            | 500 | `Internal Server Error` |
        error_details:
          type: string
          title: Error Details
          description: >-
            Human-readable explanation of the error. For 5xx errors this is an
            opaque message with a reference ID (`An unexpected error occurred,
            reference: <uuid>`) to share with support.
      type: object
      required:
        - status
        - message
      title: CallErrorResponse
      example:
        status: '422'
        message: Validation Error
        error_details: Phone number is not registered
    MessageItem:
      properties:
        role:
          type: string
          enum:
            - agent
            - user
          title: Role
          description: >-
            Identifies whether the message is from the AI agent ('agent') or the
            human user ('user')
        content:
          type: string
          title: Content
          description: >-
            The actual text content of the message exchanged during the
            conversation
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
          description: When this message started, relative to the call or as a timestamp
        ended_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Ended At
          description: When this message ended, relative to the call or as a timestamp
      type: object
      required:
        - role
        - content
      title: MessageItem

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.