Sharing
You can share a read-only view of any scenario with anyone — no account required for the viewer.
Anyone with the link can view your scenario immediately. They do not need to create a Pocketstats account or sign in.
Before you begin
You need an existing scenario to share. If you haven't created one yet, see Scenarios.
Enabling sharing
- Open the scenario in the canvas editor.
- Click Share in the header toolbar. The Share dialog opens.
- Click Enable sharing. A unique share link is generated and copied to your clipboard.
- Send the link to anyone you want to give read-only access.
Disabling sharing
Revoking the link immediately stops access for everyone who has it. This cannot be undone — revoking and re-enabling generates a new link, and the old one never works again.
- Click Share in the header toolbar.
- Click Revoke link.
The previous link immediately stops working. You can generate a new link at any time by clicking Enable sharing again.
Viewer experience
When someone opens a share link, they see a read-only version of the canvas. Viewers can:
- Pan and zoom the canvas
- Click any node or connection to inspect its configuration in the side panel
- View node type, label, distribution parameters, and resource assignments
- View connection routing mode and probability weights
Viewers cannot:
- Edit nodes, connections, or any configuration
- Run simulations
- Export or duplicate the scenario
- See other scenarios in your account
The toolbar and editing controls are hidden. The viewer sees only the canvas and a read-only configuration panel.
Share link format
Share links look like:
https://pocketstats.io/shared/<uuid>/
Each link is a unique UUID. Revoking and re-enabling sharing generates a new UUID, so old links stop working.
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) |