Skip to content

List Rubrics

GET
/v1/rubrics
curl --request GET \
--url 'https://api.supposing.app/v1/rubrics?limit=50'
cursor
Cursor
Any of:
string
limit
Limit
integer
default: 50

Successful Response

Media typeapplication/json
RubricList
object
data
required
Data
Array<object>
Rubric

A saved rubric. Runs copy its text when they start, so editing it never changes past runs.

object
name
required
Name
string
>= 1 characters <= 200 characters
text
required
Text

What the judge should prefer, in plain words.

string
>= 1 characters <= 20000 characters
criteria
required
Criteria
Array<object>
<= 20 items
Criterion

One part of a rubric. The judge is told the weights when they differ.

object
name
required
Name
string
>= 1 characters <= 200 characters
description
required
Description
string
"" <= 2000 characters
weight
required
Weight

Relative to the other criteria.

number
default: 1 > 0 <= 100
instructions
required
Instructions

Extra instructions for the judge, e.g. ‘Ignore spelling.’

Any of:
string
<= 5000 characters
id
required
Id
string format: uuid
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
n_runs
required
N Runs
integer
next_cursor
required
Next Cursor
Any of:
string

Example

{
"data": [
{
"criteria": [
{
"description": "",
"weight": 1
}
]
}
]
}

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"
}
]
}