Skip to main content
POST
Insert a vote
AdminOnly Bearer token, role admin

Authorizations

Authorization
string
header
required

Supabase access token of an account with role = 'admin' in public.users.

Body

application/json
comparison_id
string<uuid>
required
user_id
string<uuid> | null
winner_model_id
string<uuid> | null
vote_choice
enum<string>
Available options:
left,
right,
tie,
both-bad
vote_duration_ms
integer

Response

Created vote

success
boolean
Example:

true

data
object
Last modified on October 18, 2026