Projects
All endpoints require Bearer Token (or API Key) authentication.
Create Project
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Project name |
description | string | No | Description |
team_id | string | No | Associated team ID |
visibility | string | No | private (default) or shared |
Response 201 Created
List Projects
Returns a list of projects visible to the current user.
Get Project Details
Get Project Default Workspace
Required permission: data.projects.read
Response 200 OK
active_session is returned only when the workspace currently has a live session. status is one of active, idle, or unavailable.
List Project Workspace Directory
Required permissions: data.projects.read + data.runs.read
path is optional and defaults to the root directory /.
Response 200 OK
Directories are sorted before files. When no manifest has been produced yet, or the manifest object is missing, the endpoint still returns 200 with an empty items array.
Read Project Workspace File
Required permissions: data.projects.read + data.runs.read
On success the endpoint returns the raw file contents, and Content-Type is inferred from the file extension or content.
Common Errors
| HTTP Status | Code | Description |
|---|---|---|
400 | workspace_files.invalid_path | path is invalid or escapes the workspace root |
404 | projects.not_found | Project does not exist or is outside the current org |
404 | workspace_files.not_found | File does not exist, target is a directory, or manifest/blob is missing |