v4

latestOpenAPI 3.1.02026-08-02261331761.5 KB
Audit Logs

List Audit Logs

get/v2/pdps/{proj_id}/{env_id}/audit_logs

Path parameters

proj_idstring required

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

env_idstring required

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Query parameters

pdp_idstring uuid

Filter by pdp config id

Filter by pdp config id

usersstring[]

List of user keys or emails to filter by

List of user keys or emails to filter by

decisionboolean

Filter by decision result

Filter by decision result

resourcesstring[]

Filter by resources

Filter by resources

tenantstring

Filter by tenant

Filter by tenant

actionstring

Filter by action

Filter by action

timestamp_frominteger

Filter by timestamp from

Filter by timestamp from

timestamp_tointeger

Filter by timestamp to

Filter by timestamp to

sort_by'None' | 'timestamp'

An enumeration.

Sort by column

query'check' | 'get_user_permissions' | 'get_authorized_users' | 'none'

Filter audit logs by the type of query that generated them.

Filter by the type of query that generated the audit log.<br />'check' - permit/root, permit/check, permit/bulk<br />'get_user_permissions' - permit/user_permissions<br />'get_authorized_users' - permit/authorized_users, permit/authorized_users_new<br />'none' - All queries

pageinteger

Page number of the results to fetch, starting at 1.

Page number of the results to fetch, starting at 1.

per_pageinteger

The number of results per page (max 100).

The number of results per page (max 100).

Response

Successful Response

total_countinteger required
page_countinteger
pagination_countinteger required