Skip to Content
Docs

POST /api/workspace_moves/plan

POST
/api/workspace_moves/plan

Plan a move to a team (the person who owns the items, Editor or above there) or out of one to the caller's Personal (an Admin): what comes along, what can't, who gains or loses access, and the fingerprint to apply it with. Changes nothing.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
fingerprint?string

The plan's fingerprint (apply only)

items*

[{type: agent|source|tool|prompt|folder, id}]

to*

{workspace: "personal" | team id, folder_id?}

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/workspace_moves/plan' \  -H 'Content-Type: application/json' \  -d '{  "items": {},  "to": {}}'
Example Response200
Empty