---
title: "Store or overwrite an entry"
method: POST
path: "/api/v1/memory"
tags: ["memory"]
---

# Store or overwrite an entry

`POST /api/v1/memory`

## Request

- Base URL: `https://toolforte.com`
- URL: `https://toolforte.com/api/v1/memory`
- Auth: HTTP bearer

Persistent key-value memory scoped to your API key. An agent is stateless between sessions: without a store like this, everything it learned is gone when the conversation ends. Entries survive across sessions and across tools, and are readable only with the key that wrote them. Free with an API key: no render credits are consumed. Limits: 100 KB per value, 1,000 entries and 10 MB per key.

## Request body

- object
  - `key` string, required: Identifier, may be namespaced: letters, digits and . _ - / :
  - `value` string, required: Value to store, max 100 KB. Serialise objects to JSON first.

## Response `200`

Stored

## Other responses

- `400`: Invalid key or value
- `401`: Missing, invalid, or revoked API key
- `413`: Entry or total quota exceeded

---

[API](https://skmtc.dev/toolforte/apis/toolforte-api.md) · [All operations](https://skmtc.dev/toolforte/apis/toolforte-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolforte/apis/toolforte-api/revisions/4d814d484dfc?raw)
