Workspaces and Collaboration

These endpoints manage where Silicofeller Quantum Studio projects live and who can work on them: personal and organization workspaces, enterprise workspaces, organizations and teams, project collaborators and share links, work items, notifications, and the live channels (Server-Sent Events and the collaboration WebSocket). Conventions are on API Reference.

Roles used on this page

  • Account roles (User.role): admin, org_manager, engineer, support_admin. “Org admin” below means admin or org_manager; “org manager” means org_manager only.

  • Workspace roles: viewer, editor, admin.

  • Project roles: viewer, editor, owner (see Projects and Design).

  • Paid plan: Basic or Pro with an active subscription. Endpoints marked “paid” return 402 with "error_code": "collaboration_requires_paid_plan" otherwise.

Workspaces

Method

Path

Purpose

Roles/plan

GET

/api/workspaces/

Your personal workspace (created on first call if missing) and the shared workspaces you belong to, each with your role and the effective plan.

Signed in

POST

/api/workspaces/

Create an organization workspace. Body: {"name": "..."}.

Org admin in an organization

GET

/api/workspaces/{workspace_id}/members

Workspace members. Callers outside the workspace get 404.

Owner, member or org admin of the organization

POST

/api/workspaces/{workspace_id}/members

Add a member: {"user_id": "...", "role": "viewer"} (viewer or editor).

Personal: owner on Pro. Organization: org admin of the same organization

PUT

/api/workspaces/{workspace_id}/members/{user_id}/role

Change a member’s role (viewer, editor or admin).

Org admin

DELETE

/api/workspaces/{workspace_id}/members/{user_id}

Remove a member.

Owner or org admin

DELETE

/api/workspaces/{workspace_id}

Delete a workspace. For a personal workspace this only removes its members.

Owner or org admin of the organization

GET, POST

/api/workspaces/{workspace_id}/announcements

List or post announcements (title, content, priority: general, urgent, update or maintenance).

Member

Member limits: a personal workspace holds the owner plus one collaborator; an organization workspace holds at most 20 members. Only users on the Basic or Pro plan can be added.

The effective plan returned by GET /api/workspaces/ is what the web app uses to gate Pro features. In a personal workspace it is your own plan, raised by any redeemed plan key; in an organization or enterprise workspace it is the seat plan your organization assigned you.

Enterprise workspaces and sharing

Method

Path

Purpose

Roles/plan

GET

/api/enterprise/workspaces

Enterprise workspaces of your organization.

Org manager

POST

/api/enterprise/workspaces/{workspace_id}/members

Add an organization user: {"user_id": "...", "role": "viewer"}.

Org manager

DELETE

/api/enterprise/workspaces/{workspace_id}/members/{user_id}

Remove a member.

Org manager

GET

/api/workspace-sharing/users/{target_user_id}/shares

Projects you own that are shared with a user, with access level.

Signed in

PUT

/api/workspace-sharing/users/{target_user_id}/shares

Replace the shares of your projects with a user: {"shares": [{"project_id": "...", "access_level": "viewer"}]} (viewer or editor).

Signed in

POST

/api/workspace-sharing/invite

Invite a registered user by email and share projects.

Signed in; invitee on Basic or Pro

Organizations and teams

Method

Path

Purpose

Roles/plan

POST

/api/org/send-otp

Send a one-time code to the email that will own a new organization.

No token; rate limited

POST

/api/org/create

Create an organization and its admin account: admin_name, org_name, email, password, otp. One organization per email domain.

No token

GET

/api/org/team, /api/org/members

Organization, members, seats and pending invites.

Org manager

POST

/api/org/invite, /api/org/members/add

Invite a member with a seat plan and workspace role.

Org manager

PUT

/api/org/members/{member_id}/role, /plan, /access

Change a member’s workspace role, seat plan, or editor/viewer access across the organization’s workspaces.

Org manager

DELETE

/api/org/members/{member_id}, /api/org/invite/{invite_id}

Remove a member or revoke an invite.

Org manager

POST

/api/org/buy_seats

Buy seats: seats_to_add (at least 1), plan, cycle (default monthly).

Org manager

GET, POST

/api/org/members/{user_id}/upgrade/preview, /upgrade, /upgrade/verify, /cancel

Preview, pay for, confirm or cancel a member’s seat upgrade.

Org admin

GET, POST

