Chat
Standard OpenAI-style authentication. Your NLX API Key should be passed here.
The unique key identifying the AI app deployment.
The unique key identifying the specific channel. Must include the language code suffix (e.g., -en-US, -es-MX).
xxxxxxxx-en-USUsed to pass the session identifier. Expected format: "nlx:{conversationId}". If the conversationId is omitted (e.g., just "nlx"), a new UUID will be generated.
nlx:550e8400-e29b-41d4-a716-446655440000If set, partial message deltas will be sent using Server-Sent Events. This API is optimized for streaming.
trueServer-sent events stream. The response is streamed as a series of JSON objects prefixed with "data: ".
Represents a streamed chunk of a chat completion response.
A unique identifier for the chat completion.
The object type, which is always "chat.completion.chunk".
The Unix timestamp (in seconds) of when the chat completion was created.
The model (deployment key) used for the completion.
A fingerprint representing the backend system state (process.env.TAG).
Bad Request
Unauthorized - Invalid Bearer Token
Last updated

