{"uid":"cap_byWVX0rirezjg7mlrS1tW","slug":"agentrxi-file-storage-dd44e864","name":"AgentRXI File Storage","description":"File storage for agents on R2 with share links. Upload (base64, text or copy from a URL, up to 95 MB; up to 5 GB with upload_large), renew, get, list or delete. Priced by size and time: $0.002 per started 10 MB per week (above 100 MB $0.05 per GB-week); scratch files kept 1-24 hours from $0.002. Downloads are free. Files are private to the paying wallet. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/storage?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","properties":{"id":{"type":"string","description":"For renew/get/delete"},"url":{"type":"string","description":"Copy a file from this URL (set max_mb)"},"name":{"type":"string"},"text":{"type":"string"},"action":{"type":"string","description":"put (default), upload_large, renew, get, list, delete"},"max_mb":{"type":"number"},"size_mb":{"type":"number","description":"Total size for upload_large or renew"},"content_type":{"type":"string"},"expires_days":{"type":"integer","description":"1-365, default 7"},"expires_hours":{"type":"integer","description":"1-24: scratch tier"},"content_base64":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7tl25qn8F81rVCXj28MUT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Upload, retrieve, list, renew, or delete files on R2 cloud storage with shareable links, priced by size and duration","exampleAgentPrompt":"Upload this PDF (base64 encoded) to AgentRXI file storage, name it 'quarterly-report.pdf', set content type to application/pdf, and keep it for 14 days — then give me back the share link.","exampleUseCases":[{"title":"Agent intermediate data handoff","prompt":"Save this JSON blob as 'pipeline-output.json' in AgentRXI storage for 7 days so the next stage of my workflow can fetch it by ID later."},{"title":"Temporary scratch file for processing","prompt":"Store this CSV text as a scratch file named 'temp-data.csv' for 3 hours — I just need it short-term while my agent processes it."},{"title":"Mirror a public file for reliable access","prompt":"Copy the file at https://example.com/dataset.zip into AgentRXI storage, cap it at 50 MB, and keep it for 30 days so I have a stable private copy."}],"resultDescription":"Returns a JSON object containing the file ID, a private share link, file size, content type, expiry timestamp, and action confirmation. For 'list' actions, returns an array of file metadata records. For 'get', returns file content or a redirect to the file.","failureModes":["File exceeds 95 MB limit for standard upload (use upload_large instead)","Invalid base64 encoding causes upload failure","Source URL unreachable or too large for URL-copy action","File ID not found for get/renew/delete operations","Insufficient wallet balance for the storage cost","expires_hours or expires_days out of allowed range"],"whenToPreferThis":"Choose this endpoint when an AI agent needs durable or temporary file storage accessible by ID across workflow steps, especially when sharing files between agents or persisting intermediate results. Ideal for agentic pipelines that need to hand off binary or text data without embedding it inline. Prefer over generic cloud storage SDKs when operating in a pay-per-use x402 micropayment context without needing account credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:14.928Z","isFirstParty":false,"canonicalSlug":"agentrxi-file-storage-dd44e864"}