Get audit log

GET https://{{base_url}}/v1/projects/{{project_uid}}/audit-logs

The Get audit log request returns the audit log of a specific project.

To use the API Request, you need to authenticate yourself with an Organization UID and Authtoken. Read more about it in Authentication.


For more information, refer to the Get audit log API Reference document

Request Params

KeyDatatypeRequiredDescription
limitnumberThe “limit” parameter will return a specific number of audit log (in between 0-100) in your response based on the value you provide. If there are 100 audit log and you want to fetch only 30 audit log, set the limit as 30.
skipnumberThe “skip” parameter will skip a specific number of audit log and return the remaining ones in your response based on the value you provide. If there are 12 audit log and you want to exclude the first 2 audit log, set this to 2 to fetch the remaining 10 audit log.
ascstringThe “asc” parameter allows you to sort the list of audit log in the ascending order with respect to the value of a specific field. The audit log can be sorted only by created_at value.
descstringThe “desc” parameter allows you to sort the list of audit log in the descending order with respect to the value of a specific field. The audit log can be sorted only by created_at value.
include_countbooleanSet this to “true” to include the total number (count) of audit log in an organization.

HEADERS

KeyDatatypeRequiredDescription
authtokenstringEnter your authtoken. Refer Authentication for more details.
organization_uidstringEnter the Organization UID.
Content-Typestring