Append an item to a thread session object.Documentation Index
Fetch the complete documentation index at: https://docs.blobhub.io/llms.txt
Use this file to discover all available pages before exploring further.
POST /revisions/:id/data (Command: post_session_thread_item)
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
engine | string | Yes | Must be workflow_blobhub. |
command | string | Yes | Must be post_session_thread_item. |
session_id | string | Yes | The ID of the session that owns the thread envelope. |
alias | string | Yes | Alias of the thread session object. |
content | array of object | Yes | Same shape as message.content — entries of {type: "text", text} or {type: "json", json}. |
parent_id | string | No | Optional parent item id. Stored only. |
metadata | object | No | Optional arbitrary JSON. |
Response
Returns the persisted item with server-stampedid, created_at, user_id, and the original/derived
fields.
| Parameter | Type | Description |
|---|---|---|
item | object | The persisted thread item, including server-stamped id, created_at, user_id, and revision_id. |
Errors
invalid_thread_envelope— the alias does not exist or itsvalue.typeis not"thread".thread_item_too_large— the serialized item exceeds the server-side size cap.

