POST
/
api
/
dataset
/
get_all_tags
curl --request POST \
  --url https://api.trieve.ai/api/dataset/get_all_tags \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TR-Dataset: <tr-dataset>' \
  --data '{
  "page": 123,
  "page_size": 123
}'
{
  "tags": [
    {
      "count": 123,
      "tag": "<string>"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Headers

TR-Dataset
string
required

The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.

Body

application/json
JSON request payload to get items with the tag in the request

The body is of type object.

Response

200
application/json
Page of tags requested with all tags and the number of chunks in the dataset with that tag plus the total number of unique tags for the whole datset

The response is of type object.