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

# GET /admin/api/credentials/providers



## OpenAPI

````yaml /generated/openapi.json get /admin/api/credentials/providers
openapi: 3.1.0
info:
  description: >-
    Forwarding, management, portal and OAuth APIs generated from Rust types.
    Input and output schemas preserve their respective Serde contracts.
    Streaming events and WebSocket messages are documented alongside HTTP
    payloads.
  title: GPROXY HTTP API
  version: 4.2.1
servers: []
security:
  - bearer: []
  - anthropicKey: []
  - googleKey: []
  - queryKey: []
paths:
  /admin/api/credentials/providers:
    get:
      tags:
        - Management
      summary: GET /admin/api/credentials/providers
      parameters:
        - description: Administrative scope selected by the caller.
          in: header
          name: x-gproxy-admin-scope
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Output_CredentialProviderDto'
                type: array
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Output_Envelope'
          description: Gateway error
      security:
        - consoleSession: []
        - bearer: []
        - anthropicKey: []
        - googleKey: []
components:
  schemas:
    Output_CredentialProviderDto:
      properties:
        capabilities:
          $ref: '#/components/schemas/Output_ChannelCapabilities'
        channel:
          type: string
        credentialKinds:
          items:
            type: string
          type: array
        displayName:
          type:
            - string
            - 'null'
        enabled:
          type: boolean
        id:
          type: string
        loginModes:
          items:
            $ref: '#/components/schemas/Output_LoginMode'
          type: array
        name:
          type: string
      required:
        - id
        - name
        - displayName
        - channel
        - enabled
        - credentialKinds
        - loginModes
        - capabilities
      type: object
    Output_Envelope:
      properties:
        error:
          $ref: '#/components/schemas/Output_EnvelopeBody'
      required:
        - error
      type: object
    Output_ChannelCapabilities:
      description: |-
        Optional abilities beyond protocol operations. All false is a legitimate
        channel: an API-key upstream needs none of them.
      properties:
        paidUsage:
          description: >-
            `QuotaModel::allows_paid_usage` reads the credential metadata flag

            `allow_paid_usage`, so the console offers the switch. Not derivable

            either: the method has a default, and overriding it is invisible
            here.
          type: boolean
        quotaQuery:
          description: '`QuotaQuery`: the upstream can be asked about the account''s balance.'
          type: boolean
        quotaReset:
          description: '`QuotaReset`: a spent window can be reopened against the upstream.'
          type: boolean
        refresh:
          description: '`CredentialRefresh`: the credential can be renewed without a person.'
          type: boolean
        services:
          description: >-
            `ChannelServices`: non-protocol endpoints of the upstream's own
            client.
          type: boolean
        websocket:
          description: >-
            The channel serves at least one operation over a WebSocket. Not

            derivable from an accessor; a channel that overrides a socket
            operation

            declares it.
          type: boolean
      required:
        - refresh
        - quotaQuery
        - quotaReset
        - services
        - websocket
        - paidUsage
      type: object
    Output_LoginMode:
      description: How a credential for this channel comes into existence.
      oneOf:
        - const: authorization_code
          description: Browser redirect with PKCE; `OAuthAuthorizationCode`.
          type: string
        - const: device_code
          description: User code shown, host polls; `OAuthDeviceCode`.
          type: string
        - const: api_key
          description: >-
            A key the operator pastes. No channel trait is involved: the secret
            is

            stored as given and the channel injects it at request time.
          type: string
    Output_EnvelopeBody:
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object
  securitySchemes:
    bearer:
      scheme: bearer
      type: http
    anthropicKey:
      in: header
      name: x-api-key
      type: apiKey
    googleKey:
      in: header
      name: x-goog-api-key
      type: apiKey
    queryKey:
      in: query
      name: key
      type: apiKey
    consoleSession:
      in: cookie
      name: gproxy_session
      type: apiKey

````

## Related topics

- [GET /admin/api/credentials](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentials.md)
- [GET /admin/api/providers](https://gproxy.leenhawk.com/api-reference/management/get-adminapiproviders.md)
- [GET /admin/api/channels](https://gproxy.leenhawk.com/api-reference/management/get-adminapichannels.md)
- [GET /admin/api/credentials/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentials-1.md)
- [GET /admin/api/provider-models](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprovider-models.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.