Audits

End of Sale Announcement

Effective May 1, 2026, Okta will no longer sell or renew Advanced Server Access. Existing customers must migrate to Okta Privileged Access within one year of their next scheduled renewal date to maintain service. Read the FAQ | Learn about Okta Privileged Access

List all Audit Events
Admin roles:
  • access_user
  • access_admin
  • reporting_user

Lists all Audit events for your Team. This operation returns up to 1000 events from the past 90 days.

SecuritybearerAuth
Request
path Parameters
team_name
required
string

The name of your Team

query Parameters
offset
string

The UUID of an object used as an offset for pagination

count
integer <int32>

Controls the number of objects listed per page

descending
boolean

If 'true', the most recent results are listed first

prev
boolean

Controls the direction of paging

Responses
200

OK

get/v1/teams/{team_name}/auditsV2
Request samples
Response samples
application/json
{
  • "list": {
    • "id": "UD5pqjIhjKVQPmmqMiGMpQ==",
    • "timestamp": "2023-06-28T21:59:57.272435511Z",
    • "details": {
      }
    },
  • "related_objects": {
    • "FWUysQmguH4ns9NT1Uszl5j2a1t9SK2lYNACeu03uBs=": {
      },
    • "WvajuG7IeAjPYPdzN0zJTSmujqXLpYd90s4haNXLzRA=": {
      }
    }
}