{"uid":"cap_qccS0fxU7sgW4arlhROJ1","slug":"ai-agent-hub-file-download-a51284a5","name":"AI Agent Hub File Download","description":"Download a previously stored file by its fileId","url":"https://ai-agent-hub-backend-odzo.onrender.com/api/storage/:id?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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"string"}}}}},"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_gPMD_tOSn-xR1792V3vG2","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":"Downloads a previously stored file by its fileId from the AI Agent Hub storage service","exampleAgentPrompt":"Can you download the file with ID abc123 from my AI Agent Hub storage and give me its contents?","exampleUseCases":[{"title":"Retrieve agent-generated report","prompt":"Fetch the report file I stored earlier with file ID rpt-789 from AI Agent Hub storage and show me what's in it."},{"title":"Access uploaded configuration file","prompt":"I saved a config file to AI Agent Hub storage yesterday — its file ID is cfg-4521. Can you pull it down so I can review the settings?"},{"title":"Pipeline output retrieval","prompt":"My automated workflow stored its output with file ID output-2024-07-15-run3 on AI Agent Hub. Can you download that file so I can check the results?"}],"resultDescription":"Returns the raw binary or text content of the previously stored file associated with the given fileId. The response contains the file's data as stored, which may be any file type (text, JSON, binary, etc.).","failureModes":["File not found — if the fileId does not exist or has been deleted, expect a 404 response","Invalid fileId format — malformed or missing ID returns a 400 error","Payment failure — if the x402 micropayment of $0.01 USDC is not processed, the request is rejected","Service unavailable — the Render-hosted backend may be cold-starting and return a timeout"],"whenToPreferThis":"Use this endpoint when you have a specific fileId from a prior storage operation on AI Agent Hub and need to retrieve that exact file. It is a straightforward single-file retrieval by ID, ideal for pipelines where files are written and later read back. Prefer this over generic cloud storage solutions when already operating within the AI Agent Hub ecosystem and comfortable with x402 micropayment-gated access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:36:23.589Z","isFirstParty":false,"canonicalSlug":"ai-agent-hub-file-download-a51284a5"}