ChecksBeta

Tag your traffic automatically. An AI check flags or labels each model call or session by meaning; a Rule check matches text, tools, status, latency, cost or tokens for free. Read the results in Observability or with your key.

Beta: this feature is supported, but may change.

What a check is

A check scores every new model call or session that matches it, and its results show in Observability next to your requests. Open Observability > Checks to list, add, edit and delete checks. Org admins and the organization's own xpl_ key change checks; every member reads them.

JudgeWhat it doesCost
AIJudges meaning from your instruction: a yes or no flag, one label from your list, or every label that fitsCounted against your plan's AI checks. See What checks cost
RuleExact match on text, tools, status or numbersFree on every plan
ScopeScored
Each model callEvery call, as it arrives
Each sessionThe whole session, once it has been quiet for 10 minutes. It is scored again if it continues

An organization can have 32 active checks. A new check scores every session. Lower filters.sample_rate to score a sample by session.

https://platform.experientiallabs.ai/observability/requests?group=checks

AI checks

Write the instruction as a question about your traffic. Name whose words to judge: "What does the user ask for in their own message?" works better than "What does the user want?", because the judge otherwise reads the assistant's reply as the user's intent.

KindAnswerFlags whenAPI kind
FlagYes or noThe judge is at least as sure as your flag line (50% by default)boolean
TagThe one label that fits best, from 2 to 12 labels, plus an optional Other for "none of these"The judge chose a label with at least the flag line's confidencechoice
Multi-tagEvery label that fits, from 2 to 12 labels, each judged on its ownAt least one label reaches the flag linemulti_choice

An AI check scores only stored content. A request with nothing stored is never sent to the judge. AI scores carry no written reason.

AI checks need a paid plan. On Free, the AI option is locked and the API answers 403 plan_required; Rule checks work on every plan.

{
  "name": "Intent",
  "kind": "choice",
  "scope": "llm_call",
  "question": "What does the user ask for in their own message? Judge the user's words, not the agent's reply.",
  "labels": ["Refund", "Bug report", "How-to question", "Other"]
}

Rule checks

A Rule check tests each model call and flags it when the rule matches. Rules are free, call no model, and always score each model call (never a session). They score new traffic only: there is no backfill.

RuleAPI rule.kindFlags when
Text contains, does not containcontains, not_containsThe input (messages and tool results) or the output (the response and tool calls) has, or lacks, the text. Case is ignored
Text matches regexregexThe pattern matches. RE2 syntax: no lookarounds or backreferences
Tool was called, was not calledtool_called, tool_not_calledA tool with exactly this name was, or was not, called
Call failedstatus_failedThe call ended in an error
Latency abovelatency_above_msTotal time is above the limit, in milliseconds
Cost abovecost_above_usdAll-in cost is above the limit, in US dollars
Output tokens aboveoutput_tokens_aboveOutput tokens are above the limit

A text or tool rule needs stored content. When the facts a rule reads are missing, the call gets no score rather than a false "no".

{
  "name": "Mentions a refund",
  "kind": "boolean",
  "scope": "llm_call",
  "question": "Output contains refund",
  "judge_model": "deterministic-rules",
  "rule": {"kind": "contains", "field": "output", "value": "refund"}
}

Read the results

The Checks view lists every check with its judge, scope and flag line, and for the current time range and filters:

ColumnMeaning
ScoredRequests the check scored. A request counts once per check, by its newest score
Flagged, Flag rateRequests it flagged, and their share of Scored
LabelsFor a Tag or Multi-tag check, each label with its count. A label opens its requests
Last 14 daysA small line of the rate per day in your time zone over the last 14 days, whatever the time range. Hover a day for its figures. A day with no score is a gap

A row opens the requests it flagged (sessions for a session check). In Requests, filter with Check flagged, Check score or a check's label, and open a request: its drawer lists what each check said about it.

FilterQuery parameter
Check flaggedtag_fired=<check id>
Check score, in percenttag_score=<check id>:<min>:<max>, from 0 to 1
A check's labeltag_label=<check id>:<label>
GET/api/orgs/{org_id}/usage/checks
curl "https://api.experientiallabs.ai/api/orgs/ORG_ID/usage/requests?window=7d&tag_label=CHECK_ID:Refund&dir=desc" \
  -H "Authorization: Bearer <YOUR_API_KEY>"

What checks cost

