Execute a specific chat agent by ID.
Documentation Index
Fetch the complete documentation index at: https://docs.tess.im/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Required | Description |
|---|---|---|---|
x-workspace-id | integer | No | ID of the workspace. If not provided, the user’s selected workspace will be used. Will be required in a future release. |
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The agent ID. |
| Parameter | Type | Required | Description |
|---|---|---|---|
stream | boolean | Yes | Must be true for this streaming endpoint. |
temperature | string | No | Chat Agent field. Sampling temperature between 0 and 2. Higher values produce more creative outputs (default: "1"). |
model | string | No | Chat Agent field. Model identifier to use for execution (e.g., "tess-6"). |
tools | string | No | Chat Agent field. Tool configuration for the agent (e.g., "agent", "no-tools"). |
root_id | integer | No | Chat Agent field. ID of an existing execution to continue a conversation thread. |
messages | array | No | Chat Agent field. The agent messages. Required for Chat Agent templates. Supports user, assistant, developer roles. |
file_ids | array | No | Array of file IDs to attach to the execution. |
| Other root-level fields | any | Depends on agent | This is not a fixed field name. You can send additional fields required by your specific agent directly at the request root. Check which fields are required in Get Agent by ID. |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the workspace. If not provided, the user's selected workspace will be used. This field will be required in a future release.
The agent ID.
Send a JSON object. Keep stream: true in this endpoint and add any custom fields directly at the root.
Free-form JSON object. Use stream: true and add known or custom fields at the root level.
Server-Sent Events stream.