Chats

Start a new chat and stream the reply

Changed on

Creates a chat session, sends the first message, and streams the assistant reply. Read the X-Chat-Id response header to continue the conversation with POST /v1/chats/{chatId}.

post/v1/chats

Request

  • Base URL: https://api.usenotra.com
  • URL: https://api.usenotra.com/v1/chats
  • Auth: HTTP bearer

Request body

messagestring

The user message to send.

model'auto' | 'anthropic/claude-opus-5.5' | 'anthropic/claude-opus-5' | 'anthropic/claude-opus-4.8' | 'anthropic/claude-sonnet-5' | 'anthropic/claude-sonnet-4.6' | 'anthropic/claude-haiku-4.5' | 'openai/gpt-6-sol' | 'openai/gpt-6-luna' | 'openai/gpt-5.6-sol' | 'openai/gpt-5.5' | 'openai/gpt-5.4'

Model to respond with. Defaults to auto, which lets Notra choose.

enableThinkingboolean

Allow the model to reason before answering.

thinkingLevel'off' | 'low' | 'medium' | 'high'

How much reasoning effort to spend when thinking is enabled.

timezonestring

IANA time zone used to interpret dates in the conversation.

Example request

{
  "message": "Summarize what shipped in the last week.",
  "model": "auto",
  "thinkingLevel": "medium",
  "timezone": "Europe/Berlin"
}

Response

Streaming UI message stream (newline-delimited JSON chunks). Read the X-Chat-Id response header for the chat id, or take it from the start chunk's messageMetadata.chatId.

Changes

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      added the new anthropic/claude-opus-5.5 enum value to the request property

    • info

      added the new openai/gpt-5.6-sol enum value to the request property

    • info

      added the new openai/gpt-6-luna enum value to the request property

    • info

      added the new openai/gpt-6-sol enum value to the request property

    • info

      added the non-success response with the status

    • breaking

      added the new required request property /

    • breaking

      the request property type changed from no type to object

    • warning

      removed subschema #2 from the request property allOf list

    • info

      added the new optional request property /