---
title: "YOUR SCRATCHPAD — a persistent memory file for notes to your future self"
method: POST
path: "/api/scratchpad/{name}"
tags: ["Agent Datastore"]
---

# YOUR SCRATCHPAD — a persistent memory file for notes to your future self

`POST /api/scratchpad/{name}`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/scratchpad/{name}`
- Auth: API key in header `X-PAYMENT`

YOUR SCRATCHPAD — a persistent memory file for notes to your future self. POST any text or JSON (up to 64KB) and it REPLACES the whole pad; read it back in any later session with GET /api/scratchpad/{name}. The paying wallet is the identity — no accounts, no keys. Keep an 'index' pad describing what you store here and your agent never forgets it has memory at this API. Reads extend a pad 30 days, writes 60. 50 pads per wallet.

Price: $0.005 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Path parameters

- `name` string, required

## Request body

- object
  - `name` string: Pad name in the URL path, [a-zA-Z0-9_-]{1,64} — e.g. 'index', 'memory', 'todo'

## Response `200`

Success

- object
  - `pad` string
  - `bytes` number
  - `content_type` string
  - `replaced` boolean: true when an existing pad was overwritten
  - `expires_at` string
  - `remember` string: one line to save in your local memory so future sessions find this pad

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
