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

# List

> List the organization's API keys. Secrets are never shown — only prefixes.



## OpenAPI

````yaml /openapi.json get /v1/orgs/{orgId}/api-keys
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/api-keys:
    get:
      tags:
        - apikeys
      summary: List
      description: >-
        List the organization's API keys. Secrets are never shown — only
        prefixes.
      operationId: apikeys.list
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
      responses:
        '200':
          description: API keys, including revoked ones.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                    keyPrefix:
                      type: string
                      description: >-
                        Display handle for the key, e.g. "korve_ab12…". Never
                        the secret.
                    role:
                      type: string
                      enum:
                        - member
                        - admin
                      description: >-
                        Role ceiling the key authenticates with. Defaults to
                        "admin"; never owner.
                    lastUsedAt:
                      type:
                        - string
                        - 'null'
                      format: date-time
                    revokedAt:
                      type:
                        - string
                        - 'null'
                      format: date-time
                    createdAt:
                      type: string
                      format: date-time
                  required:
                    - id
                    - name
                    - keyPrefix
                    - role
                    - lastUsedAt
                    - revokedAt
                    - createdAt
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````