Skip to Content
Harnix
API reference

Save or change reply feedback

PUT
/v2/runs/{run_id}/feedback

Path Parameters

run_id*Run Id
Formatuuid

Header Parameters

authorization?string|null
x-api-key?string|null
origin?string|null

Request Body

application/json
  1. body
comment?|null
rating*Rating
Value in"up""down"

Response Body

Successful Response

application/json
  1. response
comment*string|null
rating*Rating
Value in"up""down"
updated_at*Updated At
Formatdate-time
Example Request
curl -X PUT 'https://api.harnix.vn/v2/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/feedback' \  -H 'Content-Type: application/json' \  -d '{  "rating": "up"}'
Example Response
{  "comment": "string",  "rating": "up",  "updated_at": "2019-08-24T14:15:22Z"}