Store memories (batch)
store_memory_batchAnchor many fingerprints in ONE on-chain transaction — the way to record a
session's worth of artifacts without spending a write per minute on each.
Each item becomes ai:gh:<github_id>:mem:<content_hash>, exactly as with
store_memory: only hashes and metadata, never content. All or nothing: if
any item is refused (a malformed hash, say), nothing is written.
Requires a signed-in session. A batch of N counts as N writes against the
FREE-tier limits (10 per minute, 100 per 24 hours), so at most 10 items fit
in one call on a fresh minute; the result says how many writes are left.
One transaction id comes back for the whole batch; each name reads back
pending at once and confirmed after the next block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | 1–100 items, each {"content_hash": "<digest>", "metadata": {...}}; metadata is optional. Same rules as store_memory for each item. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txid | Yes | ||
| count | Yes | ||
| names | Yes | ||
| quota | Yes |