---
title: "Find auditEvents"
method: GET
path: "/auditEvents"
tags: ["auditEvents"]
---

# Find auditEvents

`GET /auditEvents`

Find auditEvents. You may query using field filters with asterisk (*) wildcards. You may also optionally specify sort, limit, offset, and a list of fields to include in the response.

## Query parameters

- `fields` string[]
- `sort` string[]
- `limit` integer
- `offset` integer
- `startAt` string
- `endAt` string
- `relativeDateTime` string
- `resourceType` string
- `resourceName` string
- `isError` boolean
- `createdAt` string
- `updatedAt` string

## Response `200`

Success, returns a list of auditEvents.

- AuditEventsResponse[]
  - `details` object — A JSON object with additional event details.
  - `id` string — The auditEvent id.
  - `loggedAt` string — The timestamp when the event was logged.
  - `isError` boolean — True if this audit event represents an error.
  - `resourceName` string — The name of the resource associated with this event.
  - `resourceType` string — The type of the resource associated with this event, e.g. "Collector", "Subject", etc.
  - `createdBy` string — Id of the User/Collector who created this auditEvent.
  - `createdAt` string — Timestamp when the record was saved to Refocus. Due to latency and queuing, this value is expected to be greater than the loggedAt timestamp.
  - `apiLinks` HATEOAS[] — Hypertext As The Engine Of Application State.
    - `href` string, required — URL of the related HATEOAS link you can use for subsequent calls.
    - `rel` string, required — Link relation that describes how this link relates to the previous call.
    - `method` string, required — The HTTP method required for the related call.

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `default` — Error

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
