# AI Agent Hub File Download

> AI Agent Hub File Download is a paid API for AI agents from ai-agent-hub-backend-odzo.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Downloads a previously stored file by its fileId from the AI Agent Hub storage service

## Facts

- Endpoint: GET https://ai-agent-hub-backend-odzo.onrender.com/api/storage/:id?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-agent-hub-file-download-a51284a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qccS0fxU7sgW4arlhROJ1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ai-agent-hub-file-download-a51284a5
```

Example prompt: Can you download the file with ID abc123 from my AI Agent Hub storage and give me its contents?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Download a previously stored file by its fileId

## Output

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.).

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-agent-hub-file-download-a51284a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-agent-hub-backend-odzo.onrender.com](https://www.zero.xyz/host/ai-agent-hub-backend-odzo.onrender.com/llms.txt)
