> ## 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.

# Create memory

> Create a new memory. Memories are timeless facts about the user — preferences, relationships, personal details, and notable insights.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/dev/user/memories
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/user/memories:
    post:
      tags:
        - Memories
      summary: Create memory
      description: >-
        Create a new memory. Memories are timeless facts about the user —
        preferences, relationships, personal details, and notable insights.
      operationId: createMemory
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateMemory'
            example:
              content: User prefers dark mode in all applications
              category: system
              tags:
                - preferences
                - ui
      responses:
        '200':
          description: The created memory.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Memory'
              example:
                id: mem_xyz789
                content: User prefers dark mode in all applications
                category: system
                visibility: private
                tags:
                  - preferences
                  - ui
                created_at: '2025-12-06T10:35:00Z'
                updated_at: '2025-12-06T10:35:00Z'
                manually_added: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  schemas:
    CreateMemory:
      type: object
      required:
        - content
      properties:
        content:
          type: string
          minLength: 1
          maxLength: 500
          description: The memory content.
        category:
          type: string
          enum:
            - interesting
            - system
            - manual
          description: Memory category. Auto-categorized if not provided.
        visibility:
          type: string
          enum:
            - public
            - private
          default: private
          description: Visibility level.
        tags:
          type: array
          items:
            type: string
          description: List of tags.
    Memory:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier.
        content:
          type: string
          description: The memory content.
        category:
          type: string
          enum:
            - interesting
            - system
            - manual
          description: Memory category.
        visibility:
          type: string
          enum:
            - public
            - private
          description: Visibility level.
        tags:
          type: array
          items:
            type: string
          description: List of tags.
        created_at:
          type: string
          format: date-time
          description: When the memory was created.
        updated_at:
          type: string
          format: date-time
          description: When the memory was last updated.
        manually_added:
          type: boolean
          description: Whether the memory was added manually (via API or app).
        reviewed:
          type: boolean
          description: Whether the memory has been reviewed.
        user_review:
          type:
            - boolean
            - 'null'
          description: User's review decision.
        edited:
          type: boolean
          description: Whether the memory has been edited.
    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
    ValidationError:
      description: Validation error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            detail: 'Validation error: content is required'
  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_`.

````