List backups
Backups
List backups
Get all backups for a database.
GET
List backups
Returns all available backups for a database, sorted newest first.
Returns an empty array if no backups exist yet.
Use each
Path parameters
| Parameter | Type | Description |
|---|---|---|
id | uuid | Database ID |
Example
Response
200 OK
filename with the download backup and delete backup routes when you need to fetch or remove a specific file.
Errors
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid API key |
| 404 | DATABASE_NOT_FOUND | Database doesn’t exist, isn’t owned by this user, or isn’t in scope for this key |
| 500 | AGENT_ERROR | The VPS agent failed to list backups |