List a service's backup schedules
Lists the backup schedules of a service (its database, or each volume) with the next run time and the last result.
Needs backups.view on the service (a grant on its project covers it). Available to MCP clients and the assistant.
seylo_session<token>serviceId*stringPanel-issued id.
^[a-z0-9]{16}$Success.
application/json- response
policies*array<>curl -X GET 'https://example.com/api/v1/backups.listPolicies?serviceId=string'{ "policies": [ { "id": "string", "serviceId": "string", "destinationId": "string", "destinationName": "string", "target": "database", "volumeId": "string", "volumeName": "string", "schedule": "stringstr", "keepLast": 1, "stopService": true, "enabled": true, "nextRunAt": "2019-08-24T14:15:22Z", "lastRun": { "id": "string", "status": "string", "finishedAt": "2019-08-24T14:15:22Z" }, "createdAt": "2019-08-24T14:15:22Z" } ]}List backup destinations GET
Lists the panel's S3/R2 backup destinations. Owners and admins get every field; other signed-in people get only id, name, provider and bucket in the choices list, for picking one in a schedule. Any signed-in caller. Available to MCP clients and the assistant.
List backup runs GET
Lists a service's backup and restore runs, newest first, 50 per page. Pass the last run's startedAt as before for the next page. Needs `backups.view` on the service (a grant on its project covers it). Available to MCP clients and the assistant.