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

# List LLM Providers

List all configured LLM providers and their configurations.

## Response Examples

### Success Response

```json theme={null}
{
  "data": [
    {
      "provider": "openai",
      "enabled": true,
      "credentials": {
        "api_key": "sk-***"
      }
    },
    {
      "provider": "anthropic",
      "enabled": false,
      "credentials": {}
    }
  ]
}
```

### No Configurations

```json theme={null}
{
  "data": []
}
```


## OpenAPI

````yaml GET /v1/llm-providers
openapi: 3.1.0
info:
  title: re-factor API Reference
  version: 1.0.0
  description: API specification for re-factor system based on schema definitions
servers: []
security:
  - BearerAuth: []
paths:
  /v1/llm-providers:
    get:
      summary: List LLM provider configurations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LLMProviderConfig'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          $ref: '#/components/responses/ForbiddenError'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    LLMProviderConfig:
      type: object
      properties:
        provider:
          $ref: '#/components/schemas/LLMProvidersEnum'
        enabled:
          type: boolean
          description: Whether the provider is enabled
        credentials:
          type: object
          additionalProperties: true
          description: The credentials for the provider
    LLMProvidersEnum:
      type: string
      enum:
        - openai
        - anthropic
        - google
        - google-vertex
        - azure
        - amazon-bedrock
        - xai
      description: The provider to use for LLM access
  responses:
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
    ForbiddenError:
      description: Forbidden
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
    InternalError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````