{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Returns the chronological change history for the resource identified by the given organization-scoped audit log entry.\n\nThe endpoint first locates the source audit log entry by `id` (using `action_time` to narrow the lookup window), derives identifying filters from that entry, and then returns matching audit logs within the `since`/`before` window.\n\nThe `result_info.history_status` field indicates the quality of the resource identification used:\n- `exact`: Resource was identified by the resource URI.\n- `approximate`: Resource was identified without the resource URI.\n- `unavailable`: The source audit log entry did not contain enough information to identify the resource; an empty result is returned.\n","properties":{"path":{"type":"object","properties":{"organization_id":{"description":"The unique ID that identifies the organization.","type":"string","examples":["a67e14daa5f8dceeb91fe5449ba496ef"]},"id":{"description":"The ID of the audit log to fetch resource history for.","type":"string","format":"uuid","examples":["f174be97-19b1-40d6-954d-70cd5fbd52db"]}},"required":["organization_id","id"],"additionalProperties":false},"query":{"type":"object","properties":{"action_time":{"type":"string","format":"date-time","examples":["2024-10-30T15:00:00Z"],"description":"RFC3339 timestamp of the source audit log entry's action time. Used to narrow the source-entry lookup window. Provide the `action.time` value from the audit log identified by `id`."},"since":{"type":"string","format":"date","examples":["2024-10-30"],"description":"Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339."},"before":{"type":"string","format":"date","examples":["2024-10-31"],"description":"Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339."},"direction":{"description":"Sets sorting order.","type":"string","default":"desc","enum":["desc","asc"],"examples":["desc"]},"limit":{"description":"The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.","type":"number","default":100,"maximum":1000,"minimum":1,"examples":[25]},"cursor":{"description":"The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.","type":"string","examples":["Q1buH-__DQqqig7SVYXT-SsMOTGY2Z3Y80W-fGgva7yaDdmPKveucH5ddOcHsJRhNb-xUK8agZQqkJSMAENGO8NU6g=="]}},"required":["action_time","since","before"],"additionalProperties":false}},"required":["path","query"],"additionalProperties":false},"name":"Get resource change history from an organization audit log entry (Version 2)","id":"cloudflare.audit-logs-v2-get-organization-audit-log-history","example":{"path":{"organization_id":"a67e14daa5f8dceeb91fe5449ba496ef","id":"f174be97-19b1-40d6-954d-70cd5fbd52db"},"query":{"action_time":"2024-10-30T15:00:00Z","since":"2024-10-30","before":"2024-10-31"}},"maxRequests":1,"summary":false}}