API keys

Upload from code

Your key authenticates uploads to the storage gateway. Keep it private, anyone with it can store and delete files on your account.

You do not have an API key yet. Create one to start uploading, no wallet needed.

Store a file

      

Returns the file as JSON with its id, Merkle root and term. Send X-Merkle-Root with your own root and the gateway refuses to store anything that does not match.

List, fetch and prove

      

Proofs return one 4 KiB chunk with its Merkle path, so a client can check storage without downloading the whole file.

Endpoints
MethodPathWhat it does
GET/api/v1/statusNode capacity, limits and hashing parameters. No key.
POST/api/v1/filesStore a raw body. Headers: X-Filename, X-Privacy, X-Merkle-Root, X-Mime.
GET/api/v1/filesFiles on your account.
GET/api/v1/files/:idPublic metadata, anchor status and the memo to sign.
GET/api/v1/files/:id/contentThe stored bytes, with an X-Merkle-Root header.
GET/api/v1/files/:id/proof?index=nOne chunk and its Merkle proof.
POST/api/v1/files/:id/renewExtend the term by 30 days.
POST/api/v1/files/:id/anchorSubmit a Solana memo signature for verification.
DELETE/api/v1/files/:idRemove the bytes from the node.
GET/api/v1/proofsThe public proof ledger.