Partner API
Developer Reference
API REFERENCE

Audit Logs

Security audit-log events for your organization, such as sign-ins, role grants and revocations, user provisioning, and changes to API credentials and SSO settings. Use them to feed this activity into your security monitoring or compliance tooling. Security audit logs explains what each event records and lists every action.

GET /partner/organizations/audit_logs

List security audit-log events

Returns a paginated, organization-scoped list of security audit-log events, newest first.

Requires any one of api:partner:organizations:audit_logs:read

Query parameters

ParameterTypeRequiredDescription
pageintegeroptionalPage number for pagination
per_pageintegeroptionalRecords per page
filterobjectoptionalJSON-encoded filters, e.g. {"action":{"is":"auth.login_succeeded"},"outcome":{"is":"failure"},"occurred_at":{"between":["2026-01-01T00:00:00Z","2026-02-01T00:00:00Z"]}}
filter.actionobjectoptional
filter.resource_typeobjectoptional
filter.outcomeobjectoptional
filter.occurred_atobjectoptional

Responses

StatusReasonSchema
200OKobject
403ForbiddenErrors

Response fields

ParameterTypeRequiredDescription
urlstringoptional
dataOrganizations.AuditLog[]optional
data[].idstringrequired
data[].actionstringrequiredThe action performed, e.g. 'auth.login_succeeded'. The Security audit logs guide lists every current value; new values are added over time.
data[].actor_ipstring | nullrequiredIP address the action originated from
data[].actor_labelstring | nullrequiredWho acted: the user's display name, or their email address when no name is set. 'system' or the integration name for automated changes, 'BetterUp User' for BetterUp staff in a support session, null for a failed sign-in
data[].actor_typestring | nullrequiredKind of actor: user, service_account, system, or anonymous
data[].kindstringrequired
data[].occurred_atstring (date-time)requiredWhen the event occurred (UTC, ISO 8601)
data[].outcomestringrequiredResult: success, failure, or denied
data[].related_linksobjectrequired
data[].related_links.selfstringrequired
data[].resource_labelstring | nullrequiredThe affected record's name, such as a user's name or email address or a role name. Null for user provisioning, deactivation, reactivation and removal events and for support-session events
data[].resource_typestring | nullrequiredType of the affected resource
pagination_metadataPaginationMetadataoptionalPagination metadata for the response.
pagination_metadata.next_page_paramsmap<string, any> | nullrequiredQuery params for the next page. Merge them into the params of this request. Null on the last page.
pagination_metadata.next_page_urlstring | nullrequired
pagination_metadata.pageintegerrequired
pagination_metadata.per_pageintegerrequired
pagination_metadata.previous_page_paramsmap<string, any> | nullrequiredQuery params for the previous page. Merge them into the params of this request. Null on the first page.
pagination_metadata.previous_page_urlstring | nullrequired
pagination_metadata.total_recordsinteger | nullrequired
Example request
curl -X GET "https://api.betterup.co/partner/organizations/audit_logs" \
  -H "Authorization: Bearer <access_token>"
Example response
{
  "url": "<url>",
  "data": [
    {
      "id": "<id>",
      "action": "<action>",
      "actor_ip": "<actor_ip>",
      "actor_label": "<actor_label>",
      "actor_type": "<actor_type>",
      "kind": "<kind>",
      "occurred_at": "<date-time>",
      "outcome": "<outcome>",
      "related_links": {
        "self": "<self>"
      },
      "resource_label": "<resource_label>",
      "resource_type": "<resource_type>"
    }
  ],
  "pagination_metadata": {
    "next_page_params": {
      "<key>": {}
    },
    "next_page_url": "<next_page_url>",
    "page": 0,
    "per_page": 0,
    "previous_page_params": {
      "<key>": {}
    },
    "previous_page_url": "<previous_page_url>",
    "total_records": 0
  }
}
GET /partner/organizations/audit_logs/{id}

Fetch a single security audit-log event

Returns a single security audit-log event belonging to your organization.

Requires any one of api:partner:organizations:audit_logs:read

Path parameters

ParameterTypeRequiredDescription
idstringrequiredUnique identifier for the Audit Log

Responses

StatusReasonSchema
200OKOrganizations.AuditLog
404Not FoundErrors

Response fields

ParameterTypeRequiredDescription
idstringrequired
actionstringrequiredThe action performed, e.g. 'auth.login_succeeded'. The Security audit logs guide lists every current value; new values are added over time.
actor_ipstring | nullrequiredIP address the action originated from
actor_labelstring | nullrequiredWho acted: the user's display name, or their email address when no name is set. 'system' or the integration name for automated changes, 'BetterUp User' for BetterUp staff in a support session, null for a failed sign-in
actor_typestring | nullrequiredKind of actor: user, service_account, system, or anonymous
kindstringrequired
occurred_atstring (date-time)requiredWhen the event occurred (UTC, ISO 8601)
outcomestringrequiredResult: success, failure, or denied
related_linksobjectrequired
related_links.selfstringrequired
resource_labelstring | nullrequiredThe affected record's name, such as a user's name or email address or a role name. Null for user provisioning, deactivation, reactivation and removal events and for support-session events
resource_typestring | nullrequiredType of the affected resource
Example request
curl -X GET "https://api.betterup.co/partner/organizations/audit_logs/<id>" \
  -H "Authorization: Bearer <access_token>"
Example response
{
  "id": "<id>",
  "action": "<action>",
  "actor_ip": "<actor_ip>",
  "actor_label": "<actor_label>",
  "actor_type": "<actor_type>",
  "kind": "<kind>",
  "occurred_at": "<date-time>",
  "outcome": "<outcome>",
  "related_links": {
    "self": "<self>"
  },
  "resource_label": "<resource_label>",
  "resource_type": "<resource_type>"
}