List audit events¶
Method¶
GET https://papi.afi.ai/api/v1/tenants/{tenant_id}/audit/events
Description¶
Get a list of audit events for the specified tenant. To list all available events, use 'limit' and 'page_token' as query parameters.
Path params¶
tenant_id
string
required
Tenant to list events for. |
Query params¶
limit
int32
Max number of items to return per page. |
page_token
string
Token from the previous list operation (next_page_token) to continue listing. |
start_time
date-time
Start time of the period for which one wants to get audit events. Date format should be specified in RFC3339 format. |
end_time
date-time
End time of the period for which one wants to get audit events. Date format should be specified in RFC3339 format. |
curl -X GET \
-H 'Authorization: {api-key}' \
https://papi.afi.ai/api/v1/tenants/{tenant_id}/audit/events
Successful response (200) schema¶
object
AuditEventsPage is a result of audit events listing. |
||||||||
next_page_token
string
Next page token to continue listing operation, i.e. to be set as next request page_token. Empty on last page. |
||||||||
items
array of objects
Array of audit events.
|