Postgres

List of Postgres service backups

Changed on

Returns a list of the base backups retained for a Postgres service, ordered by last modified date, newest first. Results are capped at limit (default and maximum 100) per page. Every response carries limit, totalCount and nextCursor; pass nextCursor as the cursor query parameter to fetch the next page, repeating until it is null. A Postgres service is recovered to a point in time rather than to a single backup, so restore it with the restore endpoint and a timestamp between the service's earliestRestoreTime and now, rather than with a backup key from this list.

get/v1/organizations/{organizationId}/postgres/{postgresId}/backups

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the organization that owns the Postgres service.

postgresId, string uuid required
Example:f71df78e-ddad-82d0-8dfa-abbec741b82e

ID of the Postgres service the backups were created from.

Query parameters

limit, integer

Maximum number of results to return.

cursor, string

Opaque cursor from a previous response's nextCursor, marking where to resume the list.

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, PostgresBackup[]

List of results.

limit, integer

Maximum number of results returned in this page.

totalCount, integer nullable

Total number of results across all pages. It has only informative value, thus is not guaranteed and it is provided on a best-effort basis. Null if the total count is unknown.

nextCursor, string nullable

Cursor for the next page, to be sent as the cursor query parameter. Null on the last page.

Example response

{
  "status": 200,
  "result": [
    {
      "key": "basebackups_005/000000010000000000000002_backup_stop_sentinel.json",
      "lastModified": "2026-03-31T18:17:37Z"
    }
  ]
}

Changes