Run Comparisons
GET
/v1/runs/{run_id}/comparisons
const url = 'https://api.supposing.app/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/comparisons?limit=200';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.supposing.app/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/comparisons?limit=200'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”run_id
required
Run Id
string format: uuid
Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
ComparisonList
object
data
required
Data
Array<object>
ComparisonOne judge call: two items, a rubric, a verdict.
object
id
required
Id
string format: uuid
run_id
required
Run Id
string format: uuid
round
required
Round
integer
pair_id
required
Pair Id
integer
item_a
required
Item A
string format: uuid
item_b
required
Item B
string format: uuid
title_a
required
Title A
string
title_b
required
Title B
string
counted
required
Counted
False while either item is excluded by people.
boolean
reviews
required
Reviews
People’s checks of this verdict.
Array<object>
ReviewA person’s check of one verdict: “Judge is right” or “I disagree” (with their winner).
status
required
Status
string
Example
{ "data": [ { "counted": true, "status": "pending" } ]}Client error. Branch on code; show message and hint.
Media typeapplication/json
Error
The body of every non-2xx response.
object
code
required
Code
Stable machine-readable code, e.g. dataset_not_found.
string
message
required
Message
string
details
Details
Per-field problems, for invalid_request.
Any of:
Array<object>
ErrorDetailobject
field
required
Field
Dotted path to the field, e.g. ranking.rubric.
string
message
required
Message
string
null
Example generated
{ "code": "example", "message": "example", "hint": "example", "details": [ { "field": "example", "message": "example" } ]}Server error.
Media typeapplication/json
Error
The body of every non-2xx response.
object
code
required
Code
Stable machine-readable code, e.g. dataset_not_found.
string
message
required
Message
string
details
Details
Per-field problems, for invalid_request.
Any of:
Array<object>
ErrorDetailobject
field
required
Field
Dotted path to the field, e.g. ranking.rubric.
string
message
required
Message
string
null
Example generated
{ "code": "example", "message": "example", "hint": "example", "details": [ { "field": "example", "message": "example" } ]}