Skip to main content

ava-feedback

restish dci ava-feedback

Submit feedback on an Ava answer to help improve response quality.

Request​

Content-Type: application/json

Schema​

{
"type": "object",
"properties": {
"conversationId": {
"type": "string",
"description": "The conversation ID the feedback relates to."
},
"answerId": {
"type": "string",
"description": "The specific answer ID within the conversation."
},
"feedback": {
"type": "object",
"properties": {
"positive": {
"type": "boolean",
"description": "Whether the feedback is positive or negative."
},
"text": {
"type": "string",
"description": "Optional text providing additional feedback details."
}
},
"required": [
"positive"
]
}
},
"required": [
"conversationId",
"answerId",
"feedback"
]
}

Responses​

200​

OK - Feedback submitted.

400 (application/json)​

Bad Request - The server cannot process the request, often due to a malformed request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

401 (application/json)​

Unauthorized - Invalid API key.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

403 (application/json)​

Forbidden - The client is not authorized to perform the request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

500 (application/json)​

Internal Server Error - Something went wrong with the DoiT API server.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

Aliases: ava-feedback, avafeedback