List Web application feedback

Read visitor feedback for the target Web application by rating.

GET https://api.moi.matrixorigin.cn/v5/workspaces/{workspace_id}/agents/{agent_id}/webapp/feedback

Before you call this API

BASE_URL uses the product API prefix https://api.moi.matrixorigin.cn/v5. For a dedicated deployment, use its corresponding product API address.

Prepare publication management identity and objects.

Request

curl --request GET \
  "$BASE_URL/workspaces/$WORKSPACE_ID/agents/$AGENT_ID/webapp/feedback?rating=up&limit=50&offset=0" \
  --header "X-API-Key: $MOI_KEY" \
  --header "X-Workspace-ID: $WORKSPACE_ID"

Next-page example:

curl --request GET \
  "$BASE_URL/workspaces/$WORKSPACE_ID/agents/$AGENT_ID/webapp/feedback?rating=up&limit=50&offset=50" \
  --header "X-API-Key: $MOI_KEY" \
  --header "X-Workspace-ID: $WORKSPACE_ID"

Parameter

Location

Type

Required

Description

workspace_id

Path

string

Yes

Publication Workspace ID in the same environment.

agent_id

Path

string

Yes

Target agent ID.

rating

Query

string

No

up, down, or neutral. Omit to skip rating filtering.

limit

Query

integer

No

Defaults to 50; maximum 200. Invalid/nonpositive values become 50.

offset

Query

integer

No

Defaults to 0; negative values become 0.

Feedback is scoped to the target Agent’s webapp. This endpoint reads only and does not create, update, or delete feedback. For ordinary pagination, stop when offset + items.length reaches total or items is empty. Concurrent changes may alter the paginated set.

Successful response

{
  "code": 0,
  "data": {
    "items": [
      {
        "feedback_id": "feedback-example",
        "conversation_id": "conversation-example",
        "message_id": "message-example",
        "rating": "up",
        "comment": "回答有帮助",
        "end_user_id": "visitor-example",
        "created_at": "2026-11-12T01:00:00Z"
      }
    ],
    "total": 1,
    "limit": 50,
    "offset": 0
  }
}

Field

Type

Description

code

integer

Success code.

data

object

Corresponding object.

Error response

Errors and read-back distinguishes parameters, permissions, and write results for this entry point.

Last updated on