Schemas
AgentRolloutPausedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn automatic agent rollout paused after failed updates.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
AgentUpdateResult
Why an agent update failed, as the agent reports it, or expired or cancelled when it did not get to report, sent as data.result of the server.agent_update_failed webhook.
target_not_newer The installed agent is already as new as the target or newer. |
preflight_failed The package repository lacks the target or the current version, the update is retried later. |
installation_failed The package manager could not install the target version. |
readiness_failed_rolled_back The new agent did not start correctly and the previous version was restored. |
rollback_failed The new agent did not start correctly and restoring the previous version failed too. |
expired The agent did not pick the update up within 3 hours, for example because the server is offline. It does not count towards pausing the rollout. |
cancelled The server was revoked or re-enrolled before the update finished. It does not count towards pausing the rollout. |
AlertCategory
agent_availability A server's agent stopped checking in. |
backup_results A backup failed or completed partially. |
backup_schedule A scheduled backup did not start. |
maintenance_results A maintenance operation such as an integrity check failed. |
AlertIncidentResolution
How an alert incident closed.
recovered The problem went away: the agent checked in, or a later backup, scheduled backup or maintenance run succeeded. |
lifecycle_dismissed The incident stopped applying: the job stopped running on its schedule, or its server was revoked or set up again. |
AttentionItem
Something about a team's backups that needs attention, in the order the dashboard ranks it.
failed_last_backup Active backup jobs whose last backup failed. |
incomplete_last_backup Active backup jobs whose last backup only partly completed or whose outcome could not be confirmed. |
never_succeeded Active backup jobs that never completed a backup, so there is nothing to restore yet. |
awaiting_recovery_document Backup jobs waiting for their recovery document to be saved and confirmed in the Backup Chief app. |
servers_offline Servers whose agent stopped checking in. |
config_rejected Servers whose agent rejected its latest configuration. |
old_credentials Storage destinations with servers that did not apply rotated credentials yet. |
AttentionSeverity
How urgent something that needs attention is.
danger Backups are failing or cannot be restored. |
warning Backups may stop working or need action soon. |
BackupFailingEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeBackups of a job started failing.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
BackupJob
idFormatted backup job ID.
nametypestatuspending while storage is set up and until the recovery document is saved in the Backup Chief app, active while it runs on schedule, paused, or deleting while its backups are deleted.
status_labelThe status as the Backup Chief app shows it, naming the next step while the job is pending.
provisioning_stateThe step the storage setup reached.
The storage destination that keeps the main copy.
source_summaryOne line describing what the job backs up.
What the job backs up: FileBackupSource for file, MySqlBackupSource for mysql, PostgreSqlBackupSource for postgresql. Passwords are never returned.
How many backups are kept.
retention_labelThe keep policy in words.
When the agent checks the repository, as cron expressions in UTC.
repository_bytesBytes the main repository last reported, null until it was measured.
repository_bytes_measured_atWhen the main repository was last measured, null until it was measured.
latest_backupThe latest backup, null before the first one.
Completed backups whose snapshots can all still be restored.
The latest 14 backups, newest first, for a status strip.
last_run_atlast_full_success_atWhen a backup last completed on every repository, null when none did.
paused_atcreated_atBackupJobIntegrityDataMode
How the data integrity checks of a backup job are scheduled: auto spreads the checks over the retention period.
BackupJobStats
rangeThe days covered.
timezoneThe team's timezone, in which the days start and end.
One entry per day, oldest first and today last, including days without backups.
BackupJobStatsDay
dateThe day in the team's timezone.
completedBackups that finished that day and completed.
partialBackups that finished that day and completed partially.
failedBackups that finished that day and failed.
repository_bytesThe size of the main repository a run of any kind last reported that day, null without a report that day: carry the previous size forward.
stored_bytes_addedNew bytes the backups of that day added to the repository after deduplication, null when none reported it.
median_duration_secondsThe median duration of the backups that completed or completed partially that day, null without one.
BackupMissedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA scheduled backup did not start.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
BackupRecoveredEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeBackups of a job complete again.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
BackupRepository
idFormatted repository ID.
rolemain for the repository backups are written to, extra_copy for a copy of it at another storage destination.
storage_destinationThe storage destination that keeps the repository, null when it was deleted.
statusprovisioning_statehealthyWhether the repository is active.
repository_bytesBytes the repository last reported, null until it was measured.
initial_sync_completed_atlast_copy_atWhen backups were last copied to an extra copy.
last_check_atdetached_atBackupRepositoryRole
The role of a repository of a backup job: the main repository backups are written to, or an extra copy.
BackupResumedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeScheduled backups start on time again.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
BackupRun
idFormatted run ID.
kindbackup for a backup, or the maintenance operation the run performed.
triggermanual for a run someone started, scheduled for a run the schedule started.
statusThe state of the run as the agent reported it.
status_labelThe outcome as the Backup Chief app shows it, which also accounts for extra copies that failed.
summaryShort summary the agent reported.
source_filesFiles the backup read, null for maintenance runs and until reported.
source_bytesBytes the backup read, null for maintenance runs and until reported.
stored_bytesNew bytes the backup added to the repository after deduplication, null for maintenance runs and until reported.
statisticsThe reported figures as the Backup Chief app shows them.
repository_bytesSize of the main repository after the run, null until reported.
repository_bytes_deltaHow much the main repository grew or shrank, null until reported.
snapshots_countSnapshots the backup made: one for a file backup, one per database for a database backup.
available_snapshots_countSnapshots that can still be restored.
restorableWhether the run is a recovery point whose snapshots can all still be restored.
kept_forever_atWhen the recovery point was set to be kept forever, null when the job's retention policy applies.
has_logWhether a complete log of the run can be read from the log endpoint.
The result per repository: the main repository and each extra copy the run wrote to or copied to.
activityWhat the agent last reported doing while the run has not finished, null once it finished, before the first report and when the last report is more than a day old. Shows no percentage or time left: the agent does not know the total up front. A report older than a minute means the agent has not sent news for a while.
progressThe progress of a database backup, kept after it finished: how many of its databases are backed up and the last one. Null for file backups, maintenance runs and before the first database is backed up.
scheduled_forThe minute a scheduled run was due, null for manual runs.
started_atfinished_atcreated_atCreateDownloadRequest
snapshotFormatted ID of the snapshot to download from, as listed by the job's snapshots.
pathFor a file backup: the absolute path of the file or directory to download, inside the job's backed-up path. Not used for database backups, which download the snapshot's database dump.
path_typeFor a file backup: whether the path is a file or a directory.
repositoryFormatted ID of the repository to read from, the main repository when left out. Use it to download from an extra copy.
CreateWebhookEndpointRequest
urlHTTPS URL that receives the events, it must resolve to a public address.
eventsEvent types the endpoint receives, * for every event including types added later.
descriptionWhat the endpoint is for, shown in the dashboard.
DatabaseSelectionMode
Which databases a database backup job backs up: every database the user can read, the listed databases, all but the listed databases, or every persistent database of a Plesk server (set by the Plesk extension only).
DatabaseTableSelectionMode
Which tables a database backup job backs up: all tables, only the listed tables, or all but the listed tables.
Download
idFormatted download ID.
snapshot_idFormatted ID of the snapshot the download is made from.
run_idFormatted ID of the backup run that made the snapshot.
repositoryThe repository the download is read from, null for downloads that predate extra copies.
kindfile or directory for a file backup, database for a database dump.
nameFile name of the ZIP.
statusqueued, then inspecting while the size is checked and preparing while the ZIP is made, ready to download until it expires, or failed, cancelled or expired. expiring while a ready ZIP is deleted.
status_labelThe status as the Backup Chief app shows it.
downloadableWhether the ZIP can be downloaded now: create a download URL for it.
source_bytesBytes of backup data the download contains, null until checked.
archive_bytesSize of the ZIP, null until it is ready.
uploaded_bytesBytes of the ZIP uploaded so far while it is prepared.
sha256SHA-256 checksum of the ZIP, null until it is ready.
failure_messageThe failure explained, null unless it failed.
download_countHow often the ZIP was downloaded.
requested_byName of the team member who requested the download, null when a team access token requested it or the member left the team.
created_atstarted_atready_atexpires_atWhen the ZIP is deleted, or was deleted.
last_downloaded_atDownloadFailedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA hosted download failed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
DownloadReadyEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA hosted download is ready.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
FileBackupSource
pathsDirectories that are backed up.
excludesFiles and folders that are skipped.
Incident
idFormatted incident ID.
categoryWhat went wrong: an agent that stopped checking in, failing backups, missed scheduled backups or failing maintenance.
agent_availability A server's agent stopped checking in. |
backup_results A backup failed or completed partially. |
backup_schedule A scheduled backup did not start. |
maintenance_results A maintenance operation such as an integrity check failed. |
statusopen while the problem lasts, closed once it recovered or stopped applying.
titleThe incident in a few words, as the alert emails head it.
jobThe backup job it concerns, null for an agent that stopped checking in.
failure_run_idFormatted ID of the run that failed, null for an agent that stopped checking in or a missed scheduled backup.
recovery_run_idFormatted ID of the run that recovered, null while open and when no run ended it.
failure_observed_atWhen the problem was observed: when the failed run finished, or when Backup Chief noticed.
recovery_observed_atWhen the recovery was observed, null unless it recovered.
opened_atclosed_atNull while open.
InspectSourceRequest
What to back up. The fields depend on the type, see the description of each field. Fields left out keep their value on an existing job.
jobFormatted ID of the backup job whose source changes. The source fields left out keep the job's value, including its stored database password. Leave it out to test the source of a new job.
serverFormatted ID of the enrolled server that tests the source of a new job.
typeThe type of the new job.
JobCreatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA backup job was created.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
JobDeletedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA backup job was deleted.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
JobPausedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA backup job was paused.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
JobResumedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA backup job was resumed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
JobUpdatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA backup job's settings changed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
MaintenanceFailingEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeMaintenance of a job started failing.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
MaintenanceRecoveredEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeMaintenance of a job completes again.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
MySqlBackupSource
hostportusernamepassword_setWhether a password is stored. It is never returned.
password_fileselection_modeWhich databases a database backup job backs up: every database the user can read, the listed databases, all but the listed databases, or every persistent database of a Plesk server (set by the Plesk extension only).
databasesinclude_routinesinclude_eventscustom_flagstable_selectionThe tables the job is limited to, null for all tables.
Overview
The team's backup jobs.
last_success_atWhen a job last completed a backup on every repository, null when none did.
Completed backups whose snapshots can all still be restored.
stored_bytesBytes the main repositories of the jobs last reported together.
The team's servers.
The team's storage destinations.
open_incidentsAlert incidents that are open, as GET /incidents?status=open lists them.
setup_completeWhether a backup job's recovery document was confirmed, which ends the setup checklist in the Backup Chief app.
What needs attention, the most severe first like the dashboard ranks it. Only entries that concern something are listed.
The team's latest runs, newest first.
The next scheduled backups of the active jobs, soonest first, at most three per job.
OverviewAttention
keyWhat needs attention.
failed_last_backup Active backup jobs whose last backup failed. |
incomplete_last_backup Active backup jobs whose last backup only partly completed or whose outcome could not be confirmed. |
never_succeeded Active backup jobs that never completed a backup, so there is nothing to restore yet. |
awaiting_recovery_document Backup jobs waiting for their recovery document to be saved and confirmed in the Backup Chief app. |
servers_offline Servers whose agent stopped checking in. |
config_rejected Servers whose agent rejected its latest configuration. |
old_credentials Storage destinations with servers that did not apply rotated credentials yet. |
severityHow urgent it is.
danger Backups are failing or cannot be restored. |
warning Backups may stop working or need action soon. |
countBackup jobs, servers or storage destinations it concerns.
idsThe formatted IDs of the backup jobs (job_…), servers (server_…) or storage destinations (storage_…) it concerns, by name.
PostgreSqlBackupSource
hostportusernamepassword_setWhether a password is stored. It is never returned.
password_fileconnection_databaseselection_modeWhich databases a database backup job backs up: every database the user can read, the listed databases, all but the listed databases, or every persistent database of a Plesk server (set by the Plesk extension only).
databasestable_selectionThe tables the job is limited to, null for all tables.
QueueMaintenanceRequest
operationforget removes the backups the keep policy no longer needs, prune frees the storage they used at every storage destination, snapshot_inventory rechecks which backups are still stored.
RecentBackupProblems
countBackups that failed or finished partially in the last 7 days and were not dismissed.
run_idsTheir formatted run IDs, newest first.
ResendWebhookEventRequest
endpointID of the endpoint to send the event to. It gets the event even when it did not receive it before, or does not subscribe to its type.
RestoreCommands
snapshot_idFormatted ID of the snapshot the commands restore.
The repository the commands restore from.
pathThe directory the commands restore, null for the whole snapshot.
The ways to restore, in the order the Backup Chief app shows them. Steps the job or its agent cannot run are left out; restic always works.
RestoreStep
keyrestore restores directly on the server with the agent, archive makes a ZIP on the server with the agent, import loads a restored database dump, restic restores without Backup Chief. New keys may be added.
labeldescriptionWhat the command does and where to run it.
commandOne or more shell commands, one per line. Secrets are never included: the restic commands ask for the recovery password from the recovery document.
RotateWebhookSecretRequest
replace_previousRotate even though the secret from the last rotation still signs deliveries. That secret stops signing right away, receivers that only know it start rejecting deliveries.
RunFinishedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA backup or maintenance run finished.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
S3StorageSettings
endpointregionbucketroot_pathPath inside the bucket that holds the repositories.
SaveBackupJobRequest
nameDisplay name of the backup job.
serverFormatted ID of the enrolled server that runs the job. It cannot be changed later.
storage_destinationFormatted ID of the storage destination that keeps the main copy. It cannot be changed later.
typeWhat the job backs up. It cannot be changed later.
What to back up. The fields depend on the type, see the description of each field. Fields left out keep their value on an existing job.
source_inspectionFormatted ID of a completed, successful source test of exactly this source, at most 10 minutes old. Required when creating a job and when changing the source of a job.
When the job runs. A new job runs every day at the next full hour when it is left out; fields left out keep the schedule of an existing job.
How many backups to keep. Tiers left out keep their value, or the default for the schedule on a new job. Tiers the schedule makes redundant are folded into last.
attempt_idULID that identifies this creation attempt. Retrying with the same ID and the same job returns the job created the first time instead of a second job.
SaveServerRequest
nameDisplay name of the server.
agent_auto_updatesWhether the server installs new agent releases automatically, null to follow the team setting.
SaveStorageDestinationRequest
nameDisplay name of the destination, unique within the team.
driverStorage driver. local is only available in development.
The settings of the driver; only the fields of the driver may be given. Fields left out keep their value on an existing destination of the same driver.
Server
idFormatted server ID.
namehostnameHostname the agent reported, null until it enrolls.
statuspending until an agent enrolls with an enrollment token, enrolled while an agent is set up, revoked once its agent was revoked.
connectedWhether the server is enrolled and its agent reported within the last few minutes.
platformOperating system and CPU architecture the agent reported.
The configuration Backup Chief issues to the agent, with its jobs and schedules.
clock_offset_secondsHow far the server clock is off: positive when it runs behind Backup Chief, negative when it runs ahead, null until measured.
spoolThe agent's local spool, which keeps events and logs until Backup Chief receives them, null until reported.
reporting_gapWhether the agent may have lost some progress or log evidence, which run outcomes are not affected by. Dismiss it with the reporting-gap/dismiss endpoint.
last_heartbeat_atWhen the agent last sent its heartbeat.
last_contact_atWhen the agent last contacted Backup Chief.
enrolled_atrevoked_atcreated_atactive_jobs_countNumber of active backup jobs on the server.
jobs_countNumber of backup jobs on the server, including paused ones.
The one-time enrollment token, only included in the response that issued it.
ServerAgentUpdateFailedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn agent update failed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerAgentUpdateStartedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn agent update started.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerAgentUpdateSucceededEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn agent update succeeded.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerConfigSync
Whether a server's agent runs the latest configuration Backup Chief issued for it.
rejected The agent refused the latest configuration; the error tells why. |
waiting_for_setup The server waits for its agent to enroll. |
never_applied The agent has not confirmed a configuration yet. |
update_pending The agent has not picked up the latest changes yet. |
up_to_date The agent applied the latest changes. |
ServerCreatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server was added and waits for its agent.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerDeletedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server that never enrolled was deleted.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerEnrolledEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server's agent enrolled.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerOfflineEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server stopped checking in.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerOnlineEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeAn offline server checks in again.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerRevokedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server was revoked.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
ServerStatus
The enrollment status of a server: pending until an agent enrolls, enrolled while an agent is set up, revoked once its agent was revoked.
ServerUpdatedEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA server was renamed or its agent update setting changed.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
SftpAuthMethod
How an SFTP storage destination signs in: a password, or an Ed25519 key generated in the Backup Chief app.
SftpStorageSettings
hostportusernameroot_pathauth_methodpassword, or ed25519 for a key generated in Backup Chief.
public_keyPublic key to authorize on the SFTP server, null for password authentication.
fingerprintFingerprint of the public key, null for password authentication.
host_keysHost keys of the SFTP server pinned at the first connection. Connections presenting another key are refused.
Snapshot
idFormatted snapshot ID.
snapshot_idThe restic snapshot ID in the repository the backup wrote to.
run_idFormatted ID of the backup run that made the snapshot. Keeping forever and expiring work on this run, the recovery point.
availabilityWhether the snapshot can still be restored from the repository the backup wrote to.
source_bytesBytes the backup read for this snapshot.
stored_bytesNew bytes this snapshot added to the repository after deduplication.
databaseThe database of a database backup snapshot, null for file backups.
kept_forever_atWhen the recovery point was set to be kept forever, null when the job's retention policy applies.
The copies of the snapshot in extra copy repositories.
taken_atWhen the backup that made the snapshot finished.
created_atSnapshotTree
statusready with the entries, loading while Backup Chief reads the directory from storage (poll again with request set to request_id, every second or two), busy when too many directories are read at once (try again shortly), too-large for a directory with more than 5,000 entries, or unavailable, failed or expired when it cannot be read.
request_idPass it as request to poll for the listing while the status is loading.
pathThe directory listed, null until it is ready.
The entries of the directory, folders first and then by name. Empty until it is ready.
SnapshotTreeEntry
namepathThe absolute path, to list a folder or to prepare a download of a file or folder.
typedir for a folder and file for a file; only those can be downloaded.
sizeSize in bytes of a file, null for other entries.
modified_atWhen the entry was last modified, null when not recorded.
link_targetWhere a symlink points, null for other entries.
SourceInspection
idFormatted source inspection ID, pass it as source_inspection when saving the backup job.
statuspending until the agent picks the test up, acknowledged while it runs, then completed with a result, or expired when the agent did not run it in time.
successfulWhether the source can be used: the test completed successfully. The job must be saved within 10 minutes of completion.
resultWhat the agent found, null until the test completed.
guidanceHow to fix a failed test, null unless the test failed.
expires_atWhen the agent must have picked the test up.
completed_atcreated_atSourceInspectionResultCode
The result of a source inspection: success, or why the agent could not use the source.
StorageDestination
idFormatted storage destination ID.
namedriverWhere repositories are stored: s3 for S3-compatible storage, sftp for an SFTP server, local for development storage.
s3 The S3 storage driver, which can be used with any S3-compatible storage services. |
sftp SFTP storage authenticated by password or a generated Ed25519 key. |
local Development only storage driver, should never be used in production. |
locationHuman-readable location of the destination.
The settings of the driver: S3StorageSettings for s3, SftpStorageSettings for sftp, LocalStorageSettings for local. Credentials are never returned.
credentials_updated_atWhen the credentials were last replaced, null when they never changed.
servers_on_previous_credentialsServers that did not apply the latest credentials yet. Wait until this is 0 before revoking the old credentials at the provider.
in_useWhether a backup job keeps its main copy or an extra copy here, which prevents deleting the destination and changing its location.
jobs_countBackup jobs that keep their main copy here.
extra_copies_countBackup jobs that keep an extra copy here.
stored_bytesBytes the repositories at this destination last reported, null until any was measured.
created_atStorageDriver
s3 The S3 storage driver, which can be used with any S3-compatible storage services. |
sftp SFTP storage authenticated by password or a generated Ed25519 key. |
local Development only storage driver, should never be used in production. |
Team
slugTeam slug, the value of the X-Chief-Team header.
nametimezoneTimezone of the team.
agent_auto_updatesWhether servers install new agent releases automatically, unless a server overrides it.
The plan limits of the team. A null limit is unlimited.
UpdateWebhookEndpointRequest
urlHTTPS URL that receives the events, it must resolve to a public address.
descriptionWhat the endpoint is for, shown in the dashboard. Null removes it.
eventsEvent types the endpoint receives, * for every event including types added later. Replaces the current list.
WebhookAttemptError
Why an attempt failed without a usable response, an attempt with a non-2xx response has no error.
timeout The endpoint did not answer within 15 seconds. |
connection The connection failed: DNS, refused, TLS. |
blocked The URL resolves to a private or reserved address. |
redirect The endpoint answered with a redirect, which is not followed. |
WebhookDelivery
idFormatted delivery ID.
endpoint_idID of the endpoint it is sent to.
event_idID of the event it sends.
event_typeType of the event it sends.
server.created A server was added and waits for its agent. |
server.enrolled A server's agent enrolled. |
server.updated A server was renamed or its agent update setting changed. |
server.revoked A server was revoked. |
server.deleted A server that never enrolled was deleted. |
server.offline A server stopped checking in. |
server.online An offline server checks in again. |
server.agent_update_started An agent update started. |
server.agent_update_succeeded An agent update succeeded. |
server.agent_update_failed An agent update failed. |
agent_rollout.paused An automatic agent rollout paused after failed updates. |
job.created A backup job was created. |
job.updated A backup job's settings changed. |
job.paused A backup job was paused. |
job.resumed A backup job was resumed. |
job.deleted A backup job was deleted. |
run.finished A backup or maintenance run finished. |
backup.failing Backups of a job started failing. |
backup.recovered Backups of a job complete again. |
backup.missed A scheduled backup did not start. |
backup.resumed Scheduled backups start on time again. |
maintenance.failing Maintenance of a job started failing. |
maintenance.recovered Maintenance of a job completes again. |
download.ready A hosted download is ready. |
download.failed A hosted download failed. |
webhook_endpoint.test A test event sent from the dashboard. |
statuspending Waiting for its first attempt or for a retry. |
succeeded The endpoint answered with a 2xx status. |
failed Every attempt failed. |
cancelled The endpoint was disabled or deleted before it succeeded. |
attemptsAttempts made so far, resends included.
next_attempt_atISO 8601 time the next automatic attempt is due, null when none is scheduled.
last_attempted_atISO 8601 time of the last attempt, null before the first.
last_response_statusHTTP status of the last response, null before the first attempt or when no response came.
created_atISO 8601 creation timestamp.
Every attempt with its request and response, oldest first. Only returned for a single delivery.
WebhookDeliveryAttempt
numberNumber of the attempt within its delivery, from 1.
manualWhether someone resent it, instead of an automatic attempt.
succeededWhether the endpoint answered with a 2xx status in time.
attempted_atISO 8601 time the request was sent.
duration_msHow long the request took, null when it could not be sent.
error_messageWhat went wrong, for people.
responseThe endpoint's response, null when none came.
WebhookDeliveryStatus
pending Waiting for its first attempt or for a retry. |
succeeded The endpoint answered with a 2xx status. |
failed Every attempt failed. |
cancelled The endpoint was disabled or deleted before it succeeded. |
WebhookEndpoint
idFormatted endpoint ID.
urlHTTPS URL that receives the events.
descriptionWhat the endpoint is for.
Event types the endpoint receives, * for every event including types added later.
statusWhether deliveries are sent. A disabled endpoint receives nothing until it is enabled again.
enabled Receives the events it subscribed to. |
disabled Receives nothing until someone enables it again, disabled_reason tells why. |
disabled_atISO 8601 time the endpoint was disabled, null while it is enabled.
failing_sinceISO 8601 time the endpoint started failing every delivery, null while deliveries succeed. It is disabled after five days.
secretSigning secret, only set in the response that creates the endpoint or rotates its secret, null otherwise. Store it with your other secrets.
previous_secret_expires_atISO 8601 time until which the secret from before the last rotation still signs deliveries next to the current one, null when only one secret signs.
created_atISO 8601 creation timestamp.
updated_atISO 8601 timestamp of the last change.
WebhookEndpointDisabledReason
manual Someone disabled it. |
failing Every delivery failed for five days, so it was disabled automatically. |
WebhookEndpointStatus
enabled Receives the events it subscribed to. |
disabled Receives nothing until someone enables it again, disabled_reason tells why. |
WebhookEndpointTestEvent
idIdentifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.
typeA test event sent from the dashboard.
timestampWhen the event happened, in UTC. It does not change on retries.
api_versionThe version of the payload format.
WebhookEvent
idFormatted event ID, the same as id in the payload and the webhook-id header.
typeEvent type.
server.created A server was added and waits for its agent. |
server.enrolled A server's agent enrolled. |
server.updated A server was renamed or its agent update setting changed. |
server.revoked A server was revoked. |
server.deleted A server that never enrolled was deleted. |
server.offline A server stopped checking in. |
server.online An offline server checks in again. |
server.agent_update_started An agent update started. |
server.agent_update_succeeded An agent update succeeded. |
server.agent_update_failed An agent update failed. |
agent_rollout.paused An automatic agent rollout paused after failed updates. |
job.created A backup job was created. |
job.updated A backup job's settings changed. |
job.paused A backup job was paused. |
job.resumed A backup job was resumed. |
job.deleted A backup job was deleted. |
run.finished A backup or maintenance run finished. |
backup.failing Backups of a job started failing. |
backup.recovered Backups of a job complete again. |
backup.missed A scheduled backup did not start. |
backup.resumed Scheduled backups start on time again. |
maintenance.failing Maintenance of a job started failing. |
maintenance.recovered Maintenance of a job completes again. |
download.ready A hosted download is ready. |
download.failed A hosted download failed. |
webhook_endpoint.test A test event sent from the dashboard. |
api_versionVersion of the payload format.
created_atISO 8601 time the event happened.
The body every delivery of the event sends, see the event's schema for its fields.
The event's deliveries, one per endpoint. Only returned for a single event.
WebhookEventType
server.created A server was added and waits for its agent. |
server.enrolled A server's agent enrolled. |
server.updated A server was renamed or its agent update setting changed. |
server.revoked A server was revoked. |
server.deleted A server that never enrolled was deleted. |
server.offline A server stopped checking in. |
server.online An offline server checks in again. |
server.agent_update_started An agent update started. |
server.agent_update_succeeded An agent update succeeded. |
server.agent_update_failed An agent update failed. |
agent_rollout.paused An automatic agent rollout paused after failed updates. |
job.created A backup job was created. |
job.updated A backup job's settings changed. |
job.paused A backup job was paused. |
job.resumed A backup job was resumed. |
job.deleted A backup job was deleted. |
run.finished A backup or maintenance run finished. |
backup.failing Backups of a job started failing. |
backup.recovered Backups of a job complete again. |
backup.missed A scheduled backup did not start. |
backup.resumed Scheduled backups start on time again. |
maintenance.failing Maintenance of a job started failing. |
maintenance.recovered Maintenance of a job completes again. |
download.ready A hosted download is ready. |
download.failed A hosted download failed. |
webhook_endpoint.test A test event sent from the dashboard. |
WebhookEventTypeDetails
typeEvent type, as type in the payload and in an endpoint's events.
server.created A server was added and waits for its agent. |
server.enrolled A server's agent enrolled. |
server.updated A server was renamed or its agent update setting changed. |
server.revoked A server was revoked. |
server.deleted A server that never enrolled was deleted. |
server.offline A server stopped checking in. |
server.online An offline server checks in again. |
server.agent_update_started An agent update started. |
server.agent_update_succeeded An agent update succeeded. |
server.agent_update_failed An agent update failed. |
agent_rollout.paused An automatic agent rollout paused after failed updates. |
job.created A backup job was created. |
job.updated A backup job's settings changed. |
job.paused A backup job was paused. |
job.resumed A backup job was resumed. |
job.deleted A backup job was deleted. |
run.finished A backup or maintenance run finished. |
backup.failing Backups of a job started failing. |
backup.recovered Backups of a job complete again. |
backup.missed A scheduled backup did not start. |
backup.resumed Scheduled backups start on time again. |
maintenance.failing Maintenance of a job started failing. |
maintenance.recovered Maintenance of a job completes again. |
download.ready A hosted download is ready. |
download.failed A hosted download failed. |
webhook_endpoint.test A test event sent from the dashboard. |
groupHeading the event is listed under in the dashboard.
descriptionWhen the event is sent.