Dataset Filters

Use filter and search functionality over your datasets

Add dataset filters

curl --location -g --request POST 'api.clarifai.com/v2/datasets/{{dataset_id}}/filters' \
--header 'Authorization: Key {{YOUR API KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "dataset_filters": [
        {
            "id": "dataset-filter-1633032596",
            "name": "foo",
            "saved_search": {
                "id": "{{search_id}}"
            }
        }
    ]
}'

List dataset Filters

curl --location -g --request GET 'api.clarifai.com/v2/datasets/{{dataset_id}}/filters?page=1&per_page=100' \
--header 'Authorization: Key {{YOUR API KEY}}' \
--header 'Content-Type: application/json'

Get a dataset filter

Change a dataset filter

Delete a dataset filter

Last updated

Was this helpful?