API reference
White Bastion · measurement documentation

Every route is live at https://app.whitebastion.com. There are 18 of them, all read-only.

The same description is an OpenAPI 3.1 document — import it into Postman, Insomnia or a client generator rather than typing these shapes out by hand:

  • /openapi.json on this site, no key needed.
  • GET https://app.whitebastion.com/api/v1/openapi.json from the API itself, with your key.

It is generated from the route handlers' own return types, so it describes what the code returns rather than what someone remembered to write down.

Authentication#

Send a key from the API access page of your dashboard as a bearer token. There is no other scheme, and no unauthenticated route.

curl -s https://app.whitebastion.com/api/v1/account \
  -H "Authorization: Bearer wb_live_7f3a..."

A missing or unknown key is a bare 401 with no body: naming which half was wrong would tell a prober which half was right.

On every request#

Name In Type Required Description
ruleset_version query string no which scoring ruleset to read under; defaults to the deployment's current version
from query string no YYYY-MM-DD, UTC; default is a trailing 30 days. A malformed date is a 400, never a silent default
to query string no YYYY-MM-DD, UTC; default is a trailing 30 days. A malformed date is a 400, never a silent default

The 9 routes that return a list also accept limit (1–1000, default 100) and offset (default 0). A malformed value is a 400, never a silent default.

On every response#

Three fields precede the route's own on every body, so a caller comparing two payloads always knows what they were scored under.

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.

Rules behind the numbers#

These are not style notes. Each one exists because ignoring it produces a number that is wrong in a specific way.

  • Read-only. Every route is GET; there is no write path in this namespace.
  • The account is resolved from the bearer token alone. A resource that does not exist and one belonging to another account both return the same 404.
  • A null figure means NOT MEASURED, never zero. Where a value is null, a reason string says why.
  • Rates are withheld below a 100 measured-download floor (minVerdictVolume); ratesSuppressed distinguishes that from having no traffic at all.
  • Listener counts are estimates from a network fingerprint, not logins. Every listener figure carries basis: "estimated-network-identity".
  • Unique listeners are per-day and never sum across days. There is no window total and none can be derived — summableAcrossDays: false says so explicitly.
  • rulesetVersionsUsed lists the versions behind the numbers. More than one means the range spans a rules change, and verdict figures either side are not comparable.
  • Collections echo total alongside limit/offset, so a truncated page is always visible as one.

Errors#

Every route fails the same way, with the same bodies.

Status Body When
400 {"error":"malformed 'limit' \"1O0\", expected an integer >= 1"} A malformed date, limit or offset. The message names the parameter. A present-but-unparseable value is never silently replaced with a default.
401 (empty) No Authorization header, or a token we do not recognise. The body is empty: naming which half was wrong would tell a prober which half was right.
403 {"error":"account suspended"} The token is valid but the account is suspended.
404 {"error":"not found"} No such resource — or it belongs to another account. The two are deliberately indistinguishable: a different status on the someone-else's-id case would confirm the id exists, which is itself cross-tenant information.
500 {"error":"internal error"} A bug on our side. Never carries a stack trace or a query fragment.

404 appears only on routes that take an id — a route with no id has nothing to fail to find.

/api/v1#

This document: every route, its parameters, and the rules that keep the numbers honest.

Parameters

Only the universal ones above.

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
service string What this API is, in one phrase.
version string The namespace version. Present so a client can assert it.
readOnly boolean Always true, and structurally so: every route is built with readOnlyEndpoint, which exports a GET and nothing else.
authentication string The only authentication scheme. There is no unauthenticated route.
universalParams string[] Query parameters accepted by every route.
rules string[] The rules that keep the figures honest. Each exists because ignoring it produces a number that is wrong in a specific way.
routes RouteDescriptor[] Every route, with its parameters and its caveats.

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "service": "Bastion read-only data API",
  "version": "v1",
  "readOnly": true,
  "authentication": "Authorization: Bearer <your account API token>",
  "universalParams": [
    "ruleset_version — which scoring ruleset to read under; defaults to the deployment's current version",
    "from, to — YYYY-MM-DD, UTC; default is a trailing 30 days. A malformed date is a 400, never a silent default"
  ],
  "rules": [
    "Read-only. Every route is GET; there is no write path in this namespace.",
    "A null figure means NOT MEASURED, never zero. Where a value is null, a `reason` string says why."
  ],
  "routes": [
    {
      "path": "/api/v1/shows/{id}/delivery",
      "summary": "Show-grain delivery: per-day rows, derived tiers, window totals, and the reconciliation."
    }
  ]
}

/api/v1/openapi.json#

This API as an OpenAPI 3.1 document: every route, parameter and response shape, importable into Postman, Insomnia or a client generator.

The only route here whose body is not wrapped in the standard envelope — three extra keys would make it an invalid OpenAPI document. It still requires the same credential.

Generated from the route handlers' own return types, so it describes what the code does rather than what someone remembered to write down.

Parameters

Only the universal ones above.

Response 200

An OpenAPI 3.1 document describing this API. Served without the standard envelope, because three extra top-level keys would make it invalid.

Example

{
  "openapi": "3.1.0",
  "info": {
    "title": "White Bastion measurement API",
    "version": "decoy-ivt-v1.6.1"
  },
  "servers": [
    {
      "url": "https://app.whitebastion.com"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/api/v1/shows/{id}/delivery": {
      "get": {
        "operationId": "getShowsByIdDelivery",
        "summary": "Show-grain delivery over the window.",
        "parameters": [
          "…"
        ],
        "responses": {
          "200": "…",
          "404": "…"
        }
      }
    },
    "…": "17 more"
  },
  "components": {
    "schemas": {
      "Measure": "…",
      "Tiers": "…",
      "…": "5 more"
    }
  }
}

/api/v1/account#

The authenticated account: name, status, prefix, billing tier, quota.

Never includes the API token or the dashboard token.

Parameters

Only the universal ones above.

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
account object The account this credential belongs to. A caller can only ever describe themselves: the account comes from the token, never from a parameter.
account.id string Stable account id.
account.name string The account's display name.
account.status "active" | "suspended" active, or suspended — a suspended account reads nothing.
account.prefixSlug string The prefix path component publishers put in front of their audio URLs.
account.urlSlug string The dashboard's URL slug — an identifier, not a credential.
account.billingTier string | null The plan this account is on.
account.quotaPerDay number | null Requests a day the prefix will serve for this account.
account.createdAt string | null ISO-8601 UTC.

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "account": {
    "id": "shw_3f9a2c",
    "name": "Northgate Audio",
    "status": "active",
    "prefixSlug": "northgate",
    "urlSlug": "northgate-audio",
    "billingTier": "growth",
    "quotaPerDay": 2000000,
    "createdAt": "2026-03-14T09:22:41.000Z"
  }
}

