store

STORE: upload a file (any bytes) in a single paid call...

STORE: upload a file (any bytes) in a single paid call, scoped to YOUR wallet. Send the file base64-encoded in data with an optional contentType; we store it privately and key it to your payer address. Read it back with store.blob-get. Up to 3 MB per file (one-call limit); 50 MB total per wallet across kv/documents/vectors/files. Kept on a rolling 90-day window that resets on every touch. There is NO public URL — only paid store.blob-get can read it, so your bytes are never fetchable without payment. No account or API key.

post/api/store/blob-put

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/store/blob-put
  • Auth: API key in header PAYMENT-SIGNATURE

Request body

nsstring required

Namespace to group blobs, 1-64 chars of [A-Za-z0-9._:-]. e.g. "uploads".

keystring required

Key within the namespace, up to 256 chars. e.g. "snapshot-42.json".

datastring required

The file bytes, base64-encoded. Decoded size up to 3 MB.

contentTypestring

MIME type to return on read. e.g. "application/json", "image/png". Default application/octet-stream.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.