# Collection

Object

A Collection (saved tag set) for the current workspace.

## Fields

| Name | Type | Description |
| --- | --- | --- |
| `createdAt` | [`DateTimeWithZone!`](/api/v2/docs/types/date-time-with-zone) | When the Collection was created. |
| `group` | [`ViewGroup`](/api/v2/docs/types/view-group) | Group this Collection belongs to, or null when ungrouped. Populated by `moveCollectionToGroup`. Always null for workspaces whose Collections use the older storage. |
| `id` | `ID!` | Unique identifier of the Collection in this workspace. Pass it to `addItemToCollections` / `removeItemFromCollections` and to `collection(id:)`. |
| `itemCount` | `Int!` | Number of items in this workspace tagged with the Collection. |
| `name` | `String!` | Display name of the Collection. |
| `updatedAt` | [`DateTimeWithZone!`](/api/v2/docs/types/date-time-with-zone) | When the Collection was last updated. |
