Last updated at: 2025-10-20
Agent Feedback Evaluation
Supports development and operations personnel in inspecting and evaluating the quality of content generated by the Agent, helping assess response quality and guide further optimization.
Request Method
POST
Request URL
https://altatech.ai/v1/message/quality
Authentication
For details, refer to the authentication method description in the API Overview.
Request
Request Example
curl -X POST https://altatech.ai/v1/message/quality \
-H 'Authorization: Bearer your_apikey' \
-H 'Content-Type: application/json' \
-d '{
"answer_id": "123456789",
"quality": "FULLY_RESOLVED"
}'
Request Headers
| Field | Type | Description |
|---|---|---|
| Authorization | Bearer {token} | Please use Authorization: Bearer {token} for authentication. You can obtain the token from the API key page. |
| Content-Type | application/json | Data type, value should be application/json. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| answer_id | string | Yes | The reply ID of the Agent. |
| quality | string | Yes | Quality assurance evaluation of the Agent's response. Possible values: - NONE: No feedback - UNRESOLVED: Unresolved - PARTIALLY_RESOLVED: Partially resolved - FULLY_RESOLVED: Fully resolved |
Response
Response Example
{
"affectCount": 1
}
Successful Response
| Field | Type | Description |
|---|---|---|
| affectCount | long | The number of successful evaluations in this instance. A value of 1 indicates success. |
Error Response
| Field | Type | Description |
|---|---|---|
| code | int | Error code |
| message | string | Error details |
Error Codes
| Code | Message |
|---|---|
| 40000 | Parameter error |
| 40127 | Developer authentication failed |
| 20059 | Agent has been deleted |