# KEVAREMESH File Hosting Upload & Storage

> KEVAREMESH File Hosting Upload & Storage is a paid API for AI agents from kevaremesh-web.vercel.app, paid per call via x402, $0.001/call, status down (last checked 2026-10-03).

Upload a base64-encoded file (up to 1 MiB) and receive a time-limited signed URL for retrieval, with configurable TTL and MIME-type validation.

## Facts

- Endpoint: POST https://kevaremesh-web.vercel.app/api/x402/file-hosting-upload-storage?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kevaremesh-file-hosting-upload-storage-6f3301b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rhSoOriVZ__Ua2E0ZTVs6

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 kevaremesh-file-hosting-upload-storage-6f3301b5 -d '<json body>'
```

Example prompt: Host this JSON file for me — encode this content as base64, set the filename to 'report.json', mark it as application/json, and keep it available for 2 hours so I can share the signed download link.

## When to prefer this

Choose this endpoint when an AI agent needs to temporarily stage a file (JSON, CSV, plain text, PNG, JPEG, or WebP) and share it via a signed URL with a controlled expiry window of 5 minutes to 24 hours. Ideal for agent-to-agent handoffs, ephemeral result exports, or lightweight file delivery without needing a full cloud storage setup. Best for files under 1 MiB where pay-per-use pricing ($0.005 USDC) is acceptable over a persistent storage subscription.

## Known failure modes

- File exceeds 1 MiB decoded size — request rejected
- Declared content_type does not match actual byte signature — validation failure
- ttl_seconds outside 300–86400 range — schema validation error
- Invalid base64 encoding in content_base64 — parse error
- Payment not received or insufficient USDC — 402 Payment Required
- Unsupported MIME type not in allowed enum — rejected

## How this service works

Buyer-first MCP procurement gateway that discovers, compares and routes live x402 APIs without making the buyer choose a provider.

## Output

A JSON object containing a signed download URL, file size in bytes, SHA-256 hash of the content, the filename, the content type, and an ISO-8601 expiry timestamp. Also includes the product name, service name, and a tool_name field for agent use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "filename": {
   "type": "string",
   "maxLength": 120
  },
  "ttl_seconds": {
   "type": "integer",
   "default": 3600,
   "maximum": 86400,
   "minimum": 300
  },
  "content_type": {
   "enum": [
    "application/json",
    "text/plain",
    "text/csv",
    "image/png",
    "image/jpeg",
    "image/webp"
   ],
   "type": "string"
  },
  "content_base64": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "url": "https://signed.example/object",
   "bytes": 128,
   "sha256": "sha256_hex",
   "filename": "result.json",
   "expires_at": "2026-09-18T01:00:00.000Z",
   "content_type": "application/json",
   "retention_seconds": 3600
  },
  "product": "kevaremesh_file_hosting_upload_storage_v2",
  "service": "KEVAREMESH",
  "tool_name": "kevaremesh_host_file",
  "limitations": [
   "Maximum file size 1 MiB"
  ],
  "generated_at": "2026-09-18T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kevaremesh-file-hosting-upload-storage-6f3301b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kevaremesh-web.vercel.app](https://www.zero.xyz/host/kevaremesh-web.vercel.app/llms.txt)
