# AgentRXI File Hosting

> AgentRXI File Hosting is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Upload a file (text, base64-encoded, or copied from a URL) and receive a public link valid for up to 7 days

## Facts

- Endpoint: GET https://agentrxi.com/v1/files?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-file-hosting-65db1290
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t7u-thuackVAUCW6OMoAf

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 agentrxi-file-hosting-65db1290
```

Example prompt: Can you upload this markdown report as 'summary.md' and give me a public link that stays live for 3 days?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## 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"
    },
    "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-file-hosting-65db1290/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