/api/v1/rulesets#

Which scoring ruleset versions appear in this account's data, with the date range each covers.

Read this before comparing two periods: verdict figures scored under different versions are not comparable.

Parameters

Only the universal ones above.

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
resolvedUnder string The version this request's figures were resolved under.
currentDeploymentVersion string | null What the digester is scoring new traffic with right now.
versionsInRange object[] Versions present in this account's data within the window. More than one means verdict figures across the whole window are not comparable; use the per-version date ranges to split the comparison.
versionsInRange[].rulesetVersion string
versionsInRange[].firstDate string | null
versionsInRange[].lastDate string | null
versionsInRange[].dayRows number
comparable boolean False when more than one ruleset version covers the window. Verdict figures spanning a rules change are not comparable; split the comparison at the version boundary.

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "resolvedUnder": "decoy-ivt-v1.6.1",
  "currentDeploymentVersion": "decoy-ivt-v1.6.1",
  "versionsInRange": [
    {
      "rulesetVersion": "decoy-ivt-v1.6.1",
      "firstDate": "2026-10-02",
      "lastDate": "2026-11-01",
      "dayRows": 30
    }
  ],
  "comparable": true
}

/api/v1/shows#

The show library, with sync status, prefix detection and a readiness verdict for each.

Parameters

Name In Type Required Description
limit query integer no 1..1000, default 100
offset query integer no default 0

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
shows object The account's show library, paged. Every show it has, not only the ones carrying traffic.
shows.items object[]
shows.items[].episodeCount integer
shows.items[].readiness object
shows.items[].firstTrafficDate string | null
shows.items[].delivery Tiers Windowed delivery, so a list is useful without N follow-up calls.
shows.items[].id string Stable show id. The one every other route takes as {id}.
shows.items[].displayName string The show's title, as the feed states it.
shows.items[].rssFeedUrl string | null The feed we read. Null for a show added without one.
shows.items[].showKey string The key the prefix gateway attributes requests by.
shows.items[].platformShowKey string | null Hosting-platform id where one was detected from the feed.
shows.items[].sync object Whether we can currently read the feed, and when we last did.
shows.items[].prefix object Whether traffic is actually arriving through the measurement prefix.
shows.items[].addedAt string | null ISO-8601 UTC. When the show was added to the library.
shows.total integer
shows.limit integer
shows.offset integer

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "shows": {
    "items": [
      {
        "episodeCount": 184,
        "readiness": {
          "state": "ready",
          "severity": "ok",
          "label": "Apple Podcasts",
          "detail": "7 days of data; a few checks need 14 more",
          "figuresFinal": true
        },
        "firstTrafficDate": "2026-04-03",
        "delivery": {
          "counted": {
            "value": 184203
          },
          "givt": {
            "value": 51877
          },
          "measured": {
            "value": 132326
          },
          "ratedMeasured": {
            "value": 131904
          },
          "unclassified": {
            "value": 422
          },
          "atRisk": {
            "value": 9411
          },
          "suspicious": {
            "value": 14880
          },
          "verified": {
            "value": 122915
          },
          "ivtRate": {
            "value": 0.0711
          },
          "verifiedRate": {
            "value": 0.9289
          },
          "suspiciousRate": {
            "value": 0.0808
          },
          "healthVerdict": "watch",
          "ratesSuppressed": false,
          "minVerdictVolume": 100
        },
        "id": "shw_3f9a2c",
        "displayName": "The Long Way Round",
        "rssFeedUrl": "https://feeds.megaphone.fm/northgate-longwayround",
        "showKey": "northgate-the-long-way-round",
        "platformShowKey": "megaphone:4921773",
        "sync": {
          "status": "active",
          "error": "",
          "lastSyncedAt": "2026-11-01T04:12:55.000Z"
        },
        "prefix": {
          "detectedAt": "2026-04-02T13:40:19.000Z",
          "host": ""
        },
        "addedAt": "2026-04-02T11:14:00.000Z"
      }
    ],
    "total": 30,
    "limit": 100,
    "offset": 0
  }
}

/api/v1/shows/{id}#

One show, plus its episode count and first/last traffic dates.

Parameters

Name In Type Required Description
id path string yes Show id. A resource belonging to another account returns the same 404 as one that does not exist.

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
show object The show, with its episode count, readiness verdict and window delivery.
show.episodeCount integer
show.readiness object
show.readiness.state "collecting" | "feed_error" | "low_volume" | "no_traffic" | "prefix_missing" | "prefix_removed" | "reading_feed" | "ready"
show.readiness.severity "error" | "ok" | "pending" | "warn"
show.readiness.label string
show.readiness.detail string
show.readiness.figuresFinal boolean
show.firstTrafficDate string | null
show.delivery Tiers
show.id string Stable show id. The one every other route takes as {id}.
show.displayName string The show's title, as the feed states it.
show.rssFeedUrl string | null The feed we read. Null for a show added without one.
show.showKey string The key the prefix gateway attributes requests by.
show.platformShowKey string | null Hosting-platform id where one was detected from the feed.
show.sync object Whether we can currently read the feed, and when we last did.
show.sync.status string synced, pending, or an error state.
show.sync.error string | null Non-null means the last feed fetch failed; the message is the reason.
show.sync.lastSyncedAt string | null
show.prefix object Whether traffic is actually arriving through the measurement prefix.
show.prefix.detectedAt string | null Null until we have seen a request arrive through the prefix.
show.prefix.host string | null The prefix host the requests arrived through.
show.addedAt string | null ISO-8601 UTC. When the show was added to the library.

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "show": {
    "episodeCount": 184,
    "readiness": {
      "state": "ready",
      "severity": "ok",
      "label": "Apple Podcasts",
      "detail": "7 days of data; a few checks need 14 more",
      "figuresFinal": true
    },
    "firstTrafficDate": "2026-04-03",
    "delivery": {
      "counted": {
        "value": 184203
      },
      "givt": {
        "value": 51877
      },
      "measured": {
        "value": 132326
      },
      "ratedMeasured": {
        "value": 131904
      },
      "unclassified": {
        "value": 422
      },
      "atRisk": {
        "value": 9411
      },
      "suspicious": {
        "value": 14880
      },
      "verified": {
        "value": 122915
      },
      "ivtRate": {
        "value": 0.0711
      },
      "verifiedRate": {
        "value": 0.9289
      },
      "suspiciousRate": {
        "value": 0.0808
      },
      "healthVerdict": "watch",
      "ratesSuppressed": false,
      "minVerdictVolume": 100
    },
    "id": "shw_3f9a2c",
    "displayName": "The Long Way Round",
    "rssFeedUrl": "https://feeds.megaphone.fm/northgate-longwayround",
    "showKey": "northgate-the-long-way-round",
    "platformShowKey": "megaphone:4921773",
    "sync": {
      "status": "active",
      "error": "",
      "lastSyncedAt": "2026-11-01T04:12:55.000Z"
    },
    "prefix": {
      "detectedAt": "2026-04-02T13:40:19.000Z",
      "host": ""
    },
    "addedAt": "2026-04-02T11:14:00.000Z"
  }
}

