---
title: "List Audit Events"
method: GET
path: "/v1/accounts/{account_id}/environments/{environment_id}/audit_events"
tags: ["Audit Events"]
---

# List Audit Events

`GET /v1/accounts/{account_id}/environments/{environment_id}/audit_events`

**Authorization scope:** `audit:list` 
 
 **List audit events**

## Path parameters

- `account_id` string, required
- `environment_id` string, required

## Query parameters

- `start_time` string, date-time, nullable — The start UTC date time. Time format YYYY-MM-DDTHH:MM:SS or YYYY-MM-DDTHH:MM:SS.mmmmmm
- `end_time` string, date-time, nullable — The end UTC date time. Time format YYYY-MM-DDTHH:MM:SS or YYYY-MM-DDTHH:MM:SS.mmmmmm If end_time is supplied without start_time the start_time will be the previous day of the end_time
- `user_id` string[], nullable — A list of users id's who initiated the event
- `event_type` AuditEventTypeEnum[], nullable — A list of entity types
- `entity_type` AuditEntityTypeEnum[], nullable — A list of event types
- `entity_logical_key` string, nullable — A unique logical identifier of an entity, usually the cross_id

## Response `200`

Successful Response

- AuditEventsPaginationResponse — Audit events pagination response
  - `next_page` string, nullable — The next page URL
  - `previous_page` string, nullable — The previous page URL
  - `items` AuditEventsResponse[], required
    - `event_id` string, required — The id of the audit event
    - `event_initiator` string, required — Where the event was initiated
    - `event_datetime` string, required — The event date time in UTC timezone
    - `event_type` 'create' | 'recover' | 'delete' | 'update' | 'initiate_activate_river' | 'initiate_disable_river' | 'edit_cdc_configuration' | 'delete_cdc_configuration', required — The audit events, events type
    - `event_result_status` integer, required — The status of the API request of the event
    - `event_name` string, required — The name of the event in the following format-event_type:entity_type:additional_info
    - `entity_type` 'accounts' | 'connections' | 'rivers' | 'river_groups' | 'users' | 'teams', required — The audit event entity types
    - `entity_logical_key` string
    - `account_id` string, required — The account id the event originated for
    - `environment_id` string, required — The environment id the event originated for
    - `user_id` string, required — The user id the event originated for
    - `user_name` string, nullable — The name of the user that originated the event
    - `entity_name` string, nullable — The name of the event entity, this could be the name of the river, connection etc.
    - `entity_subtype` string, nullable — The even subtype, this could be a river classification like logic or s2t rivers
    - `additional_info` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/rivery/apis/boomi-data-integration-api.md) · [All operations](https://skmtc.net/rivery/apis/boomi-data-integration-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rivery/boomi-data-integration-api/revisions/cd4c91e0e6c2/schema)
