Rename a dataset, or keep a hidden one
const url = 'https://api.supposing.app/v1/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","ephemeral":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.supposing.app/v1/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "ephemeral": true }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Change a dataset. Fields left out stay as they are.
object
Example generated
{ "name": "example", "ephemeral": true}Responses
Section titled “Responses”Successful Response
object
Runs on this dataset, its one-off (ephemeral) runs included.
Where it was made: web, api, cli or mcp (the Supposing-Source header).
For an imported spreadsheet: which columns the judge reads and which are kept only for people.
object
What the judge reads, in order; with more than one, each is under a ‘##
Kept for people, never shown to the judge.
object
The document’s first heading, else its file name without the extension.
Example
{ "source": "web"}Client error. Branch on code; show message and hint.
The body of every non-2xx response.
object
Stable machine-readable code, e.g. dataset_not_found.
Per-field problems, for invalid_request.
object
Dotted path to the field, e.g. ranking.rubric.
For plan_limit_* codes: the limit, usage and upgrade.
Which plan limit a plan_limit_* error hit, and the way up.
object
Datasets, items_per_dataset, chars_per_dataset or runs_per_month.
The workspace’s plan: free (Pay as you go) or subscription.
Current usage; for items_per_dataset and chars_per_dataset, the size the dataset would have.
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.
The body of every non-2xx response.
object
Stable machine-readable code, e.g. dataset_not_found.
Per-field problems, for invalid_request.
object
Dotted path to the field, e.g. ranking.rubric.
For plan_limit_* codes: the limit, usage and upgrade.
Which plan limit a plan_limit_* error hit, and the way up.
object
Datasets, items_per_dataset, chars_per_dataset or runs_per_month.
The workspace’s plan: free (Pay as you go) or subscription.
Current usage; for items_per_dataset and chars_per_dataset, the size the dataset would have.
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" }}