Audit event reference

Use this reference to understand the structure of Automation Orchestrator audit events, including event categories, severity levels, actor types, common fields, resource URN formats, and per-event structured data schemas.

Audit event category references

Automation orchestrator organizes detailed event type information by security domain. The following three subtopics document the specific event actions, severity levels, and structured data fields for each category of security event:

Event categories

Automation orchestrator classifies each audit event into one of the following nine categories. Each category maps to an audit source and is stored accordingly. Nine categories are supported at GA 2026-8:

Category Description Storage
User action User-initiated CRUD operations on platform resources: workflows, credentials, users, and settings. Database + OTLP
Workflow event Workflow lifecycle: run started, completed, and failed. Database + OTLP
Agent interaction AI agent invocation lifecycle: agent started, completed, and failed. Database + OTLP
Large language model (LLM) interaction LLM API call metadata: model, token counts, latency. No prompt or response content is stored. Database + OTLP
LLM tool call Tool invocations made by an LLM during an agent reasoning step. Database + OTLP
LLM reasoning Agent reasoning steps and intermediate decision points. Database + OTLP
API execution HTTP API requests: method, path, status code, actor, and response time. Database + OTLP
System operation Internal platform lifecycle operations: scheduled tasks, background workers, and system maintenance. Database + OTLP
Security event Authentication, authorization, session lifecycle, and role management operations. Database + OTLP

Audit event sources

The audit.event_source field identifies how an event was generated. Three event sources are supported at GA:

  • business_event — emitted by application-level instrumentation. Reflects platform activity: user actions, agent execution, and settings changes. business_event records are stored in the platform PostgreSQL database and visible in the Audit UI. Use this source for compliance and security monitoring.
  • security_event — emitted for security-relevant operations: authentication outcomes, authorization decisions, session lifecycle, and role assignments. security_event records are stored in the platform PostgreSQL database and visible in the Audit UI.
  • crud_event — generated by database triggers that automatically record all create, update, and delete operations on audited tables. At GA, crud_event data is forwarded to the OTLP channel only. It does not appear in the Audit UI and cannot be exported through the REST API.

For most compliance use cases, business_event and security_event records provide the most actionable signal. Filter to crud_event only when you need a complete low-level database change trail in your external observability backend.

Severity levels

Automation orchestrator assigns severity automatically based on the outcome of the operation. Four severity levels are used at GA:

Severity Description Example events
Info Normal operations completed successfully. Successful login, workflow completed, agent invocation completed.
Warning Unexpected conditions that did not prevent the operation but indicate something to investigate. Failed login attempt, password changed, authorization denied.
Error Operations that failed and could not complete. Workflow execution failed, tool call error, connectivity failure.
Critical Security-relevant failures or events that require immediate investigation. Session revoked, global token revoked, role assigned, audit event delivery failure.

Actor types

Each audit event identifies who performed the action using one of the following three actor types:

  • User — a human user authenticated to the platform.
  • System — an internal automated process (for example, a background worker or scheduler).
  • Service — an internal service or service account acting on behalf of an external system.

Common event fields

All audit events contain the following 13 fields. Fields marked as conditional are present only on specific event types.

Field Type Presence Description
event_id UUIDv7 Always Unique identifier for the event. The creation timestamp is encoded in the UUIDv7 value, providing monotonic ordering.
event_category String Always Event category. See the Event categories table above.
event_severity String Always Severity level: info, warning, error, or critical.
event_action String Always The specific action performed, such as login_attempt or workflow_completed.
timestamp ISO 8601 Always UTC timestamp of when the event was emitted.
actor_id String Always Unique identifier of the actor that performed the action.
actor_type String Always Actor classification: User, System, or Service.
resource_urn String Always Uniform Resource Name (URN) identifying the affected resource. See Resource URN formats below. Retained in the event record even after the referenced resource is hard-deleted from the platform, making audit events the authoritative record of deleted resource history.
audit.event_source String Always Event origin: business_event, security_event, or crud_event. At GA release, CRUD events are captured through OTLP only and are not displayed in the Audit UI.
event_source String Always Duplicates the value of audit.event_source for observability backends that cannot parse dot-separated field names.
structured_data Object Always Per-event additional fields. See the Per-event structured data section below. Empty object ({}) for events with no additional structured data.
workflow_instance_id String Conditional Correlation identifier linking the event to a specific workflow execution run. Present on workflow events, agent interaction events, LLM interaction events, LLM tool call events, and LLM reasoning events.
invocation_id String Conditional Correlation identifier linking all events for a single agent execution run. Present on Agent interaction, LLM interaction, LLM tool call, and LLM reasoning events. API execution events are correlated by workflow_instance_id instead. To retrieve a complete trace including API execution events, filter by workflow_instance_id rather than invocation_id.

