Skip to Content

Alerts

Events associés : alert.created · alert.resolved · alert.updated

L’objet Alert

Attributs

  • idstring

    Identifiant unique de l'objet (préfixé, opaque).

  • objectstring

    alert

  • brandstring

    La marque à laquelle l'objet appartient (br_…).

  • marketstring

    Code du marché (pays ISO, par ex. FR).

  • kindenum

    What 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_regression

  • typeenum

    What 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 · visibility

  • severityenum

    Valeurs possibles : critical · medium · low

  • statusenum

    Lifecycle 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 to Seen; treated never steps back (its verification decides). Resolved is only ever reached by a measurement (ResolveVerifiedAlerts, SeoRegressionAlerts), never by the API.

    Valeurs possibles : new · seen · in_progress · treated · resolved · ignored

  • productobjectnullable
    Afficher les attributs enfants
    • idstringnullable

      Identifiant unique de l'objet (préfixé, opaque).

    • titlestring
  • queryobjectnullable
    Afficher les attributs enfants
    • idstringnullable

      Identifiant unique de l'objet (préfixé, opaque).

    • textstring
  • competitorstringnullable
  • locationobjectnullable
    Afficher les attributs enfants
    • idstring

      Identifiant unique de l'objet (préfixé, opaque).

    • namestringnullable
    • citystringnullable
  • modelenumnullable

    The AI assistants Skoup samples. Keys match the front's lib/ai-models.ts and the --model-* tokens; model ids and providers live in config('skoup.visibility').

    Valeurs possibles : chatgpt · claude · gemini · perplexity · grok · mistral · deepseek · qwen

  • modelsarray of object
    Afficher les attributs enfants
    • modelstring
    • occurrencesinteger
  • occurrencesinteger
  • claimedobject
  • truthobjectnullable
  • persistedboolean

    The claim was seen again after the alert was treated (a verification, or a weekly sampling).

  • verificationsinteger
  • clean_cyclesinteger

    Complete samplings in a row without the claim since it was treated; two resolve it.

  • first_seen_atstring
  • last_seen_atstring
  • descriptionstringnullable

    The alert IS its fix (2026-10-14): who is on it, how big, a note, when the measurement tells, what it showed.

  • effortenumnullable

    T-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).

    Valeurs possibles : s · m · l

  • assigneeobjectnullable
    Afficher les attributs enfants
    • namestring
  • started_atstringnullable
  • treated_atstringnullable
  • verify_atstringnullable
  • gainstringnullable
  • verified_viaenumnullable

    How 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 · hand

  • dismissed_atstringnullable
  • close_reasonenumnullable

    Why 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 · recovered

  • mutedboolean

    Dismissed with mute: the same subject never raises this kind of alert again, on any market.

  • muted_atstringnullable
  • last_verification_atstringnullable
  • resolved_atstringnullable
  • livemodeboolean

    true pour les données réelles, false pour le bac à sable du mode test.

  • createdinteger

    Time at which the object was created (unix timestamp, seconds).

L'objet Alert
{ "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

  • brandstringobligatoire

    Brand id (br_…).

  • alertstringobligatoire

    Alert id (alrt_…).

  • descriptionstringnullable

    A note on the fix, free text.

  • effortenumnullable

    T-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).

    Valeurs possibles : s · m · l

  • verify_atstringnullable

    When 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 -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"}'
Réponse
{ "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

  • brandstringobligatoire

    Brand id (br_…).

  • alertstringobligatoire

    Alert id (alrt_…).

Retour

Renvoie l’objet alert. Lève une erreur en cas de problème.

curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Réponse
{ "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

  • brandstringobligatoire

    Brand id (br_…).

  • marketstring
  • statusstring
  • kindstring
  • typestring
  • severitystring
  • limitinteger

    Nombre d'objets à renvoyer, entre 1 et 100 (20 par défaut).

  • starting_afterstring

    Curseur : l'id du 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 https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts?limit=3 \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Réponse
{ "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

  • brandstringobligatoire

    Brand id (br_…).

  • alertstringobligatoire

    Alert id (alrt_…).

  • muteboolean

    Never 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 -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}'
Réponse
{ "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

  • brandstringobligatoire

    Brand id (br_…).

  • alertstringobligatoire

    Alert id (alrt_…).

Retour

Renvoie l’objet alert. Lève une erreur en cas de problème.

curl -X POST https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH/start \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Réponse
{ "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

  • brandstringobligatoire

    Brand id (br_…).

  • alertstringobligatoire

    Alert id (alrt_…).

Retour

Renvoie l’objet alert. Lève une erreur en cas de problème.

curl -X POST https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH/treat \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Réponse
{ "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

  • brandstringobligatoire

    Brand id (br_…).

  • alertstringobligatoire

    Alert id (alrt_…).

Retour

Renvoie l’objet alert. Lève une erreur en cas de problème.

curl -X POST https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/alerts/alrt_034sOvSY3W2DUqG0hp23SH/verify \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Réponse
{ "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 }
Last updated on