{"uid":"cap_OGw-mfdAnDK-GpCI8FXKH","slug":"agent402-tools-memory-namespace-grant-91b6c4ca","name":"agent402.tools Memory Namespace Grant","description":"Share your namespace with another wallet so different agents can coordinate through it. Grant read or readwrite access to a grantee wallet, optionally with a TTL. This is the cross-agent sharing a single agent cannot provide for itself.","url":"https://agent402.tools/api/memory/grant","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"type":"string","description":"\"read\" or \"readwrite\""},"grantee":{"type":"string","description":"0x wallet to grant access to"},"ttlSeconds":{"type":"number","description":"Optional: auto-expire the grant"}}},"responseSchema":{"type":"json","example":{"mode":"readwrite","owner":"0x…","grantee":"0x1111…","expiresAt":1760086400}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a_rMGGFCst20nl7PNz5II","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Grants another wallet read or readwrite access to your agent memory namespace, enabling cross-agent coordination with optional time-to-live expiration.","exampleAgentPrompt":"Grant wallet 0xAbC123...def readwrite access to my memory namespace, and make it expire after 3600 seconds so the other agent can coordinate with me temporarily.","exampleUseCases":null,"resultDescription":"A confirmation that the access grant has been recorded, indicating the grantee wallet address, the access mode (read or readwrite), and whether a TTL was applied to auto-expire the grant.","failureModes":["Invalid grantee wallet address format returns a 400 error","Invalid mode value (not 'read' or 'readwrite') returns a 400 validation error","Missing required fields returns a 400 error","Unauthorized caller (no valid x402 payment or wrong namespace owner) returns a 402 or 401 error","TTL value out of acceptable range may return a 422 error","Namespace does not exist or caller has no ownership returns a 403 error"],"whenToPreferThis":"Use this endpoint when you need two or more distinct wallet-based agents to coordinate through a shared memory namespace — especially when you want time-bounded or permanently delegated access. Prefer this over manual state-passing when agents operate asynchronously or independently and need a shared source of truth.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:04.657Z","isFirstParty":false}