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

# Get provider details

> Returns the provider summary for a specific gateway provider, including the official upstream API reference URL. This endpoint is public and does not require authentication.



## OpenAPI

````yaml /openapi.json get /services/providers/{provider}
openapi: 3.0.0
info:
  title: Lava API
  description: >-
    Lava API enables businesses to implement usage-based billing for AI
    services. This API allows tracking, managing, and billing for third-party AI
    API usage through a forwarding system.
  version: 1.0.0
  contact:
    name: Lava support
    url: https://www.lava.so/contact
servers:
  - url: https://api.lava.so/v1/
    description: Lava API v1
security: []
tags:
  - name: Authentication
  - name: Core Endpoints
  - name: Models
  - name: Services
  - name: Requests
  - name: Wallet
  - name: Payment Methods
  - name: Spend Keys
  - name: Usage
  - name: Checkout Sessions
  - name: Customers
  - name: Plans
  - name: Subscriptions
  - name: Meters
  - name: Webhooks
  - name: Secret Keys
  - name: Credit Bundles
  - name: Gateway Settings
  - name: Skills
  - name: News Data
  - name: Search
  - name: Enrich
paths:
  /services/providers/{provider}:
    get:
      tags:
        - Services
      summary: Get provider details
      description: >-
        Returns the provider summary for a specific gateway provider, including
        the official upstream API reference URL. This endpoint is public and
        does not require authentication.
      parameters:
        - name: provider
          in: path
          required: true
          schema:
            type: string
          description: >-
            Provider identifier from /v1/services (for example: openai,
            anthropic, google, serper)
      responses:
        '200':
          description: Provider summary
          headers:
            Cache-Control:
              schema:
                type: string
                example: public, max-age=3600
              description: Response is cached for 1 hour
            x-lava-request-id:
              schema:
                type: string
              description: Unique request identifier
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceProvider'
        '404':
          description: Provider not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                provider_not_found:
                  summary: Provider was not found in the gateway catalog
                  value:
                    error:
                      message: Provider not found.
                      code: provider_not_found
                      status: 404
      security: []
components:
  schemas:
    ServiceProvider:
      type: object
      description: Summary of a provider in the service catalog.
      properties:
        id:
          type: string
          description: Provider identifier
        label:
          type: string
          description: Human-readable provider name
        api_reference:
          type: string
          nullable: true
          description: Official provider API reference URL
        service_type:
          type: string
          enum:
            - model
            - service
          description: Primary type of entries from this provider
        managed:
          type: boolean
          description: Whether Lava provides managed access for this provider
        entry_count:
          type: integer
          description: Number of entries (models or services) from this provider
      required:
        - id
        - label
        - api_reference
        - service_type
        - managed
        - entry_count
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              description: Human-readable error message describing what went wrong
              example: Invalid authentication credentials
            code:
              type: string
              description: Machine-readable error code describing what went wrong
              example: forward_token_json_invalid
            status:
              type: integer
              description: HTTP status code of the error
              example: 400
            issues:
              type: array
              items:
                type: object
                properties:
                  path:
                    type: array
                    items:
                      type: string
                    description: Path to the field that caused the validation error
                  message:
                    type: string
                    description: Error message describing the validation issue
                required:
                  - path
                  - message
              description: >-
                Optional array of specific validation issues with their paths
                and messages
              example:
                - path:
                    - model
                  message: 'Missing required field: model'
                - path:
                    - messages
                    - '0'
                    - content
                  message: Invalid message content format
          required:
            - message
            - code
            - status
      required:
        - error

````