Authorization header as Bearer <your_api_key>.
List workspaces
GET https://api.chevre.io/v1/workspaces
Returns a paginated list of all workspaces the authenticated API key has access to. Results are ordered by creation date, newest first.
Query parameters
The page number to retrieve. Must be a positive integer.
The number of workspaces to return per page. Minimum is
1, maximum is 100.Example request
Example response
200
Response fields
An array of workspace objects.
Pagination metadata for the response.
Create a workspace
POST https://api.chevre.io/v1/workspaces
Creates a new workspace. The authenticated user becomes the workspace owner automatically.
Request body
The display name for the new workspace. Must be between 1 and 255 characters.
A URL-safe identifier for the workspace. Must be lowercase, contain only letters, numbers, and hyphens, and be unique across all workspaces. If omitted, Chevre auto-generates a slug from the
name.The IANA timezone identifier for the workspace (e.g.
"America/New_York"). Used as the default timezone for scheduled automations and reports.Example request
Example response
201
Response fields
The newly created workspace object.
List projects in a workspace
GET https://api.chevre.io/v1/workspaces/{id}/projects
Returns a paginated list of all projects belonging to the specified workspace. This is a convenient shorthand for browsing a workspace’s projects without needing to call the Projects endpoints directly. For full project creation and management, see the Projects reference.
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 belonging to the workspace.
Pagination metadata for the response.
Get a workspace
GET https://api.chevre.io/v1/workspaces/{id}
Retrieves a single workspace by its ID. You must have access to the workspace to retrieve it.
Path parameters
The unique identifier of the workspace to retrieve (e.g.
ws_01HXYZ).Example request
Example response
200
Response fields
The requested workspace object.
Update a workspace
PATCH https://api.chevre.io/v1/workspaces/{id}
Updates one or more fields on an existing workspace. Send only the fields you want to change — all other fields remain unchanged.
Path parameters
The unique identifier of the workspace to update (e.g.
ws_01HXYZ).Request body
The new display name for the workspace.
A new URL-safe identifier for the workspace. Must be unique across all workspaces. Changing a slug immediately invalidates any previously shared workspace URLs.
A new IANA timezone identifier (e.g.
"Europe/London"). Updating the timezone affects all future scheduled automations but does not reschedule existing ones.Example request
Example response
200
Response fields
The updated workspace object, reflecting all applied changes.
Delete a workspace
DELETE https://api.chevre.io/v1/workspaces/{id}
Deletes a workspace and all of its contents, including projects, automations, members, and settings.
This endpoint requires your API key to have the admin scope on the workspace. Requests authenticated with keys that have read-only or editor scope will receive a 403 Forbidden response.
Path parameters
The unique identifier of the workspace to delete (e.g.
ws_01HXYZ).Example request
Example response
204
A successful deletion returns HTTP
204 No Content with an empty response body.