Viewer OBJECT

Represents the current user session

Fields

authorizationsAuthorizationConnection

Arguments

firstIntrequired

Returns the first n elements from the list.

afterStringrequired

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

lastIntrequired

Returns the last n elements from the list.

beforeStringrequired

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

typeAuthorizationTyperequired

buildsBuildConnection

Arguments

firstIntrequired

lastIntrequired

stateBuildStatesrequired

branchStringrequired

metaDataStringrequired

changelogsChangelogConnection

Arguments

firstIntrequired

lastIntrequired

readBooleanrequired

emailsEmailConnection

Emails associated with the current user

Arguments

firstIntrequired

lastIntrequired

verifiedBooleanrequired

idID

The ID of the current user

jobsJobConnection

Arguments

firstIntrequired

afterStringrequired

lastIntrequired

beforeStringrequired

typeJobTypesrequired

stateJobStatesrequired

priorityJobPrioritySearchrequired

agentQueryRulesStringrequired

orderJobOrder

Order the jobs

Default value: RECENTLY_CREATED

noticeNotice

Arguments

namespaceNoticeNamespacesrequired

scopeStringrequired

organizationsOrganizationConnection

Arguments

firstIntrequired

lastIntrequired

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

idIDrequired

userUser

The current user

Interfaces

Node