{"uid":"cap_AMtuvlBv-z6IukTrsNznx","slug":"agentkv-encrypted-key-value-read-get-b5cc0814","name":"AgentKV – Encrypted Key-Value 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/mainnet-validation-2026-07-26","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_4mq9JyNVF0GjZGPy4gZMG","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 stored value from an agent-native, client-side encrypted key-value store, billed per-request via x402 micropayment with no signup or API key required.","exampleAgentPrompt":"Fetch the value stored under the key 'session-config' from my AgentKV namespace — my wallet is the namespace identifier and I want the decrypted result back.","exampleUseCases":[{"title":"Retrieve persistent agent configuration","prompt":"Read back the config I stored in AgentKV under the key 'agent-settings' — use my wallet as the namespace and return the decrypted value."},{"title":"Fetch stored API credentials at runtime","prompt":"My agent needs to look up the value stored at key 'openai-key' in AgentKV — retrieve it from my encrypted namespace so the agent can use it without me hardcoding anything."},{"title":"Load saved workflow state mid-task","prompt":"The agent got interrupted — can you read the key 'workflow-checkpoint' from AgentKV in my wallet's namespace so we can resume from where we left off?"}],"resultDescription":"Returns the decrypted value associated with the requested key in the caller's wallet-scoped namespace. The response contains the stored payload (client-side encrypted at write time, decryptable by the authorized caller). If the key does not exist or the caller lacks access, an appropriate error is returned.","failureModes":["Key not found — returns 404 if the requested key does not exist in the namespace","Unauthorized — returns 402 or 401 if the x402 payment is missing, invalid, or insufficient ($0.003 USDC required per read)","Invalid namespace — wallet address or ak_ key not recognized or malformed","Rate limiting or credit exhaustion — caller has insufficient prepaid credits and per-op payment fails","Network or service error — 500-level response if the backend is unavailable"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to read back previously stored values in a wallet-scoped, encrypted namespace without any traditional authentication (no signup, no API key). It is ideal for stateless or autonomous agents that use a crypto wallet or ak_ account key as their identity, and need persistent, encrypted state between invocations. Prefer it over traditional KV stores when you need per-request micropayment billing (x402), client-side encryption by default, and zero-friction onboarding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:32.894Z","isFirstParty":false}