latestOpenAPI 3.1.02026-08-223321,1001.6 MB

2134ebffd1ef

changes-logs

Search

Search the audit log.

Permission rules:

  • If organization_id is provided: caller must be an org admin in that org, or a platform admin.
  • If user_id is provided (without organization_id): caller must be a platform admin.
  • If neither is provided: scoped to the caller's own org; caller must be an org admin.

Results are ordered by id descending. Use last_id for cursor-based pagination.

get/changes-logs

Query parameters

organization_idstring nullable
user_idstring nullable
change_type'integrations' | 'unknown' | 'api_keys' | 'users' | 'auth' | 'slack_channel_enrollments' | 'sessions' | 'user_agent_instructions' | 'resident_agent_templates' | 'webhook_connections'
change_action'create' | 'update' | 'delete' | 'unknown' | 'login' | 'logout' | 'invite_sent' | 'invite_accepted' | 'role_granted' | 'role_revoked' | 'archive'
object_idstring nullable
last_idinteger nullable
limitinteger

Response

Successful Response