/api/v1/shows/{id}/episodes#

Episodes of one show: key, title, publish date, number, duration, audio URL.

Parameters

Name In Type Required Description
id path string yes Show id. A resource belonging to another account returns the same 404 as one that does not exist.
limit query integer no 1..1000, default 100
offset query integer no default 0

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
showId string The show these figures are for.
episodes object Episodes seen in the feed, newest first, paged.
episodes.items object[]
episodes.items[].id string Stable episode id.
episodes.items[].showId string The show it belongs to.
episodes.items[].episodeKey string The key the prefix gateway attributes requests by.
episodes.items[].title string | null As the feed states it. Null where the feed gives none.
episodes.items[].publishDate string | null Day-grain: a feed states a publish date, not an instant we can trust.
episodes.items[].episodeNumber number | null As the feed states it. Null where the feed gives none.
episodes.items[].durationSeconds number | null As the feed states it. Null where the feed gives none.
episodes.items[].audioUrl string | null The file the prefix redirects to.
episodes.items[].firstSeenAt string | null ISO-8601 UTC. When this episode first appeared in the feed.
episodes.total integer
episodes.limit integer
episodes.offset integer

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "showId": "shw_3f9a2c",
  "episodes": {
    "items": [
      {
        "id": "shw_3f9a2c",
        "showId": "shw_3f9a2c",
        "episodeKey": "ep-2026-10-02-the-harbour",
        "title": "The harbour at first light",
        "publishDate": "2026-10-02",
        "episodeNumber": 212,
        "durationSeconds": 2884,
        "audioUrl": "https://traffic.megaphone.fm/NGA8831049201.mp3",
        "firstSeenAt": "2026-10-02T06:00:12.000Z"
      }
    ],
    "total": 30,
    "limit": 100,
    "offset": 0
  }
}

/api/v1/shows/{id}/delivery#

Show-grain delivery: per-day raw rows, per-day derived tiers, window totals, and the requests-to-verified reconciliation.

reconciles: false on the funnel means independently-stored figures disagree with the subtraction — a data bug, surfaced rather than corrected.

Raw stored columns (including the JSON breakdown blobs) are opt-in via include_raw=true: measured on live data, including them by default made a 29-day request 146 kB. Nothing is withheld, it is one parameter away.

Parameters

Name In Type Required Description
id path string yes Show id. A resource belonging to another account returns the same 404 as one that does not exist.
limit query integer no 1..1000, default 100
offset query integer no default 0
include_raw query true | false no set to true to add every stored column verbatim to each day

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
showId string The show these figures are for.
grain string The grain these figures are aggregated at.
rulesetVersionsUsed string[] The ruleset versions actually behind these numbers. More than one means the range spans a rules change, and verdict figures either side are not comparable.
totals Tiers Folded over the WHOLE window, not over the page of daily rows below.
reconciliation Funnel Requests received, counted, measured, verified, as stated steps with the removal between each. Where the published download number comes from.
daily object One row per day that carries traffic, paged. A day with no traffic is absent rather than zero.
daily.items object[]
daily.items[].raw object | null
daily.items[].date string
daily.items[].rulesetVersion string
daily.items[].tiers Tiers
daily.total integer
daily.limit integer
daily.offset integer

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "showId": "shw_3f9a2c",
  "grain": "show",
  "rulesetVersionsUsed": [
    "decoy-ivt-v1.6.1"
  ],
  "totals": {
    "counted": {
      "value": 184203
    },
    "givt": {
      "value": 51877
    },
    "measured": {
      "value": 132326
    },
    "ratedMeasured": {
      "value": 131904
    },
    "unclassified": {
      "value": 422
    },
    "atRisk": {
      "value": 9411
    },
    "suspicious": {
      "value": 14880
    },
    "verified": {
      "value": 122915
    },
    "ivtRate": {
      "value": 0.0711
    },
    "verifiedRate": {
      "value": 0.9289
    },
    "suspiciousRate": {
      "value": 0.0808
    },
    "healthVerdict": "watch",
    "ratesSuppressed": false,
    "minVerdictVolume": 100
  },
  "reconciliation": {
    "available": true,
    "steps": [
      {
        "kind": "subtotal",
        "label": "Apple Podcasts",
        "value": 0
      }
    ],
    "reconciles": true
  },
  "daily": {
    "items": [
      {
        "date": "2026-10-02",
        "rulesetVersion": "decoy-ivt-v1.6.1",
        "tiers": {
          "counted": {
            "value": 184203
          },
          "givt": {
            "value": 51877
          },
          "measured": {
            "value": 132326
          },
          "ratedMeasured": {
            "value": 131904
          },
          "unclassified": {
            "value": 422
          },
          "atRisk": {
            "value": 9411
          },
          "suspicious": {
            "value": 14880
          },
          "verified": {
            "value": 122915
          },
          "ivtRate": {
            "value": 0.0711
          },
          "verifiedRate": {
            "value": 0.9289
          },
          "suspiciousRate": {
            "value": 0.0808
          },
          "healthVerdict": "watch",
          "ratesSuppressed": false,
          "minVerdictVolume": 100
        }
      }
    ],
    "total": 30,
    "limit": 100,
    "offset": 0
  }
}

/api/v1/shows/{id}/breakdowns#

Where the traffic came from: app, app version, country, US state, device type and ASN, each folded and labelled.

All breakdowns are accumulated over MEASURED downloads (declared bots removed), so they total less than the counted-download figures. The difference is that removed traffic.

Each table is capped by the digester; a pooled __other__ bucket carries the remainder.

Parameters