/api/org/billing, /api/org/billing/allocate, /api/org/billing/deallocate

Organization AI credit pool: summary, allocate credits to a member, reclaim unspent credits. Also served under /api/organization/billing.

Org manager or org admin

POST

/api/team/invite

Invite a registered Basic or Pro user by email with a plan. Org managers consume a seat license.

Signed in

GET

/api/team/members

Members, pending invites and license availability.

Signed in

PUT, DELETE

/api/team/members/{member_id}/role, /api/team/members/{member_id}

Change a member’s role or remove them.

Owner or org manager

GET, POST, DELETE

/api/team/invites/me, /api/team/invites/{invite_id}/decline, /api/team/accept-invite, /api/team/invite/{invite_id}

Your pending team invites; decline, accept ({"token": "..."}) or revoke.

Signed in

Work items

Work items are the tasks on the Work board. A task key such as PRJ-12 identifies each item.

Method

Path

Purpose

Roles/plan

GET, POST

/api/projects/{project_id}/work-items

List a project’s items (by column rank) or create one (status 201).

Project viewer to list

GET

/api/work-items/global

Items for the active workspace, or across your projects.

Signed in

POST

/api/work-items/enterprise

Create a workspace-level item with no project.

Workspace member

GET

/api/work-items/mine (also /api/me/work-items)

Active items assigned to you, by priority then due date.

Signed in

GET, PATCH, DELETE

/api/work-items/{task_key}

Read, update or delete an item. Delete needs owner or admin.

Access to the parent project or workspace

POST

/api/work-items/{task_key}/approve-status, /decline-status

Approve or decline a requested status change.

Owner or admin

GET, POST

/api/work-items/{task_key}/comments

List or add comments ({"content": "..."}).

Access to the item

GET

/api/work-items/{task_key}/activity, /api/me/notifications

Activity log of an item; your unread work notifications.

Signed in

Create a work item:

{
  "title": "Re-route bus Q3-Q4 around the feedline",
  "description": "",
  "status": "todo",
  "priority": "high",
  "type": "design_issue",
  "assignee_ids": ["..."],
  "due_date": "2026-11-20T00:00:00",
  "linked_resource_type": "schematic",
  "linked_resource_id": "9b1e..."
}

status is backlog, todo, in_progress, review or done; priority is low, medium, high or critical; type is task, bug, design_issue, simulation_issue or review. Use GET /api/projects/{project_id}/linkable-entities to find resources to link.

Server-Sent Events

The global event stream tells dashboards when to refresh.

  1. POST /api/events/ticket with your bearer token. The response is {"ticket": "<uuid>"}. A ticket is single-use and expires after 30 seconds.

  2. Open GET /api/events/stream?ticket=<uuid>. An invalid or used ticket returns 403.

  3. Handle update events, whose data is {"type": "...", "data": {...}} (for example PROJECTS_UPDATED or WORKSPACES_UPDATED), and ignore ping events, sent every 15 seconds or so to keep the connection open.

The stream carries events for your user and for every workspace you belong to.

Collaboration WebSocket

The Schematic Editor’s live session uses wss://silicofeller.com/api/ws/collab/{project_id}.

  1. POST /api/collab/ticket?project_id=<id> with your bearer token. It returns {"ticket": "<uuid>"} (single-use, 30 seconds) and 403 if you have no access to the project.

  2. Connect, passing the ticket as the WebSocket subprotocol (Sec-WebSocket-Protocol) or as ?ticket=. A share_token query parameter admits share-link viewers.

  3. The server sends {"type": "init", ...} with the document state, then relays peer messages.

Client messages are yjs_update (data base64; editors only), cursor_move (x, y), selection_changed (ids) and ping. Server messages include init, yjs_update, ack, pong, user_joined, user_left, presence_snapshot, cursor_update, selection_changed, role_changed, invalid_operation, resync_required, session_terminated, the work item events (task_created, task_updated, task_deleted, task_comment_added) and design_saved (see API Reference).

Close code

Reason

4001

invalid_token: no valid ticket, token or share token.

4003

collaboration_requires_paid_plan: the project owner is not on a paid plan.

4004

access_denied, project_mismatch (ticket issued for another project) or collaboration_disabled.

4006

room_full: the project already has 50 sessions (collab_max_sessions_per_project).

See also

Auth and Account for sign-in, and Billing and Plans for seat and plan purchases.