Skip to content
Sign in Create account

Get a public transparency seed proof

GET /api/transparency/seeds/{index}/proof

Returns the hash-chain inclusion path for a leaf hash at the selected seed index. leaf must be a SHA-256 hexadecimal digest. Limited to 120 requests per minute.

This operation needs no authentication.

Parameters

  • index integer path required
    Range: at least 0
  • leaf string query required
    Pattern: ^[a-fA-F0-9]{64}$

Responses

200 The signed hash-chain inclusion path and whether the leaf is included.

Response headers

  • Cache-Control string header

    The signed response may be cached for 30 seconds and must be revalidated.

  • X-CloakAPI-Transparency-Kid string header

    Identifier of the key used to sign this response.

  • X-Content-Type-Options string header

    Prevents browsers from interpreting the response as another media type.

application/json object

  • seed_index integer required
    Range: at least 0
  • merkle_root string required
    Length: at least 1 characters
  • leaf string required
    Pattern: ^[a-fA-F0-9]{64}$
  • included boolean required
  • algorithm string required
    Value: "sha256-chain-v1"
  • path array of object required

    Each item:

    • seed_hash string required
      Pattern: ^[a-fA-F0-9]{64}$
    • parent_hash string or null required

Generated sample

{
  "seed_index": 0,
  "merkle_root": "string",
  "leaf": "string",
  "included": true,
  "algorithm": "sha256-chain-v1",
  "path": [
    {
      "seed_hash": "string",
      "parent_hash": "string"
    }
  ]
}
404 No public seed exists at this index.

application/json object

  • error object required
    • code string required
      Value: "not_found"
    • message string required
422 The leaf value is missing or is not a SHA-256 hexadecimal digest.

application/json object

  • error object required
    • code string required
      Value: "invalid_leaf"
    • message string required
429 The route rate limit was exceeded.

Response headers

  • Retry-After string header

    Seconds until another request may be made.

  • X-RateLimit-Scope string header

    The request route and its origin share this limit.

application/json object

  • error object required
    • code string required
      Value: "too_many_attempts"
    • scope string required
      Value: "route"
    • message string required
    • retry_after_s integer required
      Range: at least 1

text/html string