Skip to content

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.

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

Every application endpoint is under /v1/api:

https://server.hlix.ai/v1/api/projects
https://server.hlix.ai/v1/api/tasks
https://server.hlix.ai/v1/api/cycles
https://server.hlix.ai/v1/api/audit-log

v1 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.

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.

Use an API key and Workspace ID:

Terminal window
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.

Terminal window
curl -sS https://server.hlix.ai/health

Expected 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.

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:

  1. An explicit flag on the command
  2. An HLIX_* environment variable
  3. The nearest hlix.yml, walking up from the working directory. Its hlix: block is the folder binding. A missing hlix.api means https://server.hlix.ai. A harness or local field the file leaves out comes from ~/.hlix/hlix.yml. hlix init copies a leftover .hlix/config.json into hlix.yml.
  4. The stored credential from hlix auth login
  5. The built-in default

hlix status shows the selected host and its source:

Terminal window
hlix status
api 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.

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”
  • 404 on an API path. Use the /v1/api prefix for application endpoints, for example server.hlix.ai/v1/api/projects.
  • {"error": "No active organization"} with 400. The request carried no X-Organization-Id and the credential has no Workspace to fall back on. Send the header.
  • {"error": "Not a member of this organization"} with 403. 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 status and read the parenthetical — it names the winning source. A stale hlix.yml in a parent directory beats your stored credential.
  • A TypeScript SDK call fails before it leaves the process. baseUrl has 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.