Lifecycle
- Created. A playground row is written referencing the source environment.
- Provisioning. For each simulator in the environment, Verial spins up a sandbox, allocates resources (FHIR stores under the GCP Healthcare API, leased phone numbers, portal URLs, fax numbers, SFTP paths), and branches any linked datasets into the sandbox.
- Active. All sandboxes are up and their credentials are available. Your agent can now drive rollouts against the sandbox endpoints.
- Teardown. Resources are released (FHIR stores deleted, phone numbers released back to the pool, portal users removed). Interaction logs and sandbox events are retained so you can inspect evidence after the fact.
What Provisioning Does
Provisioning is where the environment’s definition becomes running infrastructure:- FHIR sandboxes get a dedicated GCP Healthcare API FHIR store (named with a
fhir-prefix), a SMART on FHIR token endpoint, and an OAuth2 client. - Voice sandboxes lease a phone number from the pool.
- Portal sandboxes get a unique portal URL with auto-generated username and password.
- Fax sandboxes lease an inbound fax number.
- SFTP / Files sandboxes get a scoped storage prefix.
- Datasets linked to each simulator are branched to a child dataset and loaded into that sandbox.
GET /playgrounds/{id}.
Two Ways Playgrounds Arise
| Flow | Caller | When |
|---|---|---|
Explicit POST /playgrounds | Benchmark authors, interactive exploration | You want to poke at an environment without running a full benchmark |
Implicit from POST /benchmark-runs (or POST /v1/benchmark-runs) | The run machinery | Verial provisions a playground for you and passes its endpoints back to the agent |
Teardown and Retention
Tear down a playground explicitly viaPOST /playgrounds/{id}/teardown, or let the benchmark run do it for you when the final task run completes. Teardown releases the live resources (so phone numbers are not held forever and FHIR stores are not billed indefinitely) but preserves:
- Every Interaction recorded during the run.
- Every sandbox event row (FHIR request log, HL7 outbound, portal form submits).
- The task runs, criterion runs, and scored results.
Creating a Playground
Next Steps
Sandboxes
The running simulator instances inside a playground.
Playgrounds API
REST endpoints and full object reference.