> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# LabelType



**Kind**: `object`

## Fields

**`id`**: `ID!`

---

**`name`**: `String!`

---

**`icon`**: `String`

---

**`color`**: `String`

---

**`type`**: `LabelTypeType!`

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

---

**`description`**: `String`

---

**`parentLabelType`**: `LabelType`

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`**: `InternalActor`

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

---

**`archivedAt`**: `DateTime`

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`**: `DateTime!`

---

**`createdBy`**: `InternalActor!`

---

**`updatedAt`**: `DateTime!`

---

**`updatedBy`**: `InternalActor!`



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.