Create a new message in a thread.
Documentation Index
Fetch the complete documentation index at: https://docs.knowledgestack.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request to create a new thread message.
Role of the message author (USER, ASSISTANT, SYSTEM)
USER, ASSISTANT, SYSTEM Message content (text + citations)
Optional caller-supplied ThreadMessage ID for idempotent creates.
Message details (execution steps). Omit for user messages.
Successful Response
Thread message response model.
ThreadMessage ID
PathPart ID
Sequence number (from path_part.name)
Message role
USER, ASSISTANT, SYSTEM Message content
Thread's PathPart ID
Full materialized path from root
Tenant ID
Creation timestamp
Last update timestamp
Message details (None when not requested via with_details)