Create dataset
curl --request POST \
--url https://api.calibrate.artpark.ai/datasets \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>"
}
'import requests
url = "https://api.calibrate.artpark.ai/datasets"
payload = { "name": "<string>" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"name": "<string>",
"dataset_type": "<string>",
"item_count": 123,
"eval_count": 123,
"created_at": "<string>",
"updated_at": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Datasets
Create dataset
Create a new empty dataset. Add items separately
POST
/
datasets
Create dataset
curl --request POST \
--url https://api.calibrate.artpark.ai/datasets \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "<string>"
}
'import requests
url = "https://api.calibrate.artpark.ai/datasets"
payload = { "name": "<string>" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"name": "<string>",
"dataset_type": "<string>",
"item_count": 123,
"eval_count": 123,
"created_at": "<string>",
"updated_at": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
API key for authentication
Body
application/json
Response
Successful Response
Dataset ID
Required string length:
36Example:
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
Dataset name
Dataset type (stt or tts)
Number of items in the dataset
Number of evaluation jobs that used this dataset
When the dataset was created (ISO 8601 UTC)
When the dataset was last updated (ISO 8601 UTC)