---
title: "Store memory via n8n"
method: POST
path: "/api/v1/n8n/memories"
tags: ["n8n"]
---

# Store memory via n8n

`POST /api/v1/n8n/memories`

Create a new memory in the space bound to this n8n integration

## Headers

- `authorization` string

## Request body

- N8NMemoryCreate — Memory creation model optimized for n8n workflows.
  - `content` string, required — Memory content
  - `tags` string[], nullable — Memory tags
  - `category` string, nullable — Memory category
  - `importance` integer, nullable — Importance (1-10)
  - `source` string, nullable — Source identifier
  - `metadata` object, nullable — Additional metadata
  - `workflow_id` string, nullable — n8n workflow ID
  - `execution_id` string, nullable — n8n execution ID

## Response `201`

Successful Response

- N8NMemoryResponse — Response model for n8n memory operations.
  - `id` string, required
  - `content` string, required
  - `tags` string[], nullable
  - `category` string, nullable
  - `importance` integer, nullable
  - `created_at` string, required
  - `space_name` string, required
  - `metadata` object, nullable
  - `relevance_score` number, nullable — Relevance score for search results
  - `workflow_id` string, nullable
  - `execution_id` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/memara/apis/memara-api.md) · [All operations](https://skmtc.net/memara/apis/memara-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/memara/memara-api/revisions/4dc7c4418845/schema)
