Dataset Inputs
Create, explore and modify datasets
Add inputs to a dataset
curl --location -g --request POST 'api.clarifai.com/v2/datasets/{{dataset_id}}/inputs' \
--header 'Authorization: Key {{YOUR API KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"dataset_inputs": [
{
"input": {
"id": "{{input_id}}"
}
}
]
}'List inputs in a datasets
curl --location -g --request GET 'api.clarifai.com/v2/datasets/{{dataset_id}}/inputs?page=1&per_page=100' \
--header 'Authorization: Key {{YOUR API KEY}}' \
--header 'Content-Type: application/json'Get a dataset inputs
Delete Inputs
Last updated
Was this helpful?