Playground API supports dual session isolation modes: automatic browser cookies for interactive web apps, and explicit X-Playground-Identity headers for headless CI/CD test runners. Seamlessly bridge anonymous session data with authenticated user personas.
Select an isolation mode below to test header precedence and session overlay routing:
How the API determines session routing when multiple identifiers are present:
Explicit header passed by CI/CD runners or headless scripts. Overrides all cookies.
Query parameter for QR code mobile syncing, manual browser debugging, and bookmarkable sandboxes.
Cryptographically signed HttpOnly cookie automatically issued to standard browser clients.
If no identity is detected, the server automatically provisions a fresh sandbox and sets the cookie.
How to configure parallel test runners with isolated sandbox states: