Hanzo
OpenapiIam

Returns one audit entry in full: the action, the person or key behind it, and…

Returns one audit entry in full: the action, the person or key behind it, and the request it came in on.

POST /v1/iam/audit-logs/get

Addresshttps://api.hanzo.ai/v1/iam/audit-logs/get
MethodPOST
Operationpost_iam_audit-logs_get
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one audit entry in full: the action, the person or key behind it, and the request it came in on.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
namebodystring
ownerbodystring

Response

StatusBodyMeaning
200iam.AuditLogok

200 body — 18 fields.

FieldInTypeAlwaysDescription
actionbodystring
clientIpbodystring
createdAtbodystring (date-time)
createdTimebodystring
deletedbodyboolean
idbodystring
isTriggeredbodyboolean
languagebodystring
methodbodystring
namebodystring
objectbodystring
organizationbodystring
ownerbodystring
requestUribodystring
responsebodystring
statusCodebodyinteger
updatedAtbodystring (date-time)
userbodystring

Failure carries the platform error shape — see Errors.

Examples

hanzo iam audit-logs get

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page