Skip to main content
GET
/
api
/
v1
/
llm
/
feedback
/
responses
/
{id}
Typescript (SDK)
import { SDK } from "@meetkai/mka1";

const sdk = new SDK({
  bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await sdk.llm.feedback.getResponseFeedback({
    id: "resp-xyz789",
  });

  console.log(result);
}

run();
{
  "id": "resp-xyz789",
  "rating": "thumbs_down",
  "description": "The response missed key details.",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z"
}

Authorizations

Authorization
string
header
required

Authenticate with your MKA1 API key at the API gateway: Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, also send X-On-Behalf-Of to identify the end user making the request.

Headers

X-On-Behalf-Of
string

Optional external user identifier for multi-user server-side integrations. Use this when acting on behalf of one of your end users.

Path Parameters

id
string
required

Request ID to retrieve feedback for.

Response

200 - application/json

OK

Response containing the feedback entry for the requested resource.

id
string
required

The request ID that this feedback is associated with

rating
enum<string>

The feedback rating indicating user satisfaction

Available options:
thumbs_up,
thumbs_down
description
string

Optional detailed feedback description providing additional context or explanation (max 2000 characters)

Maximum string length: 2000
createdAt
string<date-time>

Timestamp when the feedback was created

updatedAt
string<date-time>

Timestamp when the feedback was last updated