Skip to main content
GET
/
v1
/
bot
/
stats
/
votes
Get Vote Statistics
curl --request GET \
  --url https://api.boostgpt.co/v1/bot/stats/votes \
  --header 'Authorization: Bearer <token>'
{
  "total_upvotes": 123,
  "total_downvotes": 123,
  "vote_ratio": 123,
  "votes_by_date": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Enter your API key

Query Parameters

project_id
string
required

Project ID

bot_id
string
required

Agent ID

Response

200 - application/json

Vote statistics retrieved successfully

total_upvotes
integer

Total upvotes

total_downvotes
integer

Total downvotes

vote_ratio
number

Upvote to downvote ratio

votes_by_date
object[]

Vote statistics by date