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.
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).
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.