Environments & endpoints
The hlix hostnames, the versioned API prefix, what sits outside it, the unauthenticated health check, and how the CLI and SDKs decide which host to call.
Use the API, dashboard, and documentation hosts for the environment and hosting region you selected. Application endpoints use the /v1/api prefix. This page explains authentication, host selection, and the health endpoint.
Prerequisites
Section titled “Prerequisites”- An API key and your Workspace ID from Settings → API keys, for anything authenticated
- The CLI installed, for the resolution examples
The hostnames
Section titled “The hostnames”| Host | What it serves |
|---|---|
server.hlix.ai |
The API, the published OpenAPI contract, and the inbound connector webhooks |
app.hlix.ai |
The dashboard |
docs.hlix.ai |
These docs, including the machine-readable formats |
mcp.hlix.ai |
The hosted MCP server |
The API prefix
Section titled “The API prefix”Every application endpoint is under /v1/api:
https://server.hlix.ai/v1/api/projectshttps://server.hlix.ai/v1/api/taskshttps://server.hlix.ai/v1/api/cycleshttps://server.hlix.ai/v1/api/audit-logv1 is the contract version, not a build number. The full, generated list is in the API reference, and the contract itself is served at https://server.hlix.ai/v1/api/openapi.json — unauthenticated, so a generator can fetch it without credentials.
What sits outside the prefix
Section titled “What sits outside the prefix”These service endpoints use stable, unversioned paths:
| Path | Why it is unversioned |
|---|---|
/health |
A liveness probe should not depend on the contract version |
/webhooks/* |
The URL is registered with an external service — GitHub, Linear, Slack, Telegram — and must stay stable across contract versions |
The OAuth install and callback endpoints for those same connectors are versioned, under /v1/api/integrations/*. Only the raw inbound receivers are not.
Authenticating a request
Section titled “Authenticating a request”Use an API key and Workspace ID:
curl -sS "https://server.hlix.ai/v1/api/projects" \ -H "x-api-key: $HLIX_API_KEY" \ -H "X-Organization-Id: $HLIX_WORKSPACE_ID"x-api-key says who; X-Organization-Id says which Workspace. A browser client sends its sign-in cookie instead of the key, and the sign-in endpoints under /v1/api/auth/* accept only that cookie flow — an API key cannot be used to sign in, only to act.
The health check
Section titled “The health check”curl -sS https://server.hlix.ai/healthExpected result:
{"status": "ok", "service": "hlix-api", "timestamp": "2026-08-28T09:14:22.481Z"}/health confirms that the API service accepts requests. Use hlix projects watch for live project progress, and the dashboard for check results.
How the CLI chooses a host
Section titled “How the CLI chooses a host”HLIX_BASE_URL is optional and defaults to https://server.hlix.ai. When more than one source names a host, the CLI resolves them in a fixed order — first match wins:
- An explicit flag on the command
- An
HLIX_*environment variable - The nearest
hlix.yml, walking up from the working directory. Itshlix:block is the folder binding. A missinghlix.apimeanshttps://server.hlix.ai. A harness or local field the file leaves out comes from~/.hlix/hlix.yml.hlix initcopies a leftover.hlix/config.jsonintohlix.yml. - The stored credential from
hlix auth login - The built-in default
hlix status shows the selected host and its source:
hlix statusapi https://server.hlix.ai (from credential)The environment variables are HLIX_API_KEY, HLIX_BASE_URL, HLIX_WORKSPACE_ID, and HLIX_CONFIG_HOME for the config directory.
How the SDKs choose a host
Section titled “How the SDKs choose a host”Configure the API host for your client:
| Client | Default host |
|---|---|
| CLI | https://server.hlix.ai |
| Python and Go clients | https://server.hlix.ai |
| TypeScript SDK | Set baseUrl when creating the client |
import { createHlix, apiKeyCredential } from '@hlix/sdk'
const hlix = createHlix({ baseUrl: 'https://server.hlix.ai', credential: apiKeyCredential(process.env.HLIX_API_KEY!), organizationId: process.env.HLIX_WORKSPACE_ID!,})If a request does not reach where you expect
Section titled “If a request does not reach where you expect”404on an API path. Use the/v1/apiprefix for application endpoints, for exampleserver.hlix.ai/v1/api/projects.{"error": "No active organization"}with400. The request carried noX-Organization-Idand the credential has no Workspace to fall back on. Send the header.{"error": "Not a member of this organization"}with403. The Workspace ID is valid but belongs to an account you are not a member of. Copy it from the API keys page rather than from another environment’s notes.- The CLI is talking to the wrong host. Run
hlix statusand read the parenthetical — it names the winning source. A stalehlix.ymlin a parent directory beats your stored credential. - A TypeScript SDK call fails before it leaves the process.
baseUrlhas no default in that client. Pass it explicitly. - A webhook you registered never arrives. The receiver URL is unversioned —
server.hlix.ai/webhooks/…, with no/v1/api. Re-check the URL you gave the external service against its connector page.