Get vote statistics
curl --request GET \
--url https://api.dualmindlab.tech/api/admin/votes/stats \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dualmindlab.tech/api/admin/votes/stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dualmindlab.tech/api/admin/votes/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dualmindlab.tech/api/admin/votes/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dualmindlab.tech/api/admin/votes/stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}using RestSharp;
var options = new RestClientOptions("https://api.dualmindlab.tech/api/admin/votes/stats");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://api.dualmindlab.tech/api/admin/votes/stats")
.header("Authorization", "Bearer <token>")
.asString();{
"success": true,
"data": {
"total_votes": 123,
"tie_count": 123,
"votes_by_model": [
{
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_name": "<string>",
"wins": 123
}
],
"votes_by_day": [
{
"date": "2023-12-25",
"count": 123,
"vote_count": 123
}
],
"votes_over_time": [
{
"date": "2023-12-25",
"vote_count": 123
}
],
"top_10_models": [
{
"model_name": "<string>",
"win_rate": 123,
"wins": 123
}
]
}
}{
"success": false,
"error": "Role must be one of: admin, user"
}Get vote statistics
Totals, ties, wins per model, votes per day over the last 30 days and the top 10 models by wins. It runs one count per model, so it is slower than the other admin reads.
GET
/
api
/
admin
/
votes
/
stats
Get vote statistics
curl --request GET \
--url https://api.dualmindlab.tech/api/admin/votes/stats \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dualmindlab.tech/api/admin/votes/stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dualmindlab.tech/api/admin/votes/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dualmindlab.tech/api/admin/votes/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dualmindlab.tech/api/admin/votes/stats"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}using RestSharp;
var options = new RestClientOptions("https://api.dualmindlab.tech/api/admin/votes/stats");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://api.dualmindlab.tech/api/admin/votes/stats")
.header("Authorization", "Bearer <token>")
.asString();{
"success": true,
"data": {
"total_votes": 123,
"tie_count": 123,
"votes_by_model": [
{
"model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model_name": "<string>",
"wins": 123
}
],
"votes_by_day": [
{
"date": "2023-12-25",
"count": 123,
"vote_count": 123
}
],
"votes_over_time": [
{
"date": "2023-12-25",
"vote_count": 123
}
],
"top_10_models": [
{
"model_name": "<string>",
"win_rate": 123,
"wins": 123
}
]
}
}{
"success": false,
"error": "Role must be one of: admin, user"
}Last modified on October 18, 2026
Was this page helpful?
⌘I