Get Audit Logs
AI-generatedSummary
Fetches TrustLoop audit log entries with an optional decision status filter. Sends a GET request to /api/logs using the required TrustLoop API credentials.
Inputs
- Limit — Maximum number of log entries to request; defaults to 50.
- Filter by Status — Choose All, Allowed, Blocked, or Pending. All omits the status query parameter.
Output shape
A list of items, with each returned log entry as one n8n item when the API response is an array.
If the response is not an array, it is returned as a single item containing the response data. With Continue On Fail enabled, request errors are returned as an item with an
errorfield.