Skip to content

Configure environments

Commands that contact a control plane — asset, jobs, logs, result, recordings, models, outputs, view, and cancel — use the same precedence order to find it. simulo run uses that target when you are signed in or explicitly select a cloud environment; otherwise it writes a local package and does not run it.

  1. SIMULO_API_URL — an explicit URL override. Always wins.
  2. SIMULO_ENV — a named environment preset (staging or prod).
  3. Saved credentials — the api_base_url recorded in ~/.simulo/credentials the last time you ran simulo login.
  4. The Simulo cloud — the default target for a cloud request when nothing else is set.
Terminal window
simulo login # signs in against the Simulo cloud
simulo run app.py # cloud-bound via the saved credentials

No configuration needed. Once logged in, the saved credentials record the cloud’s URL (rule 3 above), so every subsequent command targets the same place with no environment variable set.

Terminal window
SIMULO_API_TOKEN=<bearer-token> simulo jobs

For observe commands, SIMULO_API_TOKEN is a manual bearer-token override for when you’re not using simulo login at all — e.g. scripting against a control plane with a token issued out of band. Logged-in credentials take precedence when both are present.

Terminal window
simulo whoami

Prints the email and active organization from your saved credentials — i.e. who you signed in as, the last time you ran simulo login. It does not re-resolve SIMULO_API_URL/SIMULO_ENV: setting those changes where the next command goes, not what simulo whoami prints. When you’re not logged in at all, it errors instead of printing an identity.