Audit events
Auditing
Audit events
Pull workspace-scoped audit events for SIEM ingestion and security monitoring.
GET
Audit events
The Audit Events API exposes a normalized feed of workspace activity for security monitoring, compliance review, and SIEM ingestion.Documentation Index
Fetch the complete documentation index at: https://docs.tess.im/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Authorization: Bearer YOUR_API_KEYAccept: application/jsonx-workspace-id: YOUR_WORKSPACE_ID
x-workspace-id. Events that do not belong cleanly to one workspace are not emitted in this feed.
Example request
Query parameters
Start of the audit window. Use an ISO-8601 timestamp.
End of the audit window. It must be greater than or equal to
from. The time window cannot exceed 30 days.Number of events to return. Default is
50. Minimum is 1; maximum is 200.Opaque cursor returned in
page.next_cursor. Send it to continue reading from the previous page.Filter by source. Supported values are
auditable and activity.Filter by normalized event type, such as
user_updated, workspace_created, or agent_execution_completed.Filter by actor user ID. Use
0 for system-generated events.Filter by entity type, such as
user, workspace, agent_execution, or agent_message.Filter by entity ID.
Filter by risk level. Supported values are
low, medium, high, and critical.Response
Event schema
Each event uses the same normalized shape:id: Unique event ID with the source prefix, such asactivity:100001orauditable:9001.occurred_at: UTC timestamp for the event.workspace_id: Workspace that owns the event.source: Event source category, currentlyactivityorauditable.event_type: Normalized event name.action: Canonical action, such ascreated,updated,completed,failed, orblocked.actor: User or system principal that caused the event.entity: Object affected by the event.changes: Structured change details for the event, including previous values, new values, and the fields that changed when a diff is available.metadata: Additional context that helps classify, investigate, or correlate the event.risk_level:low,medium,high, orcritical.schema_version: Version of the normalized event schema.
Pagination
Read events in ascending order byoccurred_at and event ID.
If page.has_more is true, call the endpoint again with the same filters and the returned page.next_cursor.
SIEM integration
Use this endpoint as a pull source from your SIEM or log collector. Recommended setup:- Create an Enterprise API token dedicated to SIEM ingestion.
- Store the token in your SIEM secret manager.
- Poll
GET /audit-eventswith a narrow time window, such as 5 or 15 minutes. - Keep the last successful
next_cursorper workspace. - Preserve the original JSON payload at ingestion time.
- Map fields such as
event_type,actor.id,entity.type,entity.id,risk_level, andworkspace_idto SIEM custom properties. - Alert on high-risk event types or
risk_levelvalues according to your security policy.
QRadar notes
For IBM QRadar, configure Tess AI as a custom JSON log source or route the API through an intermediate collector that forwards events to QRadar. Keep the normalized JSON intact and create custom properties for:workspace_idsourceevent_typeactionactor.idactor.typeentity.typeentity.idrisk_levelidschema_version
Use
id and occurred_at for deduplication and replay safety.Errors
401or403: Invalid token, missing Enterprise entitlement, missing SIEM permission, or no access to the workspace.422: Missing or invalid parameters, missingx-workspace-id, invalid cursor, or a time window longer than 30 days.429: Rate limit exceeded.503: One of the audit event sources is temporarily unavailable. Retry the same request later.