hiloop commands start from one API URL. A context gives that URL a name, stores credentials
for that environment, and lets the CLI discover sibling services such as telemetry ingest.
The built-in context
The built-in context isprod, which points at the hosted hiloop API (api.hiloop.ai). While the
hosted edge is being finalized it is not live yet, so commands that fall back to it fail with
no API URL is configured — set up a context for your deployment first.
Add an environment
Create a context for any deployment with an API edge, select it, and sign in:--context instead of switching the default:
Remove a context
Delete a context you no longer need:prod context. The built-in
prod context cannot be removed.
How service discovery works
The CLI fetches the active API’s public discovery document:Override service URLs
Most deployments should not need service URL overrides. If your deployment cannot expose discovery yet, store explicit URLs on the context:- Command flag or environment variable.
- Context override.
- API service discovery.
- Built-in default, when the command has one.