Skip to main content

Get Audit Logs

POST 

/audit/api/v1/log

Retrieves paginated audit logs based on the provided filter criteria.

Rate Limits

The following rate limits apply:

  • Request rate limit: 10/sec
  • Burst limit: 10/sec

Request

Body

required
    timeRange objectrequired

    The time range for the audit log filter

    type stringrequired

    Possible values: [relative, absolute, to_now]

    Time Type

    value object required

    Time Range Value

    oneOf
    amount int32required

    Time Amount for 'relative' Time Range

    unit stringrequired

    Possible values: [minute, hour, day, week, month, year]

    Time Unit for 'relative' Time Range. 'login' not supported here

    filters object[]

    List of audit log filters

  • Array [
  • name string
    value string
  • ]
  • limit int32

    Default value: 500

    The maximum number of results to return per page. Valid Range: [100, 500]

    nextPageToken string

    The optional token to retrieve the next page of results

Responses

Successful Operation

Schema
    value object[]

    The list of audit logs that match the request

  • Array [
  • timestamp int64

    The time stamp of the log entry

    action string
    ipAddress string

    The IP address of associated with the performed the action

    actionType string

    Possible values: [CREATE, READ, UPDATE, DELETE, LOGIN]

    Represents the type of action performed on a resource by a given user or system

    resourceName string

    The name of the resource associated with the action

    resourceType string

    The type of the resource associated with the action

    result string

    The result of the action performed

    user string

    The user associated with the action

  • ]
  • nextPageToken string

    The token to use to retrieve the next page of results

Loading...