Skip to main content
Credal | Documentation
current

Search documentation

Type to search this documentation.

Provide Message Feedback

POST/v0/copilots/provideMessageFeedbackProvide Message Feedback

Request body

application/json
object
agentIdstring · uuidrequired

Credal-generated Agent ID to specify which agent to route the request to.

messageFeedbackobjectrequired
Show child attributes
descriptiveFeedbackstring
feedbackstringrequired

one of "POSITIVE", "NEGATIVE"

suggestedAnswerstring
messageIdstring · uuidrequired

The message ID for which feedback is being provided.

userEmailstringrequired

The user profile you want to use when providing feedback.

Example request
{
  "agentId": "00000000-0000-0000-0000-000000000000",
  "messageFeedback": {
    "descriptiveFeedback": "string",
    "feedback": "NEGATIVE",
    "suggestedAnswer": "string"
  },
  "messageId": "00000000-0000-0000-0000-000000000000",
  "userEmail": "string"
}

Responses

200Successful response
Documentation menu