{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Gets a list of audit logs for an account. Can be filtered by who made the change, on which zone, and the timeframe of the change.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/aaa_identifier"}},"required":["account_id"],"additionalProperties":false},"query":{"type":"object","properties":{"id":{"description":"Finds a specific log by its ID.","type":"string","examples":["f174be97-19b1-40d6-954d-70cd5fbd52db"]},"export":{"description":"Indicates that this request is an export of logs in CSV format.","type":"boolean","examples":[true]},"action.type":{"description":"Filters by the action type.","type":"string","examples":["add"]},"actor.ip":{"description":"Filters by the IP address of the request that made the change by specific IP address or valid CIDR Range.","type":"string","examples":["17.168.228.63"]},"actor.email":{"description":"Filters by the email address of the actor that made the change.","type":"string","format":"email","examples":["alice@example.com"]},"since":{"oneOf":[{"description":"Limits the returned results to logs newer than the specified date. A `full-date` that conforms to RFC3339.","format":"date","type":"string","examples":["2019-04-30"]},{"description":"Limits the returned results to logs newer than the specified date. A `date-time` that conforms to RFC3339.","format":"date-time","type":"string","examples":["2019-04-30T01:12:20Z"]}]},"before":{"oneOf":[{"description":"Limits the returned results to logs older than the specified date. A `full-date` that conforms to RFC3339.","format":"date","type":"string","examples":["2019-04-30"]},{"description":"Limits the returned results to logs older than the specified date. A `date-time` that conforms to RFC3339.","format":"date-time","type":"string","examples":["2019-04-30T01:12:20Z"]}]},"zone.name":{"description":"Filters by the name of the zone associated to the change.","type":"string","examples":["example.com"]},"direction":{"description":"Changes the direction of the chronological sorting.","type":"string","default":"desc","enum":["desc","asc"],"examples":["desc"]},"per_page":{"description":"Sets the number of results to return per page.","type":"number","default":100,"maximum":1000,"minimum":1,"examples":[25]},"page":{"description":"Defines which page of results to return.","type":"number","default":1,"minimum":1,"examples":[50]},"hide_user_logs":{"description":"Indicates whether or not to hide user level audit logs.","type":"boolean","default":false}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"aaa_identifier":{"description":"Identifier","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]}}},"name":"Get account audit logs","id":"cloudflare.audit-logs-get-account-audit-logs","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"}},"maxRequests":1,"summary":false}}