Skip to content

The judge's fixed instructions; the rubric text follows them as written

GET
/v1/rubrics/system-prompt
curl --request GET \
--url https://api.supposing.app/v1/rubrics/system-prompt \
--header 'Authorization: Bearer <token>'

Successful Response

Media typeapplication/json
SystemPrompt
object
system
required
System

The judge’s fixed instructions, the same for every run. The rubric text follows them, as written, in each comparison’s criteria block, before the two texts and again after them; every block’s tags carry a random code made for that call (supposing.judge.build_prompt).

string

Example generated

{
"system": "example"
}

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
limit

For plan_limit_* codes: the limit, usage and upgrade.

Any of:
LimitInfo

Which plan limit a plan_limit_* error hit, and the way up.

object
name
required
Name

Datasets, items_per_dataset, chars_per_dataset or runs_per_month.

string
plan
required
Plan

The workspace’s plan: free (Pay as you go) or subscription.

string
limit
required
Limit
integer
used
required
Used

Current usage; for items_per_dataset and chars_per_dataset, the size the dataset would have.

integer
upgrade_url
required
Upgrade Url

The web page that starts the Subscription; null while it can’t be bought here (then the hint says whom to write to).

Any of:
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
],
"limit": {
"name": "example",
"plan": "example",
"limit": 1,
"used": 1,
"upgrade_url": "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
limit

For plan_limit_* codes: the limit, usage and upgrade.

Any of:
LimitInfo

Which plan limit a plan_limit_* error hit, and the way up.

object
name
required
Name

Datasets, items_per_dataset, chars_per_dataset or runs_per_month.

string
plan
required
Plan

The workspace’s plan: free (Pay as you go) or subscription.

string
limit
required
Limit
integer
used
required
Used

Current usage; for items_per_dataset and chars_per_dataset, the size the dataset would have.

integer
upgrade_url
required
Upgrade Url

The web page that starts the Subscription; null while it can’t be bought here (then the hint says whom to write to).

Any of:
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
],
"limit": {
"name": "example",
"plan": "example",
"limit": 1,
"used": 1,
"upgrade_url": "example"
}
}