Authorizations
API Key authentication.
Body
application/json
Request body to send an advanced chat message.
User input/question content.
User identifier. Note: The Service API does not share conversations created by the WebApp. Conversations created through the API are isolated from those created in the WebApp interface.
Key/value pairs for app variables. For file type variables, value should be an InputFileObject.
Response mode. Cloudflare timeout is 100s for blocking.
Available options:
streaming, blocking Conversation ID to continue.
List of files for Vision-capable models or general file input.
- Option 1
- Option 2
Auto-generate conversation title.
Response
Successful response. The content type and structure depend on the response_mode.
blocking:application/jsonwithChatCompletionResponse.streaming:text/event-streamwithChunkAdvancedChatEventstream.