Logging
Send feedback
POST
/
feedback
Authorization
Body
curl --request POST \
--url https://api.honeyhive.ai/feedback \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"feedback_json": {},
"generation_id": "<string>",
"ground_truth": "<string>",
"task": "<string>"
}'
{
"created_at": "2023-11-07T05:31:56Z",
"feedback": {},
"generation_id": "<string>",
"ground_truth": "<string>",
"task": "<string>"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
feedback_json
object
The feedback JSON with one or many feedback items
generation_id
string
requiredThe ID of the generation for which feedback is being submitted
ground_truth
string
The ground truth for the generation
task
string
requiredThe task for which the feedback is being submitted
Response
200 - application/json
created_at
string
The timestamp of when the feedback was created
feedback
object
The feedback JSON with one or many feedback items
generation_id
string
The ID of the generation for which feedback was submitted
ground_truth
string
The ground truth for the generation
task
string
The task for which the feedback was submitted
curl --request POST \
--url https://api.honeyhive.ai/feedback \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"feedback_json": {},
"generation_id": "<string>",
"ground_truth": "<string>",
"task": "<string>"
}'
{
"created_at": "2023-11-07T05:31:56Z",
"feedback": {},
"generation_id": "<string>",
"ground_truth": "<string>",
"task": "<string>"
}