query ProjectListQuery {
projectList(filter: { companyIds: ["ENTER COMPANY ID"] }) {
items {
id
uid
slug
name
description
archived
color
icon
createdAt
updatedAt
allowNotification
position
unseenActivityCount
todoListsMaxPosition
lastAccessedAt
isTemplate
automationsCount
totalFileCount
totalFileSize
todoAlias
}
pageInfo {
totalPages
totalItems
page
perPage
hasNextPage
hasPreviousPage
}
}
}
The following table describes the fields returned for each project in the ProjectListQuery
:
Field | Description |
---|---|
id | Unique identifier for the project |
uid | User-friendly unique identifier for the project |
slug | URL-friendly name of the project |
name | Display name of the project |
description | Brief description of the project |
archived | Boolean indicating if the project is archived |
color | Color associated with the project for visual identification |
icon | Icon associated with the project for visual identification |
createdAt | Timestamp when the project was created |
updatedAt | Timestamp when the project was last updated |
allowNotification | Boolean indicating if notifications are enabled for the project |
position | Numeric value representing the project's position in a list |
unseenActivityCount | Number of unseen activities in the project |
todoListsMaxPosition | Maximum position value for todo lists in the project |
lastAccessedAt | Timestamp when the project was last accessed |
isTemplate | Boolean indicating if the project is a template |
automationsCount | Number of automations associated with the project |
totalFileCount | Total number of files in the project |
totalFileSize | Total size of all files in the project |
todoAlias | Custom alias for "todo" used in the project |
The pageInfo
object provides pagination details for the query results:
Field | Description |
---|---|
totalPages | Total number of pages of results |
totalItems | Total number of projects matching the query |
page | Current page number |
perPage | Number of items per page |
hasNextPage | Boolean indicating if there's a next page of results |
hasPreviousPage | Boolean indicating if there's a previous page of results |