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

# Get connected providers

> Get all connected LLM provider configurations for the workspace



## OpenAPI

````yaml /api-reference/openapi.json get /api/agents/providers/connected
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/agents/providers/connected:
    get:
      tags:
        - Agents
      summary: Get connected providers
      description: Get all connected LLM provider configurations for the workspace
      operationId: AgentsController_getConnectedProviders
      parameters:
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
                type: array
                items:
                  $ref: '#/components/schemas/LLMConfigWithProviderDto'
components:
  schemas:
    AppResponseSerialization:
      type: object
      properties: {}
    LLMConfigWithProviderDto:
      type: object
      properties:
        providerId:
          type: string
          enum:
            - openai
            - anthropic
            - gemini
            - openrouter
            - vercel
            - deepseek
            - kilo_code
            - opencode_go
            - custom
          description: Provider identifier
        providerName:
          type: string
          description: Provider display name
        logo:
          type: string
          description: Provider logo path
        isConnected:
          type: boolean
          description: Connection status
        isAcceptCustomApiUrl:
          type: boolean
          description: Whether provider accepts custom API URL
        configId:
          type: string
          description: LLM config ID if connected
        name:
          type: string
          description: User-defined label for this config
        model:
          type: string
          description: Model name if connected
        apiUrl:
          type: string
          description: API URL if connected
        isPreferred:
          type: boolean
          description: Is preferred config if connected
        apiKeyMasked:
          type: string
          description: Masked API key if connected
        createdAt:
          format: date-time
          type: string
          description: Created at if connected
        updatedAt:
          format: date-time
          type: string
          description: Updated at if connected
      required:
        - providerId
        - providerName
        - isConnected
        - isAcceptCustomApiUrl

````