Skip to main content

Audit logs

Audit logs record every change made through the AI Gateway's management API. Each record shows who made the change, what changed, when, and whether the change was applied.

Audit logs track changes to the gateway's configuration. To see what the gateway process is doing, use Gateway logs. To capture the traffic, use Log requests and responses.

What is recorded​

Changes to these resources are recorded:

  • LLM providers, LLM proxies, and LLM provider templates
  • MCP proxies
  • REST APIs
  • API keys, subscriptions, and subscription plans
  • Certificates

Viewing a resource isn't recorded. Changes pushed to the gateway from the control plane are recorded by the control plane, not by the gateway.

Turn on audit logging​

Audit logging is available from update level 1.2.0.13 onwards. Turn on audit logging in the gateway controller's config.toml. The gateway then sends each record to the gateway controller's log, to a log file, or to a log receiver such as Splunk.

For the steps and settings, see Audit logging in the API Platform Gateway documentation.

Was this page helpful?