cURL
curl --request GET \ --url https://api-spectra.duplik.cn/v1/conversations/{conversation_id}/messages \ --header 'Authorization: Bearer <token>'
{ "items": [ { "created_at": 123, "updated_at": 123, "org_id": "<string>", "user_id": "<string>", "assistant_message": "<string>", "message_id": "<string>", "conversation_id": "<string>", "user_message": "", "file_ids": [ "<string>" ], "assistant_message_id": "", "suggested_questions": [ "<string>" ], "status": 1, "star": false, "user_files": [], "agent_events": [] } ], "total_count": 0, "total_page": 0, "page_num": 1, "page_size": 10 }
获取一个对话消息
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x >= 1
1 <= x <= 1000
Successful Response
Conversation message pagination response model
Show child attributes