Skip to main content

Status Queries

Get a Status

status returns the requested status or null when no matching status exists.

query GetStatus(
$id: String!
$postCursor: String
$postLimit: Int
) {
status(id: $id) {
id
color
name
type
posts(cursor: $postCursor, limit: $postLimit) {
nodes {
id
title
}
hasMore
cursor
}
}
}
ArgumentTypeDescription
idString!ID of the status to retrieve
postCursorStringCursor returned by the previous page of status posts
postLimitIntNumber of status posts to return

Reading Status.posts requires ssotype and ssoid request headers.

List Board Statuses

The API key scopes this query to one board.

query ListStatuses {
listStatuses {
id
name
color
type
}
}

listStatuses returns [Status!]!.

Status Type

FieldTypeDescription
idString!Status ID
colorString!Status display color
nameString!Status name
typeStatusType!System or custom status type
postsStatusPostsPayload!Paginated posts linked to the status

StatusType can be CUSTOM, ARCHIVED, COMPLETED, MERGED, or UNASSIGNED.

StatusPostsPayload contains nodes: [Post]!, hasMore: Boolean!, and cursor: String.