Run a simulator scenario
Runs a simulator scenario (for example `chest_pain_admit`, `lwbs`) through the chosen transport.
Runs a simulator scenario (for example chest_pain_admit, lwbs) through the chosen transport.
OAuth 2.0 client credentials. private_key_jwt (SMART Backend Services asymmetric) is recommended; client secrets need an IP allowlist or mTLS outside the sandbox.
In: header
Scope: sandbox:write
Path Parameters
^[a-z0-9_]{1,60}$Header Parameters
Overrides the app's pinned dated version for this request.
1–255 characters of [A-Za-z0-9._:-] (a UUID v4 is recommended); never PHI. Stored 24 hours per app.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/sandbox/scenarios/string/run" \ -H "Content-Type: application/json" \ -d '{ "transport": "direct" }'{ "object": "scenario_run", "runId": "string"}Cette page vous a-t-elle été utile?
Reset the sandbox POST
Resets the org's sandbox sites: deletes the app's ledger rows and webhook history for those sites.
Set fault injection POST
Makes this app's own requests fail or slow down (`503` with `Retry-After`, `429`, latency, token endpoint down) for ≤ 24 h. Other apps are unaffected. At most 5 faults.