{"uid":"cap_uQVuq4U5LRZpsmIVxHL95","slug":"agentkv-read-get-a363a483","name":"AgentKV Read (GET)","description":"Agent-native encrypted key-value store, paid per request over x402 — no signup, no API key. The payer's wallet (or an ak_ account key) is the namespace; values are client-side encrypted. Write $0.005, read $0.003; prepay $1 = 10,000 credits at 1/10 the per-op price (POST /v1/credits/deposit). SDK: npm i @agentkv/client. Docs: https://agentx402.ai","url":"https://api.agentx402.ai/v1/kv/canary-kv-1785214918","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H__u5638aQ4dqNJQeiw_w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads a value from an agent-native, client-side encrypted key-value store at a specific key, paid per-request via x402 micropayment","exampleAgentPrompt":"Read the value stored under key 'canary-kv-1785214918' from my AgentKV store — use my wallet as the namespace and pay the read fee automatically.","exampleUseCases":[{"title":"Retrieve persisted agent session state","prompt":"Fetch the session config I saved earlier in AgentKV under the key 'canary-kv-1785214918' — my wallet is the namespace, just pay the micropayment and give me the decrypted value."},{"title":"Read shared secret between agents","prompt":"Pull the shared secret stored at key 'canary-kv-1785214918' in AgentKV — decrypt it on my end and show me what's there."},{"title":"Load stored API credentials at runtime","prompt":"I saved some credentials in my AgentKV store under 'canary-kv-1785214918' — retrieve and decrypt them so I can use them in my next task."}],"resultDescription":"Returns the stored value associated with the requested key within the caller's wallet-namespaced AgentKV store. The value was encrypted client-side at write time, so the agent must decrypt it locally. Response includes the encrypted blob or decrypted value depending on SDK/client handling. Returns a 402 Payment Required if payment was not attached, or a 404/empty if the key does not exist.","failureModes":["402 Payment Required — x402 micropayment header missing or insufficient; agent must attach $0.003 USDC payment","404 Not Found — key does not exist in the namespace or namespace mismatch (wrong wallet)","401 Unauthorized — ak_ account key invalid or expired","Decryption failure — client-side: key was written by a different keypair","Rate limiting or credit exhaustion if using prepaid credit account"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to read back a value it (or another authorized agent) previously stored, without any signup or API key — just a wallet or ak_ key and a $0.003 USDC micropayment. Ideal for agent memory, shared secrets, runtime configuration, or cross-agent state passing where privacy (client-side encryption) and permissionless access are required. Prefer this over traditional KV stores or secret managers when operating in a serverless, wallet-native, or x402-compatible agent environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:47:48.733Z","isFirstParty":false}