List votes
curl --request GET \
--url https://api.dualmindlab.tech/api/admin/votes \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dualmindlab.tech/api/admin/votes"
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', 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', 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"
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");
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")
.header("Authorization", "Bearer <token>")
.asString();{
"success": true,
"data": [
{
"vote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comparison_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"winner_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"vote_choice": "left",
"vote_duration_ms": 8200,
"voted_at": "2023-11-07T05:31:56Z",
"revealed_at": "2023-11-07T05:31:56Z",
"picked_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"choice": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 128,
"page": 1,
"pageSize": 50,
"page_size": 50
}{
"success": false,
"error": "Role must be one of: admin, user"
}List votes
Newest first. search matches vote_choice, or, when it is a UUID, a comparison, user or winning model.
GET
/
api
/
admin
/
votes
List votes
curl --request GET \
--url https://api.dualmindlab.tech/api/admin/votes \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dualmindlab.tech/api/admin/votes"
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', 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', 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"
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");
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")
.header("Authorization", "Bearer <token>")
.asString();{
"success": true,
"data": [
{
"vote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"comparison_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"winner_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"vote_choice": "left",
"vote_duration_ms": 8200,
"voted_at": "2023-11-07T05:31:56Z",
"revealed_at": "2023-11-07T05:31:56Z",
"picked_model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"choice": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 128,
"page": 1,
"pageSize": 50,
"page_size": 50
}{
"success": false,
"error": "Role must be one of: admin, user"
}AdminOnly
Bearer token, role admin
Authorizations
Supabase access token of an account with role = 'admin' in public.users.
Query Parameters
Page number, from 1.
Required range:
x >= 1Rows per page (clamped to 1-500). Note the name: pageSize, not limit.
Required range:
1 <= x <= 500Vote choice, or a UUID.
Voter.
Winning model.
Comparison.
Last modified on October 18, 2026
Was this page helpful?
⌘I