Simulations

Silicofeller Quantum Studio runs electromagnetic simulations of a project’s saved design as background jobs. You start a run, poll its status, then read parsed results, logs, metrics and output files, and render 3D field and mesh views. These endpoints back the Simulations page. Conventions are on API Reference.

Access

Starting a run requires the Pro or Enterprise plan in the project’s workspace; other plans receive 403 “Simulations are exclusive to the Pro plan.” Every endpoint that takes a simulation id only returns runs on projects you own; any other id returns 404 with “Simulation not found or access unauthorized.”

Endpoints

Method

Path

Purpose

Roles/plan

POST

/api/simulations/run

Queue a run on a project’s saved design (status 201).

Project owner; Pro or Enterprise

GET

/api/simulations

Paged history of runs on projects you own, with filters.

Signed in

GET

/api/simulations/{simulation_id}

Run details, including results when complete.

Project owner

GET

/api/simulations/{simulation_id}/status

Live status: phase, progress, runtime, warnings, errors, CPU and GPU use.

Project owner

GET

/api/simulations/{simulation_id}/results

Parsed results (capacitance matrix, eigenfrequencies and so on). 400 unless the run is completed.

Project owner

GET

/api/simulations/{sim_id}/results/full

Full parsed Palace outputs for the run.

Project owner

POST

/api/simulations/{simulation_id}/cancel

Cancel a queued or running job.

Project owner

POST

/api/simulations/{simulation_id}/retry

Start a new run with the same configuration. Optional coarse_mesh and rollback_policy overrides.

Project owner

DELETE

/api/simulations/{simulation_id}

Delete a run. hard_delete and cleanup_workspace query flags, both default true (status 204).

Project owner

GET

/api/simulations/{simulation_id}/artifacts

Output files of the run.

Project owner

GET

/api/simulations/{simulation_id}/artifacts/{artifact_id}

Download one output file.

Project owner

GET

/api/simulations/{simulation_id}/download

Download all retained output files as one archive.

Project owner

GET

/api/simulations/{simulation_id}/logs

Log entries. Optional log_type filter (for example orchestrator, runner, gmsh).

Project owner

GET

/api/simulations/{simulation_id}/metrics

Timing and performance metrics as {"metrics": {"name": value}}.

Project owner

GET

/api/simulations/{simulation_id}/workspace

Run workspace summary: workspace_id, files_count, total_size_bytes, rollback_policy.

Project owner

run, the list, details, status, results and cancel are on the MCP token allow-list.

Start a run

POST /api/simulations/run simulates the design currently saved in the project, so save first. Request (RunSimulationRequest):

{
  "project_id": "4f6c0d2e-...",
  "solver_type": "eigenmode",
  "user_settings": {},
  "terminal_names": null,
  "qubits": null,
  "port_names": null,
  "mesh_settings": null,
  "coarse_mesh": false,
  "rollback_policy": "KEEP_ALL"
}

Field

Meaning

solver_type

eigenmode (default), electrostatic, magnetostatic or driven.

user_settings

Solver settings. Stored as the run’s config.

terminal_names

Capacitance or inductance terminal names.

qubits

Qubit parameters for energy derivations.

port_names

Port names for junction energy-participation analysis.

mesh_settings

Custom Gmsh meshing parameters.

coarse_mesh

true for a fast coarse mesh.

rollback_policy

Run workspace cleanup: KEEP_ALL (default), DELETE_ALL or DELETE_ON_SUCCESS.

Response (SimulationResponse):

{
  "id": "a93c...",
  "project_id": "4f6c0d2e-...",
  "solver": "eigenmode",
  "status": "queued",
  "config": {},
  "results": null,
  "error_message": null,
  "runtime_seconds": null,
  "memory_gb": null,
  "started_at": null,
  "finished_at": null,
  "created_at": "2026-11-14T10:31:07.211004"
}

status is queued, running, completed or failed. A cancelled run is recorded as failed with error_message “Simulation job was cancelled.” Runs left queued or running when the server restarts are marked failed with an “Interrupted” message; start them again.

