Partner API
Developer Reference
GUIDE

Security audit logs

What BetterUp records in your organization's security audit log, what each field means, how long events are kept and how to collect them. To read the events, list security audit-log events.

What is recorded

BetterUp records security-relevant activity for every user in your organization, whichever BetterUp products they use:

  • Sign-ins to the BetterUp web app: by password, single sign-on, social sign-in or a remembered session.
  • Password sign-ins to the BetterUp mobile apps.
  • Sign-outs, including the sign-out when a session expires.
  • Failed password sign-ins, when the email address belongs to a user in your organization.
  • Users provisioned, deactivated, reactivated and removed, whether by your HR or SCIM integration or by an administrator. Provisioning, deactivation and removal attempts that failed or were refused are recorded too.
  • Administrator role grants and revocations.
  • Changes to your single sign-on configuration.
  • API credentials and OAuth applications created, and API credentials revoked.
  • BetterUp staff starting and ending a support session in a user's account, and actions BetterUp blocked during one.

The log never contains the content of coaching sessions, messages or AI coaching conversations.

These are not recorded today:

  • Failed single sign-on attempts. Successful single sign-on sign-ins are recorded.
  • Sign-ins to the mobile apps with Apple or Google.
  • Activity by people outside your organization, such as coaches.
  • Access tokens issued or used with an API credential. Creating and revoking the credential are recorded.
  • Activity from before the audit log started recording in July 2026. Earlier activity was not added.

Event fields

Field Meaning
id The event's unique ID. Use it to skip events you have already stored.
kind The record type. Every Partner API record has a kind; on audit-log events it is always audit_log. Use action to tell events apart.
occurred_at When the action happened, in UTC (ISO 8601), not when the event was recorded. Role events are the exception: their occurred_at is the time the event was recorded, normally within 5 minutes of the change.
action What happened. The Actions section below lists every value.
outcome success, failure, or denied when a policy refused the action.
actor_type Who acted: user, system for an automated change, or anonymous for a failed sign-in, where no one proved who they were. service_account is reserved and not used today.
actor_label The actor's display name, or their email address when they have no name set, so it is not always an email address. For an automated change it is system or the name of the integration that made it, such as scim. For a failed sign-in it is null. When BetterUp staff act in a support session it is BetterUp User.
actor_ip The IP address the request came from. It is null for automated changes and for actions by BetterUp staff in a support session.
resource_type The type of the affected record: User, Role, Authentication::ApiCredential, Doorkeeper::Application, SAMLConfiguration or Partner::NudgeCampaign.
resource_label The affected record. For sign-in, sign-out and failed sign-in events it is the user's display name, or their email address when they have no name set. For role events it is the role name, for API credential and OAuth application events the credential or application name, and for single sign-on events the configuration name. It is null for user provisioning, deactivation, reactivation and removal events, and for support-session events.

Events do not carry an email address or user ID field of their own. To match an actor to your directory, use actor_label. Role events name the role, not the user who was granted it or lost it.

Actions

action Outcomes Recorded when
auth.login_succeeded success A user signs in.
auth.login_failed failure A password sign-in to a user's account fails. The account is the resource and the actor is anonymous.
auth.logout success A user signs out, or their session ends.
user.provisioned success, failure, denied A user is created, or creating one fails or is refused.
user.deactivated success, failure A user is deactivated, or deactivating one fails.
user.reactivated success A deactivated user is reactivated.
user.deprovisioned success, failure A user is removed, or removing one fails.
role.granted success A role is granted.
role.revoked success A role is revoked.
sso_config.changed success A single sign-on configuration is created, changed or deleted.
oauth_app.created success An OAuth application is created for your organization.
api_credential.created success An API credential is created.
api_credential.revoked success An API credential is revoked.
impersonation.started success BetterUp staff start a support session in a user's account.
impersonation.stopped success BetterUp staff end a support session.
nudge_campaign.send_as_self_denied denied BetterUp blocked a nudge from being sent as the user during a support session.
slack.send_as_self.blocked denied BetterUp blocked a Slack message from being sent as the user during a support session.

BetterUp adds actions over time without changing the API version. Accept action values you do not recognize, and store them, so that new events still reach your security tooling.

Retention

Events are kept for 395 days unless BetterUp has set a different period for your organization, and never for fewer than 90 days. Older events are deleted once a day. The API returns every event that is still kept; use the occurred_at filter to read further back. An event is kept even when the personal data of the user it names is deleted; see Privacy & data protection.

Collecting events

Events are recorded by background processing, which is designed to finish within 5 minutes of the action. To forward events to your security tooling, poll with overlapping time windows and skip IDs you already have, as Polling audit logs describes.

To read events, your API credential needs the api:partner:organizations:audit_logs:read scope, and the person who created the credential must have permission to view the audit log in Partner Hub. Without that permission the API returns 403, whatever the scope. BetterUp does not restrict API access by IP address, so there is nothing to register with us; see Network access.