Find audit logs for an external service
GET /api/v1/audit-logs/third-party
Description
Retrieve audit logs for an external service based on various query parameters.
URL:
- Raw URL: /api/v1/audit-logs/third-party
- Host:
- Path: /api/v1/audit-logs/third-party
- 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:
- limit:
Headers:
- service-api-key: (Required)
- service-api-code: (Required)
Response:
- Status: OK (200)
/api/v1/audit-logs/third-party?auditLogDateRange=<string>&auditLogsByTenantIds=<string>&auditLogByServiceNames=<string>&auditLogBySuccess=NaN&auditLogByEntityIds=<string>&auditLogByIds=<string>&auditLogSearch=<string>&order=DESC&page=<string>&limit=<string>
Headers
| Content-Type | Value |
|---|---|
| service-api-key | string |
Headers
| Content-Type | Value |
|---|---|
| service-api-code | string |
Query Params
| Param | value |
|---|---|
| auditLogDateRange | string |
| auditLogsByTenantIds | string |
| auditLogByServiceNames | string |
| auditLogBySuccess | NaN |
| auditLogByEntityIds | string |
| auditLogByIds | string |
| auditLogSearch | string |
| order | DESC |
| page | string |
| limit | string |
Response: 200
LANGUAGE
CURL REQUEST
curl --request GET \
--url /api/v1/audit-logs/third-party \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!