Chief Tools Logo

viewer

query

The currently authenticated user.

Return Type

·User
id·ID!

The unique identifier for the object.

name·String!

The user name.

email·String!

The user email address.

timezone·String!

The timezone configured for the user.

createdAt·DateTime!

Identifies the date and time when the object was created.

preferences·[UserPreference!]!(2 args)

The user preferences.

teams·[Team!]!

The teams the user belongs to.

plan·Plan!

The plan the user is subscribed to.

repositoryProviders·[RepositoryProvider!]!

The repository providers this user has connected.

app·App(1 arg)

Retrieve a single app by it's ID.

apps·[App!]!

Retrieve all the apps the user has access to.

bitbucketAccounts·[BitbucketAccount!]!

The connected Bitbucket accounts.

githubInstallations·[GitHubInstallation!]!

The GitHub app installations the team uses.

pendingGitHubInstallations·[PendingGitHubInstallation]!

The GitHub app installations waiting to be chosen after connecting with GitHub in the web app, null when there are none.

Only available in the web app, always null for API requests.

gitlabAccounts·[GitLabAccount!]!

The connected GitLab accounts.

gitlabApplications·[GitLabApplication!]!

The self-hosted GitLab instances the team connects to.

canConnectSentry·Boolean!

Indicates if the user can connect the team to Sentry.

script·Script(1 arg)

Retrieve a single script by it's ID.

sentryInstallations·[SentryInstallation!]!

The connected Sentry organizations.

activityNotificationSettings·ActivityNotificationSettings!

The deployment notifications the user receives for the team.

scripts·ScriptPaginator!(2 args)

Retrieve all the scripts the user has access to.