{"slug":"agent-data-tools-revmesh2074-workers-dev-memory-set-e159cd","title":"Agent memory, save","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/memory/set","category":"other","description":"Agent memory, save. Save a value (up to 8,000 characters of text or JSON) under a key in your own namespace, so an agent can remember facts, preferences or task state between runs. Overwrites an existing key; expires after 1 to 30 days (default 30). Values are kept until they expire (at most 30 days","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":23,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"key":"user-preferences","namespace":"demo-agent-memory-7f3c9a21","value":"{\"language\":\"en\",\"units\":\"metric\"}"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"days":{"description":"Days to keep it, 1 to 30 (default 30)","examples":["30"],"type":"string"},"key":{"description":"The key, up to 200 characters","examples":["user-preferences"],"type":"string"},"namespace":{"description":"Your namespace: a secret of 16 to 128 letters, digits, - or _ that you choose and reuse. Anyone who knows it can read and write it, so treat it like a password; send it in a POST body to keep it out of URLs.","examples":["demo-agent-memory-7f3c9a21"],"type":"string"},"value":{"description":"The text or JSON to save, up to 8,000 characters","examples":["{\"language\":\"en\",\"units\":\"metric\"}"],"type":"string"}},"required":["namespace","key","value"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"expiresAt":{"type":"string"},"key":{"type":"string"},"saved":{"type":"boolean"},"size":{"type":"number"},"updatedAt":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":23,"error":null}],"description_full":"Agent memory, save. Save a value (up to 8,000 characters of text or JSON) under a key in your own namespace, so an agent can remember facts, preferences or task state between runs. Overwrites an existing key; expires after 1 to 30 days (default 30). Values are kept until they expire (at most 30 days) or are deleted; reads anywhere may lag a write made elsewhere by up to a minute. Use to persist what an agent learned for a later call to memory_get.","last_updated":"2026-10-25T16:31:40.193Z","schemes":["exact"]}