← Developer Hub
AI & Generative Models
Evaluate QLM Governance
Run the deterministic governance-readiness evaluation for a QLM profile version.
Version: v2
Stability: stable
Sandbox: Available
Production: Entitlement required
Target latency: ≤ 300 ms
POST
/api/v2/qlms/{uid}/evaluateEvaluation checks connection policy, registered quantitative modules, MCP grants, action boundary and QLM-specific egress restrictions.
Required scope:
qlm:evaluateTry it in the FinanceGPT sandbox
The playground uses deterministic isolated sandbox fixtures. It never queries production workspace data and does not require you to paste an API secret into the browser.
Sign in to runExample response
{
"data": {
"status": "passed",
"score": 1,
"result_hash": "sha256"
}
}Code examples
curl
curl -X POST \ https://financegpt.dev/api/v2/qlms/00000000-0000-4000-8000-000000000026/evaluate \ -H "Authorization: Bearer $FINANCEGPT_API_KEY" \ -H "Content-Type: application/json"
python
import os, requests
url = "https://financegpt.dev/api/v2/qlms/00000000-0000-4000-8000-000000000026/evaluate"
headers = {"Authorization": f"Bearer {os.environ['FINANCEGPT_API_KEY']}"}
response = requests.request("POST", url, headers=headers)
response.raise_for_status()
print(response.json())javascript
const response = await fetch('https://financegpt.dev/api/v2/qlms/00000000-0000-4000-8000-000000000026/evaluate', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.FINANCEGPT_API_KEY}`, 'Content-Type': 'application/json' }
});
if (!response.ok) throw new Error(`FinanceGPT ${response.status}`);
console.log(await response.json());php
<?php
$ch = curl_init('https://financegpt.dev/api/v2/qlms/00000000-0000-4000-8000-000000000026/evaluate');
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_HTTPHEADER => ['Authorization: Bearer '.getenv('FINANCEGPT_API_KEY'), 'Content-Type: application/json']]);
$response = curl_exec($ch);
if (curl_getinfo($ch, CURLINFO_HTTP_CODE) >= 400) throw new RuntimeException($response);
echo $response;Versions & changelog
v2 published
M26 publication of this governed FinanceGPT API operation.
Ready to build?
Explorer gives immediate isolated sandbox access. Production plans require a commercial entitlement.
Create account