# Citiview File Hosting – Upload & Share Files

> Citiview File Hosting – Upload & Share Files is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

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

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/files?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-file-hosting-upload-share-files-c6e1b714
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_stT3e4JgCmCHhvzBeyaM1

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 citiview-file-hosting-upload-share-files-c6e1b714
```

Example prompt: Can you host this CSV text for me as a public file called 'sales_report.csv' and give me a shareable link that lasts 3 days?

## When to prefer this

Use this endpoint when you need a quick, temporary public URL for a small file (text, PDF, CSV, JSON, Markdown, image, or audio) without setting up persistent storage infrastructure. Ideal for sharing agent-generated outputs, passing files between services via URL, or making a file accessible to a third party for up to 7 days. Prefer this over permanent storage when the file is ephemeral and the 1 MB limit is acceptable.

## Known failure modes

- File exceeds 1 MB size limit — request rejected
- Unsupported file type provided — not accepted
- Invalid base64 encoding — file cannot be decoded
- Source URL is inaccessible or returns non-2xx — copy fails
- Missing required 'name' field — request fails validation
- Days value out of range (must be 1–7) — validation error

## 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

Returns a public URL to the hosted file that remains accessible for the specified number of days (1–7), served in a sandboxed environment. Supported file types include images, PDFs, text, Markdown, CSV, JSON, and audio files 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/citiview-file-hosting-upload-share-files-c6e1b714/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
