> ## 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.

# Validate Llm Provider

> Validate a single LLM provider configuration.

Checks:
- API key validity
- Model availability



## OpenAPI

````yaml https://api.mrassistant.ai/openapi.json post /admin/providers/validate/llm
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:
  /admin/providers/validate/llm:
    post:
      tags:
        - admin-providers
      summary: Validate Llm Provider
      description: |-
        Validate a single LLM provider configuration.

        Checks:
        - API key validity
        - Model availability
      operationId: validate_llm_provider_admin_providers_validate_llm_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SingleProviderValidationRequest'
        required: true
      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:
    SingleProviderValidationRequest:
      properties:
        provider:
          type: string
          title: Provider
          description: Provider name (e.g., 'elevenlabs', 'deepgram')
        provider_type:
          type: string
          title: Provider Type
          description: 'Provider type: ''tts'', ''stt'', or ''llm'''
        voice_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Voice Id
          description: Voice ID (for TTS)
        model:
          anyOf:
            - type: string
            - type: 'null'
          title: Model
          description: Model name (for STT/LLM)
      type: object
      required:
        - provider
        - provider_type
      title: SingleProviderValidationRequest
      description: Request model for single provider validation.
    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

````