items | OrgAuditEvent[] | yes | |
items[].version | 1 | yes | The version of this shape. A change that is not only an addition gets a new number. |
items[].id | string | yes | |
items[].orgId | string | yes | |
items[].at | string | yes | When it happened: an ISO 8601 time in UTC with milliseconds. |
items[].action | "orgs.org.create" | "orgs.org.rename" | "orgs.member.add" | "orgs.member.remove" | "orgs.member.leave" | "orgs.member.role" | "orgs.owner.transfer" | "orgs.invite.create" | "orgs.invite.revoke" | "orgs.invite.accept" | "orgs.key.create" | "orgs.key.reveal" | "orgs.key.revoke" | "orgs.diagram.publish" | "orgs.diagram.update" | "orgs.diagram.edit" | "orgs.diagram.restore" | "orgs.diagram.lock" | "orgs.diagram.unlock" | "orgs.diagram.delete" | "orgs.folder_rule.set" | "orgs.folder_rule.clear" | "orgs.brand.set" | "orgs.brand.clear" | "orgs.icon.set" | "orgs.icon.delete" | "orgs.avatar.set" | "orgs.avatar.clear" | "orgs.style_rules.set" | "orgs.style_rules.clear" | "orgs.settings.editable" | "orgs.settings.publishing" | "orgs.publishing.move" | "orgs.publishing.unpublish" | "orgs.drift.report" | "orgs.drift.settings" | "orgs.integration.create" | "orgs.integration.update" | "orgs.integration.delete" | "orgs.contract.set" | "orgs.contract.end" | "orgs.audit.export" | "orgs.sso.signin" | "orgs.sso.config" | "orgs.sso.domain_add" | "orgs.sso.domain_verify" | "orgs.sso.domain_remove" | "orgs.sso.signin_failed" | "orgs.sso.jit" | "orgs.sso.break_glass" | "orgs.scim.token" | "orgs.scim.user_create" | "orgs.scim.user_update" | "orgs.scim.user_deactivate" | "orgs.scim.user_delete" | "orgs.scim.group" | "orgs.scim.role" | yes | What happened. Never reused for another meaning. |
items[].actor | object | yes | |
items[].actor.kind | "user" | "key" | "ci" | "operator" | yes | |
items[].actor.id | string | null | yes | The account id (user), the key id (key, ci), or null (operator). |
items[].actor.name | string | null | yes | The address or key name when it was recorded, "Plotwork support" for the operator, null once a deleted account is forgotten. |
items[].target | object | yes | |
items[].target.type | "org" | "member" | "invite" | "key" | "diagram" | "folder" | "brand" | "icon" | "avatar" | "style_rules" | "settings" | "drift" | "contract" | "sso" | null | yes | |
items[].target.id | string | null | yes | |
items[].target.name | string | null | yes | A member's address, an invited address, a key's, a diagram's or an icon's name, or a folder. |
items[].metadata | object | yes | A few facts about the event, such as role or keepEditable. Never a diagram source, a key, a token or a color. |
items[].ip | string | null | yes | The network the request came from: the IPv4 /24 or the IPv6 /48, never the full address. |
items[].userAgent | string | null | yes | The first 200 characters of the user agent. |
items[].requestId | string | null | yes | The request id, which Plotwork support can look up in the API's logs. |
nextCursor | string | null | yes | Send as cursor for the next, older page; null on the last. |
retentionDays | integer | yes | How many days the organisation's plan keeps an event. |
canExport | boolean | yes | Whether the organisation's plan may export the log. |