Content

Retrieve verified bytes by content address

Public: no authentication required. Content addressed retrieval. Looks up the providers holding the given Merkle root, fetches the bytes from each replica in turn, and verifies them against the root before returning the first verified copy. Because the response is committed to by its Merkle root it is immutable: a strong ETag of the root and a one year immutable Cache-Control are returned, and If-None-Match yields 304. GET /api/v1/content/{root} is an identical alias.

GET/content/{root}Try it
iNote
No auth required — this endpoint is public and needs no Authorization header.

Path parameters

NameInTypeDescription
rootrequiredpathstringThe keccak256 Merkle root (content id) of the stored file.

Headers

NameInTypeDescription
If-None-MatchheaderstringSend the strong ETag (the root) to receive 304 when unchanged.

Errors

CodeMeaning
404Unknown root, or no provider returned verified bytes.
cURL
curl https://gateway.kepto.xyz/content/<root>
200

Verified raw bytes.

application/octet-stream