Get Dataset View
POST/api/2/auto_eval/dataset/get_view
View API for a Dataset.
Request
- application/json
Body
datasetId
object
required
datasetFileId
object
required
Pagination: The index, by row-order, after which to query results.
Possible values: >= -2147483648
and <= 2147483647
Pagination: The maximum number of results to return on this page.
Possible values: >= -2147483648
and <= 2147483647
Responses
- 200
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
datasetId
object
required
datasetFileId
object
required
datasetView
object
required
Possible values: >= -9223372036854776000
and <= 9223372036854776000
Possible values: >= -9223372036854776000
and <= 9223372036854776000
data
object[]
required
id
object
required
Ordered row values with length always equal to num_rows
on the
corresponding view.
columns
object[]
required
id
object
required
Index of the column within the dataset file.
Possible values: >= -9223372036854776000
and <= 9223372036854776000
The literal name for the column.
{
"datasetId": {
"value": "string"
},
"datasetFileId": {
"value": "string"
},
"datasetView": {
"numRows": 0,
"numCols": 0,
"data": [
{
"id": {
"value": "string"
},
"rowValues": [
{}
]
}
],
"columns": [
{
"id": {
"value": "string"
},
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z",
"index": 0,
"literalName": "string",
"dtype": "string"
}
]
}
}