Skip to main content
You calibrate one decision column on outcomes here, end to end. An AI column is what the API calls a judgment, and a decision column is a judgment of type bool, choice or score, whose answer carries a probability. At the end you read the engine’s number beside the corrected one (with its 95% interval, the fit that made it and the run that fit came from), and you open the list of fits. You will:
  • define a decision column that asks whether a support ticket is urgent,
  • write 60 tickets, and read the engine’s answer for one of them,
  • post what your team recorded for each ticket as an outcome,
  • start a fit, and read the list of fits,
  • read the corrected number, its interval, its fit and its run.
The tickets and the labels are made up to show how the data is organised. They do not show that the answers will be good on your data, which you measure with your own outcomes.

From a coding agent

A coding agent can create the organization and its key itself, with no account. It calls this once and keeps what it returns:
The response holds api_key (shown once, and scoped to default/quickstart), claim_url, expires_at and the free namespace’s limits. The agent stores the key in an env file that git ignores, and gives you the claim link. Opening it signs you in and makes you the owner of the organization, on Free, and the agent’s key keeps working. An organization that nobody claims within 7 days expires: its keys stop working and default/quickstart is deleted. Until you claim it, only the engines that Brussle includes serve it. Brussle creates a limited number of these organizations each day, and past that the call returns 429 rate_limited (or 403 sign_up_closed while these sign-ups are closed), so sign up in the dashboard instead.

Get an API key

