Overview
Workspaces are containers that organize agents, tasks, notes, and codebases. Each workspace represents a project or collection of related work.Workspace Status
| Status | Description |
|---|---|
active | Workspace is currently active |
archived | Workspace has been archived |
List Workspaces
Endpoint
List all workspaces
Query Parameters
Filter by status:
active or archivedResponse
Array of workspace objects
Workspace Object
Unique workspace identifier
Workspace title
Path to associated repository
Git branch name
Workspace status:
active or archivedAdditional metadata as key-value pairs
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update
Response Example
Create Workspace
Endpoint
Create a new workspace
Request Body
Workspace title
Path to associated repository
Git branch name
Additional metadata as key-value pairs
Response
The created workspace object
Response Example
Get Workspace by ID
Endpoint
Get a single workspace with its codebases
Path Parameters
The workspace ID
Response
The workspace object
Array of codebase objects associated with this workspace
Response Example
Status Codes
| Status Code | Description |
|---|---|
200 | Success |
404 | Workspace not found |
Update Workspace
Endpoint
Update workspace properties
Path Parameters
The workspace ID
Request Body
All fields are optional. Only provided fields will be updated.New workspace title
New repository path
New branch name
New status:
active or archivedMetadata to merge with existing metadata
Response
The updated workspace object
Response Example
Delete Workspace
Endpoint
Delete a workspace
Path Parameters
The workspace ID to delete
Response
Always
true when successfulResponse Example
Archive Workspace
Endpoint
Archive or unarchive a workspace
Path Parameters
The workspace ID
Request Body
Set to
true to archive, false to unarchiveResponse
The updated workspace with new status
Response Example
Codebase Source Types
| Source Type | Description |
|---|---|
local | Local filesystem codebase |
github | GitHub repository codebase |