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

# List API keys

> Lists the API keys available in the Fanify console.



## OpenAPI

````yaml /hub/openapi/hub.json get /api/v1/hub/keys
openapi: 3.0.1
info:
  title: Fanify Hub API
  description: Generate media and text with Fanify credits. All prices use EUR.
  version: v1
servers:
  - url: https://fanifyai.com
security: []
paths:
  /api/v1/hub/keys:
    get:
      tags:
        - API keys
      summary: List API keys
      description: Lists the API keys available in the Fanify console.
      parameters:
        - name: X-Requested-With
          in: header
          description: Must be XMLHttpRequest.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: User API keys.
          content:
            application/json:
              schema:
                required:
                  - data
                type: object
                properties:
                  data:
                    type: array
                    items:
                      required:
                        - created_at
                        - id
                        - last_used_at
                        - name
                        - prefix
                      type: object
                      properties:
                        id:
                          type: integer
                          format: int32
                        name:
                          type: string
                        prefix:
                          type: string
                        created_at:
                          type: string
                          format: date-time
                        last_used_at:
                          type: string
                          format: date-time
                          nullable: true
                      additionalProperties: false
                additionalProperties: false
              example:
                data:
                  - id: 12
                    name: My laptop
                    prefix: fanify_sk_a1B2c3D4
                    created_at: '2026-09-07T10:00:00Z'
                    last_used_at: null
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                required:
                  - type
                  - title
                  - status
                  - code
                type: object
                properties:
                  type:
                    type: string
                    format: uri
                  title:
                    type: string
                  status:
                    type: integer
                    format: int32
                  detail:
                    type: string
                    nullable: true
                  instance:
                    type: string
                  code:
                    enum:
                      - unauthorized
                    type: string
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                  unrepresentable:
                    type: array
                    items:
                      type: string
              example:
                type: https://fanifyai.com/docs/hub/errors#unauthorized
                title: Unauthorized
                status: 401
                code: unauthorized
        '429':
          description: Rate limit reached
          headers:
            Retry-After:
              description: Seconds before retrying.
              schema:
                type: string
          content:
            application/problem+json:
              schema:
                required:
                  - type
                  - title
                  - status
                  - code
                type: object
                properties:
                  type:
                    type: string
                    format: uri
                  title:
                    type: string
                  status:
                    type: integer
                    format: int32
                  detail:
                    type: string
                    nullable: true
                  instance:
                    type: string
                  code:
                    enum:
                      - rate_limited
                    type: string
                  errors:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: string
                  unrepresentable:
                    type: array
                    items:
                      type: string
              example:
                type: https://fanifyai.com/docs/hub/errors#rate_limited
                title: Rate limit reached
                status: 429
                code: rate_limited
      security:
        - ConsoleSession: []
components:
  securitySchemes:
    ConsoleSession:
      type: apiKey
      description: >-
        Fanify console session. X-Requested-With: XMLHttpRequest is also
        required.
      name: .AspNetCore.Cookies
      in: cookie

````

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