API referenceSections

The provider's restore test policy (the defaults until saved)

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/restore-tests/policy

The provider's restore test policy (the defaults until saved)

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Policy

Content type: application/json

A provider's periodic restore tests (ADR 0154)

  • tenant_id string required
  • enabled boolean required
  • frequency string required
    Allowed values: "daily" "weekly" "monthly"
  • hour integer required

    UTC hour a run starts

    • minimum 0
    • maximum 23
  • scope string required

    plans: only accounts whose plan has restore_tests on

    Allowed values: "all" "plans"
  • sample integer required

    Accounts tested each run, those tested longest ago first; 0 is all

    • minimum 0
    • maximum 50
  • target string required

    offsite: the newest backup whose whole chain is off the server, else the newest on its server; offsite_only: no test without one; latest: the newest

    Allowed values: "offsite" "offsite_only" "latest"
  • server_id string required

    Server the sandbox runs on; empty is the server that made the backup. A backup read from its own server is always tested there

  • last_run_at string (date-time) | null required
  • updated_at string (date-time) required
Example
{
  "tenant_id": "string",
  "enabled": true,
  "frequency": "daily",
  "hour": 0,
  "scope": "all",
  "sample": 0,
  "target": "offsite",
  "server_id": "string",
  "last_run_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required