Skip to main content
POST
Submit a vote
Votes are final: each user can vote once per comparisonId. A second vote is rejected with VOTE_ERROR.

Authorizations

Authorization
string
header
required

The access token from your DualMind Arena session (a Supabase JWT). See Authentication.

Body

application/json
comparisonId
string<uuid>
required

The comparisonId returned by POST /api/arena/dualchat.

voteChoice
enum<string>
required

left = agent1 wins, right = agent2 wins, tie = both good, both-bad = neither was helpful.

Available options:
left,
right,
tie,
both-bad
voteDurationMs
integer

Optional: how long the user took to decide, in milliseconds.

Required range: x >= 0

Response

Vote recorded.

success
boolean
message
string
Last modified on October 18, 2026