Перейти к основному содержанию
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.