POST
/
api
/
user
/
favorites
Retrieve user's favorite dialogues
curl --request POST \
  --url https://pria.praxislxp.com/api/user/favorites \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --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
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token passed in x-access-token header

Body

application/json · object

Empty object for POST request

Response

Successfully retrieved favorite history dialogues

The response is of type object.