Mentions
Mentions operations in the Hlix API.
See the OpenAPI document for schemas and operation IDs.
Prerequisites
Section titled “Prerequisites”- Protected operations require an API key in
x-api-keyor a browser session cookie; some actions require a verified user session - Tenant-scoped operations use
X-Organization-Id; browser sessions can use their active workspace. Discovery and personal-workspace bootstrap do not require an active workspace - The base URL for your deployment,
https://server.hlix.aiby default
Operations
Section titled “Operations”| Method | Path | Operation |
|---|---|---|
GET |
/v1/api/mentions |
List the caller’s unread mentions |
POST |
/v1/api/mentions/read |
Mark the caller’s mentions read |
GET |
/v1/api/projects/{projectId}/mention-roster |
List who this project’s conversations can mention |
List the caller’s unread mentions
Section titled “List the caller’s unread mentions”GET /v1/api/mentions · operation ID listUnreadMentions
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
limit |
query | no | string | Page size, clamped to 1–500; 100 when omitted or not an integer. |
offset |
query | no | string | Mentions to skip, newest first. total counts every unread mention, so it says how many pages there are. |
X-Organization-Id |
header | no | string | The workspace (organization) to act in. Omitted, the session’s active organization is used. |
Responses
| Status | Body | Description |
|---|---|---|
200 |
MentionInbox | One page of the caller’s own unread mentions, newest first, and total, the count of all of them. |
400 |
ApiError | The request named no active organization. |
401 |
ApiError | No valid session or API key. |
403 |
ApiError | Authenticated, but not a member of the named organization — or a client collaborator without the required access on this project. |
404 |
ApiError | The resource does not exist, or the caller is a task-scoped credential and this endpoint is outside its allowlist. |
Mark the caller’s mentions read
Section titled “Mark the caller’s mentions read”POST /v1/api/mentions/read · operation ID markMentionsRead
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
X-Organization-Id |
header | no | string | The workspace (organization) to act in. Omitted, the session’s active organization is used. |
Request body — application/json, MentionRead (required)
| Property | Type | Required | Notes |
|---|---|---|---|
ids |
string[] | yes |
Responses
| Status | Body | Description |
|---|---|---|
200 |
MentionReadAck | The ids that actually changed. An id belonging to another person, or one already read, is absent — naming somebody else’s mention does nothing rather than failing. |
400 |
ValidationError | ApiError | The JSON body failed schema validation (ValidationError), or the request named no active organization (ApiError). |
401 |
ApiError | No valid session or API key. |
403 |
ApiError | Authenticated, but not a member of the named organization — or a client collaborator without the required access on this project. |
404 |
ApiError | The resource does not exist, or the caller is a task-scoped credential and this endpoint is outside its allowlist. |
List who this project’s conversations can mention
Section titled “List who this project’s conversations can mention”GET /v1/api/projects/{projectId}/mention-roster · operation ID getProjectMentionRoster
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
projectId |
path | yes | string | |
X-Organization-Id |
header | no | string | The workspace (organization) to act in. Omitted, the session’s active organization is used. |
X-Client-Portal |
header | no | string | The agency Workspace ID for a signed-in client’s portal requests. A verified user session and portal membership are required; API keys cannot authenticate portal access. This header does not grant agency administration access. |
Responses
| Status | Body | Description |
|---|---|---|
200 |
MentionRoster | Workspace members, this project’s portal clients and its agents, with the project manager first. Only agency viewers receive email addresses. |
400 |
ApiError | The request named no active organization. |
401 |
ApiError | No valid session or API key. |
403 |
ApiError | Authenticated, but not a member of the named organization — or a client collaborator without the required access on this project. |
404 |
ApiError | No such project in this workspace — or the caller is a client collaborator with no grant on it. |
If a request fails
Section titled “If a request fails”The response table for each operation lists its documented errors. Common status codes include:
400— the body failed schema validation, or the request named no active organization. AValidationErrorbody carries the failing fields; anApiErrorbody carries onlyerror.401— no valid session or API key.403— authenticated, but not a member of the named organization, or a client collaborator without the required access.404— check the resource ID and your access to the selected Workspace.409— the expected revision or state is stale, or another operation currently owns the transition.500— the operation failed server-side. Retry only where an idempotency key makes that safe.
Next steps
Section titled “Next steps”API reference
Browse endpoints, request fields and responses.
API & OpenAPI
Download the contract, generate a client, and read the compatibility policy.
TypeScript SDK
Auth, retries, typed errors, uploads and streaming, already built.
CLI reference
The same operations from a terminal, with a stable JSON envelope.