GetAuditEvent
/api/v1/auditevents/{audit_event}Fetch an audit event by name.
Example request
Section titled “Example request”curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://us.oblique.security/api/v1/auditevents/{audit_event}"Set OBLIQUE_API_KEY to your API key.
curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://eu.oblique.security/api/v1/auditevents/{audit_event}"Set OBLIQUE_API_KEY to your API key.
Path parameters
Section titled “Path parameters”namestringrequiredName of the audit event of the format
auditevents/{audit_event}.
Response
Section titled “Response”200AuditEventnamestringAssigned by Oblique. Name of the audit event of the format
auditevents/{audit_event}.authorstringread-onlyThe 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-onlyThe timestamp that the audit event was created.
actionstringread-onlyinitialobjectread-onlyFor UPDATE and DELETE, the value of the object before the modification.
updatedobjectread-onlyFor CREATE and UPDATE, the value of the object after the modification.
requestobjectread-onlyFor custom methods, such as merging a user, the request that made the change.
One of
mcpClientstringread-onlyThe 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.
integrationstringread-onlyThe name of the Integration that initiated the change, e.g. via a Slack approval workflow. This value is currently set by the integration’s interaction handlers.
terraformstringread-onlyThe version of the Oblique Terraform provider that made the change (e.g. “0.5.0”), if the request came from the provider. Parsed from the request’s User-Agent.
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
400 | Malformed request |
401 | Missing or invalid API key |
403 | Not allowed for this API key |
404 | Not found |
429 | Too many requests |
500 | Internal server error |