Velacent Bridge: beta December 2026, general availability early 2027. E-mail sales to request beta access.

Documentation menu

Backup API

Last updated . Documentation for the current release. Ask in the product.

4 operations. Back to the API overview. Examples use synthetic data.

Enables restored routes and sources (removes their disabled flag) in one transaction, once the person has put the secrets in place

POST /admin/v1/backup/enable

Enables restored routes and sources (removes their disabled flag) in one transaction, once the person has put the secrets in place. Each is a new version in the configuration history. A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).

Needs the permission: config:write.

Request body

Request body of Enables restored routes and sources (removes their disabled flag) in one transaction, once the person has put the secrets in place
FieldTypePresenceDescription
entitiesarray of stringoptionalEntities are "kind/id" of disabled routes and sources.
reasonstringoptional-
Example request body (synthetic data)
{
  "entities": [
    "example"
  ],
  "reason": "Example text"
}

Response 200

Example response (synthetic data)
{
  "config_version": {},
  "status": "ok"
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 500 Internal Server Error
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"entities":["example"],"reason":"Example text"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/backup/enable"

Downloads the configuration as a bundle

GET /admin/v1/backup/export

Downloads the configuration as a bundle. The audit record (database and stdout, before any byte of the bundle is sent) names the caller, the scope and the digest, never the content; if it cannot be written nothing is sent.

Needs the permission: config:export.

Parameters

Parameters of Downloads the configuration as a bundle
NameInTypePresenceDescription
routequerystringoptional-
scopequerystringoptional-

Response 200

OK. No body.

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 500 Internal Server Error
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/backup/export"

Applies a reviewed plan

POST /admin/v1/backup/restore/apply

Applies a reviewed plan: the plan is computed again and must have the same plan_sha256; a blocked plan is refused (skip or fix the blocked items first); every entity needs its kind's write permission (a script with an active version also scripts:activate); all entities are written in one transaction with the stated reason, audited fail-closed (the audit names the bundle digest, never the content). A further permission depends on the resource (for configuration, the write permission of its kind: config:write, or senders:write for senders).

Needs the permission: config:write.

Request body

Request body of Applies a reviewed plan
FieldTypePresenceDescription
bundleanyoptional-
confirmbooleanoptionalConfirm must be true.
optionsobject (BundleOptions)optionalOptions are the choices a person makes on the plan.
options.attest_baabooleanoptionalAttestBAA is the restoring person's own attestation that a business associate agreement (or other basis) covers the service behind each restored notification channel's URL, because notifications can carry PHI. A bundle never carries an attestation; without this the channels are blocked (or can be skipped).
options.conflictstringoptionalConflict is the default for every conflicting entity (default ConflictRename).
options.decisionsmap of stringoptionalDecisions overrides it per entity ("kind/id" to rename, replace or skip). Skip also lets an apply proceed without a blocked entity.
plan_sha256stringoptionalPlanSHA256 is the plan the caller reviewed: the server plans again and refuses unless the result is the same.
reasonstringoptional-
Example request body (synthetic data)
{
  "bundle": {},
  "confirm": true,
  "options": {
    "attest_baa": true,
    "conflict": "example",
    "decisions": {
      "example": "example"
    }
  },
  "plan_sha256": "example",
  "reason": "Example text"
}

Response 200

Example response (synthetic data)
{
  "plan": {
    "blocked": true,
    "bundle_digest": "0000000000000000000000000000000000000000000000000000000000000000",
    "created_at": "2026-01-15T14:30:00Z",
    "external_dependencies": [
      {
        "id": "example-id",
        "kind": "example",
        "note": "example",
        "required_by": [
          "example"
        ],
        "sha256": "example",
        "status": "ok",
        "version": "1"
      }
    ],
    "format_version": 1,
    "items": [
      {
        "action": "example",
        "arrives_disabled": true,
        "choices": [
          "example"
        ],
        "conflict": true,
        "document_sha256": "example",
        "from_version": 1,
        "id": "example-id",
        "kind": "example",
        "notes": [
          "example"
        ],
        "paths": [
          "example"
        ],
        "permissions": [
          "example"
        ],
        "permitted": true,
        "reasons": [
          "Example text"
        ],
        "target_id": "example-id"
      }
    ],
    "missing": [
      {
        "hint": "example",
        "id": "example-id",
        "kind": "example",
        "required_by": [
          "example"
        ]
      }
    ],
    "must_supply": [
      {
        "id": "example-id",
        "kind": "example",
        "note": "example",
        "path": "example",
        "reference": "example",
        "type": "example"
      }
    ],
    "plan_sha256": "example",
    "route": "example",
    "scope": "example",
    "source_tenant": "example",
    "summary": {
      "example": 1
    },
    "validation_error": "Example text"
  },
  "status": "ok"
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"bundle":{},"confirm":true,"options":{"attest_baa":true,"conflict":"example","decisions":{"example":"example"}},"plan_sha256":"example","reason":"Example text"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/backup/restore/apply"

Shows what restoring a bundle would do

POST /admin/v1/backup/restore/plan

Shows what restoring a bundle would do: per entity create, restore under a new name, replace, unchanged, skip or blocked; the conflicts and the choices; what is missing in this account; the secrets and certificates to supply; what arrives disabled. Nothing is written.

Needs the permission: config:write.

Request body

Request body of Shows what restoring a bundle would do
FieldTypePresenceDescription
bundleanyoptionalBundle is the configuration bundle (the downloaded file).
optionsobject (BundleOptions)optionalOptions are the choices made on the plan: how conflicts are handled (default: restore under a new name), per-entity decisions, and the attestation notification channels need.
options.attest_baabooleanoptionalAttestBAA is the restoring person's own attestation that a business associate agreement (or other basis) covers the service behind each restored notification channel's URL, because notifications can carry PHI. A bundle never carries an attestation; without this the channels are blocked (or can be skipped).
options.conflictstringoptionalConflict is the default for every conflicting entity (default ConflictRename).
options.decisionsmap of stringoptionalDecisions overrides it per entity ("kind/id" to rename, replace or skip). Skip also lets an apply proceed without a blocked entity.
Example request body (synthetic data)
{
  "bundle": {},
  "options": {
    "attest_baa": true,
    "conflict": "example",
    "decisions": {
      "example": "example"
    }
  }
}

Response 200

Response fields of Shows what restoring a bundle would do
FieldTypePresenceDescription
blockedbooleanoptionalBlocked: an apply is refused until each blocked item is fixed or chosen to be skipped.
bundle_digeststringoptional-
created_atstringoptional-
external_dependenciesarray of object (BundleExternalStatus)optional-
external_dependencies.[]idstringoptional-
external_dependencies.[]kindstringoptionalKind is "provider_directory" (never carried: it holds provider contact data) or "profile" (an interface profile; its rules are embedded in the route, so it is not needed to run).
external_dependencies.[]notestringoptional-
external_dependencies.[]required_byarray of stringoptionalRequiredBy lists "kind/id" of the entities that refer to it.
external_dependencies.[]sha256stringoptional-
external_dependencies.[]statusstringoptionalStatus is "present", "missing" or "informational".
external_dependencies.[]versionstringoptional-
format_versionintegeroptional-
itemsarray of object (BundleItem)optional-
items.[]actionstringoptional-
items.[]arrives_disabledbooleanoptionalArrivesDisabled: the entity is written disabled and stays so until it is enabled.
items.[]choicesarray of stringoptionalChoices are the decisions the person may take for a conflict.
items.[]conflictbooleanoptionalConflict: the target account already has this ID with a different configuration.
items.[]document_sha256stringoptional-
items.[]from_versionintegeroptionalFromVersion is the target's version a replace overwrites.
items.[]idstringoptional-
items.[]kindstringoptional-
items.[]notesarray of stringoptional-
items.[]pathsarray of stringoptional-
items.[]permissionsarray of stringoptional-
items.[]permittedbooleanoptional-
items.[]reasonsarray of stringoptionalReasons say why an item is blocked.
items.[]target_idstringoptionalTargetID is the ID it is written under (differs after a rename).
missingarray of object (BundleMissing)optional-
missing.[]hintstringoptional-
missing.[]idstringoptional-
missing.[]kindstringoptional-
missing.[]required_byarray of stringoptional-
must_supplyarray of object (BundleSupply)optionalMustSupply is what the target account must provide before the restored entities can be enabled (for the entities this plan writes).
must_supply.[]idstringoptional-
must_supply.[]kindstringoptional-
must_supply.[]notestringoptional-
must_supply.[]pathstringoptionalPath is the JSON Pointer of the field in the entity's document.
must_supply.[]referencestringoptionalReference is the non-secret reference the configuration holds (a mounted file path or a certificate fingerprint); empty for an attestation.
must_supply.[]typestringoptionalType is one of the Supply constants.
plan_sha256stringoptional-
routestringoptional-
scopestringoptional-
source_tenantstringoptional-
summarymap of integeroptional-
validation_errorstringoptionalValidationError is the configuration validation's verdict on the result (the caller fills it in; empty: valid).
Example response (synthetic data)
{
  "blocked": true,
  "bundle_digest": "0000000000000000000000000000000000000000000000000000000000000000",
  "created_at": "2026-01-15T14:30:00Z",
  "external_dependencies": [
    {
      "id": "example-id",
      "kind": "example",
      "note": "example",
      "required_by": [
        "example"
      ],
      "sha256": "example",
      "status": "ok",
      "version": "1"
    }
  ],
  "format_version": 1,
  "items": [
    {
      "action": "example",
      "arrives_disabled": true,
      "choices": [
        "example"
      ],
      "conflict": true,
      "document_sha256": "example",
      "from_version": 1,
      "id": "example-id",
      "kind": "example",
      "notes": [
        "example"
      ],
      "paths": [
        "example"
      ],
      "permissions": [
        "example"
      ],
      "permitted": true,
      "reasons": [
        "Example text"
      ],
      "target_id": "example-id"
    }
  ],
  "missing": [
    {
      "hint": "example",
      "id": "example-id",
      "kind": "example",
      "required_by": [
        "example"
      ]
    }
  ],
  "must_supply": [
    {
      "id": "example-id",
      "kind": "example",
      "note": "example",
      "path": "example",
      "reference": "example",
      "type": "example"
    }
  ],
  "plan_sha256": "example",
  "route": "example",
  "scope": "example",
  "source_tenant": "example",
  "summary": {
    "example": 1
  },
  "validation_error": "Example text"
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"bundle":{},"options":{"attest_baa":true,"conflict":"example","decisions":{"example":"example"}}}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/backup/restore/plan"

Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.