---
title: "POST /v2/memories/"
method: POST
path: "/v2/memories/"
tags: ["memories"]
---

# POST /v2/memories/

`POST /v2/memories/`

Get all memories.

## Request body

- MemoryGetInputV2
  - `filters` object, required — A dictionary of filters to apply to retrieve memories. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at, categories, keywords. Supports logical operators (AND, OR) and comparison operators (in, gte, lte, gt, lt, ne, contains, icontains, *). For categories field, use 'contains' for partial matching (e.g., {"categories": {"contains": "finance"}}) or 'in' for exact matching (e.g., {"categories": {"in": ["personal_information"]}}).
    - `user_id` string
    - `agent_id` string
    - `app_id` string
    - `run_id` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `keywords` object
      - `contains` string
      - `icontains` string
    - `categories` object
      - `in` string[]
    - `metadata` object
  - `fields` string[] — A list of field names to include in the response. If not provided, all fields will be returned.
  - `page` integer — Page number for pagination. Default: 1
  - `page_size` integer — Number of items per page. Default: 100
  - `org_id` string, nullable — The unique identifier of the organization associated with the memory.
  - `project_id` string, nullable — The unique identifier of the project associated with the memory.

## Response `200`

Successfully retrieved memories.

- object[]
  - `id` string, required
  - `memory` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `owner` string, required
  - `immutable` boolean — Whether the memory is immutable.
  - `expiration_date` string, date, nullable — The date when the memory will expire. Format: YYYY-MM-DD.
  - `organization` string, required
  - `metadata` object

## Other responses

- `400` — Bad Request.

---

[API](https://skmtc.dev/mem0/apis/mem0-api-docs.md) · [All operations](https://skmtc.dev/mem0/apis/mem0-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mem0/mem0-api-docs/revisions/b925d43ccc95/schema)
