Skip to main content
Projects are the primary containers for organizing your work within a workspace. Each project holds tasks, automations, and settings scoped to a specific team or initiative. Use the endpoints below to manage projects programmatically. All requests require your API key in the 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

workspace_id
string
required
The unique identifier of the workspace whose projects you want to list (e.g. ws_01HXYZ).

Query parameters

page
integer
default:"1"
The page number to retrieve. Must be a positive integer.
per_page
integer
default:"20"
The number of projects to return per page. Minimum is 1, maximum is 100.
archived
boolean
default:"false"
When true, returns only archived projects. When false (the default), returns only active projects.

Example request

Example response

200

Response fields

data
array
An array of project objects.
meta
object
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

workspace_id
string
required
The ID of the workspace where the project will be created.
name
string
required
The display name for the new project. Must be between 1 and 255 characters.
description
string
An optional description of the project’s purpose or scope.
color
string
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.
visibility
string
default:"private"
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

data
object
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

id
string
required
The unique identifier of the project to retrieve (e.g. proj_01ABC).

Example request

Example response

200

Response fields

data
object
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

id
string
required
The unique identifier of the project to update (e.g. proj_01ABC).

Request body

name
string
A new display name for the project.
description
string
An updated description for the project.
color
string
A new hex color code (e.g. "#10b981").
visibility
string
Updated access level. Accepted values: "private" or "shared".
archived
boolean
Set to true to archive the project, or false to restore it.

Example request

Example response

200

Response fields

data
object
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.
This action is permanent and irreversible. All tasks, automations, and data inside the project are immediately and permanently deleted. Consider archiving the project instead if you may need to access its data in the future.

Path parameters

id
string
required
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.