from mka1 import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.llm.feedback.get_response_feedback(id="resp-xyz789")
# Handle response
print(res){
"id": "resp-xyz789",
"rating": "thumbs_down",
"description": "The response missed key details.",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}Retrieves the existing feedback rating and description for a specific agent response.
from mka1 import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.llm.feedback.get_response_feedback(id="resp-xyz789")
# Handle response
print(res){
"id": "resp-xyz789",
"rating": "thumbs_down",
"description": "The response missed key details.",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Request ID to retrieve feedback for.
OK
Response containing the feedback entry for the requested resource.
The request ID that this feedback is associated with
The feedback rating indicating user satisfaction
thumbs_up, thumbs_down Optional detailed feedback description providing additional context or explanation (max 2000 characters)
2000Timestamp when the feedback was created
Timestamp when the feedback was last updated
Was this page helpful?