Skip to content

GetAuditEvent

GET/api/v1/auditevents/{audit_event}

Fetch an audit event by name.

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

Set OBLIQUE_API_KEY to your API key.

  • namestringrequired

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

200AuditEvent
  • 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.

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