Projects

6 Trellis API endpoints for projects, with the scopes, parameters and response each one takes.

List a project's section toggles

GET/workspace/{handle}/{key}/sections

Scopes

Needs a token holding projects:read.

Path parameters

handlestringRequired

Workspace handle, as it appears in the Trellis URL.

keystringRequired

Project key, e.g. `T-001`.

Responses

200OK

array of ProjectSectionResponse

created_atstring
idstring
is_enabledboolean
project_idstring
section_keystring

defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.

See Errors for the fields it carries.

List the workspace's projects

GET/workspace/{handle}/projects

Scopes

Needs a token holding projects:read.

Path parameters

handlestringRequired

Workspace handle, as it appears in the Trellis URL.

Query parameters

querystring

Search text matched against project names and keys.

pageinteger

Page to return, starting at 1. Defaults to 1.

limitinteger

Page size, 1 to 100. Defaults to 10.

sort_bystring

Field to sort by: `name`, `created_at` or `updated_at`. Defaults to `updated_at`.

sort_dirstring

Sort direction, `ASC` or `DESC`. Defaults to `DESC`.

exclude_archivedboolean

Leave archived projects out. Defaults to true.

only_archivedboolean

Return only archived projects. Overrides `exclude_archived`.

only_mineboolean

Return only projects the caller is a member of.

label_idsarray of string

Label IDs to filter by. Repeat the parameter, or pass one comma-separated value.

stagesarray of string

Project stages to filter by. Repeat the parameter, or pass one comma-separated value.

Responses

200OK

object

countinteger

Unfiltered item count, where the endpoint reports one. Omitted when zero.

dataarray of ProjectResponsenullable
25 fields
archived_atstringnullable
archived_byUserResponse
14 fields
avatar_gradientstring
avatar_urlstring
created_atstring
deletion_requested_atstring
emailstring
first_namestring
idstring
industrystring
is_businessbooleannullable
last_namestring
onboarding_completedboolean
scheduled_purge_atstring
themestring
updated_atstring
colorstring
completed_tasksinteger
created_atstring
created_bystring
deadlinestringnullable
idstring
is_archivedboolean
is_pinnedboolean
keystring
labelsarray of LabelResponsenullable
8 fields
colorstring
created_atstring
created_byUserReference
5 fields
avatarstring
avatar_gradientstring
emailstring
idstring
namestring
descriptionstring
idstring
namestring
updated_atstring
updated_byUserReference
5 fields
avatarstring
avatar_gradientstring
emailstring
idstring
namestring
membersarray of UserResponsenullable
14 fields
avatar_gradientstring
avatar_urlstring
created_atstring
deletion_requested_atstring
emailstring
first_namestring
idstring
industrystring
is_businessbooleannullable
last_namestring
onboarding_completedboolean
scheduled_purge_atstring
themestring
updated_atstring
namestring
project_leadUserResponse
14 fields
avatar_gradientstring
avatar_urlstring
created_atstring
deletion_requested_atstring
emailstring
first_namestring
idstring
industrystring
is_businessbooleannullable
last_namestring
onboarding_completedboolean
scheduled_purge_atstring
themestring
updated_atstring
project_managerUserResponse
14 fields
avatar_gradientstring
avatar_urlstring
created_atstring
deletion_requested_atstring
emailstring
first_namestring
idstring
industrystring
is_businessbooleannullable
last_namestring
onboarding_completedboolean
scheduled_purge_atstring
themestring
updated_atstring
project_typestring
statusstring
templatestring
total_tasksinteger
updated_atstring
updated_bystring
visionstringnullable
workflow_idstring
workspace_idstring
limitinteger

Page size used for this response. Omitted when zero.

pageinteger

Current page, starting at 1. Omitted when zero.

totalinteger

Number of items matching the filters. Omitted when zero.

defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.

See Errors for the fields it carries.

Get a project

GET/workspace/{handle}/projects/{key}

Scopes

Needs a token holding projects:read.

Path parameters

handlestringRequired

Workspace handle, as it appears in the Trellis URL.

