List account projects

accountProjects(input: AccountProjectsInput!): AccountProjectsPage!

Requires account.projects.read.

Arguments

ArgumentTypeRequired
inputAccountProjectsInput!Yes

Input fields

input

AccountProjectsInput

FieldTypeRequiredDescription
accountIdUUID!YesAccount UUID. Requires account.projects.read.
cursorStringNoOpaque continuation cursor from pageInfo.endCursor. Null means omitted.
limitIntNoInteger page size from 1 to 100; default 20. Null uses the default.

Response

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

FieldTypeDescription
data[AccountProject!]!Projects assigned to this account, newest first.
pageInfoAccountProjectPageInfo!

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

Example

query.graphql
query AccountProjects($input: AccountProjectsInput!) {  accountProjects(input: $input) {    data {      id      name      slug      createdAt      updatedAt    }    pageInfo {      hasNextPage      endCursor      hasPreviousPage      startCursor    }  }}
variables.json
{  "input": {    "accountId": "example"  }}