Alerts
An alert tells you that the AI assistants got something wrong about the brand, or that something moved: a price hallucination (a model quotes a price that is not the catalogue’s), a wrong availability (a model says in stock / out of stock against the store), a visibility drop (the share fell between two weekly samplings — claimed.carried_by[{model, before, after, runs, part}] says which models lost the answers, claimed.interval / truth.interval give the 95 % Wilson bounds, and claimed.uncertain: true with a low severity flags a drop one model carries: its answers on one query are not independent draws), a new competitor cited on several queries, an invented spec (a model gives the product a characteristic its identity sheet does not state — claimed.specs lists them), or, for a physical establishment, wrong establishment facts (wrong_local_fact: a model states an address or a phone number that is not the one declared on the market — claimed.address / claimed.phone, claimed.wrong says which), or an SEO regression (seo_regression: between two SEO crawls of the market, a key page went into error, got a noindex, lost its Product schema, title tag, meta description or canonical, or robots.txt blocks a search bot — claimed.signal, claimed.pages[{url, before, after}], claimed.count, claimed.bots; one alert per signal and market, with no model nor query, resolved by itself on the crawl that finds the pages healthy again). The first two, wrong_local_fact and the blocking SEO regressions (error, noindex, schema, robots) are critical: a shopper may buy — or not — on a false promise.
Skoup opens one alert per incident: if the same wrong price comes back the next week, the open alert gathers the new occurrences instead of opening another one. Each alert carries its proof — the claim (claimed) against the catalogue (truth), per model.
Statuses of an alert
newseenin_progresstreatedresolvedignoredAn alert is its own fix: it carries who handles it (assignee), its size (effort: s, m, l), a free note (description), when it was started (started_at), when the next weekly sampling reviews it (verify_at, set when it becomes treated, moved to the next cycle at each review) and, once resolved, the measured gain (gain, verified_via: "measure"). No other fix (task object) is created next to it.
The loop is: you start the alert (in_progress), you fix the cause (the price in the store, the stock, the product page), you treat the alert, then the measurement verifies it. Every complete weekly sampling that started after the fix reviews a treated alert: without the claim, clean_cycles goes up by one, and at 2 the alert becomes resolved; with the claim, it stays treated with persisted: true and clean_cycles starts over at 0. A sampling that cannot tell (the catalogue no longer knows the truth) changes nothing. You can also verify right away: POST …/verify re-asks the alert’s query to every model and resolves it if the claim is gone.
When the subject does not matter to you (a competitor you will not track, an off-topic product), dismiss the alert with mute: it becomes ignored with muted: true and muted_at, and Skoup no longer raises this subject for this kind of alert. The next occurrences join it silently (occurrences and last_seen_at move, the status stays ignored). Each action comes through alert.updated.
I want to…
| I want to… | Call |
|---|---|
| List the open critical alerts | GET /v1/brands/{brand}/alerts?status=open&severity=critical |
| List the price hallucinations on France | GET /v1/brands/{brand}/alerts?kind=price_hallucination&market=FR |
| List everything the assistants get wrong (price, stock, invented spec, local fact) | GET /v1/brands/{brand}/alerts?type=perception — type is what the alert is about: perception, competitors, seo, visibility |
| Read one alert and its proof | GET /v1/brands/{brand}/alerts/{alert} |
| Say the fix has started | POST /v1/brands/{brand}/alerts/{alert}/start |
| Assign, size or annotate the fix | PATCH /v1/brands/{brand}/alerts/{alert} with effort, description, verify_at |
| Say the fix is made | POST /v1/brands/{brand}/alerts/{alert}/treat |
| Ignore an alert | POST /v1/brands/{brand}/alerts/{alert}/dismiss |
| Stop being alerted on this subject | POST /v1/brands/{brand}/alerts/{alert}/dismiss with {"mute": true} — also works on an alert already ignored |
| Check the fix now | POST /v1/brands/{brand}/alerts/{alert}/verify — quota Skoup-Quota-Verifications |
status=open means new, seen, in_progress and treated. Scopes: alerts:read, alerts:write. Events: alert.created, alert.updated (status, muted or fix field change, with previous_attributes), alert.resolved.
Scenario: warn a client when a price hallucination appears
Subscribe an endpoint to alert.created, keep only price hallucinations, and send the proof to your client.
if (event.type === 'alert.created' && event.data.object.kind === 'price_hallucination') {
const alert = event.data.object
await notifyClient(alert.brand, {
// `product` is null when the AI priced the brand without naming an offer.
subject: alert.product?.title ?? 'the brand',
// A range: from `price` to `price_max`; `period` says what the price buys.
claimed: [alert.claimed?.price, alert.claimed?.price_max].filter(Boolean),
truth: [alert.truth?.min, alert.truth?.max],
period: alert.truth?.period,
currency: alert.truth?.currency,
})
}Once the price is fixed in the store, close the loop:
curl -X POST https://api.skoup.ai/v1/brands/br_034PJIMnN3EOTCU3TMUdLS/alerts/alrt_031CQlTxUKUOFYaHSd3kBY/treat \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
curl -X POST https://api.skoup.ai/v1/brands/br_034PJIMnN3EOTCU3TMUdLS/alerts/alrt_031CQlTxUKUOFYaHSd3kBY/verify \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"verify answers 202 when a re-sampling starts (200 when one is already running); the verdict arrives later as alert.resolved, or alert.updated with persisted: true.
Pitfalls
- An SEO regression has no model nor query.
first_seen_atis the end of the crawl that saw it,queryandmodelarenull,occurrencesis 0: the proof is inclaimed.pages.POST …/verifydoes not apply; it resolves on the next crawl (alert.resolved). - A quoted price is not always one number.
claimed.price_kindisexact,range(frompricetoprice_max),fromorapproximate;claimed.period(month,year,once) andclaimed.unit(flat,per_user) say what it buys. A range that overlaps the real pricing opens no alert; a yearly price is only compared when the offer declares itsprice_annual. - A price alert may be about no product. When the AI prices the brand without naming an offer,
claimed.scopeisbrand,productisnullandtruthis the envelope of every active offer (truth.min–truth.max,truth.offers). There is one per market, never one per plan. - Or a product line. When the AI prices a line (« Carré 90 scarves cost 80 to 150 € »),
claimed.scopeisline,productisnull,claimed.lineandtruth.linegive the line’s name as the catalogue writes it,truth.productsthe number of its active products andtruth.min–truth.maxtheir prices. - Only a wrong exact price on a named offer is
critical. A range, an approximation or a brand price that misses the pricing ismedium; the severity of an open alert may rise, never fall. truth.open_ended: an add-on on quote leaves the pricing open upwards; only a price undertruth.minis then wrong.- Verify only a treated alert, otherwise the call answers
422. - Verifications are rationed: 10 per brand per rolling 24 hours, and one per query per hour. When the quota is spent,
verifyanswers422 quota_exceeded; readSkoup-Quota-Verifications(limit,remaining,reset) before retrying. - Transitions are one-way: a resolved or ignored alert cannot be reopened — if the incident comes back, a new alert opens. Exception: the same wrong value already ignored (the same address or number of an establishment for
wrong_local_fact, the same characteristic forspec_invented) joins the ignored alert silently: noalert.created, noalert.updated, the status staysignored. A new wrong value opens a new alert. An alert Skoup closed itself (close_reason: rejudged) keeps nothing. muteholds on every market. The same subject (competitor, product, query, establishment or SEO signal) no longer opens an alert of this kind anywhere: on another market nothing is created, no alert and noalert.created. The accuracy score still counts the claim: muting sets what Skoup tells you, not what it measures.muteanswers422on aresolvedalert or one Skoup closed itself. It cannot be lifted through the API: it is lifted in the app, and you receive analert.updatedwithmuted: false.- An invented spec comes after the others: it is read in the Perception judgement, which ends after the sampling. It only exists for a product with an identity sheet, and its verification waits for that judgement too.
- Establishment facts only exist for a
localbrand with a tracked establishment that declares an address or a phone; one alert per establishment (location:id,name,city); hours are reported (claimed.hours), never judged. close_reason: recovered: a visibility drop nobody treated whose share came back on the next complete sampling. Skoup closed it as noise: it isignored, comes throughalert.updated— neveralert.resolved— and cannot be restored.close_reason: rejudged: Skoup closed the alert itself because the claim no longer counts as wrong (a range that holds the pricing, for instance). It isignored, comes throughalert.updated— neveralert.resolved— and cannot be restored.close_reason: confirmed: someone at the brand confirmed in the app that an “invented” characteristic (spec_invented) was accurate; it was added to the product sheet and will not be flagged again. The alert isignored, comes throughalert.updated— neveralert.resolved— and cannot be restored.- Test mode:
treatandverifyanswer like in live mode on the sandbox, but nothing is kept and no re-sampling runs.
Pitfalls
- Since 2026-10-14, an alert no longer opens a separate fix. Existing
source: "alert"fixes were folded into their alert (assignee, effort, note, status, plan) and deleted:GET /v1/brands/{brand}/tasks?source=alertreturns nothing andtask.*is no longer sent for an alert. Followalert.updatedinstead. An old alerttask_…id is no longer served by/v1/tasks. in_progressis one more value in the status union: a client that treatedstatusas a closed list must accept it.