Backups
List backup alerts
Returns backup alerts for the organization, optionally filtered by dismissed status.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Query Parameters
is_dismissedbooleanFilter by dismissed status (default false)
limitintegerResults per page (default 50, max 100)
OK
Get backup alert count
Returns the count of unread and undismissed backup alerts for the organization.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Dismiss a backup alert
Marks a backup alert as dismissed so it no longer appears in active alerts.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringAlert UUID
OK
Mark a backup alert as read
Marks a backup alert as read without dismissing it.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringAlert UUID
OK
Get cron expression presets
Returns a list of common cron expression presets for backup scheduling.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Get backup details
Returns a single backup's details including size, status, and destination info.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringBackup UUID
OK
Delete a backup
Marks a backup for deletion and enqueues async cleanup from all storage destinations.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringBackup UUID
OK
Stream backup progress (SSE)
Streams backup progress events as Server-Sent Events until the backup completes or fails.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringBackup UUID
SSE stream of backup progress
Trigger a backup restore
Validates the restore target and enqueues an asynchronous restore job. Requests with pitrTimestamp are rejected with PITR_UNAVAILABLE until physical base-backup metadata is available.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredRestore target configuration
backupIdstringnewEnvironmentNamestringreserved for disabled targetType="new"
pitrTimestampstringoptional point-in-time recovery target
targetEnvironmentIdstringrequired if targetType="other"
targetTypestring"same" or "other" ("new" is disabled until orchestration exists)
Path Parameters
idRequiredstringBackup UUID
Accepted
Stream restore progress (SSE)
Streams restore progress events as Server-Sent Events until the restore completes or fails.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringBackup UUID
SSE stream of restore progress
Get backup schedule
Returns the current backup schedule for the environment, or 404 if no schedule exists.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
env_idRequiredstringEnvironment UUID
OK
Create or update backup schedule
Creates or updates the automated backup schedule for the environment including frequency, retention, and PITR settings.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredSchedule configuration
dbCronstringdbFrequencystringdestinationIdsarray<string>enabledbooleanfullCronstringfullFrequencystringpausedbooleanretainDailyintegerretainDailyDaysintegerretainDbDailyintegerretainDbHourlyintegerretainDbMonthlyintegerretainDbWeeklyintegerretainFullDailyintegerretainFullHourlyintegerretainFullMonthlyintegerretainFullWeeklyintegerretainHourlyintegerretainHourlyDaysintegerretainMonthlyintegerretainMonthlyDaysintegerretainWeeklyintegerretainWeeklyDaysintegertimezonestringwalEnabledbooleanwalRetentionDaysintegerPath Parameters
env_idRequiredstringEnvironment UUID
OK
Preview retention policy impact
Simulates retention policy changes and returns which backups would be deleted.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredProposed retention settings
retainDailyintegerretainDailyDaysintegerretainDbDailyintegerretainDbHourlyintegerretainDbMonthlyintegerretainDbWeeklyintegerretainFullDailyintegerretainFullHourlyintegerretainFullMonthlyintegerretainFullWeeklyintegerretainHourlyintegerretainHourlyDaysintegerretainMonthlyintegerretainMonthlyDaysintegerretainWeeklyintegerretainWeeklyDaysintegerPath Parameters
env_idRequiredstringEnvironment UUID
OK
List environment backups
Returns backups for the environment with optional status/type filters and pagination.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
env_idRequiredstringEnvironment UUID
Query Parameters
statusstringFilter by backup status
typestringFilter by backup type
limitintegerResults per page (default 20, max 100)
offsetintegerOffset for pagination
OK
Trigger a manual backup
Creates a backup record and enqueues an asynchronous backup job for the environment.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredBackup configuration (type, label, destination)
typestring"db" or "full"
Path Parameters
env_idRequiredstringEnvironment UUID
Accepted
Get PITR coverage
Returns PITR availability for the environment. Current logical pg_dump full backups report available=false with reasonCode=physical_base_metadata_unavailable; WAL ranges remain empty until authoritative physical base-backup metadata is recorded.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
env_idRequiredstringEnvironment UUID
OK
List environment restore logs
Returns restore logs where the target or source environment matches the given environment.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
environmentIdRequiredstringEnvironment UUID
OK
List project backups
Returns all backups across all environments in the project with environment metadata.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
projectIdRequiredstringProject UUID
Query Parameters
statusstringFilter by backup status
limitintegerResults per page (default 50, max 100)
offsetintegerOffset for pagination
OK
Stream restore operation progress
Streams Server-Sent Events for a restore operation keyed by restore log ID.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
restoreLogIdRequiredstringRestore log UUID
SSE stream of restore progress
Download backup component
Streams a decrypted backup component without buffering. Browser navigation uses the authenticated session; API clients may use their session cookie, oCore API key, or a legacy one-time token.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
token<token>Short-lived one-time token returned by the backup download preparation endpoint
In: query
Path Parameters
idRequiredstringBackup ID (UUID)
Query Parameters
componentstringBackup component
"db"Value in: "db" | "filestore" | "config"organization_idstringSelected organization for session-authenticated browser downloads
tokenstringLegacy short-lived one-time download token
OK
Prepare backup download
Validates the selected tenant, completed backup, and requested component before returning a session-authenticated URL for a browser-native download.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Path Parameters
idRequiredstringBackup ID (UUID)
Query Parameters
componentstringBackup component
"db"Value in: "db" | "filestore" | "config"OK