keystringRequired

Project key, e.g. `T-001`.

Responses

200OK

ProjectResponse

archived_atstringnullable
archived_byUserResponse
14 fields
avatar_gradientstring
avatar_urlstring
created_atstring
deletion_requested_atstring
emailstring
first_namestring
idstring
industrystring
is_businessbooleannullable
last_namestring
onboarding_completedboolean
scheduled_purge_atstring
themestring
updated_atstring
colorstring
completed_tasksinteger
created_atstring
created_bystring
deadlinestringnullable
idstring
is_archivedboolean
is_pinnedboolean
keystring
labelsarray of LabelResponsenullable
8 fields
colorstring
created_atstring
created_byUserReference
5 fields
avatarstring
avatar_gradientstring
emailstring
idstring
namestring
descriptionstring
idstring
namestring
updated_atstring
updated_byUserReference
5 fields
avatarstring
avatar_gradientstring
emailstring
idstring
namestring
membersarray of UserResponsenullable
14 fields
avatar_gradientstring
avatar_urlstring
created_atstring
deletion_requested_atstring
emailstring
first_namestring
idstring
industrystring
is_businessbooleannullable
last_namestring
onboarding_completedboolean
scheduled_purge_atstring
themestring
updated_atstring
namestring
project_leadUserResponse
14 fields
avatar_gradientstring
avatar_urlstring
created_atstring
deletion_requested_atstring
emailstring
first_namestring
idstring
industrystring
is_businessbooleannullable
last_namestring
onboarding_completedboolean
scheduled_purge_atstring
themestring
updated_atstring
project_managerUserResponse
14 fields
avatar_gradientstring
avatar_urlstring
created_atstring
deletion_requested_atstring
emailstring
first_namestring
idstring
industrystring
is_businessbooleannullable
last_namestring
onboarding_completedboolean
scheduled_purge_atstring
themestring
updated_atstring
project_typestring
statusstring
templatestring
total_tasksinteger
updated_atstring
updated_bystring
visionstringnullable
workflow_idstring
workspace_idstring

defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.

See Errors for the fields it carries.

List a project's bookmarks

GET/workspace/{handle}/projects/{key}/bookmarks

Scopes

Needs a token holding projects:read.

Path parameters

handlestringRequired

Workspace handle, as it appears in the Trellis URL.

keystringRequired

Project key, e.g. `T-001`.

Responses

200OK

array of ProjectBookmarkResponse

created_atstring
created_bystring
idstring
labelstring
project_idstring
updated_atstring
urlstring

defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.

See Errors for the fields it carries.

Get a project's health metrics and setup checklist

GET/workspace/{handle}/projects/{key}/health

Scopes

Needs a token holding projects:read.

Path parameters

handlestringRequired

Workspace handle, as it appears in the Trellis URL.

keystringRequired

Project key, e.g. `T-001`.

Responses

200OK

ProjectHealthResponse

checklistarray of ProjectHealthCheckItemnullable
3 fields
doneboolean
keystring
labelstring
metricsarray of ProjectHealthMetricnullable
5 fields
countinteger
labelstring
progressboolean
tooltipstring
totalinteger

defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.

See Errors for the fields it carries.

List a project's members with their roles

GET/workspace/{handle}/projects/{key}/members

Scopes

Needs a token holding projects:read.

Path parameters

handlestringRequired

Workspace handle, as it appears in the Trellis URL.

keystringRequired

Project key, e.g. `T-001`.

Responses

200OK

array of ProjectMemberResponse

idstring
project_member_idstring
removal_blocked_reasonstring
roleProjectRoleResponse
4 fields
descriptionstring
idstring
namestring
slugstring
userUserResponse
14 fields
avatar_gradientstring
avatar_urlstring
created_atstring
deletion_requested_atstring
emailstring
first_namestring
idstring
industrystring
is_businessbooleannullable
last_namestring
onboarding_completedboolean
scheduled_purge_atstring
themestring
updated_atstring
workspace_rolestring

defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.

See Errors for the fields it carries.