raw_users
Creates, updates, deletes, gets or lists a raw_users resource.
Overview
| Name | raw_users |
| Type | Resource |
| Id | pagerduty.analytics.raw_users |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Obfuscated ID of the user. |
account_id | integer | Account ID the user belongs to. |
team_id | string | ID of the team the user belongs to, if any. |
team_name | string | Name of the team the user belongs to, if any. |
user_name | string | Name of the user. |
channel_types_configured | array | List of notification channel types configured for this user. |
created_at | string (date-time) | Timestamp indicating when the user was created. |
default_notification_channel_count | integer | Number of notification channels configured for this user. |
description | string | User description, if available. |
downloaded_mobile_app | boolean | Whether the user has downloaded the mobile app. |
email | string | Email of the user. |
escalation_policies_count | integer | Number of escalation policies this user is part of. |
last_sign_in_at | string (date-time) | Timestamp of the user's last sign-in, if available. |
notification_methods | boolean | Whether the user has notification methods configured. |
on_escalation_policy | boolean | Whether the user is part of any escalation policy. |
on_schedule | boolean | Whether the user is part of any schedule. |
role | string | User's role in the account. |
schedules_count | integer | Number of schedules this user is part of. |
signed_up | boolean | Whether the user has signed up (based on last_sign_in_at not being null). |
team_count | integer | Number of teams this user belongs to. |
time_zone | string | User's configured time zone. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | 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 /> |
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.
| Name | Datatype | Description |
|---|
SELECT examples
- list
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
;