Name In Type Required Description
id path string yes Show id. A resource belonging to another account returns the same 404 as one that does not exist.

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
showId string The show these breakdowns are for.
rulesetVersionsUsed string[] The ruleset versions actually behind these numbers. More than one means the range spans a rules change, and verdict figures either side are not comparable.
basis string The tier every breakdown below is accumulated over.
apps object Downloads and invalid traffic by listening app.
apps.available boolean False when NO day in the range carried an app breakdown — rows digested before Phase 3 have none. Distinct from an empty table, which would read as "this show had no downloads".
apps.totalMeasured integer
apps.totalAtRisk integer
apps.rows object[]
apps.rows[].key string
apps.rows[].label string
apps.rows[].downloads integer
apps.rows[].share number
apps.rows[].atRisk integer
apps.rows[].atRiskRate number | null Null below the per-row volume floor: 1 of 3 reads as 33% and would sort a three-download app to the top of a worst-offenders list.
apps.rows[].isOther boolean True for the digester's pooled top-15 remainder.
apps.finding object | null Present only when some apps carry disproportionately more invalid traffic than their size predicts. BOTH shares, always: "38% of invalid traffic" is not a finding without the size it is measured against.
apps.finding.apps string[] The named apps, worst first.
apps.finding.downloadShare number Their combined share of MEASURED downloads, 0..1.
apps.finding.invalidShare number Their combined share of INVALID downloads, 0..1.
apps.versions object
countries object[] Downloads and invalid traffic by country.
countries[].country string
countries[].downloads integer Measured (verified + atRisk) downloads from geo_breakdown.
countries[].verified integer Verified downloads alone -- the basis of the audience-share column.
countries[].atRisk integer Invalid downloads as a count.
countries[].atRiskPct number atRisk / downloads, 0 when downloads is 0.
usStates object[] Downloads and invalid traffic by US state, where the country is US.
usStates[].state string
usStates[].downloads integer Measured (verified + atRisk) downloads from us_state_breakdown.
usStates[].verified integer Verified downloads alone -- the basis of the audience-share column.
usStates[].atRisk integer Invalid downloads as a count.
usStates[].atRiskPct number atRisk / downloads, 0 when downloads is 0.
devices object[] Downloads and invalid traffic by device type.
devices[].device "Automated/other" | "Computer/browser" | "Mobile app" | "Smart speaker"
devices[].downloads integer Measured (verified + atRisk) downloads from device_breakdown.
devices[].verified integer Verified downloads alone.
devices[].atRisk integer Invalid downloads as a count. THIS FOLD ALREADY HAD IT. It computed verified+atRisk, kept the ratio and threw both terms away -- which is why Devices was the one table that could not show the same columns as Countries and Apps. The tables could not be aligned until the folds behind them were.
devices[].atRiskPct number atRisk / downloads, 0 when downloads is 0.
asnByDay object[] Stored top-10-by-sivt array, per day, verbatim.
asnByDay[].date string
asnByDay[].asn string | number | false | true | object | null

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "showId": "shw_3f9a2c",
  "rulesetVersionsUsed": [
    "decoy-ivt-v1.6.1"
  ],
  "basis": "estimated-network-identity",
  "apps": {
    "available": true,
    "totalMeasured": 132326,
    "totalAtRisk": 9411,
    "rows": [
      {
        "key": "apple",
        "label": "Apple Podcasts",
        "downloads": 48117,
        "share": 0.3636,
        "atRisk": 9411,
        "atRiskRate": 0.0634,
        "isOther": false
      }
    ],
    "finding": {
      "apps": [
        ""
      ],
      "downloadShare": 0,
      "invalidShare": 0
    },
    "versions": {
      "GB": {
        "rows": [
          {
            "version": "v1",
            "downloads": 48117,
            "share": 0.3636,
            "atRisk": 9411,
            "atRiskPct": 0,
            "isOther": false,
            "isUnknown": false
          }
        ],
        "available": true,
        "dominance": {
          "version": "v1",
          "share": 0.3636
        }
      }
    }
  },
  "countries": [
    {
      "country": "",
      "downloads": 48117,
      "verified": 122915,
      "atRisk": 9411,
      "atRiskPct": 0
    }
  ],
  "usStates": [
    {
      "state": "ready",
      "downloads": 48117,
      "verified": 122915,
      "atRisk": 9411,
      "atRiskPct": 0
    }
  ],
  "devices": [
    {
      "device": "Automated/other",
      "downloads": 48117,
      "verified": 122915,
      "atRisk": 9411,
      "atRiskPct": 0
    }
  ],
  "asnByDay": [
    {
      "date": "2026-10-02",
      "asn": ""
    }
  ]
}

/api/v1/shows/{id}/listeners#

Estimated unique listeners at both tiers, the per-day verified series, the plausibility-band finding, and per-country/device/app breakdowns.

Per-day only. No window total exists.

All three breakdowns partition a day and sum to that day's verified total. A listener is (masked IP, hashed user-agent) and the app is resolved from that user-agent, so a listener falls in exactly one country, one device type and one app.

One person running two apps is therefore two listeners, not one listener in two buckets. See the basis note.

Parameters

Name In Type Required Description
id path string yes Show id. A resource belonging to another account returns the same 404 as one that does not exist.

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
showId string The show these figures are for.
rulesetVersionsUsed string[] The ruleset versions actually behind these numbers. More than one means the range spans a rules change, and verdict figures either side are not comparable.
summary Listeners Estimated unique listeners over the window: an average day, a peak day, and the share of downloads they account for. There is deliberately no window total.
daily object[] The per-day verified series. A day whose column is null stays null with its reason attached -- "we have not measured this" is not "nobody listened", and a zero here would be drawn as a genuinely empty day.
daily[].date string
daily[].verified Measure
daily[].measured Measure
daily[].identifiedDownloadsVerified Measure
daily[].identifiedDownloadsMeasured Measure
breakdowns object Per-dimension VERIFIED-tier breakdowns, as an average day. Verified, not measured: every listener figure in this API is the reach tier, and the two differ by multiples on a show with real invalid traffic.
breakdowns.countries ListenerBreakdown
breakdowns.devices ListenerBreakdown
breakdowns.apps ListenerBreakdown

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "showId": "shw_3f9a2c",
  "rulesetVersionsUsed": [
    "decoy-ivt-v1.6.1"
  ],
  "summary": {
    "basis": "estimated-network-identity",
    "basisNote": "Show-grain delivery: per-day rows, derived tiers, window totals, and the reconciliation.",
    "daysMeasured": 30,
    "summableAcrossDays": false,
    "verified": {
      "averageDay": {
        "value": 14207
      },
      "peakDay": {
        "value": 19044
      },
      "uniqueShare": {
        "value": 0.412
      }
    },
    "measured": {
      "averageDay": {
        "value": 14207
      },
      "uniqueShare": {
        "value": 0.412
      }
    },
    "plausibilityBand": {
      "low": 0,
      "high": 0
    },
    "identifiedDownloads": 0,
    "findingSuppressed": false,
    "minFindingVolume": 0,
    "finding": {
      "direction": "high",
      "measuredShare": 0.412,
      "verifiedShare": 0.398,
      "note": "Show-grain delivery: per-day rows, derived tiers, window totals, and the reconciliation."
    }
  },
  "daily": [
    {
      "date": "2026-10-02",
      "verified": {
        "value": 122915
      },
      "measured": {
        "value": 132326
      },
      "identifiedDownloadsVerified": {
        "value": 0
      },
      "identifiedDownloadsMeasured": {
        "value": 0
      }
    }
  ],
  "breakdowns": {
    "countries": {
      "basis": "estimated-network-identity",
      "summable": true,
      "daysMeasured": 30,
      "buckets": [
        {
          "key": "apple",
          "averageDay": 14207
        }
      ]
    },
    "devices": {
      "basis": "estimated-network-identity",
      "summable": true,
      "daysMeasured": 30,
      "buckets": [
        {
          "key": "apple",
          "averageDay": 14207
        }
      ]
    },
    "apps": {
      "basis": "estimated-network-identity",
      "summable": true,
      "daysMeasured": 30,
      "buckets": [
        {
          "key": "apple",
          "averageDay": 14207
        }
      ]
    }
  }
}

