Skip to Content
GuidesInbox

Inbox

The inbox is the « Correctifs » screen of the app as an API: one queue of everything the brand can fix on a market, whatever it comes from, already in the order to deal with it. Open alerts, fixes (task object in the API), failing readiness and SEO checks, perception gaps, vacant territories, sources to win, findings of the Pages screen, listings of an establishment: each line is one of them.

A line is not a record of its own. It IS an existing object, so it has no prefixed id: its id is composite (alert:{uuid}, task:{uuid}, readiness:{check}, seo:{check}, perception:{product}:{gap}, opportunity:{attribute}, source_gap:{host}, content_gap:{query uuid}, insight:{kind}:{hash}, listing:{id}:{kind}) and stable while the object holds. The objects that have a public id carry it (alert, task.id, product.id, location.id). The inbox writes nothing on the objects themselves: you act on the object behind a line, through its own endpoints. Two gestures go through the inbox: ignore lines that have no record of their own, and open the fix of a line (take).

One line per object. A fix absorbs what it was opened from: an alert, a check or a gap that already has an open fix is listed as that fix, never twice. A false price or stock that has an open alert is listed as the alert.

I want to…

I want to…Call
Get the queue of a market, in orderGET /v1/brands/{brand}/inbox?market=FR
Only what costs sales this weekGET /v1/brands/{brand}/inbox?group=now
The lines with the highest impact, whatever their unitthe lines whose impact.level is high
Only the critical alertsGET /v1/brands/{brand}/inbox?q=kind:alert severity:critical
Everything, verified fixes includedGET /v1/brands/{brand}/inbox?q=is:all
Treat the alert behind a linePOST /v1/brands/{brand}/alerts/{alert}/treat with the line’s alert
Move the fix behind a linePATCH /v1/brands/{brand}/tasks/{task} with the line’s task.id
Ignore linesPOST /v1/brands/{brand}/inbox/dismiss with {"items": ["source_gap:capterra.fr"]} (1 to 100 ids)
Take on a linePOST /v1/brands/{brand}/inbox/take with {"item": "source_gap:capterra.fr"}: opens the line’s fix, like « Create the fix » in the app
Find the ignored linesGET /v1/brands/{brand}/inbox?q=is:ignored
Bring ignored lines backPOST /v1/brands/{brand}/inbox/restore with {"items": ["source_gap:capterra.fr"]}
See the proof of a perception gap or a source to winthe line’s evidence: the occurrences of a gap (model, query, date, passage of the answer), the cited pages of a source (read_at, names_brand)
Track a line in your own fixPOST /v1/brands/{brand}/tasks (a manual fix: the line stays until its object is fixed — fixes tied to a check or a gap are opened from the app)

Scopes: alerts:read and tasks:read (the queue lists both); tasks:write as well to ignore or take on a line. An assistant reads the same queue with the MCP tool list_inbox.

The groups

Lines come grouped, in this order, and sorted inside each group. Read them as they come: the order is the point.

groupWhat lands there
nowCosts sales this week: a critical alert; a wrong price, stock or establishment fact seen at least twice or still there after a verification; a visibility drop; an SEO regression; a false price or stock in the perception of a product; a page losing its clicks or receiving traffic while in error; a fix whose verification date has passed; a small fix (effort: s) that says what it wins.
weekRaises the visibility: a medium alert; a readiness or SEO check in error; a distorted or absent perception gap worth at least 2 points; a vacant territory; a listing that contradicts its establishment; the other open fixes. Ten lines at most (ignored lines aside): the next ones open later, in their order.
laterWhen you can: a low alert; a check in warning; a small perception gap; a site to win; the minor page findings; an incomplete or missing listing.
verifiedThe fixes verified in the last 90 days — what they changed. Listed only with q=is:all, q=is:verified or group=verified.

Inside a group: points won first (impact.points when impact.unit counts points: readiness, perception, accuracy, visibility), then severity, then impact.points in another unit (clicks, answers), then how often the problem was seen, then the effort (small first), then the most recent. score is that order as one number: compare it within a group only.

The impact of a line

impact.label says the gain in its source’s unit (« +8 pts AI readability »), impact.points the measured number and impact.unit its scale. Different units do not compare: impact.level (high, medium, low) puts every line on one scale, the one the app shows (« High / Medium / Low impact »). It comes from impact.points against per-unit thresholds; a critical line is always high; without a measured gain, null. The level does not change the order of the queue.

q takes the app’s search grammar. Without is:, only the open groups (now, week, later) are listed.

