---
title: "Read this node's recovery repository"
method: GET
path: "/api/recovery/repository"
tags: ["Recovery"]
---

# Read this node's recovery repository

`GET /api/recovery/repository`

## Request

- Base URL: `https://localhost:1852`
- URL: `https://localhost:1852/api/recovery/repository`
- Auth: HTTP bearer

Returns the repository's health, the reason it is not healthy, the failure
domain, and the warning that points share this node's failure domain. The
`repository` object names the volume, fingerprint, secret state, creation time,
and the last check; it is returned only to a caller who may change these
settings. The repository password is never returned by any shape.

## Headers

- `x-node-id` integer

## Response `200`

Repository health, and configuration facts for a caller who may change settings.

- object
  - `health` 'available' | 'unavailable' | 'update_required' | 'unknown', required
  - `reason` string, required: The capability reason, for example `engine_registered`, `helper_unavailable`, or `repository_not_initialized`.
  - `failureDomain` 'same_failure_domain' | 'separate' | 'unknown', required
  - `warning` string, required
  - `initialized` boolean, required
  - `repository` RecoveryRepositoryInfo: Configuration facts, returned only to a caller who may change settings. Never carries the password.
    - `locator` string, required
    - `fingerprint` string, nullable, required: The engine's own repository id, recorded when the repository was initialized.
    - `secretState` 'absent' | 'stored', required
    - `createdAt` integer, required
    - `lastCheck` object, nullable, required
      - `method` 'engine_check_metadata' | 'engine_check_read_data'
      - `result` 'verified' | 'mismatch' | 'error'
      - `checkedAt` integer

## Other responses

- `401`: Authentication required. Provide a valid Bearer token.
- `403`: The caller lacks the access this recovery action needs. An API token whose scope does not allow the call is refused before the route runs, with `code: SCOPE_DENIED` and no `errorClass`.
- `500`: The recovery operation failed.

## Changes

- **2026-11-02** `1f7572eb735f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/studio-saelix/apis/sencho-api/changes/api/recovery/repository/get.md)

---

[API](https://skmtc.dev/studio-saelix/apis/sencho-api.md) - [All operations](https://skmtc.dev/studio-saelix/apis/sencho-api/llms.txt) - [OpenAPI document](https://skmtc.dev/studio-saelix/apis/sencho-api/revisions/1f7572eb735f?raw)
