الانتقال إلى المحتوى الرئيسي
POST
Handle Send Chat Message

التفويضات

Authorization
string
header
مطلوب

Authorization header with Bearer token

الجسم

application/json
message
string
مطلوب
llm_override
LLMOverride · object | null
allowed_tool_ids
integer[] | null
forced_tool_id
integer | null
file_descriptors
FileDescriptor · object[]
internal_search_filters
BaseFilters · object | null
deep_research
boolean
افتراضي:false
origin
enum<string>
افتراضي:unset

Origin of a chat message for telemetry tracking.

الخيارات المتاحة:
webapp,
chrome_extension,
api,
slackbot,
widget,
unknown,
unset
parent_message_id
integer | null
افتراضي:-1
chat_session_id
string<uuid> | null
chat_session_info
ChatSessionCreationRequest · object | null
stream
boolean
افتراضي:true
include_citations
boolean
افتراضي:true
additional_context
string | null

A string of extra context injected into the LLM call for this request. The context is passed to the model but is not stored in the database and will not appear in the chat history. Use this to supply ephemeral, request-scoped information (e.g. the user's current page URL, session metadata, or any runtime context) without polluting the persistent conversation history. Pass null or omit the field to use no additional context.

الاستجابة

Successful Response