OpenAPI 3.1.0MITraw.githubusercontent.com2026-08-1111722.6 KB

0c601a16410f

Chat

Chat (POST)

Primary endpoint. OpenAI-compatible — works with any OpenAI SDK client.

  • Last user message is used as the search query
  • Earlier messages provide conversation context
  • stream defaults to false
  • Conversation history is supplied entirely through messages
post/v1/chat/completions

Request body

modelstring

Ignored — always uses lixsearch

streamboolean

Enable SSE streaming

temperaturenumber

Accepted for compatibility, not used

max_tokensinteger

Accepted for compatibility, not used

Response

Chat response

idstring
object'chat.completion'
createdinteger
modelstring

Example response

{
  "id": "elixpo-abc123",
  "model": "lixsearch"
}