> ## 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 memories (batch)

> Create multiple memories in a single request. Maximum 25 memories per batch.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/dev/user/memories/batch
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/batch:
    post:
      tags:
        - Memories
      summary: Create memories (batch)
      description: >-
        Create multiple memories in a single request. Maximum 25 memories per
        batch.
      operationId: createMemoriesBatch
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchCreateMemories'
            example:
              memories:
                - content: User prefers async communication over meetings
                  category: system
                - content: User speaks fluent Japanese and French
                  category: interesting
      responses:
        '200':
          description: Batch creation result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchMemoriesResponse'
              example:
                memories:
                  - id: mem_001
                    content: User prefers async communication over meetings
                    category: system
                  - id: mem_002
                    content: User speaks fluent Japanese and French
                    category: interesting
                created_count: 2
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  schemas:
    BatchCreateMemories:
      type: object
      required:
        - memories
      properties:
        memories:
          type: array
          items:
            $ref: '#/components/schemas/CreateMemory'
          maxItems: 25
          description: List of memories to create (max 25).
    BatchMemoriesResponse:
      type: object
      properties:
        memories:
          type: array
          items:
            $ref: '#/components/schemas/Memory'
        created_count:
          type: integer
          description: Number of memories created.
    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_`.

````