Query
query Tiers {
tiers {
edges {
cursor
node {
id
name
externalId
color
isDefault
defaultPriority
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"tiers": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"externalId": "string",
"color": "string",
"isDefault": true,
"defaultPriority": 1
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
tiers
Returns all tiers in the workspace, sorted by creation date. Supports cursor-based pagination. Requires the tier:read permission.
QUERY
tiers(first: Int, after: String, last: Int, before: String): TierConnection!Arguments
first
Int
after
String
last
Int
before
String
Returns
edges
[TierEdge!]!
pageInfo
Query
query Tiers {
tiers {
edges {
cursor
node {
id
name
externalId
color
isDefault
defaultPriority
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"tiers": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"externalId": "string",
"color": "string",
"isDefault": true,
"defaultPriority": 1
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

