Projects and Design¶
These endpoints create and manage Silicofeller Quantum Studio projects and read and write
the design stored in each project. A project holds one design_payload (the Schematic
Editor document plus editor state) and the Qiskit Metal code generated from it on every
save. The page also lists the stateless design-generation and physics helpers under
/api/generate and /api/design, and the AI endpoints. Conventions such as
authentication and errors are on API Reference.
Project roles¶
Project endpoints check your role on the project. The roles, from least to most access,
are viewer, editor and owner. You hold owner if you created the project, or
if you are an administrator of the workspace or organization that contains it. Accepted
collaborators, shared users and workspace members get the role they were given. The
tables below give the minimum role.
Projects¶
Method |
Path |
Purpose |
Roles/plan |
|---|---|---|---|
GET |
|
List projects you can see. Optional |
Any signed-in user |
POST |
|
Create a project (status |
Free plan: one owned project at a time |
GET |
|
Project with full |
|
PATCH |
|
Update metadata or |
|
DELETE |
|
Delete the project and its version history (status |
|
GET |
|
The project’s current |
|
POST |
|
Copy the project, its |
|
POST |
|
Save the design, regenerate Qiskit Metal code and record a version. |
|
GET |
|
Project, recent commits, simulations, layouts and QCLang files, for linking from work items. |
Owner or accepted collaborator |
On the Free plan, creating or duplicating a project when you already own one returns
403 with a message that names the existing project.
Create a project¶
Request body (ProjectCreate). Only name is required. name is at most 120
characters; topology, substrate_material and metal_layer at most 64.
{
"name": "SF-8 grid",
"workspace_id": "c0a8...",
"description": "Eight-qubit test chip",
"topology": "grid",
"num_qubits": 8,
"target_frequency_ghz": 5.0,
"substrate_material": "silicon",
"metal_layer": "aluminum",
"design_payload": null
}
Pass enterprise_workspace_id instead of workspace_id to create the project in an
enterprise workspace. Response (also the shape of each list item and of PATCH):
{
"id": "4f6c0d2e-...",
"name": "SF-8 grid",
"description": "Eight-qubit test chip",
"topology": "grid",
"num_qubits": 8,
"target_frequency_ghz": 5.0,
"status": "draft",
"substrate_material": "silicon",
"metal_layer": "aluminum",
"has_design": false,
"created_at": "2026-11-14T09:00:00.000000Z",
"updated_at": "2026-11-14T09:00:00.000000Z",
"owner_id": "...",
"owner_name": "A. Engineer",
"workspace_id": "c0a8...",
"enterprise_workspace_id": null,
"design_payload": null
}
List items also carry user_role and relationship (personal or shared).
Save a design¶
POST /api/projects/{project_id}/save-design stores the body as the project’s
design_payload. The body is the editor’s payload; design is the Schematic Editor
document (DesignDocument: placements, connections, feedlines,
customComponents, componentVariants and the chip size fields
chip_width_mm, chip_height_mm, chip_size_mm). See
Components and Bridge for the document shape. Three keys are options, not design
data, and are removed before storage:
Key |
Meaning |
|---|---|
|
The |
|
|
|
Optional name for the version. |
{
"base_updated_at": "2026-11-14T09:12:44.512031Z",
"create_version": "manual",
"version_name": "Readout resonators placed",
"num_qubits": 8,
"topology": "grid",
"chip_size_mm": 10.0,
"design": {
"placements": [],
"connections": [],
"feedlines": [],
"customComponents": [],
"componentVariants": [],
"chip_width_mm": 10.0,
"chip_height_mm": 10.0
}
}
The save keeps parts of the stored payload the body leaves out: collaboration state
(yjs_state, nodes, edges), any semiconductor design stored beside the
superconducting one, and the project’s componentVariants when the new design omits
them. design is normalised, and Qiskit Metal code is regenerated from it. Response:
{
"saved": true,
"project_id": "4f6c0d2e-...",
"has_design": true,
"qiskit_code_generated": true,
"updated_at": "2026-11-14T09:15:02.104377Z",
"design": {"placements": [], "connections": [], "feedlines": []},
"version_created": true,
"version": {
"id": "9b1e...",
"message": "Readout resonators placed",
"kind": "manual",
"name": "Readout resonators placed",
"created_at": "2026-11-14T09:15:02.110214Z"
}
}
A version is created only when the design changed, and autosaves create at most one
version every 10 minutes, so version_created can be false and version can be
null. Use the returned updated_at as the next base_updated_at. A successful save
broadcasts design_saved; send X-Client-Id to recognise your own event.
Versions (legacy)¶
The /versions endpoints are a compatibility layer over Version History. Each
“version” is a commit on the project’s default branch. New integrations should use
Version History.
Method |
Path |
Purpose |
Roles/plan |
|---|---|---|---|
GET |
|
Commits on the default branch, newest first, at most 500. No snapshots. |
|
POST |
|
Commit the current design to the default branch. Body: |
|
GET |
|
One version with |
|
DELETE |
|
Delete commits listed in |
Project owner only |
A legacy version item:
{
"id": "9b1e...",
"tag": "3f2a91c0",
"message": "Readout resonators placed",
"created_at": "2026-11-14T09:15:02.110214",
"created_by_name": "A. Engineer",
"created_by_id": "...",
"num_qubits": 8,
"topology": "grid",
"drc_passed": false,
"commit_hash": "3f2a91c0...",
"branch_id": "..."
}
DELETE keeps tagged commits and branch heads and bases, and returns
{"status": "ok", "deleted": [...], "skipped": [...]}.
Design generation and physics¶
These endpoints compute from the request body and do not change a project. Those marked “No token” accept anonymous calls.
Method |
Path |
Purpose |
Roles/plan |
|---|---|---|---|
POST |
|
Qiskit Metal Python from Schematic Editor JSON ( |
No token |
POST |
|
Build the design in Qiskit Metal and check the real polygons. |
Signed in |
POST |
|
Frequency plan for |
No token |
POST |
|
Junction inductance per qubit and readout route length per resonator that hit the target frequencies. |
Signed in |
POST |
|
Qubit target frequencies that maximise the Monte Carlo collision-free yield
( |
Signed in |
POST |
|
Monte Carlo share of chips free of frequency collisions for each junction spread in
|
Signed in |
POST |
|
Qubit placement for a topology. |
No token |
POST |
|
Rule checks on a generated |
No token |
POST |
|
Connectivity netlist for a generated topology. |
No token |
POST |
|
EM simulation targets for a generated topology. Parameters only; it does not run a solver. |
No token |
POST |
|
Constraint-driven and prompt-driven design pipeline (graph, frequency plan, placement, routing, DRC, code). |
Free plan: one AI design for the life of the account |
POST |
|
Individual pipeline stages on a design graph. |
Optional token |
GET |
|
Supported topology names. |
Optional token |
GET, POST |
|
QClang language status, examples, parsing and compilation. |
No token |
POST |
|
Parse QClang source and save it to a project ( |
Project owner |
The /api/generate endpoints that the MCP server uses (frequency-plan,
metal-code, geometry-check, size-to-plan, yield-estimate,
choose-targets) are on the MCP token allow-list.
Frequency plan request:
{
"n": 8,
"topology": "grid",
"substrate": "silicon",
"anharmonicity_ghz": -0.2,
"resonator_mode": "quarter_wave"
}
AI endpoints¶
Method |
Path |
Purpose |
Roles/plan |
|---|---|---|---|
GET |
|
Models available to the AI Design Assistant. |
Signed in |
POST |
|
AI Design Assistant chat, streamed as Server-Sent Events. Each event’s |
|
POST |
|
Claude chat endpoint used by the in-app assistant. |
Optional token |
GET, POST |
|
Design Copilot: SQuADDS-backed design from a prompt, and a fab-ready multi-qubit chip script from one coupled design. Not billed to AI credits. |
|
GET, POST |
|
Support and design agent. |
Optional token |
See also
Version History for branches, commits, diffs and restore.