Skip to main content
GET
流式获取会话事件(SSE)

请求头

Last-Event-ID
string

从上一个 SSE id: 帧之后恢复。两者同时设置时以 cursor 为准。

路径参数

id
string
必填

会话 ID。

Pattern: ^sesn_[0-9a-hjkmnp-tv-z]{26}$

查询参数

cursor
string

从上一个 id: 帧之后恢复。now 表示只接收将来的事件。

响应

实时 Server-Sent Events 事件流,帧格式见本接口说明。

The response is of type string.