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

# List Provider Credentials

> List all four BYOK provider slots with their status. Secrets are never returned.



## OpenAPI

````yaml /openapi.json get /v1/provider-credentials
openapi: 3.1.0
info:
  title: Cyberdesk Cloud
  description: >-
    The Cyberdesk API provides programmatic access to all platform features,
    enabling you to automate desktop tasks at scale.
  version: 1.0.0
servers:
  - url: https://api.cyberdesk.io
    description: Production server
  - url: https://cyberdesk-api-dev.fly.dev
    description: Development server
security: []
paths:
  /v1/provider-credentials:
    get:
      tags:
        - provider-credentials
      summary: List Provider Credentials
      description: >-
        List all four BYOK provider slots with their status. Secrets are never
        returned.
      operationId: list_provider_credentials_v1_provider_credentials_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ProviderCredentialResponse'
                type: array
                title: Response List Provider Credentials V1 Provider Credentials Get
      security:
        - HTTPBearer: []
components:
  schemas:
    ProviderCredentialResponse:
      properties:
        slot:
          $ref: '#/components/schemas/ProviderCredentialSlot'
        display_name:
          type: string
          title: Display Name
        source:
          $ref: '#/components/schemas/ProviderCredentialSource'
          description: >-
            'cyberdesk' when the slot has never been configured (Cyberdesk
            platform keys are used).
        covered_providers:
          items:
            type: string
          type: array
          title: Covered Providers
        status:
          anyOf:
            - $ref: '#/components/schemas/ProviderCredentialStatus'
            - type: 'null'
        auth_type:
          anyOf:
            - $ref: '#/components/schemas/ProviderCredentialAuthType'
            - type: 'null'
        display_metadata:
          $ref: '#/components/schemas/ProviderCredentialDisplayMetadata'
        last_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error
        activated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Activated At
        last_validated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Validated At
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - slot
        - display_name
        - source
        - covered_providers
      title: ProviderCredentialResponse
      description: State of one BYOK slot. Never includes secret material.
    ProviderCredentialSlot:
      type: string
      enum:
        - anthropic
        - openai
        - google
        - aws_bedrock
      title: ProviderCredentialSlot
    ProviderCredentialSource:
      type: string
      enum:
        - cyberdesk
        - organization
      title: ProviderCredentialSource
    ProviderCredentialStatus:
      type: string
      enum:
        - active
        - invalid
        - missing
      title: ProviderCredentialStatus
    ProviderCredentialAuthType:
      type: string
      enum:
        - api_key
        - service_account_json
        - aws_bedrock_api_key
        - aws_iam
      title: ProviderCredentialAuthType
    ProviderCredentialDisplayMetadata:
      properties:
        key_last4:
          anyOf:
            - type: string
            - type: 'null'
          title: Key Last4
        project_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Project Id
        client_email:
          anyOf:
            - type: string
            - type: 'null'
          title: Client Email
        aws_region:
          anyOf:
            - type: string
            - type: 'null'
          title: Aws Region
        access_key_id_last4:
          anyOf:
            - type: string
            - type: 'null'
          title: Access Key Id Last4
      type: object
      title: ProviderCredentialDisplayMetadata
      description: Non-secret metadata shown in the dashboard.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````