POST
/
agents
/
{agent_id}
/
feedback
curl --request POST \
  --url https://api.contextual.ai/v1/agents/{agent_id}/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "feedback": "thumbs_up",
  "explanation": "<string>",
  "content_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required

ID of the agent for which to provide feedback

Body

application/json

Input to POST feedback endpoint

Response

200
application/json

Successful Response

The response is of type object.