Resource URN formats

The resource_urn field follows the format urn:syntara:resource_type:identifier. Fourteen resource types are supported at GA:

Resource type Example URN Associated event categories
user urn:syntara:user:abc123 User action, Security event
approval urn:syntara:approval:abc123 User action, Workflow event
credential urn:syntara:credential:abc123 User action
role urn:syntara:role:abc123 Security event
role-assignment urn:syntara:role-assignment:abc123 Security event
policy urn:syntara:policy:abc123 User action
setting urn:syntara:setting:logging.log_level User action, System operation
workflow urn:syntara:workflow:abc123 Workflow event
service-account urn:syntara:service-account:abc123 User action, Security event
aap urn:syntara:aap:abc123 API execution
invocation urn:syntara:invocation:abc123 Agent interaction, LLM interaction
integration urn:syntara:integration:abc123 User action, System operation
identity_provider urn:syntara:identity_provider:abc123 Security event
domain urn:syntara:domain:abc123 User action, System operation

When a resource is hard-deleted from the platform, audit events that reference it retain the resource_urn value in the event record. The resource itself is unrecoverable through the platform API or UI. Audit events are the only remaining record of the deleted resource's history.

Per-event structured data schemas

In addition to the common fields, certain event categories include extra structured data fields that provide context specific to that event type. These fields appear in the structured_data object on the event record.

LLM interaction events

Include the following additional fields:

  • actor — identifier of the agent or service that initiated the LLM call.
  • model — name of the LLM model used.
  • input_tokens — number of tokens in the request.
  • output_tokens — number of tokens in the response.
  • latency_ms — latency of the LLM API call in milliseconds.
  • workflow_instance_id — workflow execution run identifier.
  • invocation_id — agent execution correlation identifier.
Note

Full LLM prompt and response content is intentionally excluded. Only metadata is recorded to maintain a privacy boundary for user-submitted input.

LLM tool call events

Include the following additional fields:

  • tool_name — name of the tool invoked by the LLM.
  • tool_call_id — unique identifier for this specific tool call, matching the tool call ID in the LLM API response.
  • outcome — result of the tool call: success, error, or auth_failure. An auth_failure outcome corresponds to a SEC-402 security event indicating an unauthorized tool access attempt.
  • invocation_id — agent execution correlation identifier.
  • workflow_instance_id — workflow execution run identifier.
LLM reasoning events

Include the following additional fields:

  • step_type — type of reasoning step: think, tool_selection, response_generation, or reflection.
  • step_sequence — integer position of this step within the current agent invocation's reasoning loop.
  • decision_outcome — the decision reached at this step: tool_invoked, response_returned, or loop_continued.
  • invocation_id — agent execution correlation identifier.
  • workflow_instance_id — workflow execution run identifier.
Note

Reasoning text and chain-of-thought content are intentionally excluded from LLM reasoning events. Only the step type, position, and decision outcome are recorded.

Workflow lifecycle events

Include the following additional fields:

  • workflow_instance_id — unique identifier for the workflow run.
  • workflow_id — identifier of the workflow definition.
  • run_status — final run status: completed, failed, or cancelled.
  • failure_reason — present when run_status is failed.
Security events

Security events may include these additional fields depending on the event action:

  • auth_method — authentication method used (for login events).
  • token_version — version of the token presented (for stale token events).
  • current_version — current required token version (for stale token events).
  • sessions_revoked — count of sessions invalidated (for revocation events).
  • role_id — identifier of the role assigned or revoked.
  • assignee_id — identifier of the user, group, or service account receiving a role change.