Dark mode is now available in beta
cURL
curl --request POST \ --url http://localhost:3000/api/user/favorites \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data '{}'
{ "success": true, "data": [ { "id": "688b024f7db6fe6e921399e3", "in": { "input": "How are you?" }, "out": { "outputs": [ "I am doing wonderful, thank you for asking..." ] }, "status": "active", "favorite": true } ] }
Returns a list of dialogues marked as favorites by the authenticated user
JWT token passed in x-access-token header
Empty object for POST request
Successfully retrieved favorite history dialogues
Indicates if the request was successful
Array of history dialogues marked as favorites
Show child attributes
Error message when success is false
Was this page helpful?