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

# List all API keys for the authenticated user



## OpenAPI

````yaml /openapi.json get /v1/keys
openapi: 3.1.0
info:
  title: urltodata.ai
  description: >-
    API for extracting transcripts, metadata, and structured data from YouTube,
    TikTok, Instagram, X (Twitter), Facebook, and the web.
  version: 0.1.0
servers:
  - url: https://api.urltodata.ai
    description: Production API
security:
  - bearerAuth: []
paths:
  /v1/keys:
    get:
      summary: List all API keys for the authenticated user
      operationId: listApiKeys
      responses:
        '200':
          description: API key list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyList'
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - bearerAuth: []
components:
  schemas:
    ApiKeyList:
      type: object
      properties:
        keys:
          type: array
          items:
            type: object
            properties:
              keyId:
                type: string
              name:
                type:
                  - string
                  - 'null'
              createdAt:
                type: integer
              lastUsedAt:
                type:
                  - integer
                  - 'null'
              revokedAt:
                type:
                  - integer
                  - 'null'
              scopes:
                type:
                  - array
                  - 'null'
                items:
                  type: string
                  enum:
                    - account:read
                    - usage:read
                    - content:run
                    - jobs:read
                    - crawl:run
                    - keys:read
                    - keys:write
                    - credits:purchase
    ApiError:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: string
        documentationUrl:
          type: string
  responses:
    Unauthorized:
      description: Authentication required or invalid credentials
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      x-default: your-api-key
      description: API key as Bearer token (e.g. Bearer mp_abc123_secret)

````