Authorization header as Bearer <your_api_key>.
List projects in a workspace
GET https://api.chevre.io/v1/workspaces/{workspace_id}/projects
Returns a paginated list of all projects in the specified workspace. By default, only active (non-archived) projects are returned. Set archived=true to include archived projects instead.
Path parameters
The unique identifier of the workspace whose projects you want to list (e.g.
ws_01HXYZ).Query parameters
The page number to retrieve. Must be a positive integer.
The number of projects to return per page. Minimum is
1, maximum is 100.When
true, returns only archived projects. When false (the default), returns only active projects.Example request
Example response
200
Response fields
An array of project objects.
Pagination metadata.
Create a project
POST https://api.chevre.io/v1/projects
Creates a new project inside the specified workspace. The authenticated API key must have at least editor permissions in the target workspace.
Request body
The ID of the workspace where the project will be created.
The display name for the new project. Must be between 1 and 255 characters.
An optional description of the project’s purpose or scope.
A hex color code (e.g.
"#6366f1") used to visually distinguish the project in the UI. Must be a valid 6-digit hex color including the # prefix.Controls who in the workspace can see the project. Accepted values:
"private"— only explicitly invited members can access the project."shared"— all members of the workspace can access the project.
Example request
Example response
201
Response fields
The newly created project object.
Get a project
GET https://api.chevre.io/v1/projects/{id}
Retrieves a single project by its ID. You must have access to the project’s workspace and the project itself to retrieve it.
Path parameters
The unique identifier of the project to retrieve (e.g.
proj_01ABC).Example request
Example response
200
Response fields
The requested project object.
Update a project
PATCH https://api.chevre.io/v1/projects/{id}
Updates one or more fields on an existing project. Send only the fields you want to change — all other fields remain unchanged. To archive a project, set archived to true.
Archiving a project (
"archived": true) makes it read-only. All automations within an archived project are automatically paused. Set "archived": false to restore the project and re-enable its automations.Path parameters
The unique identifier of the project to update (e.g.
proj_01ABC).Request body
A new display name for the project.
An updated description for the project.
A new hex color code (e.g.
"#10b981").Updated access level. Accepted values:
"private" or "shared".Set to
true to archive the project, or false to restore it.Example request
Example response
200
Response fields
The updated project object, reflecting all applied changes.
Delete a project
DELETE https://api.chevre.io/v1/projects/{id}
Permanently deletes a project and all of its contents, including tasks, automations, and settings associated with the project.
Path parameters
The unique identifier of the project to delete (e.g.
proj_01ABC).Example request
Example response
204
A successful deletion returns HTTP
204 No Content with an empty response body.