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

# Get Memories

**Filters DSL**
Allowlist-based: only the following fields are processed, unknown fields are silently ignored.

| Field        | Type                           | Operators                | Description                            |
| ------------ | ------------------------------ | ------------------------ | -------------------------------------- |
| `user_id`    | string                         | eq, in                   | User ID filter (conditional required)  |
| `group_id`   | string                         | eq, in                   | Group ID filter (conditional required) |
| `session_id` | string                         | eq, in, gt, gte, lt, lte | Session ID filter                      |
| `timestamp`  | int (epoch ms/s) or ISO string | eq, gt, gte, lt, lte     | Time range filter                      |
| `AND`        | array                          | -                        | All conditions must match              |
| `OR`         | array                          | -                        | Any condition must match               |

**Operator syntax**: plain value = eq, `{"in": [...]}`, `{"gte": v, "lt": v}`


## OpenAPI

````yaml /api-reference/openapi.json get /v1/dev/user/memories
openapi: 3.1.0
info:
  contact:
    name: Omi
    url: https://omi.me/
  description: >-
    Programmatic access to your Omi data - memories, conversations, action
    items, goals, folders, and API keys. Build custom integrations, analytics
    dashboards, and automation workflows.
  license:
    name: MIT
    url: https://github.com/BasedHardware/omi/blob/main/LICENSE
  title: Omi Developer API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.omi.me
security: []
tags:
  - description: Read and write user memories - timeless facts, preferences, and insights.
    name: Memories
  - description: Create and retrieve conversation transcripts with AI-generated summaries.
    name: Conversations
  - description: Retrieve user-defined folders for organizing conversations.
    name: Folders
  - description: Manage tasks and to-dos extracted from conversations or created manually.
    name: Action Items
  - description: Manage user goals and progress history.
    name: Goals
  - description: Create, list, and revoke developer API keys.
    name: API Keys
paths:
  /v1/dev/user/memories:
    get:
      tags:
        - Memories
      summary: Get Memories
      operationId: listMemories
      parameters:
        - in: query
          name: limit
          required: false
          schema:
            default: 25
            title: Limit
            type: integer
        - in: query
          name: offset
          required: false
          schema:
            default: 0
            title: Offset
            type: integer
        - in: query
          name: categories
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Categories
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/DeveloperMemory'
                title: Response Listmemories
                type: array
          description: Successful Response
        '401':
          $ref: '#/components/responses/Error401'
        '403':
          $ref: '#/components/responses/Error403'
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - developerApiKey: []
components:
  schemas:
    DeveloperMemory:
      properties:
        category:
          $ref: '#/components/schemas/MemoryCategory'
          default: interesting
        content:
          default: ''
          title: Content
          type: string
        created_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Created At
        edited:
          default: false
          title: Edited
          type: boolean
        id:
          title: Id
          type: string
        manually_added:
          default: false
          title: Manually Added
          type: boolean
        reviewed:
          default: false
          title: Reviewed
          type: boolean
        scoring:
          anyOf:
            - type: string
            - type: 'null'
          title: Scoring
        tags:
          items:
            type: string
          title: Tags
          type: array
        updated_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Updated At
        user_review:
          anyOf:
            - type: boolean
            - type: 'null'
          title: User Review
        visibility:
          anyOf:
            - type: string
            - type: 'null'
          default: private
          title: Visibility
      required:
        - id
      title: DeveloperMemory
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    MemoryCategory:
      enum:
        - interesting
        - system
        - manual
        - workflow
        - core
        - hobbies
        - lifestyle
        - interests
        - habits
        - work
        - skills
        - learnings
        - other
        - auto
      title: MemoryCategory
      type: string
    ErrorResponse:
      properties:
        detail:
          anyOf:
            - type: string
            - type: array
            - type: object
          description: Error detail returned by the API.
      required:
        - detail
      title: ErrorResponse
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  responses:
    Error401:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Missing or invalid authentication credentials.
    Error403:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Authenticated, but the token does not grant the required scope.
  securitySchemes:
    developerApiKey:
      bearerFormat: Omi Developer API key
      description: 'Send `Authorization: Bearer <omi_developer_api_key>`.'
      scheme: bearer
      type: http

````