Sharing
You can share a read-only view of any scenario with anyone — no account required for the viewer.
Enabling sharing
- Open the scenario in the canvas editor.
- Click Share in the header toolbar.
- A unique share link is generated and copied to your clipboard.
Anyone with the link can view the canvas and the node/connection configuration, but cannot edit or run simulations.
Disabling sharing
- Click Share in the header.
- Click Revoke link.
The previous link immediately stops working. You can generate a new link at any time.
Share link format
Share links look like:
https://microstat.app/shared/<uuid>/
Each link is a unique UUID. Revoking and re-enabling sharing generates a new UUID.
API
You can also manage sharing via the API:
| Method | Endpoint | Action |
|---|---|---|
POST | /api/scenarios/<id>/share | Enable sharing (returns share_token and share_url) |
DELETE | /api/scenarios/<id>/share | Disable sharing |
GET | /api/shared/<token> | Read scenario data (public, no auth required) |