/api/v1/shows/{id}/baselines#

Trailing IVT baseline per day: rate, median daily downloads, range-ratio mean and standard deviation.

Parameters

Name In Type Required Description
id path string yes Show id. A resource belonging to another account returns the same 404 as one that does not exist.
limit query integer no 1..1000, default 100
offset query integer no default 0

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
showId string The show these baselines are for.
rulesetVersionsUsed string[] The ruleset versions actually behind these numbers. More than one means the range spans a rules change, and verdict figures either side are not comparable.
baselines object One row per day with a baseline, paged.
baselines.items object[]
baselines.items[].date string
baselines.items[].trailingIvtRate number
baselines.items[].medianDailyDownloads number
baselines.items[].rangeRatio object
baselines.items[].days number How many days of history produced the figures above.
baselines.total integer
baselines.limit integer
baselines.offset integer

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "showId": "shw_3f9a2c",
  "rulesetVersionsUsed": [
    "decoy-ivt-v1.6.1"
  ],
  "baselines": {
    "items": [
      {
        "date": "2026-10-02",
        "trailingIvtRate": 0,
        "medianDailyDownloads": 0,
        "rangeRatio": {
          "mean": 0,
          "stddev": 0
        },
        "days": 0
      }
    ],
    "total": 30,
    "limit": 100,
    "offset": 0
  }
}

/api/v1/episodes/{id}/delivery#

Episode-grain delivery: per-day raw rows, derived tiers, window totals and reconciliation.

There is no episode-grain listener route: identity is only stored at show grain, because one identity listening to two episodes is one listener.

Parameters

Name In Type Required Description
id path string yes Episode id. A resource belonging to another account returns the same 404 as one that does not exist.
limit query integer no 1..1000, default 100
offset query integer no default 0
include_raw query true | false no set to true to add every stored column verbatim to each day

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
episodeId string The episode these figures are for.
showId string The show the episode belongs to.
grain string The grain these figures are aggregated at.
rulesetVersionsUsed string[] The ruleset versions actually behind these numbers. More than one means the range spans a rules change, and verdict figures either side are not comparable.
totals Tiers Folded over the WHOLE window, not over the page of daily rows below.
reconciliation Funnel Requests received, counted, measured, verified, as stated steps with the removal between each. Where the published download number comes from.
daily object One row per day that carries traffic, paged. A day with no traffic is absent rather than zero.
daily.items object[]
daily.items[].raw object | null
daily.items[].date string
daily.items[].rulesetVersion string
daily.items[].tiers Tiers
daily.total integer
daily.limit integer
daily.offset integer

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "episodeId": "ep_8c41d0",
  "showId": "shw_3f9a2c",
  "grain": "show",
  "rulesetVersionsUsed": [
    "decoy-ivt-v1.6.1"
  ],
  "totals": {
    "counted": {
      "value": 184203
    },
    "givt": {
      "value": 51877
    },
    "measured": {
      "value": 132326
    },
    "ratedMeasured": {
      "value": 131904
    },
    "unclassified": {
      "value": 422
    },
    "atRisk": {
      "value": 9411
    },
    "suspicious": {
      "value": 14880
    },
    "verified": {
      "value": 122915
    },
    "ivtRate": {
      "value": 0.0711
    },
    "verifiedRate": {
      "value": 0.9289
    },
    "suspiciousRate": {
      "value": 0.0808
    },
    "healthVerdict": "watch",
    "ratesSuppressed": false,
    "minVerdictVolume": 100
  },
  "reconciliation": {
    "available": true,
    "steps": [
      {
        "kind": "subtotal",
        "label": "Apple Podcasts",
        "value": 0
      }
    ],
    "reconciles": true
  },
  "daily": {
    "items": [
      {
        "date": "2026-10-02",
        "rulesetVersion": "decoy-ivt-v1.6.1",
        "tiers": {
          "counted": {
            "value": 184203
          },
          "givt": {
            "value": 51877
          },
          "measured": {
            "value": 132326
          },
          "ratedMeasured": {
            "value": 131904
          },
          "unclassified": {
            "value": 422
          },
          "atRisk": {
            "value": 9411
          },
          "suspicious": {
            "value": 14880
          },
          "verified": {
            "value": 122915
          },
          "ivtRate": {
            "value": 0.0711
          },
          "verifiedRate": {
            "value": 0.9289
          },
          "suspiciousRate": {
            "value": 0.0808
          },
          "healthVerdict": "watch",
          "ratesSuppressed": false,
          "minVerdictVolume": 100
        }
      }
    ],
    "total": 30,
    "limit": 100,
    "offset": 0
  }
}

/api/v1/campaigns#

Campaigns: name, flight dates, status, show count.

Parameters

Name In Type Required Description
limit query integer no 1..1000, default 100
offset query integer no default 0

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
campaigns object The account's campaigns, paged, newest flight first.
campaigns.items object[]
campaigns.items[].createdAt string | null
campaigns.items[].updatedAt string | null
campaigns.items[].showCount number | null
campaigns.items[].id string Stable campaign id.
campaigns.items[].name string The campaign's display name.
campaigns.items[].description string | null Free text, as entered.
campaigns.items[].flight object The dates the campaign runs between, inclusive. Money is always whole-flight, never windowed.
campaigns.items[].status string draft, active or ended. A draft reports no metrics anywhere.
campaigns.total integer
campaigns.limit integer
campaigns.offset integer

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "campaigns": {
    "items": [
      {
        "createdAt": "2026-03-14T09:22:41.000Z",
        "updatedAt": "2026-10-28T16:05:03.000Z",
        "id": "shw_3f9a2c",
        "name": "Northgate Audio",
        "description": "Q4 brand campaign across the travel slate.",
        "flight": {
          "from": "2026-10-02",
          "to": "2026-11-01"
        },
        "status": "active"
      }
    ],
    "total": 30,
    "limit": 100,
    "offset": 0
  }
}

