Alerts
Events associés : alert.created · alert.resolved · alert.updated
L’objet Alert
Attributs
idstringIdentifiant unique de l'objet (préfixé, opaque).
objectstringalertbrandstringLa marque à laquelle l'objet appartient (
br_…).marketstringCode du marché (pays ISO, par ex.
FR).kindenumWhat an alert reports. Adding a kind = one case here, one detector and the copy; the inbox is data-driven.
Valeurs possibles :
price_hallucination·wrong_availability·visibility_drop·new_competitor·spec_invented·wrong_local_fact·seo_regressiontypeenumWhat a fix is about — the « Type » a task, an alert and every line of « Correctifs » carry (the Guigz, 2026-10-09): the theme of the thing to fix, not the nature of the work (TaskKind: write-back, content, technical, which stays internal). Derived once from the source of a generated task (TaskSource::type()) or the kind of an alert (AlertKind::type()); chosen, or left empty, on a manual task. | | |---| |
audit<br/> AI readiness: the technical audit (robots, llms.txt, schemas, feed…). | |seo<br/> The SEO checks and the regressions a crawl finds. | |perception<br/> What the assistants say: wrong, distorted or missing facts and differentiators. | |traffic<br/> The pages that turn citations into visits (Google, visits, AI citations). | |competitors<br/> The competitors: territories to take, sources to win, newcomers. | |listing<br/> The listings of an establishment (local vertical). | |visibility<br/> The brand's share of answers (a drop in visibility). |Valeurs possibles :
audit·seo·perception·traffic·competitors·listing·visibilityseverityenumValeurs possibles :
critical·medium·lowstatusenumLifecycle of an alert (mockup): Nouvelle → Vue → Traitée → Résolue vérifiée, plus Ignorée on the side. An alert IS its fix (the Guigz, 2026-10-14):
InProgress(« En cours ») sits between read and treated, the kanban's column, and steps back toSeen; treated never steps back (its verification decides).Resolvedis only ever reached by a measurement (ResolveVerifiedAlerts, SeoRegressionAlerts), never by the API.Valeurs possibles :
new·seen·in_progress·treated·resolved·ignoredproductobjectnullableAfficher les attributs enfants
idstringnullableIdentifiant unique de l'objet (préfixé, opaque).
titlestring
queryobjectnullableAfficher les attributs enfants
idstringnullableIdentifiant unique de l'objet (préfixé, opaque).
textstring
competitorstringnullablelocationobjectnullableAfficher les attributs enfants
idstringIdentifiant unique de l'objet (préfixé, opaque).
namestringnullablecitystringnullable
modelenumnullableThe AI assistants Skoup samples. Keys match the front's
lib/ai-models.tsand the--model-*tokens; model ids and providers live in config('skoup.visibility').Valeurs possibles :
chatgpt·claude·gemini·perplexity·grok·mistral·deepseek·qwenmodelsarray of objectAfficher les attributs enfants
modelstringoccurrencesinteger
occurrencesintegerclaimedobjecttruthobjectnullablepersistedbooleanThe claim was seen again after the alert was treated (a verification, or a weekly sampling).
verificationsintegerclean_cyclesintegerComplete samplings in a row without the claim since it was treated; two resolve it.
first_seen_atstringlast_seen_atstringdescriptionstringnullableThe alert IS its fix (2026-10-14): who is on it, how big, a note, when the measurement tells, what it showed.
effortenumnullableT-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).
Valeurs possibles :
s·m·lassigneeobjectnullableAfficher les attributs enfants
namestring
started_atstringnullabletreated_atstringnullableverify_atstringnullablegainstringnullableverified_viaenumnullableHow a fix was verified: proved by the measure (a sampling, a crawl, a readiness pass) or marked verified by hand. Only a verification by the measure is rewarded in Progression.
Valeurs possibles :
measure·handdismissed_atstringnullableclose_reasonenumnullableWhy an alert closed without a fix.
Rejudged: the way a claim is judged changed and this one no longer counts as wrong — Skoup closed it, never a fix the brand made, so never « resolved ».Confirmed: a member said the AI was right (an invented spec that is real) and the spec went onto the product sheet — a false positive, not a fix either.Recovered: a drop nobody treated whose share came back on the next complete sampling (HerVé, 2026-11-02) — the noise ended, nothing was fixed.Valeurs possibles :
rejudged·confirmed·recoveredmutedbooleanDismissed with
mute: the same subject never raises this kind of alert again, on any market.muted_atstringnullablelast_verification_atstringnullableresolved_atstringnullablelivemodebooleantruepour les données réelles,falsepour le bac à sable du mode test.createdintegerTime at which the object was created (unix timestamp, seconds).
{
"id": "alrt_031CQlTxUKUOFYaHSd3kBY",
"object": "alert",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"market": "FR",
"kind": "price_hallucination",
"type": "perception",
"severity": "critical",
"status": "new",
"product": {
"id": "prod_031CQNg2fZXIIClKM3I8uF",
"title": "Grizl CF SL 7"
},
"query": {
"id": "qry_031CQSmQyxphdXPSkx2QxP",
"text": "meilleur vélo gravel carbone à moins de 3000 €"
},
"competitor": null,
"model": "chatgpt",
"models": [
{
"model": "chatgpt",
"occurrences": 2
},
{
"model": "gemini",
"occurrences": 1
}
],
"occurrences": 3,
"claimed": {
"price": 2199,
"price_max": null,
"price_kind": "exact",
"period": null,
"unit": null,
"scope": "offer",
"currency": "EUR",
"min": 2199,
"max": 2199,
"gap": 0.12,
"runs": 3
},
"truth": {
"price": 2499,
"min": 2499,
"max": 2499,
"currency": "EUR",
"period": null,
"unit": null,
"annual_min": null,
"annual_max": null,
"max_with_addons": 2499,
"open_ended": false,
"addons": [],
"scope": "offer",
"variants": 4,
"checked_at": "2026-09-21T02:40:00Z"
},
"persisted": false,
"verifications": 0,
"first_seen_at": "2026-09-21T02:40:00Z",
"last_seen_at": "2026-09-21T02:40:00Z",
"treated_at": null,
"dismissed_at": null,
"close_reason": null,
"muted": false,
"muted_at": null,
"last_verification_at": null,
"resolved_at": null,
"livemode": true,
"created": 1790000000
}Update an alert
PATCH/v1/brands/{brand}/alerts/{alert}
Updates the fields of the alert’s fix: description, effort,
verify_at. Its status moves through start, treat, dismiss and
verify.
Paramètres
brandstringobligatoireBrand id (
br_…).alertstringobligatoireAlert id (
alrt_…).descriptionstringnullableA note on the fix, free text.
effortenumnullableT-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).
Valeurs possibles :
s·m·lverify_atstringnullableWhen the measurement should tell — set to the next weekly sampling when the alert is treated, if empty.
Retour
Renvoie l’objet alert mis à jour. Lève une erreur en cas de problème.
curl
curl -X PATCH https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc" \
-H "Content-Type: application/json" \
-d '{"description":"Rewrite the product copy so the frame warranty is stated.","effort":"s"}'{
"id": "alrt_031CQlTxUKUOFYaHSd3kBY",
"object": "alert",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"market": "FR",
"kind": "price_hallucination",
"type": "perception",
"severity": "critical",
"status": "new",
"product": {
"id": "prod_031CQNg2fZXIIClKM3I8uF",
"title": "Grizl CF SL 7"
},
"query": {
"id": "qry_031CQSmQyxphdXPSkx2QxP",
"text": "meilleur vélo gravel carbone à moins de 3000 €"
},
"competitor": null,
"model": "chatgpt",
"models": [
{
"model": "chatgpt",
"occurrences": 2
},
{
"model": "gemini",
"occurrences": 1
}
],
"occurrences": 3,
"claimed": {
"price": 2199,
"price_max": null,
"price_kind": "exact",
"period": null,
"unit": null,
"scope": "offer",
"currency": "EUR",
"min": 2199,
"max": 2199,
"gap": 0.12,
"runs": 3
},
"truth": {
"price": 2499,
"min": 2499,
"max": 2499,
"currency": "EUR",
"period": null,
"unit": null,
"annual_min": null,
"annual_max": null,
"max_with_addons": 2499,
"open_ended": false,
"addons": [],
"scope": "offer",
"variants": 4,
"checked_at": "2026-09-21T02:40:00Z"
},
"persisted": false,
"verifications": 0,
"first_seen_at": "2026-09-21T02:40:00Z",
"last_seen_at": "2026-09-21T02:40:00Z",
"treated_at": null,
"dismissed_at": null,
"close_reason": null,
"muted": false,
"muted_at": null,
"last_verification_at": null,
"resolved_at": null,
"livemode": true,
"created": 1790000000
}Retrieve an alert
GET/v1/brands/{brand}/alerts/{alert}
Paramètres
brandstringobligatoireBrand id (
br_…).alertstringobligatoireAlert id (
alrt_…).
Retour
Renvoie l’objet alert. Lève une erreur en cas de problème.
curl
curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"id": "alrt_031CQlTxUKUOFYaHSd3kBY",
"object": "alert",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"market": "FR",
"kind": "price_hallucination",
"type": "perception",
"severity": "critical",
"status": "new",
"product": {
"id": "prod_031CQNg2fZXIIClKM3I8uF",
"title": "Grizl CF SL 7"
},
"query": {
"id": "qry_031CQSmQyxphdXPSkx2QxP",
"text": "meilleur vélo gravel carbone à moins de 3000 €"
},
"competitor": null,
"model": "chatgpt",
"models": [
{
"model": "chatgpt",
"occurrences": 2
},
{
"model": "gemini",
"occurrences": 1
}
],
"occurrences": 3,
"claimed": {
"price": 2199,
"price_max": null,
"price_kind": "exact",
"period": null,
"unit": null,
"scope": "offer",
"currency": "EUR",
"min": 2199,
"max": 2199,
"gap": 0.12,
"runs": 3
},
"truth": {
"price": 2499,
"min": 2499,
"max": 2499,
"currency": "EUR",
"period": null,
"unit": null,
"annual_min": null,
"annual_max": null,
"max_with_addons": 2499,
"open_ended": false,
"addons": [],
"scope": "offer",
"variants": 4,
"checked_at": "2026-09-21T02:40:00Z"
},
"persisted": false,
"verifications": 0,
"first_seen_at": "2026-09-21T02:40:00Z",
"last_seen_at": "2026-09-21T02:40:00Z",
"treated_at": null,
"dismissed_at": null,
"close_reason": null,
"muted": false,
"muted_at": null,
"last_verification_at": null,
"resolved_at": null,
"livemode": true,
"created": 1790000000
}List alerts
GET/v1/brands/{brand}/alerts
Incidents detected at the end of the samplings — price hallucinations, wrong availability, visibility drops, new competitors, invented specs — newest first. An alert is its own fix: it carries its assignee, effort, note, verification date and gain.
Paramètres
brandstringobligatoireBrand id (
br_…).marketstringstatusstringkindstringtypestringseveritystringlimitintegerNombre d'objets à renvoyer, entre 1 et 100 (20 par défaut).
starting_afterstringCurseur : l'
iddu dernier objet de la page précédente.
Retour
Un dictionnaire dont la propriété data contient jusqu’à limit objets alert, du plus récent au plus ancien, et has_more indique s’il reste une page. Lève une erreur en cas de problème.
curl
curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts?limit=3 \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"object": "list",
"url": "/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts",
"has_more": false,
"data": [
{
"id": "alrt_031CQlTxUKUOFYaHSd3kBY",
"object": "alert",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"market": "FR",
"kind": "price_hallucination",
"type": "perception",
"severity": "critical",
"status": "new",
"product": {
"id": "prod_031CQNg2fZXIIClKM3I8uF",
"title": "Grizl CF SL 7"
},
"query": {
"id": "qry_031CQSmQyxphdXPSkx2QxP",
"text": "meilleur vélo gravel carbone à moins de 3000 €"
},
"competitor": null,
"model": "chatgpt",
"models": [
{
"model": "chatgpt",
"occurrences": 2
},
{
"model": "gemini",
"occurrences": 1
}
],
"occurrences": 3,
"claimed": {
"price": 2199,
"price_max": null,
"price_kind": "exact",
"period": null,
"unit": null,
"scope": "offer",
"currency": "EUR",
"min": 2199,
"max": 2199,
"gap": 0.12,
"runs": 3
},
"truth": {
"price": 2499,
"min": 2499,
"max": 2499,
"currency": "EUR",
"period": null,
"unit": null,
"annual_min": null,
"annual_max": null,
"max_with_addons": 2499,
"open_ended": false,
"addons": [],
"scope": "offer",
"variants": 4,
"checked_at": "2026-09-21T02:40:00Z"
},
"persisted": false,
"verifications": 0,
"first_seen_at": "2026-09-21T02:40:00Z",
"last_seen_at": "2026-09-21T02:40:00Z",
"treated_at": null,
"dismissed_at": null,
"close_reason": null,
"muted": false,
"muted_at": null,
"last_verification_at": null,
"resolved_at": null,
"livemode": true,
"created": 1790000000
}
]
}Dismiss an alert
POST/v1/brands/{brand}/alerts/{alert}/dismiss
Ignores the alert. If the incident happens again, a new alert opens —
unless mute is true: then the same subject (competitor, product,
query, establishment or SEO signal) never raises this kind of alert
again, on any market, and the alert comes back with muted: true.
With mute, an alert already ignored can be muted too.
Paramètres
brandstringobligatoireBrand id (
br_…).alertstringobligatoireAlert id (
alrt_…).mutebooleanNever raise this subject again: the same competitor, product, query, establishment or SEO signal, on every market.
Retour
Renvoie l’objet alert. Lève une erreur en cas de problème.
curl
curl -X POST https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH/dismiss \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc" \
-H "Content-Type: application/json" \
-d '{"mute":true}'{
"id": "alrt_031CQlTxUKUOFYaHSd3kBY",
"object": "alert",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"market": "FR",
"kind": "price_hallucination",
"type": "perception",
"severity": "critical",
"status": "new",
"product": {
"id": "prod_031CQNg2fZXIIClKM3I8uF",
"title": "Grizl CF SL 7"
},
"query": {
"id": "qry_031CQSmQyxphdXPSkx2QxP",
"text": "meilleur vélo gravel carbone à moins de 3000 €"
},
"competitor": null,
"model": "chatgpt",
"models": [
{
"model": "chatgpt",
"occurrences": 2
},
{
"model": "gemini",
"occurrences": 1
}
],
"occurrences": 3,
"claimed": {
"price": 2199,
"price_max": null,
"price_kind": "exact",
"period": null,
"unit": null,
"scope": "offer",
"currency": "EUR",
"min": 2199,
"max": 2199,
"gap": 0.12,
"runs": 3
},
"truth": {
"price": 2499,
"min": 2499,
"max": 2499,
"currency": "EUR",
"period": null,
"unit": null,
"annual_min": null,
"annual_max": null,
"max_with_addons": 2499,
"open_ended": false,
"addons": [],
"scope": "offer",
"variants": 4,
"checked_at": "2026-09-21T02:40:00Z"
},
"persisted": false,
"verifications": 0,
"first_seen_at": "2026-09-21T02:40:00Z",
"last_seen_at": "2026-09-21T02:40:00Z",
"treated_at": null,
"dismissed_at": null,
"close_reason": null,
"muted": false,
"muted_at": null,
"last_verification_at": null,
"resolved_at": null,
"livemode": true,
"created": 1790000000
}Start an alert
POST/v1/brands/{brand}/alerts/{alert}/start
Moves the alert’s fix to in_progress — someone is on it. Treat it
once the fix is made.
Paramètres
brandstringobligatoireBrand id (
br_…).alertstringobligatoireAlert id (
alrt_…).
Retour
Renvoie l’objet alert. Lève une erreur en cas de problème.
curl
curl -X POST https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH/start \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"id": "alrt_031CQlTxUKUOFYaHSd3kBY",
"object": "alert",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"market": "FR",
"kind": "price_hallucination",
"type": "perception",
"severity": "critical",
"status": "new",
"product": {
"id": "prod_031CQNg2fZXIIClKM3I8uF",
"title": "Grizl CF SL 7"
},
"query": {
"id": "qry_031CQSmQyxphdXPSkx2QxP",
"text": "meilleur vélo gravel carbone à moins de 3000 €"
},
"competitor": null,
"model": "chatgpt",
"models": [
{
"model": "chatgpt",
"occurrences": 2
},
{
"model": "gemini",
"occurrences": 1
}
],
"occurrences": 3,
"claimed": {
"price": 2199,
"price_max": null,
"price_kind": "exact",
"period": null,
"unit": null,
"scope": "offer",
"currency": "EUR",
"min": 2199,
"max": 2199,
"gap": 0.12,
"runs": 3
},
"truth": {
"price": 2499,
"min": 2499,
"max": 2499,
"currency": "EUR",
"period": null,
"unit": null,
"annual_min": null,
"annual_max": null,
"max_with_addons": 2499,
"open_ended": false,
"addons": [],
"scope": "offer",
"variants": 4,
"checked_at": "2026-09-21T02:40:00Z"
},
"persisted": false,
"verifications": 0,
"first_seen_at": "2026-09-21T02:40:00Z",
"last_seen_at": "2026-09-21T02:40:00Z",
"treated_at": null,
"dismissed_at": null,
"close_reason": null,
"muted": false,
"muted_at": null,
"last_verification_at": null,
"resolved_at": null,
"livemode": true,
"created": 1790000000
}Treat an alert
POST/v1/brands/{brand}/alerts/{alert}/treat
Marks the alert as treated — the fix was made. Verify it next to close it for good.
Paramètres
brandstringobligatoireBrand id (
br_…).alertstringobligatoireAlert id (
alrt_…).
Retour
Renvoie l’objet alert. Lève une erreur en cas de problème.
curl
curl -X POST https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH/treat \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"id": "alrt_031CQlTxUKUOFYaHSd3kBY",
"object": "alert",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"market": "FR",
"kind": "price_hallucination",
"type": "perception",
"severity": "critical",
"status": "new",
"product": {
"id": "prod_031CQNg2fZXIIClKM3I8uF",
"title": "Grizl CF SL 7"
},
"query": {
"id": "qry_031CQSmQyxphdXPSkx2QxP",
"text": "meilleur vélo gravel carbone à moins de 3000 €"
},
"competitor": null,
"model": "chatgpt",
"models": [
{
"model": "chatgpt",
"occurrences": 2
},
{
"model": "gemini",
"occurrences": 1
}
],
"occurrences": 3,
"claimed": {
"price": 2199,
"price_max": null,
"price_kind": "exact",
"period": null,
"unit": null,
"scope": "offer",
"currency": "EUR",
"min": 2199,
"max": 2199,
"gap": 0.12,
"runs": 3
},
"truth": {
"price": 2499,
"min": 2499,
"max": 2499,
"currency": "EUR",
"period": null,
"unit": null,
"annual_min": null,
"annual_max": null,
"max_with_addons": 2499,
"open_ended": false,
"addons": [],
"scope": "offer",
"variants": 4,
"checked_at": "2026-09-21T02:40:00Z"
},
"persisted": false,
"verifications": 0,
"first_seen_at": "2026-09-21T02:40:00Z",
"last_seen_at": "2026-09-21T02:40:00Z",
"treated_at": null,
"dismissed_at": null,
"close_reason": null,
"muted": false,
"muted_at": null,
"last_verification_at": null,
"resolved_at": null,
"livemode": true,
"created": 1790000000
}Verify an alert
POST/v1/brands/{brand}/alerts/{alert}/verify
Re-samples the alert’s query on every model to check the fix. The
alert must be treated. Answers 202 when a verification starts, 200
when one already in flight is reused; the verdict arrives later as
alert.resolved (or alert.updated with persisted: true).
Re-samplings are capped per brand and per day — see the
Skoup-Quota-Verifications header.
Paramètres
brandstringobligatoireBrand id (
br_…).alertstringobligatoireAlert id (
alrt_…).
Retour
Renvoie l’objet alert. Lève une erreur en cas de problème.
curl
curl -X POST https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH/verify \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"id": "alrt_031CQlTxUKUOFYaHSd3kBY",
"object": "alert",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"market": "FR",
"kind": "price_hallucination",
"type": "perception",
"severity": "critical",
"status": "new",
"product": {
"id": "prod_031CQNg2fZXIIClKM3I8uF",
"title": "Grizl CF SL 7"
},
"query": {
"id": "qry_031CQSmQyxphdXPSkx2QxP",
"text": "meilleur vélo gravel carbone à moins de 3000 €"
},
"competitor": null,
"model": "chatgpt",
"models": [
{
"model": "chatgpt",
"occurrences": 2
},
{
"model": "gemini",
"occurrences": 1
}
],
"occurrences": 3,
"claimed": {
"price": 2199,
"price_max": null,
"price_kind": "exact",
"period": null,
"unit": null,
"scope": "offer",
"currency": "EUR",
"min": 2199,
"max": 2199,
"gap": 0.12,
"runs": 3
},
"truth": {
"price": 2499,
"min": 2499,
"max": 2499,
"currency": "EUR",
"period": null,
"unit": null,
"annual_min": null,
"annual_max": null,
"max_with_addons": 2499,
"open_ended": false,
"addons": [],
"scope": "offer",
"variants": 4,
"checked_at": "2026-09-21T02:40:00Z"
},
"persisted": false,
"verifications": 0,
"first_seen_at": "2026-09-21T02:40:00Z",
"last_seen_at": "2026-09-21T02:40:00Z",
"treated_at": null,
"dismissed_at": null,
"close_reason": null,
"muted": false,
"muted_at": null,
"last_verification_at": null,
"resolved_at": null,
"livemode": true,
"created": 1790000000
}