{"uid":"cap_t7u-thuackVAUCW6OMoAf","slug":"agentrxi-file-hosting-65db1290","name":"AgentRXI File Hosting","description":"File hosting: upload a file (text, base64 or copy from a URL) and get a public link that lasts up to 7 days. Images, PDF, text, Markdown, CSV, JSON and audio up to 1 MB. Served safely sandboxed. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/files?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","required":["name"],"properties":{"url":{"type":"string","description":"Copy a public file"},"days":{"type":"integer","description":"1 to 7 (default 7)"},"name":{"type":"string","description":"File name with extension, e.g. report.pdf"},"text":{"type":"string"},"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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Nv5HuGVgWrKsSwNPsEeYT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Upload a file (text, base64-encoded, or copied from a URL) and receive a public link valid for up to 7 days","exampleAgentPrompt":"Can you upload this markdown report as 'summary.md' and give me a public link that stays live for 3 days?","exampleUseCases":[{"title":"Share generated CSV report","prompt":"I just generated this CSV data — can you host it as 'sales_report.csv' and give me a public download link that lasts 5 days?"},{"title":"Rehost image from external URL","prompt":"Copy this public image at https://example.com/chart.png and give me a new hosted link for it named 'chart.png' that I can share safely, keep it for 7 days."},{"title":"Publish JSON config for teammate","prompt":"Host this JSON text as 'config.json' and send me a public URL my teammate can access — it just needs to last 2 days."}],"resultDescription":"A public URL pointing to the hosted file, accessible without authentication, valid for the specified number of days (1–7, default 7). The file is served in a sandboxed environment supporting images, PDFs, text, Markdown, CSV, JSON, and audio up to 1 MB.","failureModes":["File exceeds 1 MB limit — request rejected","Unsupported file type — only images, PDF, text, Markdown, CSV, JSON, audio are accepted","Invalid base64 encoding — malformed content error","Source URL unreachable when copying from URL","Missing required 'name' parameter — request rejected","Days parameter out of range (must be 1–7)","Payment not provided or insufficient — x402 payment required"],"whenToPreferThis":"Use this endpoint when you need a quick, temporary public URL for a small file (under 1 MB) without setting up your own storage infrastructure. Ideal for sharing AI-generated reports, configs, or media with external parties for a short window. Choose this over general cloud storage when you want zero-setup ephemeral hosting with automatic expiry and no authentication required on the consumer side.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:42.130Z","isFirstParty":false,"canonicalSlug":"agentrxi-file-hosting-65db1290"}