Overview
Workspaces group related personal agents. The Developer API can create a workspace, list your personal workspaces, add an agent, and unassign an agent. Team workspaces are not included.agent_id is the same personal-agent UUID used by /v1/agents and /v1/runs. Adding an agent to a workspace does not copy or delete the agent.
Create a workspace
name is required and must be unique among your personal workspaces. Optional agent_ids are validated before the workspace is created — if any agent is missing or not personal, the request fails and no workspace is created.
List workspaces
GET /v1/workspaces/{workspace_id} to re-read one workspace after adding or removing agents.
Add an agent
Remove an agent
/v1/runs.
Workspace files
Upload, list, download, and delete root files for a personal workspace at/v1/workspaces/{workspace_id}/files. Pass the same workspace_id on /v1/runs so the agent can read those files. See Workspace files.
The agent does not need to be assigned to the workspace.
Errors
See also the OpenAPI operations under Workspaces.