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

# List user API keys

> Get all API keys for the authenticated user



## OpenAPI

````yaml https://api.weblinq.dev/doc get /v1/api-keys/list
openapi: 3.0.0
info:
  version: 1.0.0
  title: WebLinq API
  description: WebLinq API for web scraping, search, and content extraction
servers:
  - url: https://api.weblinq.dev
    description: Production API Server
  - url: http://localhost:8787
    description: Local Development Server
security: []
paths:
  /v1/api-keys/list:
    get:
      tags:
        - API Keys
      summary: List user API keys
      description: Get all API keys for the authenticated user
      responses:
        '200':
          description: List of API keys
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    type: object
                    properties:
                      apiKeys:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            name:
                              type: string
                              nullable: true
                            start:
                              type: string
                              nullable: true
                              description: >-
                                First few characters of the key for
                                identification
                            prefix:
                              type: string
                              nullable: true
                            userId:
                              type: string
                            enabled:
                              type: boolean
                            requestCount:
                              type: number
                            remaining:
                              type: number
                              nullable: true
                              description: Remaining uses (if limited)
                            lastRequest:
                              type: string
                              nullable: true
                            expiresAt:
                              type: string
                              nullable: true
                            createdAt:
                              type: string
                            updatedAt:
                              type: string
                            metadata:
                              type: object
                              nullable: true
                              additionalProperties:
                                nullable: true
                          required:
                            - id
                            - name
                            - start
                            - prefix
                            - userId
                            - enabled
                            - requestCount
                            - remaining
                            - lastRequest
                            - expiresAt
                            - createdAt
                            - updatedAt
                            - metadata
                      total:
                        type: number
                    required:
                      - apiKeys
                      - total
                  creditsCost:
                    type: number
                    description: Credits consumed by this operation
                  requestId:
                    type: string
                    format: uuid
                    description: Unique request identifier for tracing
                  timestamp:
                    type: string
                    format: date-time
                    description: ISO timestamp when the response was generated
                required:
                  - success
                  - data
                  - requestId
                  - timestamp
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      requestId:
                        type: string
                        format: uuid
                    required:
                      - message
                      - code
                required:
                  - success
                  - error
                example:
                  success: false
                  error:
                    message: Authentication required
                    code: UNAUTHORIZED
                    requestId: bf68e5de-f6ef-479f-9328-6d3f48d5b7d4
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      requestId:
                        type: string
                        format: uuid
                    required:
                      - message
                      - code
                required:
                  - success
                  - error
                example:
                  success: false
                  error:
                    message: Authentication required
                    code: UNAUTHORIZED
                    requestId: bf68e5de-f6ef-479f-9328-6d3f48d5b7d4
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Enter your API token or session token

````