---
title: "The signed tree head of the evidence log"
method: GET
path: "/api/v2/evidence/head"
tags: ["Evidence"]
---

# The signed tree head of the evidence log

`GET /api/v2/evidence/head`

## Request

- Base URL: `https://api.riskrouter.eu`
- URL: `https://api.riskrouter.eu/api/v2/evidence/head`
- Auth: none declared

Save it: every later head must be consistent with it.

## Response `200`

The signed head.

- SignedEvidenceHead
  - `ok` boolean
  - `format` 'riskrouter-evidence-head|v2'
  - `head` EvidenceHead
    - `tree_size` integer, required
    - `root_hash` string, required
    - `timestamp` string, date-time, required
  - `signature` object: ECDSA P-256 over riskrouter-evidence-head|v2|tree_size|root_hash|timestamp. Absent, with signature_unavailable, when no key is bound.
  - `signature_unavailable` string

## Other responses

- `413`: Every error carries the same envelope with a stable code.
- `429`: Every error carries the same envelope with a stable code.
- `502`: Every error carries the same envelope with a stable code.
- `503`: Every error carries the same envelope with a stable code.

---

[API](https://skmtc.dev/riskrouter/apis/riskrouter-api.md) · [All operations](https://skmtc.dev/riskrouter/apis/riskrouter-api/llms.txt) · [OpenAPI document](https://skmtc.dev/riskrouter/apis/riskrouter-api/revisions/5fee45dc6d1f?raw)
