Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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: Velarion Ai Brief API
version: 1.0.0
description: 'Operations tagged Brief across 2 of this provider''s published API definitions: openapi.json, velarion-ai-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Brief
paths:
/brief/canonical-recompute:
post:
summary: Brief Canonical Recompute
description: 'Deterministic canonical_metrics recompute for the free Compensation
Brief path: compute_canonical_metrics.compute_for_ticker on the Mini''s request worker
(a canonical_recompute report_requests row; T773) — no orchestrator, no promote-chain,
no analyze_ticker, no company_analysis, zero LLM calls by construction (the free-brief
trigger law, 2026-08-19). Admin-token gated like every other compbrief-bridged endpoint.
Subject: the caller waits up to _BRIEF_CANONICAL_WAIT_S for its row; past that the stored
row serves and the queued recompute runs on. Peers: queued on a daemon thread while the
visitor''s PDF renders — per-peer failures fail open with a log line.'
operationId: brief_canonical_recompute_brief_canonical_recompute_post
parameters:
- name: X-Admin-Token
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Admin-Token
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BriefCanonicalRecomputeBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Brief
/brief/render:
post:
summary: Brief Render
description: 'Render the free Compensation Brief PDF for a brief_leads download token.
Called by compbrief''s /api/brief/download/[token] route. Prints the SAME
public HTML the visitor read (page_url points at
compbrief.velarion.ai/brief/{ticker}?print=1) via Playwright/Chromium,
uploads the PDF to the compbrief-reports bucket at briefs/{token}.pdf, and
PATCHes the brief_leads row:
rendered -> delivery_status=''rendered'', pdf_path=''briefs/{token}.pdf''
failed -> delivery_status=''failed'', pdf_path=''error: ''
(brief_leads has no error column by the ratified D2 schema;
the prefix is cleared on the next successful render — the
failed state is re-triggerable by hitting the token URL
again, which re-POSTs here).
Deterministic: zero model calls — the cold-database rule applied to the
deliverable (same convention as scripts/free_comp_pdf_fulfill.py).
Quality guards mirror free_comp_pdf_fulfill.render_pdf: a page that threw,
shows a dev overlay, or rendered its shell without substance refuses the
document instead of producing a beautiful empty PDF.'
operationId: brief_render_brief_render_post
parameters:
- name: X-Admin-Token
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Admin-Token
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: true
title: Body
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Brief
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
BriefCanonicalRecomputeBody:
properties:
ticker:
type: string
title: Ticker
peers:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Peers
type: object
required:
- ticker
title: BriefCanonicalRecomputeBody
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
x-refined-from:
- openapi.json
- velarion-ai-openapi.json