Skip to main content

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

This endpoint is not paginated. Use GET /v1/workspaces/{workspace_id} to re-read one workspace after adding or removing agents.

Add an agent

The assignment is idempotent. The response is the updated workspace.

Remove an agent

This only removes the workspace membership. The agent remains available for /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.