Skip to main content
GET
/
v1
/
ratings
/
my
/
{tool_id}
curl -X GET "https://api.danubeai.com/v1/ratings/my/tool_abc123" \
  -H "danube-api-key: YOUR_API_KEY"
{
  "tool_id": "tool_abc123",
  "rating": 4,
  "comment": "Very useful tool"
}

Overview

Returns your previously submitted rating and comment for a tool. Returns null values if you haven’t rated this tool yet. Auth: Requires authentication (JWT or API key).

Path Parameters

tool_id
string
required
The tool UUID to check your rating for

Response

tool_id
string
The tool identifier
rating
integer
Your rating (1-5), or null if not rated
comment
string
Your comment, or null if not rated

Example

curl -X GET "https://api.danubeai.com/v1/ratings/my/tool_abc123" \
  -H "danube-api-key: YOUR_API_KEY"
{
  "tool_id": "tool_abc123",
  "rating": 4,
  "comment": "Very useful tool"
}

MCP Tool

This endpoint is also available as the get_my_rating MCP tool:
result = await mcp.call_tool("get_my_rating", {
    "tool_id": "tool_abc123"
})