Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Jump to examples ↓
    Query

    collections

    List Collections (saved tag sets) for the current workspace, in the workspace's saved order. Returns at most 1000 rows; this field is not paginated.

    Arguments

    This field takes no arguments.

    Returns

    Returns [Collection!]! .

    Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.

    createdAt DateTimeWithZone!
    When the Collection was created.
    group ViewGroup
    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!
    When the Collection was last updated.