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 Resolve Fy API
version: 1.0.0
description: 'Operations tagged Resolve Fy 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: Resolve Fy
paths:
/resolve-fy:
get:
summary: Resolve Fy
description: 'T253 round 3: ONE place to ask "what fiscal year do we serve for this
ticker?" over HTTP -- the same decider _resolve_latest_fy / the gate / the
recompute / the render use internally (lib.fy_resolver.resolve_latest_served_fy).
Owner word (chat, 2026-10-03 ~18:00Z): "we have a fiscal year resolver
that must be the single source of truth for everything that checks fiscal
year." Before this endpoint existed, the compbrief checkout (a separate
repo, src/app/api/create-order/route.ts) could not reach the resolver at
all and fell back to its own `canonical_metrics` latest-row query to label
an order item at checkout time -- exactly the "own latest-FY query"
pattern the resolver exists to replace (canonical_metrics'' own newest row
can orphan ahead of exec_comp; see resolve_latest_served_fy''s docstring).
That produced the ADP/PG mislabeled order items this round corrected
(scripts/diag/t253/relabel_order_item_fy.py): the order said "FY2025",
the resolver (and the server''s own dispatch/render) served FY2026.
Sibling of /coverage (same "public lookup that powers the compbrief order
gate" shape, same status_code=200-regardless contract: a ticker with no
exec_comp rows yet is a valid answer, not a failure).'
operationId: resolve_fy_resolve_fy_get
parameters:
- name: ticker
in: query
required: true
schema:
type: string
description: Ticker symbol
title: Ticker
description: Ticker symbol
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Resolve Fy
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
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