Hanzo
OpenapiIam

Returns your organization's audit trail, newest first — who did what, when, and…

Returns your organization's audit trail, newest first — who did what, when, and from where.

GET /v1/iam/audit-logs

Addresshttps://api.hanzo.ai/v1/iam/audit-logs
MethodGET
Operationget_iam_audit-logs
AuthAuthorization: Bearer $HANZO_API_KEY

Returns your organization's audit trail, newest first — who did what, when, and from where. It is the record you reach for during a security review or an incident.

You see your own organization's audit trail and no one else's; which organization that is comes from your credentials, not from the request.

Request

1 field.

FieldInTypeRequiredDescription
ownerquerystring

Response

StatusBodyMeaning
200iam.ListOutputok

200 body — 20 fields.

FieldInTypeAlwaysDescription
auditLogsbodyiam.AuditLog[]
auditLogs[].actionbodystring
auditLogs[].clientIpbodystring
auditLogs[].createdAtbodystring (date-time)
auditLogs[].createdTimebodystring
auditLogs[].deletedbodyboolean
auditLogs[].idbodystring
auditLogs[].isTriggeredbodyboolean
auditLogs[].languagebodystring
auditLogs[].methodbodystring
auditLogs[].namebodystring
auditLogs[].objectbodystring
auditLogs[].organizationbodystring
auditLogs[].ownerbodystring
auditLogs[].requestUribodystring
auditLogs[].responsebodystring
auditLogs[].statusCodebodyinteger
auditLogs[].updatedAtbodystring (date-time)
auditLogs[].userbodystring
totalbodyinteger

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page