Tenancy & isolation
Understand Workspace data isolation, request authorization and the narrower access granted to portal clients.
A Workspace is your organization’s boundary in hlix. Its project data is stored separately from other Workspaces. Each request is checked against your membership and the project access you hold before you can read or change that data.
Prerequisites
Section titled “Prerequisites”- A hlix account and membership of at least one Workspace
- For the checks on this page: an API key and your Workspace ID from Settings → API keys
One tenant model, one word
Section titled “One tenant model, one word”A Workspace is the tenant: your agency, your company, the account that owns projects, secrets, agents and billing. Project data and access are scoped to this boundary.
Each project’s records belong to its Workspace. A Cloud Machine is the isolated container for that project’s code and tools.
Where isolation is enforced
Section titled “Where isolation is enforced”- Separate Workspace storage. Each Workspace has dedicated storage for its project data.
- Access checks. hlix checks Workspace membership and project permissions for each request. Portal clients have a narrower set of routes and explicitly shared projects.
Account identities and platform-level records support access across your Workspaces; they do not grant access to another Workspace’s projects.
Choosing a Workspace on a request
Section titled “Choosing a Workspace on a request”For agency requests to Workspace-scoped endpoints, send X-Organization-Id explicitly. If you omit it, hlix can fall back to the Workspace your login last made active. Public, discovery and client-portal operations have their own requirements; check the API reference.
curl -sS "$HLIX_BASE_URL/v1/api/projects" \ -H "x-api-key: $HLIX_API_KEY" \ -H "X-Organization-Id: $HLIX_WORKSPACE_ID"Expected result: a JSON array listing only the projects of that Workspace.
An API key authenticates its creator. Each request uses that person’s current Workspace membership and project access.
Why a stranger’s project answers 404
Section titled “Why a stranger’s project answers 404”A 404 can mean that a project is missing or outside your access. Check the Workspace ID and project grant. A 403 indicates that your account lacks the required membership or permission.
Portal client access
Section titled “Portal client access”External customers use your branded client portal with a signed-in user login. Portal API requests use X-Client-Portal to select your Workspace and the client’s project grants to determine access.
A client sees only projects explicitly granted to them. Portal access distinguishes project delivery data from agency configuration:
| Group | Behaviour for a portal client |
|---|---|
| Project data — the project, its cycles, tasks, messages, agent runs, deployments and packs | Visible only for projects shared with them |
| Agency data — secrets, environments, AI settings, connectors, logs, events, approvals and skills | Not visible at all, and not writable |
Belonging to a customer account does not grant project access. The one exception is invoices: a client invited with a billing seat on a customer can read that customer’s issued invoices, read-only, so they can see what is owed.
Grant the Can message permission when a client should be able to direct work. Project administration remains with the agency.
Agent memory
Section titled “Agent memory”Agent conversation history and long-term memory follow the same boundary:
- Conversation identifiers are derived by hlix from the authorized request, never accepted from a caller.
- Before a stored conversation reaches a model, hlix confirms that it belongs to the Workspace the request was authorized for, and stops if it does not.
- Long-term memory is filtered by Workspace on every lookup.
If isolation does not behave as you expect
Section titled “If isolation does not behave as you expect”{"error": "No active organization"}with400. You sent noX-Organization-Idheader and your login has no active Workspace. Send the header.{"error": "Not a member of this organization"}with403. The Workspace id is valid but you are not a member of it. Check the ID on the API keys page — an ID copied from a different account produces exactly this.{"error": "Project not found"}with404. Check the selected Workspace, API-key owner and project grant.{"error": "Read-only access to this project"}with403. You are a portal client on that project without the Can message permission. An agency admin grants it per project.{"error": "This action is restricted to the agency"}with403. Use an agency account for project configuration.- An empty list. Confirm that the selected Workspace contains the records you expect.