Shruwd Findings API
Diagnoses with a specific recommended fix, and the recheck that proves movement.
Diagnoses with a specific recommended fix, and the recheck that proves movement.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/shruwd-io:shruwd-io-findings-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Shruwd Findings API
version: '1'
summary: Measure how a brand appears in AI answers, diagnose why, and prove movement.
description: 'Shruwd tracks how a brand and its competitors show up in AI-generated answers
(Google AI Overviews, Google AI Mode, ChatGPT, Gemini and Perplexity), sets that beside first-party AI-crawler
logs, diagnoses **why** the brand is or is not cited, and re-checks
whether a fix moved anything.
**Authentication.** `Authorization: Bearer sh_live_…`. Keys are minted in the
dashboard and carry scopes: `read` (every GET), `write` (everything else), or
`default` (both). A dashboard session works too.
**Tenant.** A key works on the one workspace it was minted for. A dashboard
session works on the workspace named by the `X-Shruwd-Workspace` header, else
the caller''s own; a key ignores the header. Within it, the caller reaches the
brands they have access to: every brand for the workspace''s owner, a
member''s own brands otherwise. A brand, prompt, entity, suggestion or finding
that belongs to another workspace, or to a brand the caller cannot reach, is a
`404`, indistinguishable from one that does not exist.
**Roles.** Access is per brand. The workspace''s owner has every brand, and
alone creates and archives brands and handles billing. Everyone else is a
member of specific brands with a role on each: `viewer`, `editor` or
`admin`. A request is judged on the caller''s role on the brand it acts on:
reads need `viewer`, writes `editor`, minting an ingest token `admin`. A key
reaches its holder''s brands, as they change, and never exceeds their role on
any of them. Refusals are `403 not_a_member` and `403 insufficient_role`.
**Errors.** The body is always `{ code, message, retryable, details? }` with the
HTTP status. `retryable: true` (429, 5xx) may be retried with backoff;
`Retry-After` is set on 429.
**Rate limits.** Per key, per minute: 120 GET, 30 for everything else.
**Metrics.** Every metric is a `DisplayableMetric`: a point estimate with its
95% interval and `n`, or `insufficient_data` when fewer than ten responses
exist, or `undefined` when the denominator is zero. `insufficient_data` is
**not** zero. Do not report it as a number.
**Measurement is asynchronous.** Creating a brand or a cycle schedules work;
results arrive over the following hours and are read from `visibility`,
`crawlers` and `findings`.'
contact:
name: Shruwd
url: https://shruwd.io
x-logo:
url: https://shruwd.io/android-chrome-192x192.png
servers:
- url: https://shruwd.io/api/v1
security:
- apiKey: []
tags:
- name: Findings
description: Diagnoses with a specific recommended fix, and the recheck that proves movement.
paths:
/brands/{brandId}/findings:
parameters:
- $ref: '#/components/parameters/brandId'
get:
operationId: listFindings
tags:
- Findings
summary: List findings
description: 'Ordered by severity, then confidence, then estimated impact — the same
order the dashboard and the weekly digest use. By default the open,
acknowledged, fix-applied and rechecking findings; `states` narrows or
widens that. Suppressed findings (a more fundamental finding explains
them) are hidden unless `suppressed=1`.
`confidence`: `observed` means measured directly from first-party data;
`inferred` means derived from a reliable pattern; `heuristic` means a
plausible cause that could not be confirmed. Treat `heuristic` as a
hypothesis to test, not a fact.'
parameters:
- name: states
in: query
schema:
type: string
description: Comma-separated subset of `open,acknowledged,fix_applied,rechecking,resolved,not_moved,dismissed,stale`.
- name: suppressed
in: query
schema:
type: string
enum:
- '1'
description: Include suppressed findings, with `suppressedBy` set.
responses:
'200':
description: Findings.
content:
application/json:
schema:
$ref: '#/components/schemas/FindingList'
'404':
$ref: '#/components/responses/NotFound'
default:
$ref: '#/components/responses/Error'
/findings/{findingId}:
parameters:
- $ref: '#/components/parameters/findingId'
get:
operationId: getFinding
tags:
- Findings
summary: One finding with its evidence and history
responses:
'200':
description: The finding.
content:
application/json:
schema:
$ref: '#/components/schemas/FindingDetail'
'403':
description: '`not_entitled`: the plan shows only its first `maxVisibleFindings` findings in full and this is not one of them — it is counted in a findings list''s `locked`. `details` carries `plan`, `resource` and `limit`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
$ref: '#/components/responses/NotFound'
default:
$ref: '#/components/responses/Error'
/findings/{findingId}/transition:
parameters:
- $ref: '#/components/parameters/findingId'
post:
operationId: transitionFinding
tags:
- Findings
summary: Acknowledge, mark a fix applied, or dismiss
description: 'The human half of the lifecycle. `fix_applied` captures a baseline of
the affected prompts server-side and starts the recheck clock: fourteen
days later, or thirty for a listing on someone else''s page (the
gatekeeper and competitor-page rules), a recheck cycle measures again.
A heading or listing fix waits further until the change is live, and a
fix to the brand''s own page until Google has crawled it since, when
Search Console is connected. Then the finding becomes
`resolved` **only** if the movement gates pass — a significant change
whose 95% interval excludes zero, and at least five points of change —
else `not_moved`, with the verdict''s `outcome` saying which kind.
Neither `resolved` nor `not_moved` can be set by a request.
Structural findings — a refused AI crawler, content that needs
JavaScript, a page never crawled — are confirmed from first-party data
instead: they need no prompt baseline, `recheck` is `null`, and the
finding becomes `resolved` as soon as the fix shows up in the logs or
on the page.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TransitionRequest'
responses:
'200':
description: Moved.
content:
application/json:
schema:
$ref: '#/components/schemas/TransitionResult'
'400':
description: '`invalid_target_state`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: '`not_entitled`: the plan does not show this finding in full, and a locked finding is neither shown nor moved. `details` carries `plan`, `resource` and `limit`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
$ref: '#/components/responses/NotFound'
'409':
description: '`invalid_transition` (not allowed from the current state) or `no_baseline_available` (no tracked question has cited the finding''s subject, so there is nothing to measure a fix against; structural findings never get this).'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
default:
$ref: '#/components/responses/Error'
components:
schemas:
Recommendation:
type: object
required:
- summary
- steps
- target
- expectedMetric
properties:
summary:
type: string
steps:
type: array
items:
type: string
target:
type:
- string
- 'null'
description: 'The specific artifact to change: a URL, a file, a setting. Null on a finding about a question when no page of the brand''s is cited for it and none is set: the steps say so. Set one with `PATCH /prompts/{promptGroupId}` (`page`); the finding''s `subjectRef` is that id.'
expectedMetric:
type: string
description: Which metric should move if the fix works.
TransitionRequest:
type: object
required:
- to
properties:
to:
type: string
enum:
- acknowledged
- fix_applied
- dismissed
description: '`fix_applied` starts the recheck clock. `resolved`/`not_moved` are decided by the recheck.'
note:
type: string
maxLength: 2000
FindingList:
type: object
required:
- brand
- findings
- counts
- queued
- locked
properties:
brand:
type: object
required:
- brandId
- name
- domain
properties:
brandId:
type: string
name:
type: string
domain:
type: string
findings:
type: array
items:
$ref: '#/components/schemas/Finding'
counts:
type: object
additionalProperties:
type: integer
description: Findings per state, across all states.
queued:
type: integer
description: Open findings not yet surfaced because of the weekly cap.
locked:
type: object
required:
- count
- bySeverity
- limit
description: 'Findings the plan does not show in full (`maxVisibleFindings`): counted, never sent.'
properties:
count:
type: integer
bySeverity:
type: object
additionalProperties:
type: integer
limit:
type:
- integer
- 'null'
DetectableRise:
type: object
description: 'What a recheck of this fix can prove (metrics.md §6.4, amended 2026-11-17),
worked out when the fix is marked from the baseline and the recheck as it
will be planned. A smaller real rise cannot be told from chance at this size.
'
required:
- engines
- metric
- baselineX
- baselineN
- afterN
- firstLook
- bothLooks
properties:
engines:
type: array
items:
type: string
description: The engines the recheck will be judged on.
metric:
type: string
enum:
- mention_rate
- self_video
- target_page
description: What is compared.
baselineX:
type: integer
description: Baseline answers that count for the fix (that named the brand, for the mention rate).
baselineN:
type: integer
description: Baseline answers on those engines
the questions together.: null
afterN:
type: integer
description: Answers one recheck will add
the questions together.: null
firstLook:
type:
- number
- 'null'
description: 'Smallest rise one recheck can prove, in percentage points. Null: too few answers to prove any.'
bothLooks:
type:
- number
- 'null'
description: 'The same over both rechecks: a rise short of proof on the first gets a second, judged with it.'
Error:
type: object
required:
- code
- message
- retryable
properties:
code:
type: string
description: Stable, machine-readable. E.g. `not_found`, `plan_limit`, `rate_limited`, `context_terms_required`.
message:
type: string
description: For a person. May change between releases.
retryable:
type: boolean
description: True when the same request may succeed later (429, 5xx).
details:
type: object
additionalProperties: true
Finding:
type: object
required:
- findingId
- number
- ruleId
- family
- severity
- confidence
- state
- subjectType
- subjectRef
- evidence
- recommendation
- firstSeenAt
- lastSeenAt
- suppressedBy
- surfaced
- estimatedImpact
properties:
findingId:
type: string
number:
type: integer
description: 1, 2, 3… per workspace, never reused. The dashboard links by it (/brands/{slug}/findings/{number}) and `{findingId}` accepts it.
ruleId:
type: string
examples:
- ACCESS_ROBOTS_BLOCKS_AI
family:
type: string
enum:
- ACCESS
- STRUCT
- CITE
- FACT
- COVERAGE
severity:
type: string
enum:
- critical
- high
- medium
- low
confidence:
type: string
enum:
- observed
- inferred
- heuristic
description: '`observed` — measured from first-party data. `inferred` — a reliable pattern. `heuristic` — plausible, unconfirmed; treat as a hypothesis.'
state:
type: string
enum:
- open
- acknowledged
- fix_applied
- rechecking
- resolved
- not_moved
- dismissed
- stale
subjectType:
type: string
enum:
- url
- prompt_group
- domain
- brand
subjectRef:
type: string
evidence:
type: object
additionalProperties: true
description: What the rule saw. Shape depends on `ruleId`.
recommendation:
$ref: '#/components/schemas/Recommendation'
firstSeenAt:
type: string
format: date-time
lastSeenAt:
type: string
format: date-time
suppressedBy:
type:
- string
- 'null'
description: The finding that explains this one, when suppressed.
suppressedByNumber:
type:
- integer
- 'null'
description: The `number` of `suppressedBy`, when suppressed.
suppressedReason:
type:
- string
- 'null'
enum:
- outranked
- measuring
- null
description: 'Why it is held, when suppressed. `outranked`: a finding of a more fundamental family is open on the same subject; fix that one first. `measuring`: another finding''s fix on the same question or page is being measured, and a change here now would mix the two results; it comes back once that recheck is judged.'
surfaced:
type: boolean
description: False while the finding waits behind the weekly cap.
estimatedImpact:
type: number
FindingEvent:
type: object
required:
- eventId
- from
- to
- actor
- actorName
- note
- payload
- at
properties:
eventId:
type: string
from:
type:
- string
- 'null'
to:
type: string
actor:
type: string
description: A user id, or `system`.
actorName:
type:
- string
- 'null'
description: The member's name, else their email, when a person acted. Null for `system`.
note:
type:
- string
- 'null'
payload:
type:
- object
- 'null'
additionalProperties: true
description: 'What the transition recorded. A recheck verdict (`to` = `resolved` or
`not_moved`) carries `results`: one entry per prompt group compared, with
`verdict`, `delta`, `baselineInterval`, `afterInterval`, `deltaInterval`
(the change''s 95% interval) and `deltaExcludesZero`, `p`, both gates,
`confounded` and `modelIdDrift` (metrics.md §6). It also carries `pooled`:
the same fields for the groups taken together, plus `groups`, or null when
fewer than two were compared. `resolved` means the pooled comparison or at
least one group moved. Verdicts from 2026-10-01 also carry `outcome`:
`worked` (resolved), or for `not_moved` one of `rising` (up 5 points or
more, not proven), `no_change`, `fell` (a drop that passed both gates),
`confounded` (a model change) or `insufficient` (under 10 answers); with
`looks` (rechecks of the fix judged together, at most 2), `followUpAfter`
(when a rising first look gets its second, else null), `engines` (the
engines judged), `outOfReach` (an engine left out because it answered
from memory: `engine`, `answers`, `citingNothing`) and, from 2026-10-15,
`notInBaseline` (engines left out because they were not answering the
questions through the whole baseline window, such as Google AI Mode,
Gemini or Perplexity for a fix marked applied before it was tracked). Each result then
carries the counts it compared: `baselineX`, `baselineN`, `afterX`,
`afterN`. From 2026-11-11 a verdict may also carry `metric` when it judged
something other than the mention rate (`{ kind: "self_video" }`: answers
citing a video on the brand''s channel, for `CITE_VIDEO_SLOT`, with the
mention rate beside it in `besideMentionRate`, not judged;
`{ kind: "target_page", url }`: of the answers citing the brand''s site,
those citing the target page, for `CITE_WRONG_PAGE`), `narrowedBy`
(`evidence` when the engines judged were the ones the finding''s evidence
came from), `recrawl` (what Search Console''s URL Inspection said before
the recheck: `outcome` `recrawled`, `capped` or `unchecked`, with `page`,
`lastCrawlTime`, `inspectedAt`) and `crawlerFetchesSinceFix` (verified
OAI-SearchBot and PerplexityBot fetches of the page since the fix, when
the logs see its directory). A recheck held by a gate is a `fix_applied`
event to `fix_applied` whose payload carries `recheckGate`: `kind`
`deferred`, `reason` `not_live` or `not_recrawled`, `page` and `until`;
one handed back without a verdict moves to `acknowledged` with `kind`
`handed_back`. A structural confirmation carries `structural`: what the check
saw. A suppression event (the finding hidden behind another, or shown
again; its `to` is the finding''s own state and `from` is null) carries
`suppressedBy`: the other finding''s id, or null when shown again; from
2026-11-10 also `reason`, `outranked` or `measuring` (see `Finding.suppressedReason`).
'
suppressedByNumber:
type:
- integer
- 'null'
description: 'On a suppression event only (`payload.suppressedBy` present): the `number`
of the finding this one was hidden behind, null when it was shown again
(added 2026-11-10). Absent on every other event.
'
at:
type: string
format: date-time
TransitionResult:
type: object
required:
- findingId
- number
- from
- to
- baselineCaptured
- recheck
properties:
findingId:
type: string
number:
type: integer
from:
type: string
to:
type: string
baselineCaptured:
type: boolean
recheck:
oneOf:
- type: object
required:
- promptGroups
- inDays
properties:
promptGroups:
type: integer
description: Prompts whose metrics the recheck will compare.
inDays:
type: integer
description: Days until the recheck cycle runs.
detectableRise:
description: The smallest rise the recheck can prove from this baseline; the finding's `baseline.detectableRise`. Null when it cannot be worked out.
oneOf:
- $ref: '#/components/schemas/DetectableRise'
- type: 'null'
- type: 'null'
FindingDetail:
allOf:
- $ref: '#/components/schemas/Finding'
- type: object
required:
- brandId
- suppressedByNumber
- stateChangedAt
- baseline
- events
properties:
brandId:
type: string
suppressedByNumber:
type:
- integer
- 'null'
description: The `number` of `suppressedBy`, when suppressed.
stateChangedAt:
type: string
format: date-time
baseline:
type:
- object
- 'null'
additionalProperties: true
description: 'The snapshot captured at `fix_applied`, which a recheck verdict is
measured against: `{ capturedAt, window: { from, to }, promptGroups:
[ { promptGroupId, x, n, modelIds } ], detectableRise }`. Null before a fix is marked applied.
`detectableRise` (since 2026-11-17; absent on older baselines, null for
structural rules) is the smallest rise the recheck can prove from this
baseline, planned as the recheck will run: `{ engines, metric, baselineX,
baselineN, afterN, firstLook, bothLooks }`, the last two in percentage
points, null when too few answers (under 10 either side) let it prove any.
'
events:
type: array
items:
$ref: '#/components/schemas/FindingEvent'
description: Newest first.
responses:
NotFound:
description: '`not_found`: no such resource in this workspace.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Error:
description: Every failure has this body.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
brandId:
name: brandId
in: path
required: true
schema:
type: string
description: The brand's id, or its `slug` — both name the same brand. Responses carry the id as `brandId`.
findingId:
name: findingId
in: path
required: true
schema:
type: string
description: The finding's id, or its `number` — the per-workspace sequence the dashboard shows and links by.
securitySchemes:
apiKey:
type: http
scheme: bearer
bearerFormat: sh_live_…
description: An API key minted in the dashboard, or a dashboard session.