---
title: "Add memory (from files)"
method: POST
path: "/graph/{graph_name}/files"
---

# Add memory (from files)

`POST /graph/{graph_name}/files`

Create a new memory in the graph from files.

## Path parameters

- `graph_name` string, required

## Response `200`

Successful Response

- InsertResponse — Data model for insert response.
  - `requestId` string, required — Unique request ID to be used to track the request status
  - `requestTime` integer, required — Further value to provide to track the request status
  - `memoryId` string, required — Reserved

## Other responses

- `422` — Validation Error

## Changes

- **2024-12-16** `c3a63bdae00a` — 2 breaking, 3 warning, 5 info
  - `path` request parameter `graph_name` list-of-types was narrowed by removing types `null`
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - deleted the `query` request parameter `demo_allowed`
  - deleted the `query` request parameter `increment_usage`
  - …6 more
- **2024-11-19** `5ee38984af43` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/circlemind-ai/apis/circlemind-api/changes/graph/:graph_name/files/post.md)

---

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