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

# List API keys

> Lists API keys for the current user (without plaintext key values).



## OpenAPI

````yaml https://api.superwize.ai/api/openapi.json post /auth/listApiKeys
openapi: 3.1.1
info:
  title: SuperWize API
  version: 1.1.2
  description: >-
    SuperWize RPC API. Authenticated endpoints support Better Auth session
    cookies, Authorization: Bearer <session_token>, or x-api-key.
servers:
  - url: http://api.superwize.ai/api
security: []
tags:
  - name: System
    description: Service health and internal diagnostics.
  - name: Authentication
    description: Session, email verification, and API token endpoints.
  - name: Audio
    description: Speech-to-text and related audio features.
  - name: Chat
    description: Conversation streaming, history, branching, and feedback.
  - name: Credits
    description: Credit balances, usage history, and reward grants.
  - name: Subscription
    description: Subscription tier and status polling endpoints.
  - name: Mini Apps
    description: Curated mini app catalog endpoints.
  - name: News
    description: Curated news feed, article source, and article feedback endpoints.
  - name: Release Notes
    description: Current app release metadata and features.
  - name: Support
    description: Contact/support request endpoints.
  - name: Images
    description: Image conversion, upload, and retrieval endpoints.
  - name: Files
    description: Generic file upload and retrieval endpoints.
  - name: Notifications
    description: Push token registration and test notifications.
  - name: Group Chat
    description: Group lifecycle, invites, messaging, and realtime events.
  - name: Preferences
    description: User preferences and account-type controls.
  - name: Widgets
    description: Widget thread and interaction endpoints.
  - name: Bookmarks
    description: Bookmark groups and conversation associations.
paths:
  /auth/listApiKeys:
    post:
      tags:
        - Authentication
      summary: List API keys
      description: Lists API keys for the current user (without plaintext key values).
      operationId: auth.listApiKeys
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: API keys returned.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      anyOf:
                        - type: string
                        - type: 'null'
                    start:
                      anyOf:
                        - type: string
                        - type: 'null'
                    prefix:
                      anyOf:
                        - type: string
                        - type: 'null'
                    enabled:
                      type: boolean
                    createdAt:
                      type: number
                    updatedAt:
                      type: number
                    expiresAt:
                      anyOf:
                        - type: number
                        - type: 'null'
                    lastRequest:
                      anyOf:
                        - type: number
                        - type: 'null'
                    rateLimitEnabled:
                      type: boolean
                    rateLimitMax:
                      anyOf:
                        - type: number
                        - type: 'null'
                    rateLimitTimeWindow:
                      anyOf:
                        - type: number
                        - type: 'null'
                    requestCount:
                      type: number
                    remaining:
                      anyOf:
                        - type: number
                        - type: 'null'
                  required:
                    - id
                    - name
                    - start
                    - prefix
                    - enabled
                    - createdAt
                    - updatedAt
                    - expiresAt
                    - lastRequest
                    - rateLimitEnabled
                    - rateLimitMax
                    - rateLimitTimeWindow
                    - requestCount
                    - remaining
              example:
                - id: obj_01JHKZ0PV2WX123456789
                  name: Primary Key
                  start: 2X7kM9
                  prefix: sw_live
                  enabled: true
                  createdAt: 1767225600000
                  updatedAt: 1767225600000
                  expiresAt: 1767312000000
                  lastRequest: 1767225600000
                  rateLimitEnabled: true
                  rateLimitMax: 20
                  rateLimitTimeWindow: 20
                  requestCount: 3
                  remaining: 97
        '401':
          description: '401'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: UNAUTHORIZED
                      status:
                        const: 401
                      message:
                        type: string
                        default: Authentication is required to access this endpoint.
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
        '403':
          description: '403'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: FORBIDDEN
                      status:
                        const: 403
                      message:
                        type: string
                        default: You do not have permission to perform this action.
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
              example:
                defined: true
                code: FORBIDDEN
                status: 403
                message: You do not have permission to perform this action.
                data: {}

````