Skip to Content

Self-Hosted Deployment

Inspect license check-in data

See what license check-ins send to the built-in host, and what approved uploads and operator hosts add.

Do this with your agent

setup-databrain

Help me with this Databrain task: Inspect license check-in data. Ask what I already have set up. Propose the next steps and guide me through any settings I need to change myself.

With license updates on, a self-hosted server asks Databrain for its current license every 30 minutes. A check-in to the built-in host with no approved upload sends the app version and the server time, and can include error counts. It sends no customer data. Two things add to it: uploads an Admin approves, and an operator host.

When it is on

  • A new install: on from the first sign-up.
  • An install that upgrades: it keeps its setting. While updates are off and the license is valid, eligible Admins see Turn on license updates. at the top of the app, until they turn updates on or close the notice.
  • Turn it on or off: go to Settings > License > License updates and use Get license updates from Databrain. You must be an Admin.

Settings > License shows an example of the request under What this server sends, for your firewall.

Stop license and support calls

Turning off Get license updates from Databrain stops the license check-in only. To stop the license check-in, support shares and the operator heartbeat:

  1. Set DATABRAIN_LICENSE_CHECK_IN=off on the backend. This stops the license check-in and support shares.
  2. Unset DATABRAIN_CONTROL_PLANE_URL on the backend, if your operator set it. This stops the operator heartbeat.

Crash reports are a separate setting: see observability setup.

Where the built-in check-in goes

With no DATABRAIN_CONTROL_PLANE_URL, the check-in uses one host, over outbound HTTPS:

POST https://licence.usedatabrain.com/api/unity/instance-report

If that path answers 404, 405, a redirect, or a success with an HTML page, the server tries /unity/instance-report on the same host. A timeout waits for the next scheduled check-in.

Firewall rule: allow outbound HTTPS to licence.usedatabrain.com:443.

With license updates off and no operator host, Send this preview and Stop sharing use https://api.usedatabrain.com. The server posts to /unity/instance-report first and can retry /api/unity/instance-report. Allow outbound HTTPS to api.usedatabrain.com:443 if you use these actions while updates are off.

What a built-in check-in sends, with no approved upload

POST /api/unity/instance-report
Content-Type: application/json
Authorization: Bearer <your license key>
X-Dbn-Install-Policy: 1
X-Dbn-Image-Plugin-Runtimes: <embed runtime versions in this image, comma-separated, when known>
X-Dbn-App-Image-Build: <app build revision, when known>

{
  "imageVersion": "1.3.0",
  "reportedAt": "2026-11-28T10:30:00.000Z",
  "errorCounts": [
    {
      "hour": 1795852800000,
      "sampledAt": 1795861800000,
      "truncated": false,
      "counts": [{ "feature": "QRY", "code": "DBN-QRY-001", "count": 3 }]
    },
    {
      "hour": 1795856400000,
      "sampledAt": 1795861800000,
      "truncated": false,
      "counts": []
    }
  ]
}
FieldWhat it is
AuthorizationYour license key, as Databrain issued it. It is the server’s ID and its credential.
X-Dbn-Install-PolicyAsks Databrain for the signed install preferences in the answer.
X-Dbn-Image-Plugin-Runtimes, X-Dbn-App-Image-BuildWhich embed runtime versions and app build this server has.
imageVersionThe Databrain version this server runs.
reportedAtThe server clock, to find clock problems.
errorCountsError counts for the last 2 full UTC hours. Sent while the license is active and the count works.
hourThe start of the UTC hour, in Unix milliseconds. An hour with no errors has empty counts.
sampledAtWhen the server counted, in Unix milliseconds.
countsDatabrain error code, its product area (feature) and how often it happened. Only error codes the app shows to users. Never the error text.
truncatedtrue when the server stopped counting early: more than 120 code and product area entries in an hour, or more than 10,000 error records in the 2 hours.

