v1

latestOpenAPI 3.1.02026-07-2631411.5 MB
AI - Messages

Create message

Create a new message in a chat. Returns the user message and a pending assistant message. The assistant response is processed asynchronously.

post/ai/messages

Request body

chatUuidstring uuid

Chat identifier. When omitted, a new draft chat is created automatically and the message is added to it.

agentUuidstring uuid

Agent identifier for the chat. Only used when chatUuid is omitted and a chat is created automatically.

releaseUuidstring uuid

Release identifier for the chat. Only used when chatUuid is omitted and a chat is created automatically.

systemPromptstring

System prompt for the message.

withReasoningboolean

Whether to include reasoning.

temperaturenumber

Sampling temperature.

maxStepsnumber

Maximum number of steps.

integrationSlugstring

Integration identifier.

connectorUuidstring uuid

Connector identifier.

languageModelSlugstring

Language model identifier.

Response

Successful response