Audit events
List and export the audit trail of your organization: who changed which setting, when, and the values before and after. Owners and admins only.
List audit events
List who changed which setting of your organization and when, newest first: API keys, routing rules, privacy settings, policies, workspaces, members, billing, sign-ins and two-factor changes. Each event names the actor, the resource and every changed setting with its value before and after. A call covers at most 366 days; page through the result with next_cursor. Only owners and admins can read the audit trail, signed in or with a management API key; a member or an inference key gets 403. The audit trail is part of the Pro plan; on another plan the call answers 403 FEATURE_NOT_IN_PLAN. The trail is append-only. It never holds an IP address, an API key, a secret, a prompt or a completion, and values such as descriptions and addresses are stored as [redacted].
Authentication: Requires an organization-wide management key. Read-only management keys are accepted.
Authorization
organizationManagementKey Requires organization-wide access. Management key from Settings → Management keys. Format: eur_mgmt_<public-id>.<secret>. Read-only management keys support GET and HEAD only.
In: header
Query Parameters
Start of the period, inclusive. An ISO 8601 date or date-time such as 2026-11-01 or 2026-11-01T08:30:00Z. A value without a time zone is read as UTC.
length <= 40End of the period, exclusive. Same format as from. A date without a time means the start of that day, so to=2026-12-01 includes all of November.
length <= 40Only events of this type, such as privacy_policy.changed
"api_key.created" | "api_key.updated" | "api_key.policy_changed" | "api_key.deleted" | "routing_rule.created" | "routing_rule.updated" | "routing_rule.deleted" | "org_policy.changed" | "workspace_policy.changed" | "member_policy.changed" | "spend_budget.changed" | "privacy_policy.changed" | "broadcast_destination.created" | "broadcast_destination.changed" | "broadcast_destination.deleted" | "workspace.created" | "workspace.updated" | "workspace.deleted" | "workspace.member_added" | "workspace.member_removed" | "plugin_setting.changed" | "organization.created" | "organization.updated" | "organization.ownership_transferred" | "billing_details.changed" | "subscription.plan_changed" | "payment_method.changed" | "auto_topup.changed" | "member.invited" | "member.joined" | "member.role_changed" | "member.removed" | "sso_connection.created" | "sso_connection.domain_verified" | "sso_connection.deleted" | "slack_support_channel.invited" | "invitation.revoked" | "invitation.rejected" | "referral_payout.created" | "user.signed_in" | "user.two_factor_enabled" | "user.two_factor_disabled"Only events made by this member (user id), signed in or with one of their API keys
^[A-Za-z0-9_-]{1,128}$Only events made with this API key
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidOnly events about this kind of resource, such as api_key or workspace
"api_key" | "routing_rule" | "org_policy" | "workspace" | "member" | "spend_budget" | "broadcast_destination" | "workspace_member" | "plugin_setting" | "organization" | "billing_details" | "subscription" | "payment_method" | "auto_topup" | "invitation" | "sso_connection" | "slack_support_channel" | "referral_payout" | "user"Only events about the resource with this id. Combine it with resource_type.
^[A-Za-z0-9_-]{1,128}$Only events in this workspace
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidEvents per page
501 <= value <= 100The next_cursor of the previous page. Keep the other parameters the same.
length <= 512Response Body
application/json
curl -X GET "https://api.eurouter.ai/api/v1/audit-events?from=string&to=string&limit=50"{
"data": [
{
"id": "string",
"occurred_at": "string",
"event_type": "string",
"event_version": -9007199254740991,
"title": "string",
"outcome": "string",
"actor": {
"type": "user",
"user_id": "string",
"api_key_id": "string",
"display_name": "string",
"api_key_name": "string"
},
"resource": {
"type": "string",
"id": "string",
"display_name": "string"
},
"workspace_id": "string",
"request_id": "string",
"auth_method": "string",
"changes": {
"property1": {
"label": "string",
"before": null,
"after": null
},
"property2": {
"label": "string",
"before": null,
"after": null
}
},
"metadata": {
"property1": null,
"property2": null
}
}
],
"next_cursor": "string"
}Export audit events
Download the audit trail for any period as one file, newest first, with the same filters as the list. The response is streamed, so a long period works too. format=json returns one JSON object per line (NDJSON), each in the shape of a list item. CSV columns, in order: id, time (ISO 8601, UTC), event_type, event (the event in plain words), outcome, actor_type, actor_name, actor_user_id, actor_api_key_name, actor_api_key_id, resource_type, resource_name, resource_id, workspace_id, request_id, auth_method, changes (such as Name: Old → New; Enabled: true → false, with (none) for no value), metadata (such as method: password). A text cell that starts with =, +, -, @, a tab or a carriage return gets a leading apostrophe, so a spreadsheet never runs it as a formula. Only owners and admins can read the audit trail, signed in or with a management API key; a member or an inference key gets 403. The audit trail is part of the Pro plan; on another plan the call answers 403 FEATURE_NOT_IN_PLAN. The trail is append-only. It never holds an IP address, an API key, a secret, a prompt or a completion, and values such as descriptions and addresses are stored as [redacted].
Authentication: Requires an organization-wide management key. Read-only management keys are accepted.
Authorization
organizationManagementKey Requires organization-wide access. Management key from Settings → Management keys. Format: eur_mgmt_<public-id>.<secret>. Read-only management keys support GET and HEAD only.
In: header
Query Parameters
Start of the period, inclusive. An ISO 8601 date or date-time such as 2026-11-01 or 2026-11-01T08:30:00Z. A value without a time zone is read as UTC.
length <= 40End of the period, exclusive. Same format as from. A date without a time means the start of that day, so to=2026-12-01 includes all of November.
length <= 40Only events of this type, such as privacy_policy.changed
"api_key.created" | "api_key.updated" | "api_key.policy_changed" | "api_key.deleted" | "routing_rule.created" | "routing_rule.updated" | "routing_rule.deleted" | "org_policy.changed" | "workspace_policy.changed" | "member_policy.changed" | "spend_budget.changed" | "privacy_policy.changed" | "broadcast_destination.created" | "broadcast_destination.changed" | "broadcast_destination.deleted" | "workspace.created" | "workspace.updated" | "workspace.deleted" | "workspace.member_added" | "workspace.member_removed" | "plugin_setting.changed" | "organization.created" | "organization.updated" | "organization.ownership_transferred" | "billing_details.changed" | "subscription.plan_changed" | "payment_method.changed" | "auto_topup.changed" | "member.invited" | "member.joined" | "member.role_changed" | "member.removed" | "sso_connection.created" | "sso_connection.domain_verified" | "sso_connection.deleted" | "slack_support_channel.invited" | "invitation.revoked" | "invitation.rejected" | "referral_payout.created" | "user.signed_in" | "user.two_factor_enabled" | "user.two_factor_disabled"Only events made by this member (user id), signed in or with one of their API keys
^[A-Za-z0-9_-]{1,128}$Only events made with this API key
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidOnly events about this kind of resource, such as api_key or workspace
"api_key" | "routing_rule" | "org_policy" | "workspace" | "member" | "spend_budget" | "broadcast_destination" | "workspace_member" | "plugin_setting" | "organization" | "billing_details" | "subscription" | "payment_method" | "auto_topup" | "invitation" | "sso_connection" | "slack_support_channel" | "referral_payout" | "user"Only events about the resource with this id. Combine it with resource_type.
^[A-Za-z0-9_-]{1,128}$Only events in this workspace
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidcsv for a spreadsheet, json for one JSON object per line (NDJSON)
"csv""csv" | "json"Response Body
curl -X GET "https://api.eurouter.ai/api/v1/audit-events/export?from=string&to=string&format=csv"