v1

latestOpenAPI 3.1.02026-08-04147764567.0 KB
auditLogs

List audit logs with filters

List audit logs with structured filters for actor, module, and event type

Filtering

Use the filters field to narrow results. Pass an empty array or omit the field to retrieve all records.

Each filter object has the following fields:

FieldTypeDescription
attributestringThe field to filter on (see Supported attributes below)
operatorstringComparison operator (see Available operators below)
valuesarrayOne or more { "value": <scalar> } objects

Supported attributes

AttributeTypical operatorDescription
event_atIS_BETWEENEvent timestamp. Requires exactly two values: [start, end] (both inclusive). Accepts ISO 8601 (2024-01-01T00:00:00Z) or date-only (2024-01-01 — end date is automatically extended to T23:59:59Z). On export, defaults to the last 6 months if omitted.
actor_idIS_ANY_OFNumeric user ID of the person who performed the action (the id field from GET /api/v1/users).
moduleIS_ANY_OFModule integer ID (not the name). See the Module IDs reference table below.
event_typeIS_ANY_OFEvent type integer ID (not the name). See the Event Type IDs reference table below. Not every event type is valid for every module — unsupported combinations return zero results.

Available operators

OperatorMeaning
EQUALSExact match
NOT_EQUALSExclude exact match
IN / IS_ANY_OFMatch any value in the list
IS_NOT_ANY_OFExclude all listed values
IS_BETWEENInclusive range — pass exactly two values: [start, end]
IS_ON_OR_BEFORE / IS_ON_OR_AFTERDate/time boundary comparisons
CONTAINS / TEXT_CONTAINSSubstring or set membership
IS_NULL / IS_NOT_NULLNull checks — values array can be empty
STARTS_WITH / ENDS_WITHString prefix/suffix match

Module IDs (use with attribute: "module")

IDModuleWhat it covers
0APPSThird-party app connections (connect / disconnect / update)
1USERSUser creation and profile updates
2WORKFLOWSAutomation workflow changes
3SERVICE_CATALOGService catalog items
4SECURITYLogin, logout, API key creation / deletion
5SKILLAI skill changes
6WORKSPACESWorkspace settings changes
7TENANT_MIGRATIONSandbox import / export
8AGENT_GROUPSAgent group changes
9ACCESS_MANAGEMENTRole and access control changes
10AI_AGENTSAI agent changes
11AGENT_AVAILABILITYAgent availability updates
12CUSTOM_OBJECTSCustom object type changes

Event Type IDs (use with attribute: "event_type")

IDEvent Type
0CONNECTED
1DISCONNECTED
2CREATED
3UPDATED
4ENABLED
5DISABLED
6DELETED
7IMPORT
8EXPORT
9RESTORED
10LOGIN
12LOGOUT

Module → valid event types

ModuleValid event type IDs
APPS (0)0 (CONNECTED), 1 (DISCONNECTED), 3 (UPDATED)
USERS (1)2 (CREATED), 3 (UPDATED)
WORKFLOWS (2)2 (CREATED), 3 (UPDATED), 6 (DELETED)
SERVICE_CATALOG (3)2 (CREATED), 3 (UPDATED), 6 (DELETED)
SECURITY (4)2 (CREATED), 6 (DELETED), 10 (LOGIN), 12 (LOGOUT)
SKILL (5)2 (CREATED), 3 (UPDATED), 6 (DELETED)
WORKSPACES (6)2 (CREATED), 3 (UPDATED), 6 (DELETED)
TENANT_MIGRATION (7)7 (IMPORT), 8 (EXPORT)
AGENT_GROUPS (8)2 (CREATED), 3 (UPDATED), 6 (DELETED)
ACCESS_MANAGEMENT (9)2 (CREATED), 3 (UPDATED), 6 (DELETED), 9 (RESTORED)
AI_AGENTS (10)2 (CREATED), 3 (UPDATED), 6 (DELETED)
AGENT_AVAILABILITY (11)3 (UPDATED)
CUSTOM_OBJECTS (12)2 (CREATED), 3 (UPDATED), 6 (DELETED)

Example

[
  {
    "attribute": "event_at",
    "operator": "IS_BETWEEN",
    "values": [
      {
        "value": "2024-01-01T00:00:00Z"
      },
      {
        "value": "2024-12-31T23:59:59Z"
      }
    ]
  },
  {
    "attribute": "module",
    "operator": "IS_ANY_OF",
    "values": [
      {
        "value": 1
      },
      {
        "value": 9
      }
    ]
  },
  {
    "attribute": "event_type",
    "operator": "IS_ANY_OF",
    "values": [
      {
        "value": 2
      },
      {
        "value": 3
      }
    ]
  },
  {
    "attribute": "actor_id",
    "operator": "IS_ANY_OF",
    "values": [
      {
        "value": 123
      }
    ]
  }
]
post/api/v1/audit-logs/list

Headers

X-Api-Keystring required
X-Workspace-Idstring

Request body

search_keystring
pageinteger
per_pageinteger
next_page_tokenstring
sort_order'EVENT_AT_DESC' | 'EVENT_AT_ASC'

Response

Successful response

AuditLogsPostapiV1AuditLogsListResponse200 required

Empty response body