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

# List inference keys

> List inference keys for the management key's organization



## OpenAPI

````yaml api-reference/platform.json GET /api/v1/management/api-keys
openapi: 3.1.0
info:
  title: Subconscious platform API
  version: 1.0.0
  description: >-
    Management keys and organization usage on the Subconscious platform.
    Inference stays on https://api.subconscious.dev/v1.
servers:
  - url: https://platform.subconscious.dev
security: []
paths:
  /api/v1/management/api-keys:
    get:
      summary: List inference keys
      description: >-
        Lists inference keys for the organization that owns the management key,
        newest first. Includes inactive keys. Hidden keys and management keys
        are omitted. Secrets are not included.
      operationId: listInferenceKeys
      responses:
        '200':
          description: Inference keys for the organization.
          content:
            application/json:
              schema:
                type: object
                required:
                  - apiKeys
                properties:
                  apiKeys:
                    type: array
                    items:
                      type: object
                      required:
                        - id
                        - name
                        - keyPrefix
                        - isActive
                        - createdAt
                        - lastUsedAt
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        keyPrefix:
                          type: string
                        isActive:
                          type: boolean
                          description: False after the key has been deleted.
                        createdAt:
                          type: string
                          format: date-time
                        lastUsedAt:
                          type:
                            - string
                            - 'null'
                          format: date-time
              example:
                apiKeys:
                  - id: 5f0c8a1e-2b4d-4c7e-9a10-6d3f2e1b0c9a
                    name: tenant-42
                    keyPrefix: a1b2c3d4
                    isActive: true
                    createdAt: '2026-09-30T21:40:00.000Z'
                    lastUsedAt: '2026-09-30T22:05:00.000Z'
        '401':
          description: Missing or inactive management key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key is not a management key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: |-
            curl https://platform.subconscious.dev/api/v1/management/api-keys \
              -H "Authorization: Bearer sk-mgmt-..."
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key in the Authorization header. Management endpoints require a
        management key (`sk-mgmt-...`). GET /api/v1/usage requires an inference
        key (`sk-gw-...`).
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Same key as bearer auth, passed in the X-API-Key header.

````