Skip to Content
SeyloDocs

List a service's backup schedules

GET
/api/v1/backups.listPolicies

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.

Authorization

cookieseylo_session<token>

Query Parameters

serviceId*string

Panel-issued id.

Match^[a-z0-9]{16}$

Response Body

Success.

application/json
  1. response
policies*array<>
Example Request
curl -X GET 'https://example.com/api/v1/backups.listPolicies?serviceId=string'
Example Response
{  "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"    }  ]}