跳转到主要内容
POST
Send message (streaming)

请求头

X-Workspace-Id
string

Workspace ID

请求体

application/json
question
string
必填
示例:

"Hello, how can you help me?"

conversationId
string

Continue existing conversation. If not provided, a new conversation is created.

示例:

"550e8400-e29b-41d4-a716-446655440000"

model
string

Override model name for new conversations

provider
string

Override provider for new conversations

agentMode
enum<string>
可用选项:
ask,
agent
workerId
string

Preferred worker ID for remote command execution. Only respected when agentMode is "agent".

示例:

"550e8400-e29b-41d4-a716-446655440000"

响应

200 - application/json

The response is of type object.