List Rubrics
GET
/v1/rubrics
const url = 'https://api.supposing.app/v1/rubrics?limit=50';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/rubrics?limit=50'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
RubricList
object
data
required
Data
Array<object>
RubricA saved rubric. Runs copy its text when they start, so editing it never changes past runs.
object
name
required
Name
string
text
required
Text
What the judge should prefer, in plain words.
string
criteria
required
Criteria
Array<object>
CriterionOne part of a rubric. The judge is told the weights when they differ.
object
name
required
Name
string
description
required
Description
string
weight
required
Weight
Relative to the other criteria.
number
instructions
required
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
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
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" } ]}