/api/v1/campaigns/{id}#

One campaign and its per-show terms: deal type, CPM or flat rate in integer cents, ads per episode, episode selector.

Parameters

Name In Type Required Description
id path string yes Campaign id. A resource belonging to another account returns the same 404 as one that does not exist.

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
campaign object The campaign, with the per-show terms that define what it bought.
campaign.shows object[]
campaign.shows[].displayName string | null
campaign.shows[].showId string
campaign.shows[].dealType string
campaign.shows[].cpmCents number | null
campaign.shows[].adsPerEpisode number | null
campaign.shows[].flatRateCents number | null
campaign.shows[].episodeSelector object
campaign.createdAt string | null
campaign.updatedAt string | null
campaign.showCount number | null
campaign.id string Stable campaign id.
campaign.name string The campaign's display name.
campaign.description string | null Free text, as entered.
campaign.flight object The dates the campaign runs between, inclusive. Money is always whole-flight, never windowed.
campaign.flight.from string
campaign.flight.to string
campaign.status string draft, active or ended. A draft reports no metrics anywhere.

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "campaign": {
    "shows": [
      {
        "displayName": "The Long Way Round",
        "showId": "shw_3f9a2c",
        "dealType": "cpm",
        "cpmCents": 2500,
        "adsPerEpisode": 2,
        "flatRateCents": 0,
        "episodeSelector": {
          "type": "",
          "value": {}
        }
      }
    ],
    "createdAt": "2026-03-14T09:22:41.000Z",
    "updatedAt": "2026-10-28T16:05:03.000Z",
    "id": "shw_3f9a2c",
    "name": "Northgate Audio",
    "description": "Q4 brand campaign across the travel slate.",
    "flight": {
      "from": "2026-10-02",
      "to": "2026-11-01"
    },
    "status": "active"
  }
}

/api/v1/campaigns/{id}/delivery#

One campaign's per-show delivery contributions and its totals, including spend at risk.

A draft campaign reports no metrics, by design.

Parameters

Name In Type Required Description
id path string yes Campaign id. A resource belonging to another account returns the same 404 as one that does not exist.

Response 200

This route returns one of two shapes; the reporting field says which.

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
campaign object The campaign itself, which exists whether or not it reports.
campaign.createdAt string | null
campaign.updatedAt string | null
campaign.showCount number | null
campaign.id string Stable campaign id.
campaign.name string The campaign's display name.
campaign.description string | null Free text, as entered.
campaign.flight object The dates the campaign runs between, inclusive. Money is always whole-flight, never windowed.
campaign.flight.from string
campaign.flight.to string
campaign.status string draft, active or ended. A draft reports no metrics anywhere.
reporting boolean True when this campaign reports metrics. False only for a draft.
reason string Present only when reporting is false: why there are no metrics.
metrics null Delivery and money against the campaign's terms, over the window. (not always present)

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "campaign": {
    "createdAt": "2026-03-14T09:22:41.000Z",
    "updatedAt": "2026-10-28T16:05:03.000Z",
    "id": "shw_3f9a2c",
    "name": "Northgate Audio",
    "description": "Q4 brand campaign across the travel slate.",
    "flight": {
      "from": "2026-10-02",
      "to": "2026-11-01"
    },
    "status": "active"
  },
  "reporting": true,
  "reason": ""
}

/api/v1/account/delivery#

Portfolio view: totals across every campaign, plus the per-campaign detail.

totals is summed over EVERY campaign in the account, never over the returned page. Only the campaigns array is paginated.

The per-campaign detail is heavy — every campaign's full per-show contribution set. Measured on a live account, the default page is ~225 kB and limit=2 is ~11 kB. Use limit if you only need the totals.

Parameters

