Skip to content

List Datasets

GET
/v1/datasets
curl --request GET \
--url 'https://api.supposing.app/v1/datasets?include_ephemeral=false&limit=50'
include_ephemeral
Include Ephemeral
boolean
cursor
Cursor
Any of:
string
limit
Limit
integer
default: 50

Successful Response

Media typeapplication/json
DatasetList
object
data
required
Data
Array<object>
Dataset
object
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
Allowed values: web api cli mcp
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
id_field
required
Id Field

Your ID for each row (kept as source_id).

Any of:
string
title_field
required
Title Field

The title people see. Defaults to id_field.

Any of:
string
text_fields
required
Text Fields

What the judge reads, in order; with more than one, each is under a ‘## ’ heading.

Array<string>
metadata_fields
required
Metadata Fields

Kept for people, never shown to the judge.

Array<string>
filename
required
Filename
string
sheet
required
Sheet
Any of:
string
next_cursor
required
Next Cursor

Pass as ?cursor= for the next page; null on the last page.

Any of:
string

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