Playground to Sandbox
A playground has one sandbox per simulator linked to its environment. Each sandbox carries its own set of credentials, own isolated dataset branch, and own event log.Credentials by Simulator Type
The shape ofcredentials on GET /sandboxes/{id} depends on the simulator type.
| Simulator | Credentials shape |
|---|---|
| FHIR | fhir_base_url (FHIR R4 endpoint), token_url (SMART on FHIR token endpoint), client_id, client_secret |
| Voice | phone_number (E.164 number to call) |
| HL7 | inbox_url (GET inbound messages), outbound_url (POST outbound messages) |
| Payer / Web Portal | portal_url, auto-generated username and password, api_url (REST base for the backing payer endpoints) |
| Fax | Inbound fax number and upload endpoint |
| Files / SFTP | SFTP paths scoped to this sandbox under object storage |
| X12 | Transaction submission endpoint and response retrieval URL |
| CDS Hooks | Hook registration URL |
| Message | SMS/text endpoint URL |
Events and Interactions
Every request to a sandbox gets recorded as an event. You can list them:- FHIR: HTTP method, path, body, status code, response body.
- HL7: outbound
hl7_outboundevents with the full HL7v2 message. - Portal: form submits, patient searches, auth submissions.
- Voice: recorded turns with speaker and transcript.
- SFTP: file upload and download events.
Dataset Branching and Checkpoints
When a dataset is linked to a sandbox, Verial creates a child dataset (parentId set) with copied config and copied GCS files. The sandbox operates on the child, so changes the agent makes (adding a Patient, uploading a file) stay isolated. A baseline checkpoint is written at branch time, storing a snapshot of the child’s config.
Standalone vs Playground Sandboxes
| Case | How it arises |
|---|---|
| Playground sandbox | Created automatically when a playground is provisioned. playground_id is set. |
| Standalone sandbox | Created directly via POST /sandboxes for interactive exploration or building dataset fixtures. No playground_id. |
Teardown
Tear down a sandbox withPOST /sandboxes/{id}/teardown, or let the owning playground tear it down when the benchmark run completes. Teardown releases the live resources (FHIR store, phone number, portal credentials) while preserving the event log and any branched datasets for later inspection.
Creating a Sandbox
Next Steps
Interactions
The evidence captured on each sandbox during a rollout.
Sandboxes API
REST endpoints and full object reference.