{"uid":"cap_SRCJpqZlHUhg5twEEQ93j","slug":"agent-memory-api-package-context-b236505e","name":"Agent Memory API – Package Context","description":"Pay-per-request encrypted memory APIs for autonomous AI agents using x402. Store, recall, and audit AI agent memory with AES-256 encryption. Built for USDC/Base payments and Japanese AI agent workflows.","url":"https://agent-memory-api-bix5.onrender.com/api/context/package","method":"POST","headers":{},"bodySchema":{"type":"object","required":["project_id"],"properties":{"project_id":{"type":"string"},"summary_level":{"type":"string"},"include_memories":{"type":"boolean"}}},"responseSchema":{"type":"object","title":"PackageContextResponse","required":["context_package","next_recommended"],"properties":{"context_package":{"type":"object","title":"Context Package","additionalProperties":true},"next_recommended":{"type":"object","title":"NextRecommendation","required":["api_name","url","reason","expected_improvement","price_usdc"],"properties":{"url":{"type":"string","title":"Url"},"reason":{"type":"string","title":"Reason"},"api_name":{"type":"string","title":"Api Name"},"price_usdc":{"type":"number","title":"Price Usdc"},"expected_improvement":{"type":"string","title":"Expected Improvement"}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bFoA8VrTxlV793KWRWcwJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Packages and retrieves the full encrypted memory context for an AI agent project, including stored memories and next recommended action.","exampleAgentPrompt":"Package up all the encrypted memory context for my agent project with ID 'proj_abc123', include the stored memories, and give me a full summary — I want to see everything the agent knows before it picks up the next task.","exampleUseCases":null,"resultDescription":"Returns a context_package object containing the bundled encrypted memories and project context, plus a next_recommended object specifying the best next API to call (name, URL, reason, expected improvement, and price in USDC).","failureModes":["Missing project_id returns 422 validation error","Unknown or inaccessible project_id returns 404 not found","Payment not provided or insufficient USDC balance returns 402 payment required","Server cold-start on Render may cause intermittent latency or 503 timeouts","Invalid summary_level value may return 400 bad request"],"whenToPreferThis":"Use this endpoint when an AI agent needs to reconstitute its full memory context before continuing a task, resuming a session, or handing off to another agent. Ideal for workflows that require auditing what an agent has stored or preparing a bundled context package before the next action. Best suited for projects already using the Agent Memory API ecosystem with USDC/Base payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:32:57.254Z","isFirstParty":false}