Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: Shruwd Brands 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:
# --- truncated at 32 KB (33 KB total) ---
# Full source: https://artifacts.apis.io/shruwd-io/openapi/shruwd-io-brands-api-openapi.yml