Get Dataset
GET/v2/projects/datasets/:datasetid/
Retrieve a dataset by its ID.
This endpoint allows you to retrieve a dataset by providing its ID.
Parameters:
- datasetid (str): The ID of the dataset to retrieve.
Returns:
- Dataset: The retrieved dataset.
Raises:
- HTTPException: If the dataset is not found or the user is not authorized.
Request
Path Parameters
datasetid Datasetidrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- Status
id Id (string)required
name Name (string)required
size Size (integer)required
manifest objectrequired
status
object
anyOf
string
Possible values: [PENDING
, RUNNING
, COMPLETED
, FAILED
]
data object[]required
{
"id": "string",
"name": "string",
"size": 0,
"manifest": {},
"status": "PENDING",
"data": [
{}
]
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...