Dashboard metrics
curl --request GET \
--url https://api.truthlocks.com/v1/risk/dashboard/metrics \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/dashboard/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/dashboard/metrics"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/dashboard/metrics"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"total_signals": 123,
"high_risk_signals": 123,
"total_decisions": 123,
"open_cases": 123,
"critical_cases": 123,
"quarantined_subjects": 123,
"signals_24h": 123,
"signals_7d": 123,
"avg_risk_score": 123,
"decisions_by_type": {}
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Risk operations
Read risk overview metrics
Dashboard metrics
GET
/
v1
/
risk
/
dashboard
/
metrics
Dashboard metrics
curl --request GET \
--url https://api.truthlocks.com/v1/risk/dashboard/metrics \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/dashboard/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/dashboard/metrics"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/dashboard/metrics"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"total_signals": 123,
"high_risk_signals": 123,
"total_decisions": 123,
"open_cases": 123,
"critical_cases": 123,
"quarantined_subjects": 123,
"signals_24h": 123,
"signals_7d": 123,
"avg_risk_score": 123,
"decisions_by_type": {}
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Read aggregate workspace counts and the dedicated signals_24h and signals_7d fields. This endpoint does not implement a general period query parameter. Risk scores summarize recorded signals rather than certifying identity or legal compliance.
Authorizations
API key for machine-to-machine authentication

