Skip to main content
Use this path when you prefer to inspect and run each command yourself.

1. Install and sign in

The GA CLI requires Node.js 22 or newer. Keep the stored control-plane credential out of source code and test subprocesses.

2. Choose a starting state

sample show --raw verifies the packaged artifact hash before printing it.

3. Create a sandbox

The command waits for readiness and prints the sandbox as a session response. Save that response securely. It contains the sessionId, provider URL, and a scoped credential that expires with the sandbox.

4. Call the environment

Use environments.github.apiBaseUrl as the provider base URL. Apply every header in environments.github.credentials.headers to provider requests. Do not substitute the Archal workspace key. The data plane rejects it. The TypeScript client applies these returned headers automatically:

5. Inspect, reset, and destroy

For current JSON environments, reset restores the loaded sample because it became the sandbox baseline. Supabase has a separate canonical reset expectation documented on its environment page. Destroy promptly when the test ends. Expiration is a recovery mechanism, not the normal cleanup path.