Skip to main content
objectLabelType

Fields

id
ID!
name
String!
icon
String
color
String

Whether this is a workspace-wide label type (DEFAULT) or one scoped to a specific team (TEAM).

description
String
parentLabelType

The parent label type, if this label type is nested under another. Null for top-level label types.

position
String!

The position of the label type. Always relative to its parent.

externalId
String

An optional identifier you can set to correlate this label type with a record in your own system. Unique within a workspace. Set via createLabelType or updateLabelType.

isArchived
Boolean!

Whether this label type has been archived. Archived label types remain on threads that already carry them but cannot be applied to new threads.

archivedBy

The user or machine user who archived this label type. Null if the label type is not archived.

archivedAt

When this label type was archived. Null if the label type is not archived.

isExcludedFromAi
Boolean!

When true, Plain's AI features will not suggest or automatically apply this label type.

createdAt
createdBy
updatedAt
updatedBy