Name In Type Required Description
limit query integer no 1..1000, default 100
offset query integer no default 0

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
totals object Summed over EVERY campaign in the account, not over the page below.
totals.campaignCount number
totals.facts object
totals.facts.countedDownloads number
totals.facts.clean number
totals.facts.suspicious integer
totals.facts.givt integer
totals.facts.sivt number
totals.facts.fraud number
totals.facts.insufficientData number
totals.facts.prePublish number
totals.facts.ivtStrictN number givt + sivt + fraud
totals.facts.ivtInclusiveN number strict + suspicious
totals.facts.ivtDenominator number counted_downloads - insufficient_data
totals.windowedFacts object Pooled the same way facts is. See ShowCampaignMetrics.windowedFacts for the full rule -- it applies here unchanged: billableDownloads, suspiciousDownloads, impressions, ivtRateStrict, ivtRateInclusive all stay whole-flight on this type too, including the money fields. A windowed surface must recompute any rate from windowedFacts itself; ivtRateStrict / ivtRateInclusive here are not windowed.
totals.windowedFacts.countedDownloads number
totals.windowedFacts.clean number
totals.windowedFacts.suspicious integer
totals.windowedFacts.givt integer
totals.windowedFacts.sivt number
totals.windowedFacts.fraud number
totals.windowedFacts.insufficientData number
totals.windowedFacts.prePublish number
totals.windowedFacts.ivtStrictN number givt + sivt + fraud
totals.windowedFacts.ivtInclusiveN number strict + suspicious
totals.windowedFacts.ivtDenominator number counted_downloads - insufficient_data
totals.billableDownloads number
totals.suspiciousDownloads number
totals.atRiskDownloads number Pooled atRiskDownloads (sivt + fraud) -- the money basis.
totals.impressions number
totals.spendCents number
totals.spendAtRiskCents number
totals.ivtRateStrict number
totals.ivtRateInclusive number
totals.unscopedEpisodes number
campaigns object Per-campaign delivery and money, paged.
campaigns.items object[]
campaigns.items[].campaignId string
campaigns.items[].shows object[]
campaigns.items[].totals object
campaigns.items[].rulesetVersionsUsed string[] Every ruleset version that actually produced these numbers, ascending. Reads are no longer filtered to one version (that blanked history on a rules change), so a window can straddle a boundary; more than one entry means the UI must label the verdict figures. Optional because the pure math does not know about versions -- the service attaches it.
campaigns.total integer
campaigns.limit integer
campaigns.offset integer

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "totals": {
    "campaignCount": 0,
    "facts": {
      "countedDownloads": 0,
      "clean": 0,
      "suspicious": 14880,
      "givt": 51877,
      "sivt": 0,
      "fraud": 0,
      "insufficientData": 0,
      "prePublish": 0,
      "ivtStrictN": 0,
      "ivtInclusiveN": 0,
      "ivtDenominator": 0
    },
    "windowedFacts": {
      "countedDownloads": 0,
      "clean": 0,
      "suspicious": 14880,
      "givt": 51877,
      "sivt": 0,
      "fraud": 0,
      "insufficientData": 0,
      "prePublish": 0,
      "ivtStrictN": 0,
      "ivtInclusiveN": 0,
      "ivtDenominator": 0
    },
    "billableDownloads": 0,
    "suspiciousDownloads": 0,
    "atRiskDownloads": 0,
    "impressions": 0,
    "spendCents": 0,
    "spendAtRiskCents": 0,
    "ivtRateStrict": 0,
    "ivtRateInclusive": 0,
    "unscopedEpisodes": 0
  },
  "campaigns": {
    "items": [
      {
        "campaignId": "cmp_51b7a4",
        "shows": [
          {
            "showId": "shw_3f9a2c",
            "episodeIds": [
              "ep_8c41d0"
            ],
            "facts": {
              "countedDownloads": 0,
              "clean": 0,
              "suspicious": 14880,
              "givt": 51877,
              "sivt": 0,
              "fraud": 0,
              "insufficientData": 0,
              "prePublish": 0,
              "ivtStrictN": 0,
              "ivtInclusiveN": 0,
              "ivtDenominator": 0
            },
            "windowedFacts": {
              "countedDownloads": 0,
              "clean": 0,
              "suspicious": 14880,
              "givt": 51877,
              "sivt": 0,
              "fraud": 0,
              "insufficientData": 0,
              "prePublish": 0,
              "ivtStrictN": 0,
              "ivtInclusiveN": 0,
              "ivtDenominator": 0
            },
            "billableDownloads": 0,
            "suspiciousDownloads": 0,
            "atRiskDownloads": 0,
            "impressions": 0,
            "spendCents": 0,
            "spendAtRiskCents": 0,
            "canBillMoney": false,
            "ivtRateStrict": 0,
            "ivtRateInclusive": 0,
            "unscopedEpisodes": 0
          }
        ],
        "totals": {
          "facts": {
            "countedDownloads": 0,
            "clean": 0,
            "suspicious": 14880,
            "givt": 51877,
            "sivt": 0,
            "fraud": 0,
            "insufficientData": 0,
            "prePublish": 0,
            "ivtStrictN": 0,
            "ivtInclusiveN": 0,
            "ivtDenominator": 0
          },
          "windowedFacts": {
            "countedDownloads": 0,
            "clean": 0,
            "suspicious": 14880,
            "givt": 51877,
            "sivt": 0,
            "fraud": 0,
            "insufficientData": 0,
            "prePublish": 0,
            "ivtStrictN": 0,
            "ivtInclusiveN": 0,
            "ivtDenominator": 0
          },
          "billableDownloads": 0,
          "suspiciousDownloads": 0,
          "atRiskDownloads": 0,
          "impressions": 0,
          "spendCents": 0,
          "spendAtRiskCents": 0,
          "ivtRateStrict": 0,
          "ivtRateInclusive": 0,
          "unscopedEpisodes": 0
        }
      }
    ],
    "total": 30,
    "limit": 100,
    "offset": 0
  }
}

/api/v1/account/unattributed#

Requests that could not be attributed to a show in your library, by day, with all nine reason codes kept separate.

Never collapsed to a single percentage — the reason breakdown is the useful part.

Parameters

Name In Type Required Description
limit query integer no 1..1000, default 100
offset query integer no default 0

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
unattributed object Delivery that reached a show in the library but fell outside every campaign's flight and show list -- the gap between what a show delivered and what any campaign claims.
unattributed.items object[]
unattributed.items[].date string
unattributed.items[].totalRequests number
unattributed.items[].unattributed number
unattributed.items[].byReason string | number | false | true | object The nine frozen reason strings, verbatim.
unattributed.items[].attribution object
unattributed.total integer
unattributed.limit integer
unattributed.offset integer

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "unattributed": {
    "items": [
      {
        "date": "2026-10-02",
        "totalRequests": 0,
        "unattributed": 0,
        "byReason": "",
        "attribution": {
          "viaEpisodeKey": 0,
          "viaCanonicalUrl": 0,
          "ambiguousEpisodeKeys": 0,
          "ambiguousShowKeys": 0
        }
      }
    ],
    "total": 30,
    "limit": 100,
    "offset": 0
  }
}

/api/v1/anomalies#

Derived anomalies and show traffic shapes.

Parameters

Name In Type Required Description
limit query integer no 1..1000, default 100
offset query integer no default 0

Response 200

Field Type Description
rulesetVersion string The scoring ruleset these figures were read under.
from string YYYY-MM-DD, UTC. The start of the window actually used.
to string YYYY-MM-DD, UTC. The end of the window actually used.
rulesetVersionsUsed string[] The ruleset versions actually behind these numbers. More than one means the range spans a rules change, and verdict figures either side are not comparable.
counts object How many events of each severity, over the whole window.
counts.flag number
counts.watch number
counts.info number
events object Individual sensor findings, paged, newest first.
events.items object[]
events.items[].id string
events.items[].severity "flag" | "info" | "watch"
events.items[].scope string Show (or episode) the anomaly is scoped to — a display name.
events.items[].date string YYYY-MM-DD (UTC) the anomaly occurred.
events.items[].title string
events.items[].body string
events.items[].sensor string The catalog sensor this maps to.
events.items[].magnitude string
events.items[].magnitudeLabel string
events.items[].intensity number 0..100 bar fill.
events.items[].rank number For stable ranking: higher = more urgent.
events.total integer
events.limit integer
events.offset integer
shapes object Audience-shape states per show: a slower signal than an event, describing what a show's audience looks like rather than what happened on a day.
shapes.counts object
shapes.counts.flagged number
shapes.counts.watch number
shapes.shows object[]
shapes.shows[].showId string
shapes.shows[].showName string
shapes.shows[].state "clean" | "flagged" | "insufficient" | "watch"
shapes.shows[].reasons string[] Why the state was assigned, in the sensor's own words.
shapes.shows[].date string | null

Example

{
  "rulesetVersion": "decoy-ivt-v1.6.1",
  "from": "2026-10-02",
  "to": "2026-11-01",
  "rulesetVersionsUsed": [
    "decoy-ivt-v1.6.1"
  ],
  "counts": {
    "flag": 0,
    "watch": 0,
    "info": 0
  },
  "events": {
    "items": [
      {
        "id": "shw_3f9a2c",
        "severity": "flag",
        "scope": "",
        "date": "2026-10-02",
        "title": "The harbour at first light",
        "body": "",
        "sensor": "",
        "magnitude": "",
        "magnitudeLabel": "",
        "intensity": 0,
        "rank": 0
      }
    ],
    "total": 30,
    "limit": 100,
    "offset": 0
  },
  "shapes": {
    "counts": {
      "flagged": 0,
      "watch": 0
    },
    "shows": [
      {
        "showId": "shw_3f9a2c",
        "showName": "The Long Way Round",
        "state": "clean",
        "reasons": [
          "unique share 41% against an 18-32% band"
        ],
        "date": "2026-10-02"
      }
    ]
  }
}

