# AgentRXI File Storage

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

Upload, retrieve, list, renew, or delete files on R2 cloud storage with shareable links, priced by size and duration

## Facts

- Endpoint: GET https://agentrxi.com/v1/storage?utm_source=zero.xyz
- Price: $0.006/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-storage-dd44e864
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_byWVX0rirezjg7mlrS1tW

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-storage-dd44e864
```

Example prompt: Upload this PDF (base64 encoded) to AgentRXI file storage, name it 'quarterly-report.pdf', set content type to application/pdf, and keep it for 14 days — then give me back the share link.

## When to prefer this

Choose this endpoint when an AI agent needs durable or temporary file storage accessible by ID across workflow steps, especially when sharing files between agents or persisting intermediate results. Ideal for agentic pipelines that need to hand off binary or text data without embedding it inline. Prefer over generic cloud storage SDKs when operating in a pay-per-use x402 micropayment context without needing account credentials.

## Known failure modes

- File exceeds 95 MB limit for standard upload (use upload_large instead)
- Invalid base64 encoding causes upload failure
- Source URL unreachable or too large for URL-copy action
- File ID not found for get/renew/delete operations
- Insufficient wallet balance for the storage cost
- expires_hours or expires_days out of allowed range

## How this service works

File storage for agents on R2 with share links. Upload (base64, text or copy from a URL, up to 95 MB; up to 5 GB with upload_large), renew, get, list or delete. Priced by size and time: $0.002 per started 10 MB per week (above 100 MB $0.05 per GB-week); scratch files kept 1-24 hours from $0.002. Downloads are free. Files are private to the paying wallet. Also callable as GET with the same fields as query parameters.

## Output

Returns a JSON object containing the file ID, a private share link, file size, content type, expiry timestamp, and action confirmation. For 'list' actions, returns an array of file metadata records. For 'get', returns file content or a redirect to the file.

## 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",
     "properties": {
      "id": {
       "type": "string",
       "description": "For renew/get/delete"
      },
      "url": {
       "type": "string",
       "description": "Copy a file from this URL (set max_mb)"
      },
      "name": {
       "type": "string"
      },
      "text": {
       "type": "string"
      },
      "action": {
       "type": "string",
       "description": "put (default), upload_large, renew, get, list, delete"
      },
      "max_mb": {
       "type": "number"
      },
      "size_mb": {
       "type": "number",
       "description": "Total size for upload_large or renew"
      },
      "content_type": {
       "type": "string"
      },
      "expires_days": {
       "type": "integer",
       "description": "1-365, default 7"
      },
      "expires_hours": {
       "type": "integer",
       "description": "1-24: scratch tier"
      },
      "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-storage-dd44e864/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)