You get an API key by signing up in the dashboard:
  1. Name your organization and choose a plan. Free needs no card. If you choose a paid plan, you add your card on a secure payment page next. Billing on that plan starts then, when Brussle charges the plan’s minimum and adds it to your balance as credit. If you leave the payment page without a card, your organization starts on Free.
  2. Create your API key. On Free, the key has the scope default/quickstart, so it can read and write that namespace only, which is all that these steps use. With a card, it has the scope default/*.
  3. Copy the key, since the dashboard shows it one time only.
On Free, your organization can do nothing outside default/quickstart. To go further, an owner adds a card and chooses a plan on the dashboard’s Plan page. See signing up. Within about a minute after the card goes on file, each key made before it reads and writes every namespace whose name starts with default/ (the scope default/*). You can then create more keys on the dashboard’s Keys page. The guides write to namespaces of your own, such as acme/prod/tenant_123, which your first key cannot reach (it gets 403 forbidden), so before you run a guide’s examples, create a key there whose scope covers the guide’s namespace, such as acme/*. Owners and admins can create a key for any scope, and a scope can name namespaces that do not exist yet. Brussle limits the number of new organizations each day. If sign-ups are full when you sign up, you go on the waitlist and we send you an email when there is space.

Bring your own key

Without a key of your own, these steps run on Jev current, an engine that Brussle includes. To run them on your own model instead, store your provider’s key first. On Free your API key reaches default/quickstart only, so store the provider key for that namespace:
Brussle tests the key with your provider before it stores it, and refuses a key that your provider rejects (invalid_request, with details.reason credential_rejected). Sending the same key again is safe. The response shows status, the model it tested and the key’s last four characters, never the key. An organization that a coding agent created needs its claim first. GET /engines lists the providers you can store a key for under providers, and a provider’s models can answer once its status there is active. None is active yet, so until one is, these steps run on Jev. Once one is, step 3 runs on your key’s default model (test_model, unless you set default_model), and to choose another model, name it as the engine, such as {"name": "openai/gpt-5.2", "version": "current"}. See engines.

Use the free namespace

The namespace default/quickstart is free, so use it to try things. It has these limits:
  • It holds up to 10,000 documents and 100 MB, and Brussle refuses a write past these limits with too_large.
  • Its judging has a small usage limit in each billing period: $1.00 at the first tier’s price, which is 8,000 standard rows on your own model or 4,000 on Jev, and these steps use about 60. Once the namespace gets to the limit, its judging pauses for the rest of the period. Before you add a card, a billing period is a calendar month. See pricing.
  • Fits are never billed, on any plan.
For real data, add a card and write to a namespace of your own. A judgment that you create in default/quickstart stays there and judges each later write to the namespace that its applies_to matches, until you delete it with DELETE /namespaces/{ns}/judgments/{name} (ns.judgments.delete(name) in the SDKs). Run these steps once, since running step 3 again makes version 2 of the judgment and step 7 is accepted once an hour.
1

Install the SDK

2

Create a client

The namespace does not exist until its first write or its first judgment creates it.
3

Define a decision column

Start from the ticket urgency starter, a ready-made judgment that asks Is this ticket urgent: does the customer need a reply within hours rather than days? The starter reads each ticket’s subject and first message, so tell it in paths where your documents keep them.
The request creates a bool judgment named urgent, and the definition field in the response shows its question, its criteria and its context recipe (what the engine reads). The urgent threshold is true when p is 0.8 or more.
  • The engine is not named, so Brussle uses the default: the model of your key if you stored one for a provider Brussle serves, else Jev current, the included engine for decisions. The response’s definition.engine shows which, and path says whether it runs on your key (customer_key) or on an included engine (included). An engine that is not pinned, such as Jev current, records its epoch in each answer’s engine_version (for example current+2026-09-24.1). See engines.
  • The freshness policy is on_change, so Brussle judges each ticket when it is written and again when it changes. The default, on_read, judges a ticket only when a read asks for its answer. See freshness policies.
4

Write the records

Write 60 tickets, of which the first 30 describe something broken and the last 30 ask for something small.
The 60 tickets are durable when the write returns, and Brussle then judges each one in the background. The loop queries the tickets whose answer is fresh until all 60 are, for at most 5 minutes.A write can wait for its answers with wait_for, but Brussle judges only the first 16 documents of a write at interactive priority. The rest go to the ordinary queue and usually come back pending, so for a batch like this one, query for the answers instead.
5

Read an answer

t_01 says that the mobile app is down for every customer, and its answer records what made it:
  • p: the engine’s probability that the ticket is urgent, which can differ from run to run.
  • freshness: fresh when the answer agrees with the ticket at its current revision, and with the active version of the judgment. See freshness.
  • judgment_version: the version of the question.
  • engine_version: the engine version and its epoch.
  • model_id: the model string that the provider reported, or null when it named none.
  • evaluation_id: the evaluation (the permanent record of this judging), with the exact text that the engine read.
The engine’s p says how sure the engine is, but not how often tickets like this one turn out urgent for your team. Your outcomes say that.
6

Post what happened

Your team’s records say which tickets really needed a reply within hours, so post each one as an outcome. In this example one label in four disagrees with what the ticket says (an outage on a test site that nobody used, a typo on a page that a regulator reads), and the engine cannot know this from the text.
That makes 60 outcomes (29 true and 31 false). A fit needs at least 50 outcomes with 15 of each answer, so post what did not happen as well as what did.Each outcome here is a labelled example, which Brussle joins to the ticket’s answer at the revision that was current at observed_at. These are dated now because the tickets never change after they are judged; when a document changes before you know the outcome, date the label when the answer was acted on (see post labelled examples). An outcome can use a horizon instead, for results that arrive later (such as “the invoice was paid within 30 days”). On Team and Scale, rules can derive outcomes from your own writes. See outcomes.
7

Fit the correction

Brussle starts a fit within minutes of a judgment’s first outcome and fits again every day. Fit now starts a run at once.
A run usually takes a minute or two, so the loop reads the list of fits until the first run is in it. Each row is one fit for one judgment version on one engine epoch, newest run first:
  • run: the run that made it (Brussle keeps every run for the life of the namespace).
  • fit: its id (such as fit_9f3a2c7e1b04d6a8), or null when the fit did not beat the engine’s own numbers on outcomes it was not fitted on.
  • applied: whether answers of its run read it. current marks the fit that answers read now.
  • stage: early from 50 outcomes. An early fit starts from the engine’s own numbers and moves toward your outcomes as they grow.
  • outcomes: how many outcomes it was fitted on.
Brussle accepts Fit now once an hour for each judgment, and within the hour it answers rate_limited, with Retry-After.
8

Read the corrected number

t_31 asks for a dark mode in the mobile app. If the fit beat the engine on held-out outcomes, each answer now has a calibrated object beside the engine’s p. Nothing was judged again, since Brussle applies the fit when the answer is read. See the correction.
  • calibrated.p: the corrected probability. These labels say the engine is too sure where its p is near 0 or 1, so the corrected number moves toward how often tickets like it were urgent.
  • calibrated.interval: the 95% interval of the corrected number, {"lower", "upper"}, which always contains the number and narrows as you post more outcomes. See how sure a corrected number is.
  • calibrated.fit and calibrated.run: the fit that made the number, and the run it came from, as the list of fits shows them.
  • calibrated.stage and calibrated.outcomes: an early fit, on 60 outcomes.
The engine’s p never changes meaning, and the correction never reverses the engine’s order, so a ticket with a higher p never gets a lower corrected number.If an answer has no calibrated object, the report’s not_fitted says why and what to post. See why an epoch has no correction.
  • raw_better: the fit did not beat the engine’s own numbers on held-out outcomes, so answers keep the engine’s numbers.
  • within_noise: below 100 outcomes a fit must beat the engine by more than chance would explain, and this one did not yet.
  • truncated_sample, labels_read_like_the_outcome: the labels cover one part of the range, or read like the outcome. See the report.
  • awaiting_fit: there are enough outcomes, and the next run (within the hour) fits them.
Each of these is the rule working: Brussle applies a correction only when your outcomes show that it is better.

Act on the corrected number

Thresholds, filters, ranking and subscriptions on this judgment read the engine’s p. The corrected number is for reading, so a new fit never moves a ticket across a threshold without your action. To act on calibrated numbers:
  • Add features. On a judgment with features (such as a count your system keeps or the age of the ticket), the answer’s own p is the corrected one. Thresholds read it, and you filter and rank on interval.lower so that you act only where the number is high with 95% confidence. A judgment with features applies a fit from 100 outcomes. See add your own numbers to the fit.
  • Pick a threshold from your outcomes. On Team and above, the recommender picks a threshold on p for a precision or recall target, measured on your outcomes.

Extract fields into a JSON column

A column can hold a JSON value instead of a probability. Once your organization has your own provider key (a text, json or embedding column needs one), add a json column to the same tickets:
With no engine, the column runs on your key’s default model. A new judgment judges the documents written after it, so the backfill judges the 60 tickets already written, in the background, and each answer’s value is an object such as {"product": "mobile app", "kind": "outage"}. Filter on a field of it with ["answers.ticket_fields.value.kind", "Eq", "outage"]. The column stays current as the tickets change, as urgent does, but it takes no outcomes and has no corrected number. A value that does not satisfy the schema is a failed answer whose evaluation says why. See AI columns and their types.

Next

  • Open the judgment urgent in the dashboard at https://app.brussle.com, where its Overview shows the calibration report under the definition, with Fit now and the table of fits.
  • Compare two fits on the same outcomes, and pin one you have audited: read your fits.
  • Write a ticket again with a new body, and its answer becomes pending, then fresh with a new evaluation_id. A change to a field the recipe does not read (such as a status) costs nothing.
  • See a judgment that reads other records, and runs again when one of them changes: match one record to another.
  • See how a write becomes an answer, and an outcome becomes a fit inside Brussle.
  • Set up a staging environment of your own, separate from default/quickstart.