Chat (Streamed)
You can use several endpoints to chat with your kapa.ai instances. These endpoints use streamed responses but are otherwise identical to the regular chat endpoints.
Chat streamed
Chat with your kapa.ai instance. This endpoint returns a streamed response. Calling this endpoint creates a new `Thread` object in the database and returns the answer to the user's query. A `Thread` object is a collection of messages in a conversation between the user and the AI model. To ask follow-up questions, use the `thread_id` returned in the response and call the [streamed chat in thread](#tag/Chat-(Streamed)/operation/query_v1_threads_chat_chat_stream) endpoint.
Chat in thread streamed
Query the Kapa.ai API with a question to continue the conversation in a `Thread`. This endpoint returns a streamed response.