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.

gitlabAccounts·[GitLabAccount!]!

The connected GitLab accounts.

script·Script(1 arg)

Retrieve a single script by it's ID.

sentryInstallations·[SentryInstallation!]!

The connected Sentry organizations.

scripts·ScriptPaginator!(2 args)

Retrieve all the scripts the user has access to.