v1

latestOpenAPI 3.0.12026-07-2665150231.1 KB
Account

Get Audit Log

Retrieves the audit log.

post/v2/Account/AuditLog

Request body

fromstring date-time

The start date and time of the audit log query range (UTC).

tostring date-time

The end date and time of the audit log query range (UTC).

eventTypeinteger

The type of event recorded in the audit log.

1 - LoginAttempt

2 - LoginSuccessful

10 - PublishPearl

11 - PearlStatus

18 - TransferPearl

19 - DeletePearl

30 - CreateAPIKey

31 - DeleteAPIKey

40 - PurchaseAgents

41 - DeleteAgent

50 - SetBillingDetails

51 - SetPaymentMethod

52 - SetSubscription

59 - CancelSubscription

60 - PurchaseCredits

61 - SetAutoRecharge

70 - InviteUser

71 - UserJoin

72 - InvitationCanceled

73 - UpdateUserRole

74 - UpdateAccountInformations

75 - RemoveUserFromTheAccount

76 - UserLeftAccount

80 - UpdateSessionTTL

81 - Set2FA

userIdstring nullable

Optional filter by user ID. If not provided, logs for all users are returned.

Response

The list of audit log.

timestampstring date-time
eventTypeinteger

The type of event recorded in the audit log.

1 - LoginAttempt

2 - LoginSuccessful

10 - PublishPearl

11 - PearlStatus

18 - TransferPearl

19 - DeletePearl

30 - CreateAPIKey

31 - DeleteAPIKey

40 - PurchaseAgents

41 - DeleteAgent

50 - SetBillingDetails

51 - SetPaymentMethod

52 - SetSubscription

59 - CancelSubscription

60 - PurchaseCredits

61 - SetAutoRecharge

70 - InviteUser

71 - UserJoin

72 - InvitationCanceled

73 - UpdateUserRole

74 - UpdateAccountInformations

75 - RemoveUserFromTheAccount

76 - UserLeftAccount

80 - UpdateSessionTTL

81 - Set2FA

additionalDataobject nullable