跳转到主要内容
POST
Send a user event (SSE)

授权

Authorization
string
header
必填

OAuth2 access token issued via POST /oauth/token

路径参数

session_id
string
必填

请求体

application/json
content
string
必填
type
enum<string>
默认值:user.message
可用选项:
user.message
model
string
attachment_file_ids
string[]
Maximum array length: 20
tool_confirmations
object[]
enabled_plugins
string[]
skill_names
string[]
enable_memory
boolean
默认值:false
permission_mode
enum<string>
可用选项:
plan
working_directory
string
selected_image_model
string
selected_video_model
string
selected_speech_model
string
selected_music_model
string
image_parameters
object
video_parameters
object

响应

SSE stream (text/event-stream)

The response is of type string.