Skip to main content

Find all log entries

GET /api/v1/audit-logs

Description

Retrieve all audit logs

Headers:

  • Authorization: Bearer

URL:

  • Raw URL: /api/v1/audit-logs?auditLogDateRange=&auditLogsByTenantIds=&auditLogByServiceNames=&auditLogBySuccess=NaN&auditLogByEntityIds=&auditLogByIds=&auditLogSearch=&order=DESC&page=&limit=
  • Host:
  • Path: /api/v1/audit-logs

Query Parameters:

  • auditLogDateRange: e.g., 2020-11-12,2022-11-15
  • auditLogsByTenantIds: Tenant ID
  • auditLogByServiceNames: Service name
  • auditLogBySuccess: NaN
  • auditLogByEntityIds: Comma-separated actionBy IDs
  • auditLogByIds: Comma-separated log IDs
  • auditLogSearch: Fuzzy search on log data
  • order: DESC
  • page: Page number
  • limit: Limit of results

Response:

  • Status: OK (200)
/api/v1/audit-logs?auditLogDateRange=<string>&auditLogsByTenantIds=<string>&auditLogByServiceNames=<string>&auditLogBySuccess=NaN&auditLogByEntityIds=<string>&auditLogByIds=<string>&auditLogSearch=<string>&order=DESC&page=<string>&limit=<string>

Query Params

Paramvalue
auditLogDateRangestring
auditLogsByTenantIdsstring
auditLogByServiceNamesstring
auditLogBySuccessNaN
auditLogByEntityIdsstring
auditLogByIdsstring
auditLogSearchstring
orderDESC
pagestring
limitstring

🔑 Authentication bearer

ParamvalueType
tokenbearerTokenstring

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /api/v1/audit-logs \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!