Datasets
Create Dataset
Dataset Items
Evaluations
Evaluation Items
Datasets
Create Dataset
POST
/
v5
/
datasets
curl --request POST \
--url https://api.egp.scale.com/v5/datasets \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"data": [
{}
]
}'
{
"id": "<string>",
"object": "dataset",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"current_version_num": 123
}
Authorizations
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.egp.scale.com/v5/datasets \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"data": [
{}
]
}'
{
"id": "<string>",
"object": "dataset",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"current_version_num": 123
}