{"slug":"1gateway-dev-v1-agent-kv-put-8790c5","title":"Use when an agent must keep state between runs without a database account","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/agent/kv/put","category":"market","description":"Use when an agent must keep state between runs without a database account. The paying wallet (USDC on any EVM network in the 402 quote) is the namespace. Input: key, value (JSON or text, max 64 KB), ttl_days 1-90. $0.003 flat. Output: status, expiry, usage. 1,000 keys, 10 MB per wallet. Private to t","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":768,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:143","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"key":"notes/today","ttl_days":"30","value":"step 3 done"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"key":{"description":"Key, 1-128 chars of A-Z a-z 0-9 . _ : / - (private to the paying wallet)","pattern":"^[A-Za-z0-9._:/-]{1,128}$","type":"string"},"ttl_days":{"description":"Days to keep the value, 1-90 (default 30); extend later with /v1/agent/kv/touch","pattern":"^\\d{1,2}$","type":"string"},"value":{"description":"Text in a query string, or any JSON value in a POST body; max 64 KB as JSON","maxLength":65536,"type":"string"}},"required":["key","value"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"bytes":{"type":"integer"},"expiresAt":{"type":"string"},"key":{"type":"string"},"notes":{"items":{"type":"string"},"type":"array"},"price":{"type":"string"},"status":{"type":"string"},"updatedAt":{"type":"string"},"usage":{"additionalProperties":true,"properties":{"bytes":{"type":"integer"},"keys":{"type":"integer"},"maxBytes":{"type":"integer"},"maxKeys":{"type":"integer"},"maxValueBytes":{"type":"integer"}},"type":"object"}},"required":["status","key","bytes","updatedAt","expiresAt","usage","price","notes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":833,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":630,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":703,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":941,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0036,"price_match":false,"latency_ms":738,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0036,"price_match":false,"latency_ms":779,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0036,"price_match":false,"latency_ms":668,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0035,"price_match":true,"latency_ms":673,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0035,"price_match":true,"latency_ms":750,"error":null}],"description_full":"Use when an agent must keep state between runs without a database account. The paying wallet (USDC on any EVM network in the 402 quote) is the namespace. Input: key, value (JSON or text, max 64 KB), ttl_days 1-90. $0.003 flat. Output: status, expiry, usage. 1,000 keys, 10 MB per wallet. Private to the wallet, never shared, so values are not AI-screened. Unencrypted: no secrets. Example: POST {\"key\":\"notes/a\",\"value\":{\"step\":3}}","last_updated":"2026-11-23T00:50:52.44Z","schemes":["exact"]}