Skip to content

ListAuditEvents

GET/api/v1/auditevents

List raw audit events for this server.

curl \
-H "Authorization: Bearer ${OBLIQUE_API_KEY}" \
"https://us.oblique.security/api/v1/auditevents"

Set OBLIQUE_API_KEY to your API key.

  • pageSizeinteger (int32)

    The maximum number of audit events to return. Defaults to 100.

  • pageTokenstring

    The page token to continue listing audit events.

  • filterstring

    A filter to apply to the list. This can be one of the following:

    • author
    • entitlement
    • resource
    • user
    • team
    • group
    • integration
    • account

    Additionally the following fields can be used to filter audit events:

    • start_time
    • end_time
200ListAuditEventsResponse
  • auditEventsAuditEvent[]
    • namestring

      Assigned by Oblique. Name of the audit event of the format auditevents/{audit_event}.

    • authorstringread-only

      The user that triggered the event. In the future, this will be expanded to include approvers for proposals.

      For integrations, such as the Okta loop creating new users, this will be of the form “integrations/foo”. Service accounts (e.g. changes made through Terraform) will be of the form “serviceaccounts/bar”.

    • createTimestring (date-time)read-only

      The timestamp that the audit event was created.

    • actionstringread-only
      Allowed values: ACTION_UNKNOWN, CREATE, UPDATE, DELETE
    • initialobjectread-only

      For UPDATE and DELETE, the value of the object before the modification.

    • updatedobjectread-only

      For CREATE and UPDATE, the value of the object after the modification.

    • requestobjectread-only

      For custom methods, such as merging a user, the request that made the change.

    • One of

      • mcpClientstringread-only

        The name of the MCP client (e.g. “Claude Code”) that initiated the change, if the request was made via an MCP session. This value is self-reported by the client.

  • nextPageTokenstring
StatusMeaning
400Malformed request
401Missing or invalid API key
403Not allowed for this API key
404Not found
429Too many requests
500Internal server error