{"uid":"cap_Esf3fCT8fyjbgj8tGnV1m","slug":"agentkv-read-get-encrypted-key-value-lookup-6621af46","name":"AgentKV Read (GET) — Encrypted Key-Value Lookup","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-1785255879","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__GPzqYeHfmTeekxoxOxeo","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 the agent-native encrypted key-value store for a specific key, billed per-request via x402 micropayment with no API key required.","exampleAgentPrompt":"Fetch the value stored under the key 'canary-kv-1785255879' from my AgentKV store — pay the $0.003 read fee from my wallet and return whatever's saved there.","exampleUseCases":[{"title":"Restore agent session state","prompt":"Grab the session config I stored earlier under the key 'session-context-42' in AgentKV and load it back into the current workflow."},{"title":"Load saved API credentials","prompt":"Retrieve the credentials I saved in my AgentKV store under 'openai-key-backup' so I can use them for the next task."},{"title":"Check persisted agent preference","prompt":"Look up the user preference I stored in AgentKV under 'user-pref-timezone' and tell me what timezone my agent was configured to use."}],"resultDescription":"Returns the client-side encrypted value stored at the requested key within the caller's wallet-namespaced partition. The response contains the raw (encrypted) payload that was previously written to that key, which the client can decrypt locally. If the key does not exist, an appropriate not-found response is returned.","failureModes":["Key not found — returns 404 if the key has never been written or has been deleted","Insufficient credits — payment rejected if wallet has no balance and no prepaid credits remain","Invalid key path — malformed or unauthorized key returns 400 or 403","Payment failure — x402 micropayment not processed, request blocked","Namespace mismatch — accessing a key outside the caller's wallet namespace returns 403"],"whenToPreferThis":"Choose this endpoint when an AI agent needs lightweight, pay-per-use persistent memory without any signup, API key management, or traditional account infrastructure. It is ideal for stateless agents that need to recall previously written values (configs, credentials, session state) using only a crypto wallet for identity and payment. Prefer it over traditional KV stores when the agent operates in a trustless, x402-enabled environment and encryption at rest is required by default.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:00.955Z","isFirstParty":false}