The run is refused with 400 when the saved design has no qubits, resonators or placements, and with 503 when server memory use is above 90 percent (system_memory_threshold_percent).

Poll status

GET /api/simulations/{simulation_id}/status (SimulationStatusResponse):

{
  "simulation_id": "a93c...",
  "status": "running",
  "current_phase": "meshing",
  "progress": 35.0,
  "runtime": 48.2,
  "warnings": [],
  "errors": [],
  "cpu_usage": 87.5,
  "gpu_usage": null
}

cpu_usage and gpu_usage are percentages from 0 to 100 when available.

List runs

GET /api/simulations query parameters:

Parameter

Default

Meaning

page

1

Page number, from 1.

page_size

20

Page size, 1 to 100.

limit, offset

none

Override the page-based window.

project_id, status, solver

none

Filters.

sort_by, sort_dir

created_at, desc

Sort field and direction (asc or desc).

{
  "total_count": 37,
  "page": 1,
  "page_size": 20,
  "total_pages": 2,
  "items": []
}

Artifacts

GET /api/simulations/{simulation_id}/artifacts returns a list of ArtifactResponse:

[
  {
    "id": "f01b...",
    "file_name": "eig.csv",
    "size": 2048,
    "checksum": "...",
    "artifact_type": "result",
    "created_at": "2026-11-14T10:40:55.120331"
  }
]

Visualization

These endpoints render a completed run. All require ownership of the run’s project.

Method

Path

Purpose

GET

/api/simulations/{sim_id}/visualization

3D field data for an eigenmode (mode, 1-based, default 1) and optional field (for example E, B, U_e, U_m).

GET

/api/simulations/{sim_id}/visualization/manifest

What the run’s output files contain.

GET

/api/simulations/{sim_id}/visualization/arrays

Field arrays in a VTU file (optional vtu_path).

GET

/api/simulations/{sim_id}/visualization/render

Rendered field image. Query: field, colormap, log_scale, opacity (0 to 1), show_edges, camera, mode, width and height (256 to 4096, default 1200 by 900), transparent, show_boundaries, high_fidelity.

GET

/api/simulations/{sim_id}/visualization/mesh-render

Rendered mesh image. Query: display_mode, opacity (default 0.9), camera, width, height, show_boundaries.

GET

/api/simulations/{sim_id}/visualization/slice

Field on a plane. Query: axis (default z), position (0 to 1 along the axis, default 0.5), field, colormap, log_scale, width, height.

GET

/api/simulations/{sim_id}/visualization/preview

Preview image.

GET

/api/simulations/{sim_id}/visualization/presets

Camera presets.

GET

/api/simulations/{sim_id}/visualization/images/{filename}

A rendered image file.

GET

/api/simulations/{sim_id}/mesh

The run’s 3D mesh.

GET

/api/simulations/{sim_id}/render

Legacy 2D or 3D field overlay (variant, mode).

GET

/api/simulations/{job_id}/mesh-wireframe

Tetrahedral mesh wireframe and boundary surfaces from the run’s mesh.msh.

Queue monitoring

The job queue endpoints report on the background workers that execute runs.

Method

Path

Purpose

Roles/plan

GET

/api/queue/health

Heartbeat and resource use of each active worker.

Signed in

GET

/api/queue/metrics

Queue depth, success rate and runtimes.

Signed in

GET

/api/queue/jobs

Jobs in the queue; optional state filter.

Signed in

POST

/api/queue/cancel/{simulation_id}

Cancel a queued or running job. 400 if the job has already finished.

Signed in

POST

/api/queue/purge

Remove completed, failed and cancelled jobs from queue memory.

Signed in

Note

To cancel your own run, use POST /api/simulations/{simulation_id}/cancel. It checks project ownership and also updates the run’s record, which the queue endpoint does not.

See also

Version History: each commit’s detail lists the simulations run while it was the latest state.