Workspaces
Select a workspace
Make this workspace the default for this credential from now on (a personal key or OAuth token in several workspaces). The Tracee-Workspace header still overrides it per request. A workspace key acts on its own workspace only.
POST
https://traceeai.com/api/v1/workspaces/{workspace_id}/selectCLI:tracee workspaces select·MCP:workspacesaction select
Authorizations
AuthorizationstringheaderrequiredBearer <key>: a personal key (tracee loginor Settings → Personal keys), a workspace key, or an MCP client's OAuth token. See Authentication.
Path parameters
workspace_idstringrequiredFrom GET /api/v1/workspaces
uuid
Response
- 200Done.
The action's result, exactly as the MCP tool returns it to agents. A
nextfield, when present, names the endpoint that follows up.