List Datasets
GET
/v1/datasets
const url = 'https://api.supposing.app/v1/datasets?include_ephemeral=false&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/datasets?include_ephemeral=false&limit=50'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
DatasetList
object
data
required
Data
Array<object>
Datasetobject
id
required
Id
string format: uuid
name
required
Name
string
created_at
required
Created At
string format: date-time
n_items
required
N Items
integer
source
required
Source
Where it was made: web, api, cli or mcp (the Supposing-Source header).
string
ephemeral
required
Ephemeral
boolean
mapping
required
For an imported spreadsheet: which columns the judge reads and which are kept only for people.
Any of:
DatasetMapping
object
title_field
required
text_fields
required
Text Fields
What the judge reads, in order; with more than one, each is under a ‘##
Array<string>
metadata_fields
required
Metadata Fields
Kept for people, never shown to the judge.
Array<string>
filename
required
Filename
string
null
Example
{ "data": [ { "source": "web" } ]}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" } ]}