User
Users belong to an organization. They can create projects within that organization.
type User {
_: Boolean
id: ID!
activated: Boolean!
apiKeys: [ApiKey!]
auth0Id: String
createdAt: DateTime!
email: String!
firstname: String
hasCompletedLabelingTour: Boolean!
highestRoleInProject: String!
hubspotSubscriptionStatus: HubspotSubscriptionStatus
isServiceAccount: Boolean!
lastname: String
organization: Organization
organizationId: String!
organizationRole: OrganizationRole
projectUsers: [ProjectUser!]!
rights: [Right!]!
status: UserStatus
updatedAt: DateTime!
}
Fields
User._ ● Boolean scalar
User.id ● ID! non-null scalar
User.activated ● Boolean! non-null scalar
Activated users can log in to Kili Technology. Deactivated users cannot log in to Kili Technology.
User.apiKeys ● [ApiKey!] list object
User.auth0Id ● String scalar
User ID in Auth0 database
User.createdAt ● DateTime! non-null scalar
User.email ● String! non-null scalar
Email works as a unique identifier for a user.
User.firstname ● String scalar
Firstname of the user
User.hasCompletedLabelingTour ● Boolean! non-null scalar
The user has completed the Labeling Product Tour
User.highestRoleInProject ● String! non-null scalar
The highest role in a project of the user is the role with the most rights ('Admin' > 'Team Manager' > 'Reviewer' > 'Labeler' > 'NA' (not a member of any projects)) attained by the user as a project user.
User.hubspotSubscriptionStatus ● HubspotSubscriptionStatus enum
The user accepts to be contacted by Kili Technology.
User.isServiceAccount ● Boolean! non-null scalar
Defines if the user is a service account
User.lastname ● String scalar
Lastname of the user
User.organization ● Organization object
Each user can belong to one organization.
User.organizationId ● String! non-null scalar
User.organizationRole ● OrganizationRole enum
Within an organization, a user can either be:
-
organization managers (ADMIN) can add/delete/update users within an organization
-
users (USER) have no role within the organization
User.projectUsers ● [ProjectUser!]! non-null object
The role of a User within a project are defined by a ProjectUser.
User.rights ● [Right!]! non-null enum
The list of user rights.
User.status ● UserStatus enum
The status of a User
User.updatedAt ● DateTime! non-null scalar
Member Of
ApiKey object ● AuthPayload object ● Comment object ● DataIntegration object ● Event object ● Issue object ● Label object ● Organization object ● Project object ● ProjectUser object ● ProjectWorkflowStep object