QualifierValues
is:open (default), verified, ignored, all
kind:alert, task (a fix) — the nature of the line
type:audit (AI readiness), seo, perception, traffic, competitors, listing, visibility — what the line is about, whatever its kind (a perception gap, a fix and an alert about what an assistant says all answer type:perception)
source:manual, alert, readiness, seo_check, perception, opportunity, source_gap, content_gap, insight, listing — where the fix comes from: the fixes of that source and the lines that would open one (source:readiness = the AI readiness fixes and the checks not taken on yet)
severity:critical, medium, low
product: / offer: / location:part of the product title or the establishment name, e.g. product:"Strade 7"
model:chatgpt, claude, gemini, perplexity…
effort:s, m, l
after: / before:YYYY-MM-DD, on the last time the line was seen

- negates a qualifier (-kind:task); anything else is free text on the title.

Ignore a line

The lines without a record of their own can be ignored: an opportunity (opportunity:…), a source to win (source_gap:…), missing content (content_gap:…), a finding of the Pages screen (insight:…). So can a perception gap (perception:…), like « Ignore » in the app: a false positive of the judge set aside. An alert is ignored through its own endpoint; an SEO or readiness check cannot be ignored (a site defect gets fixed).

curl -X POST "https://api.skoup.ai/v1/brands/br_034PJIMnN3EOTCU3TMUdLS/inbox/dismiss" \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc" \ -H "Content-Type: application/json" \ -d '{"market": "FR", "items": ["source_gap:capterra.fr", "opportunity:teleconsultation"]}'

The answer is an inbox_dismissal: dismissed lists the ids ignored, skipped the others with a code (not_found, not_dismissible, has_open_fix). The call is idempotent. An ignored line leaves the queue and its counters, carries dismissed_at, and is found again with q=is:ignored (or is:all). Ignoring sets what Skoup flags, not what it measures: the Competitors, Visibility and Pages screens keep showing it. POST …/inbox/restore brings lines back (restored, skipped not_found for a line that was not ignored). No event.

A perception gap is the exception: ignoring it takes its verdicts out of the measured perception score (GET …/products/{product}/perception, the app’s score and dashboard), as in the app. It leaves the queue for good (not listed by is:ignored; keep its id to restore it). A fix open on the gap makes it has_open_fix: finish or delete the fix first.

Scenario: a Monday list for the team

curl -G "https://api.skoup.ai/v1/brands/br_034PJIMnN3EOTCU3TMUdLS/inbox" \ --data-urlencode "market=FR" \ --data-urlencode "group=now" \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"

Run it after the weekly sampling.completed: the lines are already in order, post them as they come.

Pitfalls

  • No event. Neither ignoring a line nor the inbox itself emits one. The inbox is computed when you call it; nothing « happens » to a line. Follow the objects instead: alert.created, alert.resolved, task.verified.
  • POST /tasks or take? POST …/tasks creates a manual fix, tied to no source: the line stays in the queue. take opens the fix of the line’s source, which then absorbs the line (kind: task). It answers 404 resource_missing (line not in the queue), 422 item_is_alert (an alert is its own fix: start), 422 item_is_task, 422 not_takeable, or plan_feature_unavailable (line locked by the plan).
  • Read the proof before ignoring a gap. A perception_gap line carries evidence.occurrences: the model, the query, the date and the passage of the answer (excerpt, null when the answer’s own words could not be found — Skoup never shows another passage instead). The full answers, while kept (16 weeks), are in gaps[].occurrences[].answer of the product’s perception.
  • A source to win carries its pages. evidence.pages of a source_gap line lists each cited page with cited_at, read_at (when Skoup last read it, null if never) and names_brand (true / false, null when the page could not be read). A source whose read pages all name the brand already is no longer a source to win: it leaves the queue.
  • Ignoring is per market. The same source_gap:capterra.fr ignored on FR is still listed on DE. Without market, the brand’s primary one.
  • impact.level may be null when nothing is measured: do not read it as « low ».
  • impact.points may be null. It is a measured number when the source counts one (readiness or perception points, answers, clicks, visibility points), never 0 for « unknown ». Points of different units do not compare.
  • A fix is the brand’s. A fix line has market: null when its source names no market, and is listed on every market.
  • Pagination is a cursor in queue order: limit (1–100, default 20) and starting_after = the id of the last line of the previous page. The queue may move between two calls (a sampling, a fix): start over rather than resume an old cursor.
  • A plan without the opportunities feature keeps one line opportunity:locked with plan_feature: "opportunities": the module is shown locked, never hidden.
  • Titles are in English, composed by Skoup from the measured facts.
Last updated on