Risk Metrics
AI Risk Analyst
Natural language risk analysis with OpenAI tool calling against RiskModels data (DAL). LLM tokens are billed per the chat capability; each internal tool call is billed separately at the same rates as the corresponding REST endpoints (e.g. metrics-snapshot, ticker-returns). search_tickers is free. Returns tool_calls_summary and expanded _agent (llm_cost_usd, tool_cost_usd, tool_calls).
post/chat
Request
- Base URL: https://riskmodels.app/api
- URL: https://riskmodels.app/api/chat
- Auth: HTTP bearer
Request body
Response
Assistant reply, accumulated token usage across tool rounds, optional tool_calls_summary, lineage metadata, and _agent cost breakdown (LLM + tools).
Example response
{
"_agent": {
"cost_usd": 0.005,
"latency_ms": 145,
"request_id": "req_abc123xyz",
"confidence": {
"overall": 0.98
},
"data_freshness": "2026-02-21T10:30:00Z",
"billing_code": "ticker_returns_v2"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.