---
title: "Store a JSON value for the paying wallet"
method: POST
path: "/v1/memory/set"
---

# Store a JSON value for the paying wallet

`POST /v1/memory/set`

## Request

- Base URL: `https://agents.dexl.io`
- URL: `https://agents.dexl.io/v1/memory/set`
- Auth: API key in header `X-Payment`

Paid via x402 at $0.002. Agent memory is keyed to the paying EVM wallet: only the wallet that wrote a key can read it. Values up to 16 KB, 1000 keys per wallet, 1-365 day expiry.

## Request body

- object

## Response `200`

Done

## Other responses

- `400`: Invalid input; nothing was charged
- `402`: Payment required

---

[API](https://skmtc.dev/dexl/apis/dexl-agents.md) · [All operations](https://skmtc.dev/dexl/apis/dexl-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/dexl/apis/dexl-agents/revisions/e3692765c3f7?raw)
