GET /organizations/{organization_id}/logs/audit/{id}/history
Returns the chronological change history for the resource identified by the given organization-scoped audit log entry.
The 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.
The result_info.history_status field indicates the quality of the resource identification used:
exact: Resource was identified by the resource URI.approximate: Resource was identified without the resource URI.unavailable: The source audit log entry did not contain enough information to identify the resource; an empty result is returned.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
String | Yes | |
organization_id |
String | Yes |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit |
Number | No |
Default value: 100 |
direction |
String | No |
Valid values:
Default value: "desc" |
since |
String | Yes |
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. |
action_time |
String | Yes |
RFC3339 timestamp of the source audit log entry's action time. Used to narrow the source-entry lookup window. Provide the |
cursor |
String | No | |
before |
String | Yes |
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. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.