What a built-in check-in never sends, with no approved upload

  • Rows from your datasources, query text or SQL.
  • Names of dashboards, metrics, datamarts, workspaces, users or clients.
  • Your users’ email addresses, passwords or tokens, or datasource credentials.
  • URLs of your app or your datasources.

Uploads that need an Admin’s approval

These go to Databrain only after an Admin approves them on the server. Each approval covers one upload.

After a check-in brings a diagnostics request from Databrain support, eligible Admins see Databrain requested diagnostics on Settings > License, with the date the request expires. After Approve one upload it shows Approved, and Received once the server records that Databrain got the bundle.

Admin actionWhat goes to Databrain
Approve one upload on Settings > License, when Databrain support asks for diagnosticsVersions, diagnostic retention and log level, error codes with counts and first and last seen times, and timings by product area.
Share usage report with Databrain support on Settings > Diagnostics, when Databrain support asks for itYour company ID and, for the 7 UTC days that end on the approval day, API call counts per day by route, method, API version, credential type and plugin version. If the request includes auto client scope reporting, the upload can also count reads, for guest tokens, API keys, data app keys and scheduled report runs, with the same breakdown plus the scope verdict and the warehouse type.
Send this preview on Settings > Diagnostics > SupportThe preview you saw, unchanged.

The usage report:

  • Settings > Diagnostics shows the request to Admins, while license updates are on.
  • Goes out with the next check-in after approval, and only to /api/unity/instance-report, never to the /unity/instance-report fallback.
  • Has no Stop sharing. To decline it, do not approve it: the request expires after 7 days. To cancel an approved report before it goes out, turn off Get license updates from Databrain before the next check-in. DATABRAIN_LICENSE_CHECK_IN=off only blocks sending while it is set. If the approval is still active when you remove it, the report can go out.
  • Stays readable to Databrain support for 7 days at most, and never after the request expires.

Stop sharing sends a stop notice with the license key, the app version and the server time, plus the operator host fields when an operator host is set. It never sends the preview again.

What comes back

  • Your current license, signed by Databrain. The server keeps it only if the signature is valid, it names this server and it is newer.
  • A revocation, signed for the exact key this server sent. The license then gets the normal grace period, counted from the signed revocation time if that is earlier than its end date. A different signed key that replaces a revoked one is kept.
  • Signed install preferences: the embed runtime version to use and where to get it, feature switches in observation mode (they change nothing), and requests from Databrain support. The server keeps them only if the signature is valid, they name this server, and they have not expired.

Requests from support wait for an Admin. Databrain cannot change other settings on your server through the check-in.

While a feature switch is in observation mode, Settings > License shows Databrain is observing a feature issue and names the feature, for example Semantic models or Custom charts. Your access stays the same.

If Databrain cannot be reached

Nothing changes on the server. The server checks the license by its signature, so the license follows its normal end date and grace period. Connection to Databrain on Settings > License shows Cannot reach Databrain after a failed check-in. Admins also see a warning at the top of the app 7 days after the later of turning updates on and the last good check-in.

No internet on the server: stop license and support calls, block outbound traffic in your network, and upload each license file.

Operator host

If your operator set DATABRAIN_CONTROL_PLANE_URL, the server sends the check-in, support shares and stop notices to that host instead, on the same two paths. It keeps that host after an upgrade.

To that host the server sends a longer heartbeat every 30 minutes: while license updates are on, and also while they are off if DATABRAIN_IMAGE_VERSION is set. It carries the license key, imageVersion (unknown when not set) and reportedAt, plus:

FieldWhat it is
companyIdThe ID of the company that holds the license on this server.
hostedAppUrlHOSTED_APP_URL, origin and path only, with no user name, query or fragment. Empty when not set.
dbKindpostgres or cockroachdb. Empty when unknown.
migrationHeadThe last database migration applied. Empty when unknown.
componentsThe API version, plus the Hasura version and health when the server is set up to probe Hasura. Hasura shows as unhealthy when the probe fails.

With license updates on, the same call can also carry the built-in check-in fields above.