Shared shapes

The types referenced above, each appearing in more than one response.

Funnel#

Field Type Description
available boolean
steps FunnelStep[]
reconciles boolean False when the independently-stored figures disagree with the subtraction — a real data bug. SURFACED, never silently corrected: the spec requires a reader to see it, and an API consumer is a reader.

FunnelStep#

Field Type Description
kind "removal" | "subtotal"
label string
value integer

ListenerBreakdown#

A per-dimension listener breakdown (country / device / app). ALL THREE PARTITION A DAY, so every one of these adds to the day's verified total, and rollup_test.go pins all three. A listener is (masked IP, hashed user-agent); country comes from the IP and both device type and app come from that same user-agent, so a listener falls in exactly one bucket of each. summable is therefore true throughout and is kept only so a consumer already branching on it keeps working. It read false for app until card G7L0BAFJ, on the grounds that "a listener who switches apps mid-day is counted under both". That confuses a PERSON with a listener: switching apps changes the user-agent, which makes a different listener, not a second bucket for the same one. The thing worth telling a caller is that one person running two apps IS two listeners -- which basisNote already says, about every figure here. Values are the un-rounded average day, so a long tail of small buckets is not flattened to zero. A key the map does not carry is OMITTED rather than sent as 0: these maps are capped by unique count while the breakdown tables are capped by downloads, so absence means "not known".

Field Type Description
basis "estimated-network-identity"
summable boolean TRUE FOR ALL THREE DIMENSIONS, which it was not. The app breakdown shipped as summable: false with a note saying a listener who used two apps appears in both buckets. That confuses a PERSON with a listener. A listener is (masked IP, hashed user-agent); the app is resolved from that same user-agent, so a listener has exactly one app and lands in exactly one bucket. The buckets partition the day's listeners exactly as country and device do, and the cap folds its tail into __other__ rather than dropping it, so the sum holds. What is true is that one human running two apps is two listeners -- a property of estimating identity from network and device, stated once in basisNote where it belongs, rather than disguised as an arithmetic rule about one breakdown. Roy, card G7L0BAFJ: "of course the same listener on 2 apps is 2 listeners cause a listener is defined as UA+IP, and the UA will be different." Pinned by TestBuildShowDailyAggsAppListenersPartitionAcrossApps, at the exact case the old claim named.
summableNote string | null (not always present)
daysMeasured integer
buckets object[]
buckets[].key string
buckets[].averageDay integer

Listeners#

Field Type Description
basis "estimated-network-identity"
basisNote string
daysMeasured integer Days in the range that carry an identity signal — the averages' divisor. Fewer than the range's length means the rest were not measured.
summableAcrossDays false NO WINDOW TOTAL, and none is derivable: uniqueness is within a day, so a listener active on five days would count five times in a sum. This is the reason the field is absent rather than null — a null invites a consumer to go looking for the real one.
verified object
verified.averageDay Measure
verified.peakDay Measure
verified.uniqueShare Measure Unique listeners / identified downloads, pooled across the range.
measured object
measured.averageDay Measure
measured.uniqueShare Measure
plausibilityBand object Where ordinary shows sit, so a consumer can judge a share without hardcoding our calibration.
plausibilityBand.low number
plausibilityBand.high number
identifiedDownloads number Identified downloads behind measured.uniqueShare -- the denominator. A share is only as meaningful as the volume under it.
findingSuppressed boolean True when finding is null BECAUSE the volume is under the floor, as opposed to the share sitting inside the plausibility band. Two different facts, exactly as ratesSuppressed distinguishes them for tiers.
minFindingVolume number The floor that was applied, so a caller need not hardcode it.
finding object | null Present only when this show's MEASURED share falls outside the band.
finding.direction "high" | "low"
finding.measuredShare number
finding.verifiedShare number | null
finding.note string

Measure#

A figure that may legitimately have no value, with the reason when it does not. The reason is the point. {"value": null} tells a consumer nothing about whether the show had no traffic, predates a column, or fell under a threshold — three situations that call for three different sentences in a report.

Field Type Description
value number | null
reason string | null Present only when value is null. Plain English, safe to show a reader. (not always present)

RouteDescriptor#

What /api/v1 describes about itself. A SINGLE SOURCE for the route list, so the discovery endpoint cannot drift from what is actually mounted — catalogue.test.ts walks app/api/v1 on disk and fails if a route exists without an entry here, or an entry names a route that does not exist. A discovery document that lies is worse than none: a client builds against it and the 404 arrives in production. It also carries the field-level notes a consumer needs in order not to misuse the numbers. Those are not decoration. The whole reason this API serves derived figures rather than raw columns is that the derivations are easy to get wrong in specific ways (docs/read-only-api-and-mcp.md §2.1), and a caller reading the discovery document is exactly the person about to get them wrong.

Field Type Description
path string Path as mounted, with {id} for a dynamic segment.
summary string
params string[] Query params beyond the universal ones listed in UNIVERSAL_PARAMS. (not always present)
notes string[] Things that will produce a wrong number if ignored. (not always present)

Tiers#

Field Type Description
counted Measure IAB-counted downloads — the published download number.
givt Measure Declared bots and crawlers (GIVT). Benign infrastructure, not fraud.
measured Measure counted − givt. The population every breakdown is accumulated over.
ratedMeasured Measure measured minus rows that could not be classified.
unclassified Measure Unclassifiable rows, excluded from the verdict.
atRisk Measure Confirmed invalid: sivt + fraud. The figure excluded from billing.
suspicious Measure sivt + fraud + suspicious — the visibility figure, wider than atRisk.
verified Measure measured − atRisk. The reach figure a publisher can stand behind.
ivtRate Measure atRisk / measured. Null under the verdict floor — see below.
verifiedRate Measure verified / measured. The exact complement of ivtRate.
suspiciousRate Measure suspicious / counted — what the health verdict classifies on.
healthVerdict string | null "flag" | "watch" | "clean", or null under the floor.
ratesSuppressed boolean True when the rates are null BECAUSE the window is under MIN_VERDICT_VOLUME, as opposed to having no measured traffic at all. Two different facts; a consumer deciding whether to wait for more data needs to know which.
minVerdictVolume integer The floor that was applied, so a caller need not hardcode it.

Last reviewed 11 November 2026