# NewTaskLabelInput

input type

Create-input for a TaskLabel. The tenant is derived SERVER-SIDE; ⚠ the caption IS the label text and is REQUIRED at the boundary.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | Optional: when omitted the per-type default applies — NONE — the CsCase divergence class: the caption IS the label text, and an omitted caption refuses VALIDATION/INVALID at the boundary instead of defaulting; when supplied it must be non-blank. |
| `color` | [String](/types/#scalars) | no | \#rrggbb hex (lowercase). |

## Used by

- [createTaskLabel](/reference/task-label/createTaskLabel/)
