Skip to main content
A sandbox is one running simulator instance. Where a Simulator is a definition (“a FHIR EHR”, “a payer portal”), a sandbox is the live, provisioned version of it: a real FHIR store you can POST Bundles to, a real phone number you can call, a real portal URL you can log into. Sandboxes live inside Playgrounds (one per simulator in the environment) and are the source of truth the verification engine reads after a rollout.

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 of credentials on GET /sandboxes/{id} depends on the simulator type. All credentials are scoped to the specific sandbox. Nothing leaks across sandboxes or playgrounds.

Events and Interactions

Every request to a sandbox gets recorded as an event. You can list them:
Events back the evidence shown in criterion runs. Common event types:
  • FHIR: HTTP method, path, body, status code, response body.
  • HL7: outbound hl7_outbound events 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.
See Interactions for how these feed the verification engine.

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

Both shapes share the same event and dataset model.

Teardown

Tear down a sandbox with POST /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.