Overview
Retrieves information about the currently authenticated user (the user associated with the API token being used).This is a read-only tool that queries your PagerDuty account without making any changes.
Parameters
This tool takes no parameters. It automatically retrieves data for the user associated with the API token.Response
Returns aUser object:
The ID of the user
A short-form, server-generated string providing succinct information about the user
The name of the user
The email address of the user
The user’s role in PagerDuty. Possible values:
admin- Full administrative accesslimited_user- Limited user accessobserver- Read-only observer accessowner- Account ownerread_only_user- Read-only user accessrestricted_access- Restricted accessread_only_limited_user- Read-only limited useruser- Standard user access
List of teams the user belongs to
Always “user”
Usage Examples
Get your own user information
Check your role
Use Cases
- Identity verification - Confirm which user account the API token belongs to
- Permission checking - Verify your role before attempting operations
- Team membership - See which teams you belong to
- Troubleshooting - Debug permission issues by checking user details
Related Tools
- list_users - List all users in the account
- list_teams - List all teams
- list_team_members - List members of a specific team