Audit trail
See and export who changed which setting of your EUrouter organization and when: keys, routing, privacy settings, members, billing and sign-ins.
EUrouter records an audit event for every change to the settings of your organization: API keys, routing rules, privacy settings and policies, workspaces, broadcast destinations, plugins, members and invitations, billing, the plan, sign-ins and two-factor authentication. Each event says who made the change, when, what it was made to, and every setting that changed with its value before and after.
Use it to answer a question such as "who switched prompt logging off in the support workspace?" yourself, or to hand your DPO or auditor a full export.
Who sees it
The audit trail is part of the Pro plan. Events are recorded on every plan, so an organization that upgrades sees
its full history. On another plan the dashboard page asks you to upgrade and the API answers 403
FEATURE_NOT_IN_PLAN.
Only owners and admins see the audit trail, because it holds other members' sign-ins, two-factor changes and billing changes. A member gets a 403. Call the API signed in or with an organization-wide management API key; an API key for model requests and a management key bound to one workspace get a 403.
What is never stored
- No IP address, no API key, key hash or secret, no destination connection settings, and no prompt or completion.
- No full email address. A member without a name shows as a masked address, such as
a***@example.com. An email address inside a name, such as a member's or an API key's, is masked the same way. - Free text and personal details such as descriptions, logos, addresses, tax ids and billing emails are stored as
[redacted]: the event shows that the value changed, not what it became. The dashboard shows them as "changed (value not stored)".
Events are append-only: nobody, EUrouter included, can change or delete one.
In the dashboard
The Audit trail page in the organization section of the dashboard lists the events of the organization, newest first, 50 a page. Each row shows the time in UTC, what happened, who did it (and with which API key) and a link to the resource where the dashboard has a page for it. Click a row to expand it and see each changed setting as before → after; an event without settings, such as a sign-in, shows how it happened.
Filter by period (up to 366 days in the list), event, kind of resource and member. The filters live in the page address, so you can bookmark or share a view. Export CSV and Export JSON download the same filters for any period.
List events
GET /audit-events returns the events of a period, newest first. from and to are required and a call covers at
most 366 days.
curl "https://api.eurouter.ai/api/v1/audit-events?from=2026-11-01&to=2026-12-01&event_type=privacy_policy.changed" \
-H "Authorization: Bearer $EUROUTER_MANAGEMENT_KEY"{
"data": [
{
"id": "0b8e4d2c-1a3f-4e5d-8c7b-9a6f5e4d3c22",
"occurred_at": "2026-11-03T09:15:00.120000Z",
"event_type": "privacy_policy.changed",
"event_version": 1,
"title": "Workspace privacy settings changed",
"outcome": "success",
"actor": {
"type": "user",
"user_id": "user_2b1c",
"api_key_id": null,
"display_name": "Dana Smit",
"api_key_name": null
},
"resource": { "type": "workspace", "id": "6f1c2b3a-4d5e-4f60-8a7b-9c0d1e2f3a4b", "display_name": "Support" },
"workspace_id": "6f1c2b3a-4d5e-4f60-8a7b-9c0d1e2f3a4b",
"request_id": "c0a8012e-0000-4000-8000-000000000001",
"auth_method": "jwt",
"changes": {
"is_observability_io_logging_enabled": {
"label": "Prompt and response logging",
"before": true,
"after": false
}
},
"metadata": {}
}
],
"next_cursor": null
}| Parameter | What it does |
|---|---|
from | Start of the period, inclusive. An ISO 8601 date or date-time; without a time zone it is UTC |
to | End of the period, exclusive. to=2026-12-01 includes all of November |
event_type | Only events of this type, from the table below |
actor_user_id | Only events made by this member, signed in or with one of their API keys |
actor_api_key_id | Only events made with this API key |
resource_type | Only events about this kind of resource, such as api_key or workspace |
resource_id | Only events about this resource. Combine it with resource_type |
workspace_id | Only events in this workspace |
limit | Events per page, 1 to 100. The default is 50 |
cursor | The next_cursor of the previous page |
Pass next_cursor as cursor, with the same other parameters, to get the next page. On the last page it is null.
In changes, before is null when the resource was created and after is null when it was deleted. changes is
empty for an event without settings; metadata then says how it happened, such as the sign-in method.
Events
| Event | In plain words | Settings recorded |
|---|---|---|
api_key.created | API key created | Name, Type, Access, Expires, Disabled, Spending limit, Limit reset, Workspace, Default routing rule |
api_key.updated | API key changed | Name, Type, Access, Expires, Disabled, Spending limit, Limit reset, Workspace, Default routing rule |
api_key.policy_changed | API key privacy policy changed | Personal data actions, Prompt-injection protection, AI prompt-injection check, Allowed providers, Denied providers, Allowed models, Denied models |
api_key.deleted | API key deleted | Name, Type, Access, Expires, Disabled, Spending limit, Limit reset, Workspace, Default routing rule |
routing_rule.created | Routing rule created | Name, Description, API key, Workspace, Model, Fallback models, Provider preferences, Enabled |
routing_rule.updated | Routing rule changed | Name, Description, API key, Workspace, Model, Fallback models, Provider preferences, Enabled |
routing_rule.deleted | Routing rule deleted | Name, Description, API key, Workspace, Model, Fallback models, Provider preferences, Enabled |
org_policy.changed | Organization policy changed | Allowed countries, EU-owned providers only, Required certifications, Longest provider retention (days), No training on data, Allowed providers, Denied providers, Allowed models, Denied models, Prompt-injection protection, AI prompt-injection check, Prompt-injection email alerts, Personal data actions |
workspace_policy.changed | Workspace guardrails changed | Personal data actions, Prompt-injection protection, AI prompt-injection check, Allowed providers, Denied providers, Allowed models, Denied models |
member_policy.changed | Member guardrails changed | Personal data actions, Prompt-injection protection, AI prompt-injection check, Allowed providers, Denied providers, Allowed models, Denied models |
spend_budget.changed | Monthly budget changed | Monthly budget (EUR) |
privacy_policy.changed | Workspace privacy settings changed | Prompt and response logging, Broadcast export, Data-discount logging, Logging sampling rate, API keys that are logged |
broadcast_destination.created | Broadcast destination created | Name, Type, Enabled, Privacy mode, Sampling rate, Workspace, API keys that are exported, API keys whose prompts are forwarded, Connection settings changed |
broadcast_destination.changed | Broadcast destination changed | Name, Type, Enabled, Privacy mode, Sampling rate, Workspace, API keys that are exported, API keys whose prompts are forwarded, Connection settings changed |
broadcast_destination.deleted | Broadcast destination deleted | Name, Type, Enabled, Privacy mode, Sampling rate, Workspace, API keys that are exported, API keys whose prompts are forwarded, Connection settings changed |
workspace.created | Workspace created | Name, Slug, Description, Default text model, Default image model, Default provider sort, Prompt and response logging, Broadcast export, Data-discount logging, Logging sampling rate, API keys that are logged |
workspace.updated | Workspace changed | Name, Slug, Description, Default text model, Default image model, Default provider sort |
workspace.deleted | Workspace deleted | Name, Slug, Description, Default text model, Default image model, Default provider sort |
workspace.member_added | Member added to workspace | Role |
workspace.member_removed | Member removed from workspace | Role |
plugin_setting.changed | Plugin setting changed | Enabled, Requests can't override it |
organization.created | Organization created | Name, Description, Website, Logo, Two-factor authentication required |
organization.updated | Organization changed | Name, Description, Website, Logo, Two-factor authentication required |
organization.ownership_transferred | Ownership transferred | Owner |
billing_details.changed | Billing details changed | Customer type, Legal name, VAT number, Country, Address line 1, Address line 2, City, Region, Postal code, Tax ID, Registration number, Billing email |
subscription.plan_changed | Plan changed | Plan, Billing interval, Status, Cancels at period end, Plan from the next period, Billing interval from the next period |
payment_method.changed | Payment method changed | Saved payment method, Saved for automatic payments |
auto_topup.changed | Auto top-up changed | Enabled, Top up below (EUR), Top-up amount (EUR), Monthly cap (EUR) |
member.invited | Member invited | Role |
member.joined | Member joined | Role |
member.role_changed | Member role changed | Role |
member.removed | Member removed | Role |
sso_connection.created | Single sign-on connection added | Protocol, Identity provider, Domains, Domain verified |
sso_connection.domain_verified | Single sign-on domain verified | Protocol, Identity provider, Domains, Domain verified |
sso_connection.deleted | Single sign-on connection removed | Protocol, Identity provider, Domains, Domain verified |
slack_support_channel.invited | Shared Slack channel requested | Status |
invitation.revoked | Invitation revoked | Role |
invitation.rejected | Invitation declined | Role |
referral_payout.created | Referral payout requested | Amount (EUR), Status |
user.signed_in | Signed in | None |
user.two_factor_enabled | Two-factor authentication switched on | None |
user.two_factor_disabled | Two-factor authentication switched off | None |
Export
GET /audit-events/export downloads the audit trail of any period as one file, with the same filters as the list.
There is no period limit: the file is streamed.
curl "https://api.eurouter.ai/api/v1/audit-events/export?from=2026-01-01&to=2027-01-01&format=csv" \
-H "Authorization: Bearer $EUROUTER_MANAGEMENT_KEY" \
-o audit-trail-2026.csvformat=csv (the default) opens in a spreadsheet, one row per event. format=json returns one JSON object per line
(NDJSON), each in the shape of an event from the list.
CSV columns
| Column | Content |
|---|---|
id | Id of the event |
time | When it happened, ISO 8601 in UTC |
event_type | Type of event, such as api_key.updated |
event | The event in plain words |
outcome | success or failure |
actor_type | user, api_key or system |
actor_name | Name of the member at the time of the event |
actor_user_id | User id of the member, or of the owner of the API key |
actor_api_key_name | Name of the API key the change was made with |
actor_api_key_id | Id of that API key |
resource_type | Kind of resource, such as workspace |
resource_name | Name of the resource at the time of the event |
resource_id | Id of the resource |
workspace_id | Workspace of the event |
request_id | Id of the API request that made the change |
auth_method | How the actor signed in |
changes | Every changed setting, such as Name: Old → New; Enabled: true → false |
metadata | Extra facts, such as method: password |
In changes, (none) stands for no value: a setting of a new resource reads Name: (none) → Support bot. A text cell
that starts with =, +, - or @ gets a leading apostrophe, so a spreadsheet never runs it as a formula.
See the Audit events API reference for every field.