PlanAI-checked requests or sessions included each monthThen
FreeNone (no AI checks)
Pro6,500$0.55 per 1,000
Max65,000$0.55 per 1,000
Ultra650,000$0.55 per 1,000
  • Each judgment counts once, however many AI checks score it: a request, or a session judged by a whole-session check.
  • Rule checks are always free.
  • Past the included amount, AI checks draw credits from your balance. Out of credits, AI checks pause and Rule checks keep running; they resume when you add credits or the month turns.
  • The judge's calls are ours: they never appear as your requests, never count against your rate limits, and are never stored.
  • PUT .../trace-tags/budget sets an optional monthly cap on what checks may draw.
  • Before you save an AI check, the editor projects its AI checks a month at your current traffic against the included checks left, and offers a sample rate that fits (POST .../trace-tags/projection).
  • Each AI check has an optional monthly_budget, by default the included checks left when you create it. Past it, the check samples at budget_sample_rate (default 1%) instead of drawing credits, and the Checks view says so. It returns to its own rate each UTC month.

These terms can change. The "i" beside the Checks count and budget.ai_checks on GET .../trace-tags show your plan's current terms. See Plans and pricing.

PUT/api/orgs/{org_id}/trace-tags/budget
curl -X PUT https://api.experientiallabs.ai/api/orgs/ORG_ID/trace-tags/budget \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"monthly_cap_nano_usd": 20000000000}'

What gets checked

Checks read only content your organization stored, judged with your settings at the time of scoring:

  • Nothing is checked while prompt storage is off, while zero data retention is required, or while a deletion is running.
  • A request routed under zero data retention is never checked, even with storage on.
  • Content stored before you last turned storage off or deleted it is never checked.

Scores expire with the content they were read from. Webhooks carry ids and numbers, never text. See Data controls.

The Checks view says when checks are paused and why: out of credits, the month's limit reached, card verification needed, or storage off.

Manage checks with the API

All routes are under /api/orgs/{org_id}/trace-tags (the API calls a check a trace tag). GET lists every check with its last 7 days and the budget; POST creates; PATCH changes only the fields you send; DELETE removes a check and its results.

FieldMeaning
name1 to 80 characters, unique in the organization
kindboolean (Flag or Rule), choice (Tag) or multi_choice (Multi-tag)
questionThe instruction, 1 to 1,000 characters
labelsTag and Multi-tag: 2 to 12 labels, each 1 to 64 characters. A Tag check may add Other; a Multi-tag check may not
thresholdThe flag line, above 0 up to 1. Default 0.5
scopellm_call (each model call) or session (each session). A Rule check is llm_call
judge_modelLeave it out for an AI check. deterministic-rules for a Rule check
ruleRule checks only: {kind, field, value, amount} as in Rule checks
filtersOnly some API keys, models or request tags (key:value), and sample_rate (default 1)
monthly_budgetAI checks: judgments a UTC month at the check's own rate. Left out: the included checks left. null: no cap
budget_sample_rateThe rate past the budget. Default 0.01
statusactive or paused. A paused check keeps its results
alert, webhookEmail when the flag rate passes a limit, or a signed POST on each flag. Off by default
POST/api/orgs/{org_id}/trace-tagsGET/api/orgs/{org_id}/trace-tagsPATCH/api/orgs/{org_id}/trace-tags/{tag_id}
curl -X POST https://api.experientiallabs.ai/api/orgs/ORG_ID/trace-tags \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"name": "Gave up early", "kind": "boolean", "scope": "llm_call",
       "question": "Did the assistant stop before finishing the task?"}'

Read results with the API

ReadRoute
Scored and flagged requests per check, with the trend and label counts, under any request list filter (at most 31 days)GET .../usage/checks
One check's scored and flagged counts per hour or dayGET .../trace-tags/{tag_id}/rates
One check's scores, newest firstGET .../trace-tags/{tag_id}/scores
The check results on each requesttag_scores and tag_labels on every row of GET .../usage/requests

/usage/checks returns, per check, scored, flagged, grain (hour for a range of 24 hours or less, else day), buckets (every bucket of the range, empty ones included, each with scored, flagged and labelled) and labels (each label with its request count). Checks that scored nothing in the range are left out. A member counts only their own requests.

