V³ Aware Admin API
The admin API from V³ Aware, for admin.
The admin API from V³ Aware, for admin.
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/v3-news:v3-news-admin-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: V³ News API v3 Admin API
version: 0.1.0
tags:
- name: Admin
paths:
/admin/worker-runs:
get:
tags:
- Admin
summary: List Worker Runs
description: 'Recent worker runs across both pipelines, newest first.
Returns a unified view so the UI can render a single timeline. Each item
has a ``worker`` field (``llm_search`` | ``update_search``) and a
``label`` field that summarises the run (country/date for llm_search,
date for update_search).'
operationId: list_worker_runs_admin_worker_runs_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 30
minimum: 1
description: Look back this many days
default: 7
title: Days
description: Look back this many days
- name: worker
in: query
required: false
schema:
anyOf:
- type: string
pattern: ^[A-Za-z_][A-Za-z0-9_]{0,63}$
- type: 'null'
description: Filter to one worker family
title: Worker
description: Filter to one worker family
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/worker-runs/summary:
get:
tags:
- Admin
summary: Worker Runs Summary
description: 'High-level health summary across both worker pipelines.
Powers the top-of-page status row: total runs, success rate, latest
failure, and freshness ("last successful llm_search run was 2h ago").'
operationId: worker_runs_summary_admin_worker_runs_summary_get
parameters:
- name: hours
in: query
required: false
schema:
type: integer
maximum: 168
minimum: 1
description: Window for the summary
default: 24
title: Hours
description: Window for the summary
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/worker-runs/health:
get:
tags:
- Admin
summary: Worker Runs Health
description: 'Per-worker last-Nd rollup with cadence-aware freshness flags.
Returns one row per worker that has logged a run in the lookback
window. Each row carries the totals you''d put on a watchdog card
(success rate, items processed, failures, last run) PLUS a
``cadence_health`` label derived from the gap between the worker''s
own recent runs.
Drives the /admin/workers data-driven worker list. Adding a new
worker requires no code change on this endpoint — once it logs to
worker_runs the row appears automatically.
Note: this endpoint only covers the generic worker_runs table.
llm_search_runs / update_search_runs are NOT included — they have
their own per-worker tables with bespoke columns, and the existing
/worker-runs/summary endpoint already covers them. The frontend
union-merges the two views.'
operationId: worker_runs_health_admin_worker_runs_health_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 30
minimum: 1
description: Lookback window for stats
default: 7
title: Days
description: Lookback window for stats
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/worker-runs/series:
get:
tags:
- Admin
summary: Worker Runs Series
description: 'Hourly or daily bucketed time series for a single worker.
Drives sparklines on the watchdog cards and the full time-series
chart on the per-worker drilldown page. Returns dense buckets
(gaps filled with zeros) so the consumer can render directly
without per-cell null-handling.
Schema per bucket:
ts — ISO timestamp of bucket start (UTC)
runs — runs started in this bucket
succeeded — of those, how many succeeded
failed — of those, how many failed
items_processed — sum of items across this bucket''s runs
failure_count — sum of failure_count across the bucket
p50_duration_secs — median duration of completed runs
p50 is computed via percentile_cont; buckets with no completed
runs return null for the duration so the consumer can dodge them
when rendering rather than seeing a misleading zero.'
operationId: worker_runs_series_admin_worker_runs_series_get
parameters:
- name: worker
in: query
required: true
schema:
type: string
description: Worker name to graph
title: Worker
description: Worker name to graph
- name: days
in: query
required: false
schema:
type: integer
maximum: 30
minimum: 1
default: 7
title: Days
- name: bucket
in: query
required: false
schema:
type: string
pattern: ^(hour|day)$
description: Time-bucket granularity for the series.
default: hour
title: Bucket
description: Time-bucket granularity for the series.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/worker-runs/{worker}/breakdown:
get:
tags:
- Admin
summary: Worker Runs Breakdown
description: 'Group this worker''s recent runs by a meta dimension.
Use case: ``brief_snapshot`` writes ``meta.scope`` = global | country
| category. Operators want to know "is global failing while country
is fine?" — this endpoint gives one row per distinct meta-value
with the same success / items / failure rollup. Same trick works
for ``meta.slot`` (morning / afternoon / evening), ``meta.country_iso2``,
or any other key the worker chose to put in its meta payload.
Unknown meta keys silently return zero rows (no error) — the
frontend just renders "no data for this dimension".'
operationId: worker_runs_breakdown_admin_worker_runs__worker__breakdown_get
parameters:
- name: worker
in: path
required: true
schema:
type: string
title: Worker
- name: dim
in: query
required: true
schema:
type: string
pattern: ^[A-Za-z_][A-Za-z0-9_]{0,32}$
description: JSONB meta key to dimension over (e.g. scope, slot, country_iso2).
title: Dim
description: JSONB meta key to dimension over (e.g. scope, slot, country_iso2).
- name: days
in: query
required: false
schema:
type: integer
maximum: 30
minimum: 1
default: 7
title: Days
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/analytics/sessions/overview:
get:
tags:
- Admin
summary: Analytics Sessions Overview
description: 'Single-shot snapshot for the analytics dashboard header.
Returns:
• totals.sessions_24h / sessions_7d / sessions_30d / sessions_all
• totals.pseudonyms (distinct authenticated visitors with at
least one session ever)
• totals.anonymous_visitors (distinct anon visitor IDs seen
in the last 30 days — bounded so we don''t count one-off
crawlers from 90 days ago)
• totals.merges_all (anon→auth links ever recorded)
• raw_retention_days — surfaces the privacy-policy commitment
• computed_at'
operationId: analytics_sessions_overview_admin_analytics_sessions_overview_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Analytics Sessions Overview Admin Analytics Sessions Overview Get
/admin/analytics/sessions/timeseries:
get:
tags:
- Admin
summary: Analytics Sessions Timeseries
description: 'Daily sessions over the last N days, split by identity:
authenticated (has pseudonym) vs anonymous (visitor cookie/header
only). Powers the main timeseries chart.
Always returns the full date series (no gaps) so the chart can
render flat zeros without per-day NULL handling.'
operationId: analytics_sessions_timeseries_admin_analytics_sessions_timeseries_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 90
minimum: 1
description: Look-back window.
default: 30
title: Days
description: Look-back window.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Analytics Sessions Timeseries Admin Analytics Sessions Timeseries Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/analytics/sessions/engagement-tiers:
get:
tags:
- Admin
summary: Analytics Engagement Tiers
description: 'Distribution of authenticated members across engagement
tiers (new | lapsed | active | casual).
Reads from ``user_engagement_stats`` which is computed by the
nightly ``recompute-engagement-stats`` worker. Always returns
all four bucket keys (with zero counts) so the donut chart
can render a consistent legend regardless of the data shape.'
operationId: analytics_engagement_tiers_admin_analytics_sessions_engagement_tiers_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Analytics Engagement Tiers Admin Analytics Sessions Engagement Tiers Get
/admin/analytics/sessions/client-mix:
get:
tags:
- Admin
summary: Analytics Client Mix
description: 'Two mixes over the same N-day window:
• client_kind (web | mobile-ios | mobile-android | cli | unknown)
• device_class (phone | tablet | desktop | bot | unknown)
Both bucketed by SESSION count (not unique pseudonyms) so a
user with 10 sessions on mobile and 1 on web shows up
proportionally. Helps answer "where are the sessions
coming from" rather than "how many of our users are on
mobile" (a different question we''d need pseudonym-level
counts for).'
operationId: analytics_client_mix_admin_analytics_sessions_client_mix_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 90
minimum: 1
description: Look-back window.
default: 30
title: Days
description: Look-back window.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Analytics Client Mix Admin Analytics Sessions Client Mix Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/analytics/sessions/funnel:
get:
tags:
- Admin
summary: Analytics Anon To Auth Funnel
description: 'Anon → auth conversion funnel over the last N days.
Steps:
1. Anon visitors observed (distinct anonymous_visitor_id with
any session in window).
2. Of those, how many have a matching row in
anonymous_visitor_links (the merge table) — i.e. how many
signed up while we were watching them.
3. Conversion rate = (2) / (1).
Caveat: an anon visitor who appeared OUTSIDE this window and
converted inside it counts as a conversion but NOT as a step-1
visitor — so the rate slightly overstates for short windows
after a marketing push. Acceptable for an ops dashboard; the
overview''s all-time merges total is the true count of
conversions.'
operationId: analytics_anon_to_auth_funnel_admin_analytics_sessions_funnel_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 90
minimum: 1
description: Look-back window.
default: 30
title: Days
description: Look-back window.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Analytics Anon To Auth Funnel Admin Analytics Sessions Funnel Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/analytics/usage/overview:
get:
tags:
- Admin
summary: Analytics Usage Overview
description: 'Header snapshot for the usage dashboard. Reports whether
collection is currently enabled (the USAGE_TRACKING_ENABLED gate)
and coarse volume totals.'
operationId: analytics_usage_overview_admin_analytics_usage_overview_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Analytics Usage Overview Admin Analytics Usage Overview Get
/admin/analytics/usage/top-actions:
get:
tags:
- Admin
summary: Analytics Usage Top Actions
description: 'Most-exercised actions with distinct actors, error rate, and
p50/p95 request duration. Powers the main usage table + the latency
panel (latency is a freebie because Path A times every request).'
operationId: analytics_usage_top_actions_admin_analytics_usage_top_actions_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 90
minimum: 1
default: 7
title: Days
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Analytics Usage Top Actions Admin Analytics Usage Top Actions Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/analytics/usage/surfaces:
get:
tags:
- Admin
summary: Analytics Usage Surfaces
description: 'Surface breakdown for one action — answers ''how is this reached?''
(feed card vs external link vs deep link, etc.).'
operationId: analytics_usage_surfaces_admin_analytics_usage_surfaces_get
parameters:
- name: action
in: query
required: true
schema:
type: string
description: Action label, e.g. 'GET /events/{event_id}'.
title: Action
description: Action label, e.g. 'GET /events/{event_id}'.
- name: days
in: query
required: false
schema:
type: integer
maximum: 90
minimum: 1
default: 30
title: Days
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Analytics Usage Surfaces Admin Analytics Usage Surfaces Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/analytics/usage/entitlement-drift:
get:
tags:
- Admin
summary: Analytics Usage Entitlement Drift
description: 'Access-control drift detector: non-paid cohorts (anon/free)
receiving a 2xx on a Standard-tier route. Each row is a potential
entitlement leak to investigate in the API''s authorization layer.
Anonymous + population-level by design (no member id) — it tells you
THAT a gate may be leaking, not WHO to remediate. Some listed routes
have public sub-paths (e.g. /risk/global/history), so treat rows as
leads, not confirmed leaks.'
operationId: analytics_usage_entitlement_drift_admin_analytics_usage_entitlement_drift_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 90
minimum: 1
default: 7
title: Days
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Analytics Usage Entitlement Drift Admin Analytics Usage Entitlement Drift Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/themes:
get:
tags:
- Admin
summary: Admin Themes Overview
description: 'Theme pipeline health: status mix, latest build/score run, reconciliation
decision tallies, and the pending merge/split review queue.'
operationId: admin_themes_overview_admin_themes_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Admin Themes Overview Admin Themes Get
/admin/themes/decisions:
get:
tags:
- Admin
summary: Admin Theme Decisions
description: Paginated reconciliation audit trail (continue/birth/merge/split/dormant).
operationId: admin_theme_decisions_admin_themes_decisions_get
parameters:
- name: decision_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Decision Type
- name: limit
in: query
required: false
schema:
type: integer
default: 100
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
default: 0
title: Offset
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Admin Theme Decisions Admin Themes Decisions Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/entities:
get:
tags:
- Admin
summary: Admin Entities Overview
description: 'Entity resolution health: canonical vs tombstoned counts, steward verdict
mix, type distribution, and the most recent steward adjudications.'
operationId: admin_entities_overview_admin_entities_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Admin Entities Overview Admin Entities Get
/admin/agents/shadow:
get:
tags:
- Admin
summary: Agents Shadow
description: 'Shadow-review payload for the specialized-agent P0: recent runs (with
measured cost), the latest findings, and per-pillar / per-type counts.'
operationId: agents_shadow_admin_agents_shadow_get
parameters:
- name: agent
in: query
required: false
schema:
anyOf:
- type: string
pattern: ^[a-z][a-z0-9-]{0,63}$
- type: 'null'
description: Filter to one agent slug
title: Agent
description: Filter to one agent slug
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
description: Max findings to return
default: 40
title: Limit
description: Max findings to return
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Agents Shadow Admin Agents Shadow Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/capabilities:
get:
tags:
- Admin
summary: Capabilities Health
description: 'Per-capability two-axis status, with the checks behind each axis.
Shape mirrors /worker-runs/health (totals + items) so the frontend
reads the same way. Each capability carries its checks so the page
can answer "why is this orange" without a second request.
``pending`` is a first-class verdict, not an absence: P0 shipped in
observation mode with every threshold NULL, so a check reports
``observed`` rather than ``pass`` until someone actually asserts a
bound. Reporting green for an assertion nobody made would be the
same class of false claim this subsystem exists to catch.'
operationId: capabilities_health_admin_capabilities_get
parameters:
- name: history
in: query
required: false
schema:
type: integer
maximum: 90
minimum: 2
description: Trailing points per check
default: 14
title: History
description: Trailing points per check
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/capability-reviews:
get:
tags:
- Admin
summary: Capability Reviews
operationId: capability_reviews_admin_capability_reviews_get
parameters:
- name: capability
in: query
required: true
schema:
type: string
maxLength: 64
title: Capability
- name: limit
in: query
required: false
schema:
type: integer
maximum: 50
minimum: 1
default: 12
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/capability-reviews/{review_id}/verdict:
post:
tags:
- Admin
summary: Capability Review Verdict
description: 'Record the human''s read of one judge review. Overwrites a prior verdict
(a human changing their mind is the newest truth); never touches the judge''s
own fields, so the disagreement stays visible instead of being ''fixed''.'
operationId: capability_review_verdict_admin_capability_reviews__review_id__verdict_post
parameters:
- name: review_id
in: path
required: true
schema:
type: string
format: uuid
title: Review Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ReviewVerdictBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/admin/persona-panel:
get:
tags:
- Admin
summary: Persona Panel Latest
description: 'The latest persona-panel run: the readers, the surfaces they saw, the
§7.4 metrics per surface WITH their n, and every reader''s one line.
Simulated readers. The numbers are regression signals for content and
surfaces, validated against real readers on a cadence (CS-5); the page
says so and this endpoint carries the run''s own n rather than hiding it.
Personas are fictional and test content, never members.'
operationId: persona_panel_latest_admin_persona_panel_get
parameters:
- name: run_id
in: query
required: false
schema:
anyOf:
- type: string
format: uuid
- type: 'null'
description: A specific run; default the latest
title: Run Id
description: A specific run; default the latest
- name: transcripts
in: query
required: false
schema:
type: boolean
description: Include the sample transcripts (long)
default: false
title: Transcripts
description: Include the sample transcripts (long)
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ReviewVerdictBody:
properties:
verdict:
type: string
enum:
- agree
- disagree
title: Verdict
note:
anyOf:
- type: string
- type: 'null'
title: Note
type: object
required:
- verdict
title: ReviewVerdictBody
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError