{
"schema": {
"name": "tealtiger.audit_event",
"version": "1.1.0"
},
"event": {
"id": "evt_01HTY8K1W7Q9K9P7J9D1Y6S2ZZ",
"type": "policy.decision",
"timestamp": "2026-02-23T07:01:23.456Z",
"severity": "INFO",
"outcome": "ALLOW"
},
"correlation": {
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
"span_id": "00f067aa0ba902b7",
"request_id": "req_01HTY8JY2K3QJ9N8R4M8K2FZ1A",
"session_id": "ses_9b0d9f2e3d1e4ac9",
"parent_event_id": null
},
"actor": {
"type": "service",
"id": "svc_orders_api",
"display_name": "orders-api",
"tenant_id": "tenant_123",
"org_id": "org_abc",
"ip": "203.0.113.10",
"user_agent": "tealtiger-sdk/1.1.0"
},
"execution": {
"environment": "prod",
"region": "ap-south-1",
"runtime": "nodejs",
"runtime_version": "20",
"host": "ip-10-0-12-34",
"deployment": "[email protected]"
},
"ai": {
"provider": "openai",
"model": {
"name": "gpt-4.1-mini",
"version": "2026-02-01"
},
"parameters": {
"temperature": 0.2,
"max_output_tokens": 512
}
},
"policy": {
"policy_id": "pol_cost_guardrails_001",
"policy_version": "1",
"mode": "enforce",
"decision": "ALLOW",
"matched": true,
"matched_rules": [
"rule_budget_soft_limit"
]
},
"signals": {
"risk": {
"score": 18,
"level": "LOW",
"version": "1.1.0",
"domain_scores": {
"security": 10,
"cost": 20,
"governance": 5,
"reliability": 8
}
},
"cost": {
"estimated_usd": 0.0031,
"tokens": {
"input": 421,
"output": 180,
"total": 601
},
"budget": {
"limit_usd": 10.0,
"remaining_usd": 9.21,
"window": "daily"
}
}
},
"reason_codes": [
"COST.QUOTA.OK_WITHIN_LIMIT"
],
"actions": [
{
"name": "log",
"status": "SUCCESS",
"details": {
"destination": "stdout"
}
}
],
"redaction": {
"applied": true,
"strategy": "metadata-only",
"fields_redacted": [
"input.prompt",
"output.completion"
]
},
"error": null,
"extensions": {}
}