Tags
Complete reference for tags. Create and manage flexible labels for classifying assets, geo objects, and other entities.
Tag management for flexible entity classification.
Queries
tags
Lists tags in the caller's workspace.
tags(
filter: TagFilter
first: Int
after: String
last: Int
before: String
orderBy: CatalogItemOrder = { field: TITLE, direction: ASC }
): TagConnection!Arguments
filter
TagFilter
Filtering options for the returned tags.
orderBy
CatalogItemOrder
The ordering options for the returned tags.
Input types:
Output types:
Mutations
tagCreate
Creates a new tag.
Arguments
input
TagCreateInput!
The input fields for creating the tag.
Input types:
Output types:
tagUpdate
Updates a tag.
Arguments
input
TagUpdateInput!
The input fields for updating the tag.
Input types:
Output types:
tagDelete
Deletes a tag.
Refused with IN_USE while another live entity points at it through one of its own fields, custom-field values and field definitions included; the error's blockers name the first five of them, and hasMoreBlockers says whether it left any out.
Arguments
input
CatalogItemDeleteInput!
The input fields for deleting the tag.
Input types:
Output types:
Objects
Tag
A tag for labeling and categorizing entities.
Implements: CatalogItem, Node, Versioned, Titled
id
ID!
A globally unique identifier.
version
Int!
The version number for optimistic locking.
title
String!
The human-readable display name. Can be localized.
code
Code!
A machine-readable code, unique within the catalog for a given workspace. A workspace item may reuse the code of the system item it overrides.
order
Int!
The display order within the same level or category.
entityTypes
[EntityType!]!
The entity types this tag can be applied to. Empty means the tag is universal.
TagPayload
The result of a tag mutation.
Inputs
TagFilter
Filtering options for tags.
titleContains
String
Partial match on title (case-insensitive contains).
TagCreateInput
Input for creating a tag.
title
String!
The display name.
order
Int
The display order. Auto-calculated as last position if omitted.
entityTypeIds
[ID!]
The entity types this tag can be applied to. Empty means universal.
TagUpdateInput
Input for updating a tag.
id
ID!
The item ID to update.
version
Int
The current version for optimistic locking. If omitted, auto-increments without conflict check.
title
String
The new display name.
order
Int
The new display order.
entityTypeIds
[ID!]
Replace entity types. Null means no change, empty means universal.
Pagination types
TagConnection
A paginated list of Tag items.
Implements: Connection
TagEdge
An edge in the Tag connection.
Implements: Edge
cursor
String!
An opaque cursor for this edge.
See also
Last updated
Was this helpful?