curl -X GET "https://api-production-56df.up.railway.app/scores/cust_8f2e4a91-bb3c-4d17-a1e0-6c9f3d5b7e82?page=1&per_page=20&risk_level=high&from_date=2026-02-01T00:00:00Z" \
-H "X-API-Key: your-api-key"
{
"scores": [
{
"event_id": "evt_a1b2c3d4-5678-9012-abcd-ef3456789012",
"final_score": 78,
"risk_level": "high",
"reasoning": "Agent performed a bulk database export of PII fields from a production database without explicit user confirmation in the conversation history.",
"violations": [
"bulk_pii_export",
"missing_user_confirmation"
],
"rule_score": 72,
"llm_score": 82,
"cache_hit": false,
"llm_fallback": true,
"scored_at": "2026-02-25T16:42:11Z",
"score_decomposition": {
"graph_weight": 0.6,
"llm_weight": 0.4,
"gnn_weight": 0.0,
"final": 78
},
"gnn_score": null,
"confidence": 0.74,
"graph_score": 72
},
{
"event_id": "evt_e5f6a7b8-9012-3456-cdef-a1b2c3d4e5f6",
"final_score": 85,
"risk_level": "high",
"reasoning": "Agent modified a critical infrastructure configuration file (sensitivity level 4) with no preceding read action, suggesting the change was not based on current file state.",
"violations": [
"critical_resource_modification",
"blind_write_pattern"
],
"rule_score": 85,
"llm_score": null,
"cache_hit": false,
"llm_fallback": false,
"scored_at": "2026-02-24T09:18:33Z",
"score_decomposition": {
"graph_weight": 1.0,
"llm_weight": 0.0,
"gnn_weight": 0.0,
"final": 85
},
"gnn_score": null,
"confidence": 0.95,
"graph_score": 85
}
],
"page": 1,
"per_page": 20,
"total": 2
}
Retrieve paginated risk scores for a customer. Supports filtering by risk level and date range.
curl -X GET "https://api-production-56df.up.railway.app/scores/cust_8f2e4a91-bb3c-4d17-a1e0-6c9f3d5b7e82?page=1&per_page=20&risk_level=high&from_date=2026-02-01T00:00:00Z" \
-H "X-API-Key: your-api-key"
{
"scores": [
{
"event_id": "evt_a1b2c3d4-5678-9012-abcd-ef3456789012",
"final_score": 78,
"risk_level": "high",
"reasoning": "Agent performed a bulk database export of PII fields from a production database without explicit user confirmation in the conversation history.",
"violations": [
"bulk_pii_export",
"missing_user_confirmation"
],
"rule_score": 72,
"llm_score": 82,
"cache_hit": false,
"llm_fallback": true,
"scored_at": "2026-02-25T16:42:11Z",
"score_decomposition": {
"graph_weight": 0.6,
"llm_weight": 0.4,
"gnn_weight": 0.0,
"final": 78
},
"gnn_score": null,
"confidence": 0.74,
"graph_score": 72
},
{
"event_id": "evt_e5f6a7b8-9012-3456-cdef-a1b2c3d4e5f6",
"final_score": 85,
"risk_level": "high",
"reasoning": "Agent modified a critical infrastructure configuration file (sensitivity level 4) with no preceding read action, suggesting the change was not based on current file state.",
"violations": [
"critical_resource_modification",
"blind_write_pattern"
],
"rule_score": 85,
"llm_score": null,
"cache_hit": false,
"llm_fallback": false,
"scored_at": "2026-02-24T09:18:33Z",
"score_decomposition": {
"graph_weight": 1.0,
"llm_weight": 0.0,
"gnn_weight": 0.0,
"final": 85
},
"gnn_score": null,
"confidence": 0.95,
"graph_score": 85
}
],
"page": 1,
"per_page": 20,
"total": 2
}
X-API-Key header for authentication.none, low, medium, high, critical.Show score object properties
none, low, medium, high, or critical.null if not used.null otherwise.curl -X GET "https://api-production-56df.up.railway.app/scores/cust_8f2e4a91-bb3c-4d17-a1e0-6c9f3d5b7e82?page=1&per_page=20&risk_level=high&from_date=2026-02-01T00:00:00Z" \
-H "X-API-Key: your-api-key"
{
"scores": [
{
"event_id": "evt_a1b2c3d4-5678-9012-abcd-ef3456789012",
"final_score": 78,
"risk_level": "high",
"reasoning": "Agent performed a bulk database export of PII fields from a production database without explicit user confirmation in the conversation history.",
"violations": [
"bulk_pii_export",
"missing_user_confirmation"
],
"rule_score": 72,
"llm_score": 82,
"cache_hit": false,
"llm_fallback": true,
"scored_at": "2026-02-25T16:42:11Z",
"score_decomposition": {
"graph_weight": 0.6,
"llm_weight": 0.4,
"gnn_weight": 0.0,
"final": 78
},
"gnn_score": null,
"confidence": 0.74,
"graph_score": 72
},
{
"event_id": "evt_e5f6a7b8-9012-3456-cdef-a1b2c3d4e5f6",
"final_score": 85,
"risk_level": "high",
"reasoning": "Agent modified a critical infrastructure configuration file (sensitivity level 4) with no preceding read action, suggesting the change was not based on current file state.",
"violations": [
"critical_resource_modification",
"blind_write_pattern"
],
"rule_score": 85,
"llm_score": null,
"cache_hit": false,
"llm_fallback": false,
"scored_at": "2026-02-24T09:18:33Z",
"score_decomposition": {
"graph_weight": 1.0,
"llm_weight": 0.0,
"gnn_weight": 0.0,
"final": 85
},
"gnn_score": null,
"confidence": 0.95,
"graph_score": 85
}
],
"page": 1,
"per_page": 20,
"total": 2
}