Book a demo

A 30-minute walkthrough on your real providers. We'll deploy CodeVector against your OpenAI or Anthropic key, configure Claude Code or Cursor live, and answer the questions your security team will ask. No slides.

Request deployment access

Tell us about your deployment and we will send Docker registry credentials for the private image and a license token for your environment.

Docs / Audit Log

Audit Log

Review every admin mutation and gateway rejection in CodeVector. Filter by actor, target type, action, and date range.

Your gateway URL

Pin your own gateway hostname and we'll rewrite the routes and curl examples on every docs page so you can click straight through to the live console. Stored locally in your browser.

The Audit Log records every admin mutation and gateway rejection. Trace who changed what, when, and what the diff was.

The Audit Log

Audit log showing timestamp, action, target type, actor email, and diff detail columns with filter inputs

The Audit Log shows every event with actor, target, and a JSON diff of what changed.

Open /admin/audit-log to see the full log. The table shows:

  • When - timestamp of the event.
  • Action - the operation, such as provider.created or gateway.budget_rejected.
  • Target - the resource type that was affected.
  • Actor - the user who performed the action, or system for automated events.
  • Detail - a JSON diff showing before and after values.

Filtering

Use the filters to narrow the log:

  • Action - free-text filter by action name.
  • Actor - dropdown of all users.
  • Target - dropdown of resource types (user, group, provider, model, etc.).
  • Date range - start and end dates.

What gets logged

Every admin mutation writes an audit row synchronously. If the audit write fails, the mutation fails. No silent audit loss.

Gateway events that are also logged:

  • gateway.rate_limit_exceeded
  • gateway.budget_exceeded
  • gateway.secret_blocked
  • gateway.model_not_found

Frequently asked questions

What events are logged?

Every admin mutation - create, update, delete - plus gateway rejections like rate_limit_exceeded, budget_exceeded, and secret_blocked.

How long are logs retained?

Audit logs are retained according to your database retention policy. There is no automatic purge.

Can I export the audit log?

Not from the UI today. For exports, query the audit log directly in your database.

  • Secret Rules. Block sensitive content and see matches in the audit log.
  • Rate Limits. Configured limits that trigger gateway.rate_limit_exceeded events.
  • Budgets. Spend caps that trigger gateway.budget_exceeded events.