Feedback
Retrieve feedback for a specific run. Returns null if no feedback exists.
Authorizations
Path parameters
runIdstringRequired
UUID of the run to get feedback for
Responses
200
Feedback retrieved successfully or null if not found
application/json
401
Unauthorized - invalid API key
404
Run not found
get
GET /v1/feedback/run/{runId} HTTP/1.1
Host: api.toolregistry.ai
x-api-key: YOUR_API_KEY
Accept: */*
{
"id": "text",
"runId": "text",
"rating": "positive",
"comment": "text",
"feedbackSource": {
"type": "user",
"userId": "text",
"metadata": {
"device": "text",
"platform": "text",
"version": "text",
"sessionId": "text",
"userAgent": "text"
}
},
"metadata": {
"version": "text",
"sessionId": "text",
"experimentId": "text",
"environment": "text",
"clientVersion": "text"
},
"createdAt": "text",
"updatedAt": "text"
}
Create or update feedback for a specific run
Authorizations
Path parameters
runIdstringRequired
UUID of the run to provide feedback for
Body
ratingstring · enumOptionalPossible values:
Required when creating new feedback
commentstringOptional
Responses
200
Feedback successfully created or updated
application/json
400
Invalid request body or parameters
401
Unauthorized - invalid API key
404
Run not found
put
PUT /v1/feedback/run/{runId} HTTP/1.1
Host: api.toolregistry.ai
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 296
{
"rating": "positive",
"comment": "text",
"source": {
"type": "user",
"userId": "text",
"metadata": {
"device": "text",
"platform": "text",
"version": "text",
"sessionId": "text",
"userAgent": "text"
}
},
"metadata": {
"version": "text",
"sessionId": "text",
"experimentId": "text",
"environment": "text",
"clientVersion": "text"
}
}
{
"id": "text",
"runId": "text",
"rating": "positive",
"comment": "text",
"feedbackSource": {
"type": "user",
"userId": "text",
"metadata": {
"device": "text",
"platform": "text",
"version": "text",
"sessionId": "text",
"userAgent": "text"
}
},
"metadata": {
"version": "text",
"sessionId": "text",
"experimentId": "text",
"environment": "text",
"clientVersion": "text"
},
"createdAt": "text",
"updatedAt": "text"
}
Retrieve feedback by its ID
Authorizations
Path parameters
feedbackIdstringRequired
UUID of the feedback to retrieve
Responses
200
Feedback retrieved successfully
application/json
401
Unauthorized - invalid API key
404
Feedback not found
get
GET /v1/feedback/{feedbackId} HTTP/1.1
Host: api.toolregistry.ai
x-api-key: YOUR_API_KEY
Accept: */*
{
"id": "text",
"runId": "text",
"rating": "positive",
"comment": "text",
"feedbackSource": {
"type": "user",
"userId": "text",
"metadata": {
"device": "text",
"platform": "text",
"version": "text",
"sessionId": "text",
"userAgent": "text"
}
},
"metadata": {
"version": "text",
"sessionId": "text",
"experimentId": "text",
"environment": "text",
"clientVersion": "text"
},
"createdAt": "text",
"updatedAt": "text"
}