For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList feedback with filters
      • POSTSubmit feedback on a message
      • GETGet feedback statistics
      • GETGet specific feedback record
      • DELDelete feedback record
Dashboard
LogoLogo
Runtype APIFeedback

Get specific feedback record

GET
/v1/feedback/:id
GET
/v1/feedback/:id
$curl https://api.runtype.com/v1/feedback/id \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "feedback": {
3 "clientTokenId": "a1b2c3d4e5f6g7h8i9j0",
4 "comment": "The AI response was very helpful and accurate.",
5 "createdAt": "2024-06-10T09:45:00Z",
6 "feedbackType": "positive",
7 "flowId": "flow_987654321",
8 "id": "fb_1234567890abcdef",
9 "messageId": "msg_abcdef1234567890",
10 "messageIndex": 2,
11 "messageRole": "assistant",
12 "metadata": {
13 "platform": "web",
14 "browser": "Chrome 113"
15 },
16 "rating": 4.5,
17 "recordId": "rec_1122334455",
18 "sessionId": "sess_9988776655"
19 }
20}
Was this page helpful?
Previous

Delete feedback record

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Response

Feedback record
feedbackobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error