Projects
List projects
Returns the projects that group orders and work, cursor-paginated.
projects:readprojects:read- 120/min
- Server annotation: Read-only
- Server annotation: Idempotent
Result
generated from the schema
Tenancy inherited from the parent account: a billing account also sees the projects of its parent account.
Arguments
Page size (1-500). Defaults to 50.
Limits: min 1, max 500
Opaque cursor of the page to return. Pass the value of pagination. from the previous response; treat it as opaque.
Limits: max length 200
Free-text search on the name and the external reference.
Limits: min length 1, max length 200
Sort order: up to 3 comma-separated fields, each with a leading "-" for descending (e.g. "-updatedAt,name"). Sortable fields: createdAt, updatedAt, name, projectNumber, startDate, endDate, status. Defaults to "-createdAt". Ties are broken by id, so the order is stable across pages, and a cursor is bound to the sort it was issued with.
Limits: max length 200
Filter by project status: draft, budgeted, confirmed, in_progress, invoiced, completed, cancelled or archived (legacy status present in old data).
Available options: draft, budgeted, confirmed, in_progress, invoiced, completed, cancelled, archived
Filter by project contact identifier.
Limits: min length 1, max length 100
Filter by project type identifier.
Limits: min length 1, max length 100
Filter by archived: "true" lists ONLY archived projects; "false" (or absent) excludes them from the listing.
Set it to true to include pagination., the number of results that match the filters across all pages. Off by default.
Date filters by field. A bare day (YYYY-MM-DD) is read in the business timezone; an ISO 8601 instant with offset is applied as is by gte, lte, gt and lt, while on widens it to the whole business day that contains it. Fields: created, updated.
Show child attributesHide child attributes
Show child attributesHide child attributes
From this day or instant, inclusive.
Up to this day or instant, inclusive.
Strictly after; a bare day means after the end of that day.
Strictly before; a bare day means before the start of that day.
Exactly that day; an instant means the whole business day that contains it.
Show child attributesHide child attributes
From this day or instant, inclusive.
Up to this day or instant, inclusive.
Strictly after; a bare day means after the end of that day.
Strictly before; a bare day means before the start of that day.
Exactly that day; an instant means the whole business day that contains it.
Result
On success the result carries structuredContent with data and meta. These are the attributes of data.
Show the attributes of data
Unique project identifier.
Human-readable project number; null if not numbered.
Project name.
Color associated with the project (for the UI); null if none.
External reference of the project (for example, from the customer system); null if not recorded.
Project type identifier; null if the project has no type.
Compact reference to the project type; null if none.
Show child attributesHide child attributes
Unique project type identifier.
Project type name.
Color associated with the project type (for the UI); null if none.
Compact reference to the project contact; null if none.
Show child attributesHide child attributes
Unique contact identifier.
Contact name.
Project location; its inner fields are null when not recorded.
Show child attributesHide child attributes
Name of the place/location; null if not recorded.
Address of the location; null if not recorded.
City of the location; null if not recorded.
Postal code of the location; null if not recorded.
Province or region of the location; null if not recorded.
Country of the location; null if not recorded.
Latitude of the location; null if not recorded.
Longitude of the location; null if not recorded.
Project start date in ISO 8601 with offset.
Project end date in ISO 8601 with offset.
Project status: draft, budgeted, confirmed, in_progress, invoiced, completed, cancelled or archived. archived is a LEGACY status that appears in old data; the current archived state is expressed by the archived boolean of this same DTO.
Available options: draft, budgeted, confirmed, in_progress, invoiced, completed, cancelled, archived
Whether the project is archived.
Identifiers of the project orders. Order details are obtained from GET /api?projectId=.
Total number of orders in the project (equals orderIds.length).
Custom field values by custom field identifier; the definitions are in /api.
Source the project was created from; null if not recorded.
Creation date in ISO 8601 with offset.
Last update date in ISO 8601 with offset.
An error is a result with isError: true and the problem in content[0].; there is no structuredContent. See Errors.
Sample prompts
List the active projects and the number of orders in each.
The same operation by REST
This tool runs GET /api/v1/projects.
Related pages
Link to this section: Related pagesProjects
List projects
Returns the projects that group orders and work, cursor-paginated.
Guides
Safe writes
An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.
Guides
Errors
A tool error is a result with
isError: trueand the problem in the first text block. Branch on itscode.
Was this page helpful?