Skip to content

Run Comparisons

GET
/v1/runs/{run_id}/comparisons
curl --request GET \
--url 'https://api.supposing.app/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/comparisons?limit=200'
run_id
required
Run Id
string format: uuid
item_id
Item Id
Any of:
string format: uuid
status
Status
Any of:
string
Allowed values: pending claimed done failed
cursor
Cursor
Any of:
string
limit
Limit
integer
default: 200

Successful Response

Media typeapplication/json
ComparisonList
object
data
required
Data
Array<object>
Comparison

One 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
source_id_a
required
Source Id A
Any of:
string
source_id_b
required
Source Id B
Any of:
string
counted
required
Counted

False while either item is excluded by people.

boolean
default: true
reviews
required
Reviews

People’s checks of this verdict.

Array<object>
Review

A person’s check of one verdict: “Judge is right” or “I disagree” (with their winner).

object
by_name
required
By Name
string
agrees
required
Agrees
boolean
winner_item
required
Winner Item
Any of:
string format: uuid
reason
required
Reason
Any of:
string
updated_at
required
Updated At
string format: date-time
status
required
Status
string
Allowed values: pending claimed done failed
winner_item
required
Winner Item
Any of:
string format: uuid
reasoning
required
Reasoning
Any of:
string
error
required
Error
Any of:
string
cost_usd
required
Cost Usd
Any of:
number
latency_ms
required
Latency Ms
Any of:
integer
finished_at
required
Finished At
Any of:
string format: date-time
next_cursor
required
Next Cursor
Any of:
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
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

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
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}