vault

Read one head's exact stored bytes

Serves the head object byte-identical so the client can verify its signature and linkage itself. X-Run402-Stored-Bytes-Sha256 carries the digest of what was served. Immutable — safe to cache privately forever.

get/vaults/v1/{vault_id}/heads/{generation}

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/vaults/v1/{vault_id}/heads/{generation}
  • Auth: one of:
    • API key in header SIGN-IN-WITH-X
    • HTTP bearer
    • HTTP bearer

Path parameters

vault_idstring required

The vault id (src_<32 hex>); the wire field is repo_id (protocol D185).

generationstring required

16 lowercase hex.

Headers

SIGN-IN-WITH-Xstring required

SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.

Response

The exact stored head bytes

object required

Changes

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