{"uid":"cap_UskC6oT2k3XRz8Pzbt8Z1","slug":"agentkv-key-value-read-get-b0e106ee","name":"AgentKV 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/smoke-1785130642","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_crA4Or3bRc_fO30OGO9Gx","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 the value stored at a specific key in an agent-native encrypted key-value store, billed per-request via x402 micropayment with no API key required.","exampleAgentPrompt":"Read the value stored at key 'smoke-1785130642' in my AgentKV namespace — use my wallet as the namespace and return whatever was saved there.","exampleUseCases":[{"title":"Retrieve agent session state","prompt":"Fetch the value I stored earlier under key 'session-context-7842' in AgentKV so I can resume where I left off."},{"title":"Load saved agent configuration","prompt":"Read my agent's configuration from AgentKV at key 'agent-config-prod' — I need the settings I wrote there last week."},{"title":"Check stored API credential","prompt":"Pull the encrypted API token I saved in AgentKV under the key 'stripe-key-v2' so I can use it for this workflow."}],"resultDescription":"Returns the value stored at the specified key within the caller's namespace (scoped to the paying wallet or ak_ account key). The value was client-side encrypted before storage, so the agent receives the encrypted blob or, if using the SDK, the decrypted value. Returns a 404-equivalent if the key does not exist.","failureModes":["Key not found — returns error if the key has never been written or was deleted","Payment failure — x402 micropayment of $0.003 USDC rejected or insufficient balance causes request to fail","Wrong namespace — if the wallet or ak_ key used differs from the one that wrote the value, access is denied","Decryption failure — if the client-side encryption key is lost or mismatched, the raw ciphertext is unreadable","Rate limits or credit exhaustion — prepaid credits depleted returns an error before serving the request"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to read back data it previously stored in a persistent, encrypted, per-agent namespace without any signup or API key — ideal for stateless agent workflows that need cross-session memory, credential storage, or configuration retrieval, paid via x402 micropayments. Prefer this over traditional KV stores (Redis, DynamoDB) when operating in a wallet-native, no-auth-setup environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:31.585Z","isFirstParty":false}