latestOpenAPI 3.1.0Proprietary2026-07-17333956.0 KB

b27b5d973513

Messages

获取消息历史

使用游标分页获取对话中的消息

get/messages/{conversationId}

Path parameters

conversationIdstring required

Query parameters

beforestring

获取此消息 ID 之前的消息

afterstring

获取此消息 ID 之后的消息

limitinteger

每页数量

Response

成功

okboolean

Example response

{
  "ok": true
}