FinanceGPT API documentation
Build governed company finance, investment, quantitative, workflow and AI experiences on API v2 with explicit scopes, evidence and execution boundaries.
Getting started
Bearer API key or OAuth service credential issued from the workspace developer console.
Every operation requires an explicit product scope. Missing scopes are denied rather than silently downgraded.
Sandbox responses are deterministic fixtures and do not read production workspace data.
Authorization: Bearer <FinanceGPT API key or OAuth service token> Accept: application/json
Company Finance
| Method | Endpoint | Scope | Purpose |
|---|---|---|---|
| GET | /api/v2/companies |
financial:analysis:read |
List company finance workspaces |
| GET | /api/v2/companies/{company}/financials |
financial:analysis:read |
Normalized periods and provenance |
| GET | /api/v2/companies/{company}/ratios |
financial:analysis:read |
Deterministic ratio library |
| GET | /api/v2/companies/{company}/analysis |
financial:analysis:read |
Ratios, resilience, DCF and linked forecast |
| POST | /api/v2/companies/{company}/valuations |
financial:analysis:run |
Run explicit-assumption DCF |
| POST | /api/v2/companies/{company}/scenarios |
financial:analysis:run |
Run deterministic scenario analysis |
curl -H "Authorization: Bearer $FINANCEGPT_API_KEY" \ -H "Accept: application/json" \ https://financegpt.uk/api/v2/companies/123/analysis
Data Integrations
OAuth 2.0, organisation selection, token refresh, financial reports and bank transactions.
OAuth 2.0, report/CDC synchronization, token refresh and signed webhook intake where configured.
Link flow, incremental Transactions Sync, balances, item health and webhook-driven refresh where configured.
Investment Clients & Portfolios
FinanceGPT separates recorded holdings from provider-backed market evidence and from broker execution. Client relationship data remains workspace-scoped and is not exposed through public client APIs unless explicitly governed.
| Method | Endpoint | Scope | Purpose |
|---|---|---|---|
| GET | /api/v2/investment/portfolios/{portfolio}/performance | investment:read | Read TWR runs and evidence-linked valuation subperiods. |
| POST | /api/v2/investment/portfolios/{portfolio}/performance/observations | investment:run | Record opening/closing valuation and explicit external cash flow. |
| POST | /api/v2/investment/portfolios/{portfolio}/performance/calculate | investment:run | Chain-link non-overlapping subperiod returns and persist methodology evidence. |
Financial Data
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
Planning
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
Investment Intelligence
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
Investment Execution
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
Quant Models
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
LQM Builder
An LQM is a quantitative module for forecasting, valuation, risk, simulation, optimization or scenario generation. It does not receive raw document text and does not generate language. QLM Studio composes promoted LQMs with a language runtime, evidence, tools and governance.
| Method | Endpoint | Scope | Purpose |
|---|---|---|---|
| GET | /api/v2/lqm/platform | lqm:build:read | Read the reconciled LQM platform contract, reused infrastructure, execution boundaries and readiness. |
| GET | /api/v2/lqm/developer-manifest | lqm:build:read | Read the machine-readable developer contract, least-privilege capability profiles and lifecycle boundaries. |
| GET | /api/v2/lqm/models/{model}/developer-manifest | lqm:build:read | Read model-specific lifecycle readiness and currently eligible developer operations. |
| GET | /api/v2/lqm/models | lqm:build:read | List governed workspace LQM registry records. |
| POST | /api/v2/lqm/models | lqm:build:write | Register a quantitative LQM identity, task family and intended use before training. |
| POST | /api/v2/lqm/datasets/{dataset}/contracts | lqm:build:write | Seal a numeric/time-series dataset contract with source, schema and lineage hashes. |
| POST | /api/v2/lqm/models/{model}/training-specs | lqm:build:write | Seal reproducible VAE-GAN training configuration and lineage before compute begins. |
| GET | /api/v2/lqm/models/{model}/training-runs | lqm:build:read | List governed VAE-GAN training runs and sealed checkpoint metadata. |
| POST | /api/v2/lqm/models/{model}/training-runs | lqm:build:run | Queue a sealed training specification through the private FinanceGPT ML runtime. |
| GET | /api/v2/lqm/training-runs/{run} | lqm:build:read | Read exact parameter count, checkpoint SHA-256, training metrics and runtime evidence for a run. |
| GET | /api/v2/lqm/models/{model}/evaluations | lqm:build:read | List statistical-fidelity and robustness evaluations for governed checkpoints. |
| POST | /api/v2/lqm/models/{model}/evaluate | lqm:build:run | Evaluate a sealed checkpoint against the versioned LQM gate suite before promotion. |
| GET | /api/v2/lqm/evaluation-runs/{evaluation} | lqm:build:read | Read gate results, sealed evaluation hash, baseline comparison and runtime evidence. |
| GET | /api/v2/lqm/models/{model}/evidence-schema | lqm:build:read | Read the versioned Evidence Packet JSON contract and its sealed schema SHA-256. |
| GET | /api/v2/lqm/models/{model}/evidence-packets | lqm:build:read | List immutable typed evidence emitted by evaluated checkpoints. |
| POST | /api/v2/lqm/models/{model}/evidence-packets | lqm:build:run | Run a bounded evaluated-checkpoint inference and seal its quantitative output as an Evidence Packet. |
| GET | /api/v2/lqm/evidence-packets/{packet} | lqm:build:read | Read the typed packet, provenance, checkpoint, evaluation and model-ledger hashes. |
| POST | /api/v2/lqm/evidence-packets/{packet}/verify | lqm:build:run | Independently re-hash the schema, packet, checkpoint, evaluation, inference output and hash-linked model evidence ledger. |
| GET | /api/v2/lqm/models/{model}/operations-policy | lqm:build:read | Read the model's governed drift/retraining cadence, thresholds, cooldown and review boundary. |
| PUT | /api/v2/lqm/models/{model}/operations-policy | lqm:build:write | Configure production training operations without granting automatic checkpoint replacement. |
| GET | /api/v2/lqm/models/{model}/drift-assessments | lqm:build:read | List deterministic dataset/model-quality drift evidence for an evaluated LQM checkpoint. |
| POST | /api/v2/lqm/models/{model}/drift-assessments | lqm:build:run | Compare a newer governed numeric dataset with the last passing evaluated checkpoint and persist drift evidence. |
| GET | /api/v2/lqm/models/{model}/retraining-requests | lqm:build:read | List review-gated retraining requests and candidate checkpoint state. |
| POST | /api/v2/lqm/models/{model}/retraining-requests | lqm:build:write | Create a retraining request without starting compute. |
| POST | /api/v2/lqm/retraining-requests/{request}/decision | lqm:build:write | Explicitly approve, reject or cancel a retraining candidate. Approval authorizes candidate training only. |
| POST | /api/v2/lqm/retraining-requests/{request}/advance | lqm:build:run | Advance an approved request through training and the required evaluation suite to candidate-ready state; no active-version change occurs. |
| GET | /api/v2/lqm/models/{model}/publications | lqm:build:read | Read model-hub publication state, revision identifiers, builder attribution and sealed supply-chain hashes. |
| POST | /api/v2/lqm/models/{model}/publish | lqm:publish:write | Human-confirm publication of an exact evaluated, independently verified checkpoint through the builder's connected publishing identity. |
| GET | /api/v2/lqm/publications/{publication} | lqm:build:read | Read immutable publication metadata, remote revision, artifact SHA-256 values and supply-chain head. |
| GET | /api/v2/lqm/models/{model}/promotions | lqm:build:read | Read governed promotion history, exact Quant Models projection versions and decision evidence. |
| POST | /api/v2/lqm/models/{model}/promote | lqm:promote:write | Human-promote an exact passing checkpoint into the workspace Quant Models catalog after Evidence Packet and drift revalidation. |
| POST | /api/v2/lqm/promotions/{promotion}/retire | lqm:promote:write | Retire a promoted LQM version. Existing QLM versions fail closed and are never silently rebound. |
financegpt.lqm.evidence.v1 packets. QLM language runtimes may explain those typed outputs; they never receive the LQM latent state or become the source of numeric authority.active_version_id. A candidate becomes live only through the separate human promotion gate.QLMs
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
Quant Compute
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
ML
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
Workflows
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
Financial Actions
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
MCP
The OpenAPI document is the machine-readable contract for endpoint definitions, required scopes, request schemas and response objects. Production boundaries remain scope-gated.
Usage & commercial evidence
LQM training, evaluation and promoted inference can be measured through the existing FinanceGPT usage control plane. Pricing is versioned from measured infrastructure-cost evidence rather than architecture assumptions, while experimental published LQMs remain uncallable until separately promoted.
GET /api/v2/lqm/commercial-modelGET /api/v2/lqm/usage-evidencePOST /api/v2/lqm/workflow-outcomes