Query
query LabelTypes {
labelTypes {
edges {
cursor
node {
id
name
icon
color
type
description
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"labelTypes": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"icon": "string",
"color": "string",
"type": "DEFAULT",
"description": "string"
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
labelTypes
Returns a paginated list of label types in the workspace. By default includes both active and archived label types; pass filters: { isArchived: false } to exclude archived ones. Requires the labelType:read permission.
QUERY
labelTypes(filters: LabelTypeFilter, first: Int, after: String, last: Int, before: String): LabelTypeConnection!Arguments
filters
first
Int
after
String
last
Int
before
String
Returns
edges
[LabelTypeEdge!]!
pageInfo
Query
query LabelTypes {
labelTypes {
edges {
cursor
node {
id
name
icon
color
type
description
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"labelTypes": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"icon": "string",
"color": "string",
"type": "DEFAULT",
"description": "string"
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

