The database's point-in-time recovery: whether it is on, the earliest and latest moments it can be restored to
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/databases/{id}/pitrThe database's point-in-time recovery: whether it is on, the earliest and latest moments it can be restored to (ADR 0183)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required |
Responses
200 Point-in-time recovery
Content type: application/json
database_idstring requiredtenant_idstring requiredserver_idstring requiredenginestring requirednamestring requiredenabledboolean requiredretention_daysinteger requiredearlieststring (date-time) | null requiredlateststring (date-time) | null requiredlast_base_atstring (date-time) | null requiredlast_log_atstring (date-time) | null requiredjob_idstring requiredlast_errorstring requiredupdated_atstring (date-time) requiredsupportedboolean requiredallowedboolean requiredmethodstring requiredAllowed values:"binlog""wal""log_backups"log_every_minutesinteger required
Example
{
"database_id": "string",
"tenant_id": "string",
"server_id": "string",
"engine": "string",
"name": "string",
"enabled": true,
"retention_days": 0,
"earliest": "2026-01-01T00:00:00Z",
"latest": "2026-01-01T00:00:00Z",
"last_base_at": "2026-01-01T00:00:00Z",
"last_log_at": "2026-01-01T00:00:00Z",
"job_id": "string",
"last_error": "string",
"updated_at": "2026-01-01T00:00:00Z",
"supported": true,
"allowed": true,
"method": "binlog",
"log_every_minutes": 0
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required