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
/api/v1/tenants/{tid}/restore-tests/policyThe provider's restore test policy (the defaults until saved)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Responses
200 Policy
Content type: application/json
A provider's periodic restore tests (ADR 0154)
tenant_idstring requiredenabledboolean requiredfrequencystring requiredAllowed values:"daily""weekly""monthly"hourinteger requiredUTC hour a run starts
- minimum 0
- maximum 23
scopestring requiredplans: only accounts whose plan has restore_tests on
Allowed values:"all""plans"sampleinteger requiredAccounts tested each run, those tested longest ago first; 0 is all
- minimum 0
- maximum 50
targetstring requiredoffsite: 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_idstring requiredServer 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_atstring (date-time) | null requiredupdated_atstring (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
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required