Pinter
ENID
Evaluations
Lihat sebagai Markdown

List Agent Feedback

GET/api/evaluations/{agent_id}/feedback

Paginated, filterable feedback feed for one agent.

Parameter

Path

agent_idstringwajib
Unique UUID of the target AI Agent.

Query

sentimentstring
Filter user message feedback by sentiment rating ('positive', 'negative').
has_commentboolean
When true, returns only feedback entries containing user written comments.
user_idstring
Unique UUID of the target system user.
qstring
Search query text or semantic question for vector / hybrid retrieval.
start_datestring
Filter analytics and usage starting from this ISO 8601 date (inclusive).
end_datestring
Filter analytics and usage ending at this ISO 8601 date (inclusive).
sortstring
Sorting direction ('asc' for ascending, 'desc' for descending).
limitinteger
Maximum number of records to return in the paginated response (1 to 100).
offsetinteger
Number of initial records to skip for pagination.

Respons

200 Successful Response

itemsobject[]wajib
items[].idstringwajib
items[].is_positivebooleanwajib
items[].commentstring | null
items[].created_atstring (date-time)wajib
items[].message_idstringwajib
items[].conversation_idstring | null
items[].userobjectwajib
items[].user.idstring | null
items[].user.namestringwajib
items[].assistant_messagestring | null
items[].user_messagestring | null
items[].assistant_attachmentsobject[] | null
items[].user_attachmentsobject[] | null
totalintegerwajib
limitintegerwajib
offsetintegerwajib
{
  "items": [
    {
      "id": "string",
      "is_positive": true,
      "comment": "string",
      "created_at": "2026-01-01T00:00:00Z",
      "message_id": "string",
      "conversation_id": "string",
      "user": {
        "id": null,
        "name": "string"
      },
      "assistant_message": "string",
      "user_message": "string",
      "assistant_attachments": [
        null
      ],
      "user_attachments": [
        null
      ]
    }
  ],
  "total": 0,
  "limit": 0,
  "offset": 0
}

400 Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).

401 Unauthorized - Missing, invalid, or expired JWT Bearer token.

403 Forbidden - Insufficient role permissions or resource access denied by RBAC policy.

404 Not Found - The requested resource ID was not found.

422 Validation Error

detailobject[]
detail[].locstring | integer[]wajib
detail[].msgstringwajib
detail[].typestringwajib
detail[].inputobject
detail[].ctxobject
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}

Contoh

curl -X GET "$PINTER_URL/api/evaluations/agnt_risk_compliance_01/feedback" \
  -H "Authorization: Bearer $ACCESS_TOKEN"