Audits Overview

Frontegg provides automatic audit logging from the moment it’s integrated into your application, capturing key events as your customers interact with the product. User-management activities, such as logins and settings updates, are automatically logged without any additional setup required on your part.

Alongside Frontegg’s out-of-the-box logged events, you can add custom audit logs via the POST API or our backend SDKs, preserving the standard audit event structure. Custom logs will appear to your customers in their dedicated audit section within the self-service menu.

This section lists all relevant API endpoints, organized into Management and Self-Service categories:

Management Endpoints: Require environment-level authorization and offer comprehensive control over audits resources.

Self-Service Endpoints: Accessible with a user token (JWT), allowing users with the required permissions to create, update, and delete aduits connections on their account.

Languages
Servers
EU Region
https://api.frontegg.com/audits/
US Region
https://api.us.frontegg.com/audits/
CA Region
https://api.ca.frontegg.com/audits/
AU Region
https://api.au.frontegg.com/audits/
Frontegg sub-domain for use with user tokens
https://{domain}.frontegg.com/audits/

Metrics

Operations

Get metrics

Request

Get metrics

Query
fromnumber
tonumber
limitnumber
frequencynumber
curl -i -X GET \
  https://api.frontegg.com/audits/resources/metrics/v1 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Bodyapplication/json
topResourcesobject(TopResources)required
topTenantsobject(TopTenants)required
auditsCounterByTimeobjectrequired
Response
application/json
{ "topResources": {}, "topTenants": {}, "auditsCounterByTime": {} }

Main

Operations