6 Trellis API endpoints for projects, with the scopes, parameters and response each one takes.
List a project's section toggles
/workspace/{handle}/{key}/sectionsScopes
Needs a token holding projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Responses
200OK
array of ProjectSectionResponse
created_atstringidstringis_enabledbooleanproject_idstringsection_keystringdefaultError. 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
/workspace/{handle}/projectsScopes
Needs a token holding projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
Query parameters
querystringSearch text matched against project names and keys.
pageintegerPage to return, starting at 1. Defaults to 1.
limitintegerPage size, 1 to 100. Defaults to 10.
sort_bystringField to sort by: `name`, `created_at` or `updated_at`. Defaults to `updated_at`.
sort_dirstringSort direction, `ASC` or `DESC`. Defaults to `DESC`.
exclude_archivedbooleanLeave archived projects out. Defaults to true.
only_archivedbooleanReturn only archived projects. Overrides `exclude_archived`.
only_minebooleanReturn only projects the caller is a member of.
label_idsarray of stringLabel IDs to filter by. Repeat the parameter, or pass one comma-separated value.
stagesarray of stringProject stages to filter by. Repeat the parameter, or pass one comma-separated value.
Responses
200OK
object
countintegerUnfiltered item count, where the endpoint reports one. Omitted when zero.
dataarray of ProjectResponsenullable25 fields
archived_atstringnullablearchived_byUserResponse14 fields
avatar_gradientstringavatar_urlstringcreated_atstringdeletion_requested_atstringemailstringfirst_namestringidstringindustrystringis_businessbooleannullablelast_namestringonboarding_completedbooleanscheduled_purge_atstringthemestringupdated_atstringcolorstringcompleted_tasksintegercreated_atstringcreated_bystringdeadlinestringnullableidstringis_archivedbooleanis_pinnedbooleankeystringlabelsarray of LabelResponsenullable8 fields
colorstringcreated_atstringcreated_byUserReference5 fields
avatarstringavatar_gradientstringemailstringidstringnamestringdescriptionstringidstringnamestringupdated_atstringupdated_byUserReference5 fields
avatarstringavatar_gradientstringemailstringidstringnamestringmembersarray of UserResponsenullable14 fields
avatar_gradientstringavatar_urlstringcreated_atstringdeletion_requested_atstringemailstringfirst_namestringidstringindustrystringis_businessbooleannullablelast_namestringonboarding_completedbooleanscheduled_purge_atstringthemestringupdated_atstringnamestringproject_leadUserResponse14 fields
avatar_gradientstringavatar_urlstringcreated_atstringdeletion_requested_atstringemailstringfirst_namestringidstringindustrystringis_businessbooleannullablelast_namestringonboarding_completedbooleanscheduled_purge_atstringthemestringupdated_atstringproject_managerUserResponse14 fields
avatar_gradientstringavatar_urlstringcreated_atstringdeletion_requested_atstringemailstringfirst_namestringidstringindustrystringis_businessbooleannullablelast_namestringonboarding_completedbooleanscheduled_purge_atstringthemestringupdated_atstringproject_typestringstatusstringtemplatestringtotal_tasksintegerupdated_atstringupdated_bystringvisionstringnullableworkflow_idstringworkspace_idstringlimitintegerPage size used for this response. Omitted when zero.
pageintegerCurrent page, starting at 1. Omitted when zero.
totalintegerNumber 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
/workspace/{handle}/projects/{key}Scopes
Needs a token holding projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Responses
200OK
ProjectResponse
archived_atstringnullablearchived_byUserResponse14 fields
avatar_gradientstringavatar_urlstringcreated_atstringdeletion_requested_atstringemailstringfirst_namestringidstringindustrystringis_businessbooleannullablelast_namestringonboarding_completedbooleanscheduled_purge_atstringthemestringupdated_atstringcolorstringcompleted_tasksintegercreated_atstringcreated_bystringdeadlinestringnullableidstringis_archivedbooleanis_pinnedbooleankeystringlabelsarray of LabelResponsenullable8 fields
colorstringcreated_atstringcreated_byUserReference5 fields
avatarstringavatar_gradientstringemailstringidstringnamestringdescriptionstringidstringnamestringupdated_atstringupdated_byUserReference5 fields
avatarstringavatar_gradientstringemailstringidstringnamestringmembersarray of UserResponsenullable14 fields
avatar_gradientstringavatar_urlstringcreated_atstringdeletion_requested_atstringemailstringfirst_namestringidstringindustrystringis_businessbooleannullablelast_namestringonboarding_completedbooleanscheduled_purge_atstringthemestringupdated_atstringnamestringproject_leadUserResponse14 fields
avatar_gradientstringavatar_urlstringcreated_atstringdeletion_requested_atstringemailstringfirst_namestringidstringindustrystringis_businessbooleannullablelast_namestringonboarding_completedbooleanscheduled_purge_atstringthemestringupdated_atstringproject_managerUserResponse14 fields
avatar_gradientstringavatar_urlstringcreated_atstringdeletion_requested_atstringemailstringfirst_namestringidstringindustrystringis_businessbooleannullablelast_namestringonboarding_completedbooleanscheduled_purge_atstringthemestringupdated_atstringproject_typestringstatusstringtemplatestringtotal_tasksintegerupdated_atstringupdated_bystringvisionstringnullableworkflow_idstringworkspace_idstringdefaultError. 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
/workspace/{handle}/projects/{key}/bookmarksScopes
Needs a token holding projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Responses
200OK
array of ProjectBookmarkResponse
created_atstringcreated_bystringidstringlabelstringproject_idstringupdated_atstringurlstringdefaultError. 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
/workspace/{handle}/projects/{key}/healthScopes
Needs a token holding projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Responses
200OK
ProjectHealthResponse
checklistarray of ProjectHealthCheckItemnullable3 fields
donebooleankeystringlabelstringmetricsarray of ProjectHealthMetricnullable5 fields
countintegerlabelstringprogressbooleantooltipstringtotalintegerdefaultError. 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
/workspace/{handle}/projects/{key}/membersScopes
Needs a token holding projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Responses
200OK
array of ProjectMemberResponse
idstringproject_member_idstringremoval_blocked_reasonstringroleProjectRoleResponse4 fields
descriptionstringidstringnamestringslugstringuserUserResponse14 fields
avatar_gradientstringavatar_urlstringcreated_atstringdeletion_requested_atstringemailstringfirst_namestringidstringindustrystringis_businessbooleannullablelast_namestringonboarding_completedbooleanscheduled_purge_atstringthemestringupdated_atstringworkspace_rolestringdefaultError. 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.