GET/api/orgs/{org_id}/trace-tags/{tag_id}/ratesGET/api/orgs/{org_id}/trace-tags/{tag_id}/scores
{"checks": [{
  "tag_id": "3f1c2a9e-5b7d-4e21-9a6c-0d8e7f4b1a25",
  "scored": 1840, "flagged": 37, "grain": "day",
  "buckets": [{"start": "2026-11-24T00:00:00Z", "scored": 260, "flagged": 4, "labelled": 0}],
  "labels": []
}]}

Alerts and webhooks

An alert emails members of your organization when a check's flag rate passes rate_above over window_minutes (5 to 1,440). It needs at least 20 scores in the window and sends at most one email per window.

A webhook posts JSON to a public https URL (redirects are not followed). Each delivery carries:

HeaderValue
X-Explabs-Signaturet=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">
X-Explabs-Eventtag.fired, tag.alert or tag.test
X-Explabs-DeliveryA unique id to deduplicate on

Create the signing secret with POST .../{tag_id}/webhook/secret; it is shown once. Compute the HMAC with it, compare in constant time, and refuse a timestamp more than 5 minutes old. A failed delivery is retried with growing delays and set aside after 8 attempts. Payloads hold ids and numbers, never text.

POST/api/orgs/{org_id}/trace-tags/{tag_id}/webhook/secret
import hashlib, hmac, time

def verify(secret: str, header: str, body: bytes) -> bool:
    parts = dict(p.split("=", 1) for p in header.split(","))
    if abs(time.time() - int(parts["t"])) > 300:
        return False
    signed = f"{parts['t']}.".encode() + body
    digest = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
    return hmac.compare_digest(digest, parts["v1"])

Score past traffic

A check scores new traffic. To score an AI check over past traffic too (at most 90 days and 100,000 calls), get an estimate, then start the backfill with its estimate_token within 15 minutes. A backfill never scores a call twice. Rule checks have no backfill (422 backfill_not_available).

POST/api/orgs/{org_id}/trace-tags/{tag_id}/backfill/estimatePOST/api/orgs/{org_id}/trace-tags/{tag_id}/backfills
curl -X POST https://api.experientiallabs.ai/api/orgs/ORG_ID/trace-tags/TAG_ID/backfill/estimate \
  -H "Authorization: Bearer <YOUR_API_KEY>" -H "Content-Type: application/json" \
  -d '{"from": "2026-11-01T00:00:00Z", "to": "2026-11-08T00:00:00Z", "max_spans": 5000}'
# {"estimate_token": "...", ...}  then POST .../backfills {"estimate_token": "..."}

Errors

Status and codeMeaning
403 plan_requiredAI checks need a paid plan. Rule checks work on every plan
409 name_taken, 409 tag_limitThe name is used, or 32 checks are already active
422 invalid_tagA field is invalid; the message names it
422 judge_model_unavailableThe judge is not available on this deployment
422 backfill_not_availableRule checks have no backfill
402 monthly_cap_reached, 409 estimate_expiredA backfill would pass your monthly cap, or its estimate is older than 15 minutes
503 tags_unavailableChecks are not available on this deployment

Errors are {"error": "<sentence>", "code": "<code>"}.

Scores, review queues and datasets

These have an API and no page in the app, except the thumbs in the request drawer. A score is a judgement about one request, session or span from a person or your code; a review queue lists items for people to score; a dataset keeps stored requests or sessions as test cases. A member works only on their own requests and sessions.

Routes under /api/orgs/{org_id}Does
/score-configs, /scores, /scores/summaryScore names and types, scores, and their summary
/scores/feedbackThumbs on a request: POST {"request_id", "rating": "up"} (or down) sets yours, the same thumb again clears it; GET ?request_id= reads them. A thumb is a score of the built-in Feedback type (up 1, down -1), and the request list filters on it with feedback
/annotation-queues, .../{queue_id}/itemsReview queues and their items
/datasets, .../items, .../export, .../runsDatasets, their items, a JSON lines export, and runs against a model

A dataset item copies stored content only, and turning storage off or deleting stored content also removes items copied from traffic. A run sends each item as a real request, so it draws credits at the model's normal rate; price it first with .../runs/estimate.

POST/api/orgs/{org_id}/scoresPOST/api/orgs/{org_id}/datasets
curl -X POST https://api.experientiallabs.ai/api/orgs/ORG_ID/scores \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"target": {"kind": "request", "id": "REQUEST_ID"}, "name": "helpful", "value": 0.9}'