ListAuditEvents
/api/v1/auditeventsList raw audit events for this server.
Example request
Section titled “Example request”curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://us.oblique.security/api/v1/auditevents"Set OBLIQUE_API_KEY to your API key.
curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://eu.oblique.security/api/v1/auditevents"Set OBLIQUE_API_KEY to your API key.
Query parameters
Section titled “Query parameters”pageSizeinteger (int32)The maximum number of audit events to return. Defaults to 100.
pageTokenstringThe page token to continue listing audit events.
filterstringA 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
Response
Section titled “Response”200ListAuditEventsResponseauditEventsAuditEvent[]namestringAssigned 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.
nextPageTokenstring
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 |