Viewer OBJECT

Represents the current user session

Fields

authorizationsAuthorizationConnection

Arguments

afterString

Returns the elements in the list that come after the specified cursor.

beforeString

Returns the elements in the list that come before the specified cursor.

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

type[AuthorizationType!]

buildsBuildConnection

Arguments

branchString

firstInt

lastInt

metaData[String!]

state[BuildStates!]

changelogsChangelogConnection

Arguments

firstInt

lastInt

readBoolean

emailsEmailConnection

Emails associated with the current user

Arguments

afterString

Returns the elements in the list that come after the specified cursor.

beforeString

Returns the elements in the list that come before the specified cursor.

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

verifiedBoolean

Filter by whether the email is verified or not

idID!

The ID of the current user

jobsJobConnection

Arguments

afterString

agentQueryRules[String!]

Filter jobs based on matching agent query rules (for example, a single tag match "queue=test", or an array of matches ["queue=test", "tag=value"])

beforeString

firstInt

lastInt

orderJobOrder

Order the jobs

Default value: RECENTLY_CREATED

priorityJobPrioritySearch

state[JobStates!]

type[JobTypes!]

noticeNotice

Arguments

namespaceNoticeNamespaces!

scopeString!

organizationsOrganizationConnection

Arguments

firstInt

lastInt

permissionsViewerPermissions!

The current user's permissions

totpTOTP

The user's active TOTP configuration, if any. This field is private, requires an escalated session, and cannot be accessed via the public GraphQL API.

Arguments

idID

userUser

The current user

Interfaces