← Back to directory

Use when an agent must publish or unpublish a stored file. Pay from the wallet t...

https://1gateway.dev/v1/files/visibility

Overview

Use when an agent must publish or unpublish a stored file. Pay from the wallet that uploaded it (Base or Monad USDC). Input: id, visibility (public or private). Output: the file with its url if now public. Public files download from 1storage.dev without a signature; private ones need /v1/files/sign. Missing file: 404, not charged. Example: ?id=0123456789abcdef0123456789abcdef&visibility=public

Protocol x402
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/wallet
Provider Agent File Storage
Source bazaar
Indexed 2026-11-09 18:08:03

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "id": "0123456789abcdef0123456789abcdef", "visibility": "public" }, "type": "http" }

Output Schema

{ "example": { "createdAt": "2026-11-09T00:00:00.000Z", "expiresAt": "2026-11-16T00:00:00.000Z", "filename": "daily.csv", "id": "0123456789abcdef0123456789abcdef", "mime": "text/plain; charset=utf-8", "previousVisibility": "private", "sha256": "80312ab29f0582e42ef04801cacc55ec9c6c3b8111d012d2d137cfa4253ca817", "size": 62, "status": "updated", "url": "https://1storage.dev/f/0123456789abcdef0123456789abcdef", "visibility": "public" }, "type": "json" }