thyme api-url
Print the resolved Thyme Cloud API URL and its source. Use it to confirm which endpoint the CLI will talk to before you login or upload.
Usage
thyme api-urlOutput
The command prints the resolved URL plus its source, one of:
| Source | Meaning |
|---|---|
env | Taken from the THYME_API_URL environment variable. |
config | Taken from apiUrl in ~/.thyme/config.json. |
default | Falling back to the CLI's built-in default. |
Precedence
The URL is resolved in this order — the first source that's set wins:
THYME_API_URLenvironment variableapiUrlin~/.thyme/config.json- the built-in default
Override the stored value during login with --api-url <url> or --rewrite-api-url. See Configuration & Environment.
Examples
thyme api-urlBehavior notes
api-urlloads root.envbefore reporting resolution. Management commands do not load that file themselves, so exportTHYME_API_URLwhen you want identical endpoint selection across commands.- The command does not change saved configuration.
Next steps
thyme login— set or override the API URL.- Configuration & Environment — the full precedence model.