{"uid":"cap_rhSoOriVZ__Ua2E0ZTVs6","slug":"kevaremesh-file-hosting-upload-storage-6f3301b5","name":"KEVAREMESH File Hosting Upload & Storage","description":"Buyer-first MCP procurement gateway that discovers, compares and routes live x402 APIs without making the buyer choose a provider.","url":"https://kevaremesh-web.vercel.app/api/x402/file-hosting-upload-storage?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"filename":{"type":"string","maxLength":120},"ttl_seconds":{"type":"integer","default":3600,"maximum":86400,"minimum":300},"content_type":{"enum":["application/json","text/plain","text/csv","image/png","image/jpeg","image/webp"],"type":"string"},"content_base64":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":{"url":"https://signed.example/object","bytes":128,"sha256":"sha256_hex","filename":"result.json","expires_at":"2026-09-18T01:00:00.000Z","content_type":"application/json","retention_seconds":3600},"product":"kevaremesh_file_hosting_upload_storage_v2","service":"KEVAREMESH","tool_name":"kevaremesh_host_file","limitations":["Maximum file size 1 MiB"],"generated_at":"2026-09-18T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6vHMduIzcJmEkmSnHtuNw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Upload a base64-encoded file (up to 1 MiB) and receive a time-limited signed URL for retrieval, with configurable TTL and MIME-type validation.","exampleAgentPrompt":"Host this JSON file for me — encode this content as base64, set the filename to 'report.json', mark it as application/json, and keep it available for 2 hours so I can share the signed download link.","exampleUseCases":[{"title":"Agent pipeline artifact handoff","prompt":"Take the CSV output from the analysis step, upload it as a text/csv file named 'analysis_output.csv', and keep the download link live for 90 minutes so the next agent in the pipeline can grab it."},{"title":"Temporary image sharing","prompt":"I need to share this PNG screenshot with a collaborator — upload it as image/png with the filename 'screenshot.png' and make the signed link valid for 6 hours."},{"title":"Short-lived JSON result export","prompt":"Store this JSON payload as 'results.json' with content type application/json and set it to expire after 30 minutes — then give me the signed URL and the SHA-256 hash so I can verify integrity."}],"resultDescription":"A JSON object containing a signed download URL, file size in bytes, SHA-256 hash of the content, the filename, the content type, and an ISO-8601 expiry timestamp. Also includes the product name, service name, and a tool_name field for agent use.","failureModes":["File exceeds 1 MiB decoded size — request rejected","Declared content_type does not match actual byte signature — validation failure","ttl_seconds outside 300–86400 range — schema validation error","Invalid base64 encoding in content_base64 — parse error","Payment not received or insufficient USDC — 402 Payment Required","Unsupported MIME type not in allowed enum — rejected"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to temporarily stage a file (JSON, CSV, plain text, PNG, JPEG, or WebP) and share it via a signed URL with a controlled expiry window of 5 minutes to 24 hours. Ideal for agent-to-agent handoffs, ephemeral result exports, or lightweight file delivery without needing a full cloud storage setup. Best for files under 1 MiB where pay-per-use pricing ($0.005 USDC) is acceptable over a persistent storage subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T06:25:12.106Z","isFirstParty":false,"canonicalSlug":"kevaremesh-file-hosting-upload-storage-6f3301b5"}