{"uid":"cap_0l0fq4E8D2e5wiyOopNud","slug":"gedx402-agent-memory-ingest-375867d4","name":"GEDX402 Agent Memory Ingest","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://browser.gedx402.com/v1/recipes/agent-memory-ingest","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","description":"Optional R2 object key for persisted markdown (default extract/{uuid}.md)."},"url":{"type":"string","description":"HTTPS URL to scrape and ingest."},"budget":{"type":"object","properties":{"max_queries":{"type":"integer","maximum":256,"minimum":0},"max_exec_ops":{"type":"integer","maximum":64,"minimum":0}},"description":"Optional memory session budget forwarded to memory/sessions step."}}},"responseSchema":{"type":"json","example":{"recipe":"agent-memory-ingest","credits":{"queries_remaining":5,"exec_ops_remaining":3},"artifacts":{"scrape":{"markdown":"# Example\n\nPage content."},"persist":{"key":"extract/my-page.md","get_url":"https://storage.gedx402.com/v1/objects/extract/my-page.md"}},"session_token":"abc123…","completed_steps":["scrape","persist","memory/sessions"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.98","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.98/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.98","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.98","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_12DEJIvTCJz717RVmGQ1E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.98","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scrapes a URL, converts it to markdown, persists it to object storage, and initializes a memory session for agent use — paid with USDC via x402, no API key required.","exampleAgentPrompt":"Scrape https://docs.example.com/intro and ingest it into agent memory — store it as extract/intro-docs.md and allow up to 10 queries and 5 exec ops in the session.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the recipe name, scraped markdown content, a persisted object key and its public GET URL in R2 storage, a session token for follow-up memory queries, remaining credit counts (queries and exec ops), and a list of completed pipeline steps (scrape, persist, memory/sessions).","failureModes":["Invalid or unreachable URL returns scrape failure with no markdown artifact","Insufficient USDC payment triggers 402 Payment Required before processing begins","Budget values exceeding schema limits (max_queries > 256, max_exec_ops > 64) cause validation errors","R2 object key conflicts may overwrite existing persisted content silently","Session credits exhausted before pipeline completes may return partial step results","Non-HTTPS URLs are rejected per input schema constraint"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to build persistent, queryable memory from live web content without managing API keys or traditional auth — particularly when paying with USDC on Base, Polygon, Arbitrum, World, or Solana. It is ideal for pipelines that scrape, store, and then recall webpage content across agent sessions via session tokens.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-08-24T04:46:23.672Z","isFirstParty":false}