---
title: "AGENT DATASTORE — append rows to your wallet's persistent storage"
method: POST
path: "/api/store/{collection}"
tags: ["Agent Datastore"]
---

# AGENT DATASTORE — append rows to your wallet's persistent storage

`POST /api/store/{collection}`

## Request

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

AGENT DATASTORE — append rows to your wallet's persistent storage. POST JSON (object or array) or CSV; rows append to the named collection owned by your paying wallet and persist across calls, deploys, and restarts. The wallet that pays IS the identity — no keys, no accounts. Give your agent a memory. Activity keeps it alive: reads extend the collection 30 days, writes 60. Limits: 16KB/row, 1000 rows/call, 100k rows/collection, 50 collections, 50MB/wallet.

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

## Path parameters

- `collection` string, required

## Request body

- object
  - `collection` string: Collection name in the URL path: /api/store/{collection} — [a-zA-Z0-9_-], max 64 chars

## Response `200`

Success

- object
  - `collection` string
  - `rows_added` number
  - `total_rows` number
  - `wallet` string

## 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)
