{"uid":"cap_0kkYs5NzTvt826aTKGiPZ","slug":"tanship-payai-console-ai-memory-add-f2c2ec0b","name":"Tanship PayAI Console — AI Memory Add","description":"Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.","url":"https://x402.tanship.dev/v1/ai/memory/add?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x1oNNAT5-0UaUuOyPxD9V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Stores a new memory entry for an AI agent via a payment-gated HTTP endpoint using the x402 micropayment protocol on Base USDC.","exampleAgentPrompt":"Remember that my preferred meeting time is Tuesday mornings — store that as a memory so you can recall it in future sessions.","exampleUseCases":[{"title":"Persist user preferences for agent recall","prompt":"Store a memory that I prefer responses in bullet points and always want citations included — save that so you remember it every time we talk."},{"title":"Save research finding for later sessions","prompt":"Remember that the Q3 2024 revenue figure for Acme Corp is $4.2 million — add that to your memory so you can reference it in future conversations."},{"title":"Record task context mid-workflow","prompt":"Save a memory that the current project deadline is December 15th and the main stakeholder is Sarah in product — I want you to have that context next time without me repeating it."}],"resultDescription":"A confirmation response indicating the memory entry was successfully created and stored, returned after the x402 USDC micropayment on Base is processed. The response body typically confirms the stored memory record.","failureModes":["Payment not included or invalid x402 header — returns HTTP 402 Payment Required","Malformed request body (missing required 'input' fields) — returns HTTP 400 Bad Request","Insufficient USDC balance on Base — payment rejected, 402 returned","Network or chain congestion causing payment verification delay","Body type mismatch (e.g., sending text instead of json) — schema validation error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to persistently store a memory or context entry and you are operating within the Tanship PayAI ecosystem using x402 micropayments on Base USDC. Prefer this over in-session context when you need cross-session recall without managing your own database, and when cost-per-write at $0.005 USDC is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:46:19.988Z","isFirstParty":false,"canonicalSlug":"tanship-payai-console-ai-memory-add-f2c2ec0b"}