v57

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-07-2161198428.4 KB
Omni AI

Create Message

Continue an existing conversation thread.

Appends a new user message to the thread and starts an assistant response. Only one response may be active per thread at a time — if the previous turn is still in progress, this endpoint returns 409 Conflict. Wait for the active response to reach a terminal status before submitting the next turn.

Poll the returned response_id via GET /omni-ai/responses/{response_id} for assistant output.

post/v1/omni-ai/threads/{thread_id}/messages

Path parameters

thread_idstring uuid required

Thread to continue

Request body

account_idinteger required
capabilitiesCapability[]
textstring required

Example request

{
  "account_id": 19816,
  "text": "Compare that to AMD."
}

Response

Message accepted. Poll the returned response_id for assistant output.

Example response

{
  "error": {
    "code": 400,
    "message": "Order quantity must be greater than zero"
  }
}