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

# Check Phone Number Health

> Check phone number health and LiveKit sync status.

Verifies:
- Phone number exists in database
- Dispatch rule exists in LiveKit
- SIP trunk is healthy
- Configuration is valid

Returns:
{
    "phone_number": "+15551234567",
    "status": "healthy",
    "checks": {
        "database": true,
        "dispatch_rule": true,
        "sip_trunk": true,
        "livekit_sync": true
    },
    "issues": []
}



## OpenAPI

````yaml https://api.mrassistant.ai/openapi.json post /agents/{agent_id}/phone-numbers/{phone_number}/health-check
openapi: 3.1.0
info:
  title: Backend - Multilingual Voice Agent System
  description: FastAPI backend for multilingual voice agents with tool use
  version: 1.0.0
servers: []
security: []
paths:
  /agents/{agent_id}/phone-numbers/{phone_number}/health-check:
    post:
      tags:
        - agent-phone-numbers
      summary: Check Phone Number Health
      description: |-
        Check phone number health and LiveKit sync status.

        Verifies:
        - Phone number exists in database
        - Dispatch rule exists in LiveKit
        - SIP trunk is healthy
        - Configuration is valid

        Returns:
        {
            "phone_number": "+15551234567",
            "status": "healthy",
            "checks": {
                "database": true,
                "dispatch_rule": true,
                "sip_trunk": true,
                "livekit_sync": true
            },
            "issues": []
        }
      operationId: >-
        check_phone_number_health_agents__agent_id__phone_numbers__phone_number__health_check_post
      parameters:
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Agent Id
        - name: phone_number
          in: path
          required: true
          schema:
            type: string
            title: Phone Number
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````