Governance

Audit Logs

The Spendplane Metadata Audit Log records structured telemetry (timestamp, model, tokens, latency, and redacted entity types—never raw prompt bodies) for every request passing through Spendplane Gateway.

How do I route v0 traffic to Llama-3?

Real-Time Traceability

Every gateway request is timestamped and indexed by Spendplane Gateway so you can trace usage and policy decisions back to a workspace and project key.

Governance Verification

Policy guardrails detect anomalous spend spikes or restricted patterns and can block or reroute requests before upstream provider egress.

Log Format (JSON)

Audit metadata can be exported to your log aggregator (Splunk, Datadog, or SIEM) in structured JSON format. Only metadata and redacted entity counts are retained (`7d` Free, `30d` Pro, `90d` Teams, custom Enterprise).

{
"timestamp": "2026-04-05T06:55:22.456Z",
"gateway_id": "spendplane-gw-01",
"action": "LLM_PROXY_CHAT",
"model": "openai/gpt-4.1-mini",
"status": "ALLOWED (REDACTED)",
"redacted_entities": ["1x EMAIL", "1x API_KEY"]
}

Zero Prompt Body Storage

Raw prompt bodies and completions are processed transiently in memory and never stored in audit logs. Only structured policy and cost metadata is persisted according to your plan retention window.

Traffic Inspection

The Spendplane Control Plane provides real-time visibility into routing outcomes, token spend, and PII redaction counts across projects.

Trace Hub: Manual v1.0.4 / Compliance Verification: COMPLIANT