Base URL
Request Format
All requests useContent-Type: application/json. The maximum request body size is 64 KB.
Authentication
MemoClaw uses your wallet as identity — no API keys or accounts needed.- Paid endpoints (store, recall, update, extract, ingest, consolidate, context, migrate) require an x402 payment header or free tier credits. Your wallet address is extracted from the payment proof.
- Free endpoints (list, get, delete, search, suggested, core memories, relations, history, graph, export, namespaces, stats) require only a wallet signature via the
x-wallet-authheader. No payment needed.
Request ID
Every response includes a uniqueX-Request-Id header. Include this when contacting support or debugging issues.
Error Format
All errors return a consistent JSON structure:TypeScript Examples
Some API reference pages include TypeScript code samples using thememoclaw package. The SDK client (MemoClawClient) is planned but not yet exported — these examples show the intended interface. For now, use the CLI (npm install -g memoclaw) or direct REST API calls. See TypeScript SDK for details.