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

# List Keys

> Plaintext API keys and verifier material are never returned.
Revoked keys remain visible for audit until retention cleanup.



## OpenAPI

````yaml /api-reference/customer-api.v1.openapi.json get /v1/admin/keys
openapi: 3.1.0
info:
  title: Mount Thor Customer API
  version: v1
servers:
  - description: Mount Thor customer API edge
    url: https://api.mountthor.com
security: []
paths:
  /v1/admin/keys:
    get:
      tags:
        - api-keys
      summary: List Keys
      description: |-
        Plaintext API keys and verifier material are never returned.
        Revoked keys remain visible for audit until retention cleanup.
      operationId: list_customer_api_keys
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerApiKeyListResponse'
          description: API-key metadata
        '401':
          description: Missing or invalid customer API key
        '403':
          description: API key is missing keys:read scope
        '429':
          content:
            text/plain:
              schema:
                type: string
          description: Rate limit exceeded
          headers:
            Retry-After:
              description: Seconds before retry.
              schema:
                minimum: 1
                type: integer
      security:
        - api_key_bearer:
            - keys:read
components:
  schemas:
    CustomerApiKeyListResponse:
      additionalProperties: false
      description: API key listing response.
      properties:
        customer_id:
          description: Stable UUID for the customer account.
          format: uuid
          type: string
        keys:
          description: >-
            API-key metadata visible to the caller. Plaintext key material is
            never returned.
          items:
            $ref: '#/components/schemas/CustomerApiKeyMetadata'
          type: array
        tenant_id:
          description: Stable UUID for the tenant.
          format: uuid
          type: string
      required:
        - customer_id
        - tenant_id
        - keys
      type: object
    CustomerApiKeyMetadata:
      additionalProperties: false
      description: Non-secret API key metadata.
      properties:
        api_key_id:
          description: Stable UUID for the API key.
          format: uuid
          type: string
        created_at:
          description: RFC 3339 creation timestamp.
          example: '2026-05-25T17:30:00Z'
          type: string
        display_name:
          description: Human-readable label for the key.
          example: ci-prod
          type: string
        expires_at:
          description: Optional RFC 3339 expiry timestamp.
          example: '2027-01-01T00:00:00Z'
          type:
            - string
            - 'null'
        key_last4:
          description: Last four display characters. Not sufficient to authenticate.
          example: MPLE
          type: string
        key_prefix:
          description: >-
            Prefix stored for display and lookup. Not sufficient to
            authenticate.
          type: string
        last_used_at:
          description: Last successful use timestamp, if the key has been used.
          example: '2026-05-25T17:42:00Z'
          type:
            - string
            - 'null'
        revoked_at:
          description: Revocation timestamp when the key is no longer usable.
          example: '2026-05-25T18:00:00Z'
          type:
            - string
            - 'null'
        scopes:
          description: Scopes granted to the key.
          example:
            - compute:read
            - compute:write
          items:
            type: string
          type: array
        status:
          description: Key lifecycle state.
          example: active
          type: string
      required:
        - api_key_id
        - display_name
        - key_prefix
        - key_last4
        - scopes
        - status
        - created_at
      type: object
  securitySchemes:
    api_key_bearer:
      bearerFormat: mthr_live_*
      description: Bearer scheme name used by typed customer admin operations.
      scheme: bearer
      type: http

````