API referenceSections

The account's S3 target, schedule and retention; secrets are never returned

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

GET /api/v1/tenants/{tid}/backup-settings

The account's S3 target, schedule and retention; secrets are never returned

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Settings

Content type: application/json

  • tenant_id string required
  • s3_endpoint string required
  • s3_region string required
  • s3_bucket string required
  • s3_prefix string required
  • s3_path_style boolean required
  • s3_access_key string required
  • s3_configured boolean required
  • sftp_host string optional
  • sftp_port integer optional
  • sftp_user string optional
  • sftp_dir string optional
  • sftp_host_key string optional

    The SFTP server's key fingerprint, SHA256:… as ssh-keygen -l prints it

  • sftp_auth string optional
    Allowed values: "" "password" "key"
  • sftp_configured boolean optional
  • cloud_provider string optional

    Connected cloud account (ADR 0100)

    Allowed values: "" "gdrive" "onedrive" "dropbox"
  • cloud_folder string optional
  • cloud_account string optional

    The account's email or name as the service gave it

  • cloud_connected_at string (date-time) | null optional
  • cloud_configured boolean optional
  • cloud_offered array<string> optional

    Services the provider set up

    Allowed values: "gdrive" "onedrive" "dropbox"
  • schedule string required
    Allowed values: "off" "daily" "weekly"
  • schedule_kind string required
    Allowed values: "full" "databases" "incremental"
  • schedule_hour integer required

    UTC hour

  • full_every_days integer optional

    With schedule_kind incremental: a full backup starts a new chain once the chain's full backup is this many days old

  • schedule_server string required
  • keep_local integer required
  • keep_remote integer required
  • last_scheduled_at string (date-time) | null optional
  • updated_at string (date-time) optional
Example
{
  "tenant_id": "string",
  "s3_endpoint": "string",
  "s3_region": "string",
  "s3_bucket": "string",
  "s3_prefix": "string",
  "s3_path_style": true,
  "s3_access_key": "string",
  "s3_configured": true,
  "sftp_host": "string",
  "sftp_port": 0,
  "sftp_user": "string",
  "sftp_dir": "string",
  "sftp_host_key": "string",
  "sftp_auth": "",
  "sftp_configured": true,
  "cloud_provider": "",
  "cloud_folder": "string",
  "cloud_account": "string",
  "cloud_connected_at": "2026-01-01T00:00:00Z",
  "cloud_configured": true,
  "cloud_offered": [
    "gdrive"
  ],
  "schedule": "off",
  "schedule_kind": "full",
  "schedule_hour": 0,
  "full_every_days": 0,
  "schedule_server": "string",
  "keep_local": 0,
  "keep_remote": 0,
  "last_scheduled_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