Closed nb75km closed 1 month ago
Can you paste the payload as well? According to the code, you need to provide a user_id as well.
I tried sending the user_id, but it did not improve the situation. Is this payload correct?
I tried sending the user_id, but it did not improve the situation.我试着发送user_id,但并没有改善情况。 Is this payload correct? 这个负载正确吗?
The service api /v1/conversations
can only get the conversations where invoke_form is service-api
or null
I see. I hadn't checked that. Thank you.
Self Checks
Dify version
0.6.13
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I am trying to retrieve the conversation history through the HTTP request block on Dify.
Steps to Reproduce
GET http://locallhost/v1/conversations HTTP/1.1 Authorization: ***
{ "status_code": 200, "body": "{"limit": 20, "has_more": false, "data": []}\n", "headers": { "server": "nginx/1.27.0", "date": "Fri, 12 Jul 2024 01:48:52 GMT", "content-type": "application/json", "content-length": "45", "access-control-allow-origin": "*", "set-cookie": "remember_token=; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/", "x-version": "0.6.13", "x-env": "PRODUCTION", "cache-status": "863e0002c72b;detail=mismatch", "via": "1.1 863e0002c72b (squid/6.6)", "connection": "keep-alive" }, "files": [] }
data
field is always empty in the response.These steps reproduce the issue where the conversation history is always returned empty.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response