{"uid":"cap_ubQWidHNhPM8JQSVPrBDQ","slug":"agentkv-read-key-get-16010b0f","name":"AgentKV – Read Key (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/smoke-2026-07-30","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_JKv01iUHWJtARgxzVPfzG","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 (retrieves) a value from an agent-native encrypted key-value store using x402 micropayments, with no signup or API key required.","exampleAgentPrompt":"Read back the value stored under the key 'smoke-2026-07-30' in my AgentKV store — my wallet is my namespace and I want the decrypted result.","exampleUseCases":[{"title":"Retrieve agent memory between sessions","prompt":"Fetch the value stored under 'user-preferences-alice' from my AgentKV store so you can remember her settings from the last session."},{"title":"Load saved task state for resuming work","prompt":"Pull the 'task-queue-state' key from AgentKV so we can pick up the pipeline where it left off yesterday."},{"title":"Read shared config used by multiple agents","prompt":"Get the value for 'shared-config-v3' from the AgentKV store — my ak_ account key is the namespace — so all my sub-agents have the latest settings."}],"resultDescription":"Returns the stored (client-side encrypted) value associated with the requested key within the caller's wallet or ak_ account namespace. On success, the response includes the value payload and any associated metadata. Costs $0.003 USDC per read, deducted via x402 micropayment.","failureModes":["Key not found (404) — the requested key does not exist in the namespace","Insufficient payment or payment failure via x402 (402) — wallet has no funds or payment is rejected","Unauthorized namespace access — wrong wallet or ak_ key used, returning 401/403","Rate limit or quota exceeded if credits are exhausted","Malformed request (400) — invalid method or missing required fields"],"whenToPreferThis":"Choose this endpoint when an AI agent needs lightweight, encrypted, persistent key-value reads with zero onboarding friction — no API key, no account signup, just a crypto wallet as the identity/namespace. It is ideal for agent memory, state persistence between sessions, and multi-agent shared configuration. Prefer it over traditional KV stores when micropayment-native access (x402) and client-side encryption are requirements, or when you want pay-per-use pricing at $0.003/read (or cheaper with prepaid credits).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:48:32.680Z","isFirstParty":false}