GET
/
api
/
dataset
/
get_dataset_queue_lengths
curl --request GET \
  --url https://api.trieve.ai/api/dataset/get_dataset_queue_lengths \
  --header 'Authorization: <api-key>' \
  --header 'TR-Dataset: <tr-dataset>'
{
  "chunk_queue_length": 123,
  "file_queue_length": 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.

Response

200
application/json

Queue lengths for file and chunk creation

The response is of type object.