Skip to main content

raw_users

Creates, updates, deletes, gets or lists a raw_users resource.

Overview

Nameraw_users
TypeResource
Idpagerduty.analytics.raw_users

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringObfuscated ID of the user.
account_idintegerAccount ID the user belongs to.
team_idstringID of the team the user belongs to, if any.
team_namestringName of the team the user belongs to, if any.
user_namestringName of the user.
channel_types_configuredarrayList of notification channel types configured for this user.
created_atstring (date-time)Timestamp indicating when the user was created.
default_notification_channel_countintegerNumber of notification channels configured for this user.
descriptionstringUser description, if available.
downloaded_mobile_appbooleanWhether the user has downloaded the mobile app.
emailstringEmail of the user.
escalation_policies_countintegerNumber of escalation policies this user is part of.
last_sign_in_atstring (date-time)Timestamp of the user's last sign-in, if available.
notification_methodsbooleanWhether the user has notification methods configured.
on_escalation_policybooleanWhether the user is part of any escalation policy.
on_schedulebooleanWhether the user is part of any schedule.
rolestringUser's role in the account.
schedules_countintegerNumber of schedules this user is part of.
signed_upbooleanWhether the user has signed up (based on last_sign_in_at not being null).
team_countintegerNumber of teams this user belongs to.
time_zonestringUser's configured time zone.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectAllows users to retrieve a raw list of user analytics data within their account. This endpoint provides detailed data about user activity and account configuration.<br /><br /><!-- theme: info --><br />> Note: Data availability reflects [pipeline processing cycles](https:​//support.pagerduty.com/main/docs/insights#:~:text=Data%20Update%20Schedule) and is generally within 24 hours under normal conditions.<br /><br />Scoped OAuth requires: analytics.write<br />

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Allows users to retrieve a raw list of user analytics data within their account. This endpoint provides detailed data about user activity and account configuration.<br /><br /><!-- theme: info --><br />> Note: Data availability reflects [pipeline processing cycles](https:​//support.pagerduty.com/main/docs/insights#:~:text=Data%20Update%20Schedule) and is generally within 24 hours under normal conditions.<br /><br />Scoped OAuth requires: analytics.write<br />

SELECT
id,
account_id,
team_id,
team_name,
user_name,
channel_types_configured,
created_at,
default_notification_channel_count,
description,
downloaded_mobile_app,
email,
escalation_policies_count,
last_sign_in_at,
notification_methods,
on_escalation_policy,
on_schedule,
role,
schedules_count,
signed_up,
team_count,
time_zone
FROM pagerduty.analytics.raw_users
;