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

# List API keys

> List the workspace's API keys with their scopes and usage. Only the four-character preview is returned, never the key. Requires the admin scope.



## OpenAPI

````yaml openapi-v2.json get /settings/api-keys
openapi: 3.0.3
info:
  title: Productlane API
  description: Productlane API v2.
  version: 2.0.0
servers:
  - url: https://productlane.com/api/v2
security: []
paths:
  /settings/api-keys:
    get:
      tags:
        - settings
      summary: List API keys
      description: >-
        List the workspace's API keys with their scopes and usage. Only the
        four-character preview is returned, never the key. Requires the admin
        scope.
      operationId: settings-listApiKeys
      parameters: []
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        label:
                          type: string
                        key_preview:
                          type: string
                        scopes:
                          type: array
                          items:
                            type: string
                        last_used_at:
                          type: string
                          nullable: true
                        expires_at:
                          type: string
                          nullable: true
                        revoked_at:
                          type: string
                          nullable: true
                        created_at:
                          type: string
                      required:
                        - id
                        - label
                        - key_preview
                        - scopes
                        - last_used_at
                        - expires_at
                        - revoked_at
                        - created_at
                      additionalProperties: false
                required:
                  - data
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - Authorization: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````

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