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

# List API keys

> Retrieve all your developer API keys. Secret key values are not returned — only the prefix is shown.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/dev/keys
openapi: 3.1.0
info:
  title: Omi Developer API
  description: >-
    Programmatic access to your Omi data — memories, conversations, action
    items, and API keys. Build custom integrations, analytics dashboards, and
    automation workflows.
  version: 1.0.0
  contact:
    name: Omi
    url: https://omi.me
  license:
    name: MIT
    url: https://github.com/BasedHardware/omi/blob/main/LICENSE
servers:
  - url: https://api.omi.me
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Memories
    description: Read and write user memories — timeless facts, preferences, and insights.
  - name: Conversations
    description: Create and retrieve conversation transcripts with AI-generated summaries.
  - name: Folders
    description: Retrieve user-defined folders for organizing conversations.
  - name: Action Items
    description: Manage tasks and to-dos extracted from conversations or created manually.
  - name: API Keys
    description: Create, list, and revoke developer API keys.
paths:
  /v1/dev/keys:
    get:
      tags:
        - API Keys
      summary: List API keys
      description: >-
        Retrieve all your developer API keys. Secret key values are not returned
        — only the prefix is shown.
      operationId: listApiKeys
      responses:
        '200':
          description: List of API keys.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiKey'
              example:
                - id: key_123abc
                  name: My Analytics Dashboard
                  key_prefix: omi_dev_abc123
                  created_at: '2025-01-15T10:30:00Z'
                  last_used_at: '2025-01-20T14:22:00Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    ApiKey:
      type: object
      properties:
        id:
          type: string
          description: Unique key identifier.
        name:
          type: string
          description: Descriptive name.
        key_prefix:
          type: string
          description: First part of the key (for identification).
        created_at:
          type: string
          format: date-time
        last_used_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the key was last used.
        scopes:
          type:
            - array
            - 'null'
          items:
            type: string
          description: >-
            Permission scopes assigned to the API key. Null for legacy keys
            (treated as read-only).
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
          description: Error description.
  responses:
    Unauthorized:
      description: Invalid or missing API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            detail: Invalid API key
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Developer API key. Get one from **Settings → Developer → Create Key** in
        the Omi app. Keys are prefixed with `omi_dev_`.

````