Skip to main content
POST
/
v1
/
threads
/
{thread_id}
/
user_message
Send User Message Handler
curl --request POST \
  --url http://localhost:8000/v1/threads/{thread_id}/user_message \
  --header 'Content-Type: application/json' \
  --data '
{
  "input_text": ""
}
'
{
  "workflow_id": "<string>"
}

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.

Headers

authorization
string | null

Path Parameters

thread_id
string<uuid>
required

Cookies

ks_uat
string | null

Body

application/json

Request to send a user message and trigger agent generation.

input_text
string
default:""

User input text. Mock agent dev controls may be embedded here (e.g. /mock duration=5 wps=3 scenario=tool_call_once).

Response

Successful Response

202 response from POST /{thread_id}/user_message.

workflow_id
string
required