List project labels

projectLabels(input: ProjectLabelsInput!): ProjectLabelList!

Requires project.read.

Arguments

ArgumentTypeRequired
inputProjectLabelsInput!Yes

Input fields

input

ProjectLabelsInput

FieldTypeRequiredDescription
projectReferenceString!YesProject UUID or slug.

Response

Returns ProjectLabelList!. Open the type for its fields and nested types.

FieldTypeDescription
labels[ProjectLabel!]!All active project labels ordered by namespace, key, and value. This list is not paginated.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query ProjectLabels($input: ProjectLabelsInput!) {  projectLabels(input: $input) {    labels {      id      projectId      createdAt      updatedAt      color    }  }}
variables.json
{  "input": {    "projectReference": "00000000-0000-4000-8000-000000000001"  }}