Datasets Metadata#
Listing Datasets#
- POST https://api.sutro.sh/list-datasets#
List all datasets.
- Request Headers:
Authorization – Your Sutro API key.
- Returns:
A JSON object containing a list of datasets.
Listing Files in a Dataset#
- POST https://api.sutro.sh/list-dataset-files#
List all files in a dataset.
- Request Headers:
Authorization – Your Sutro API key.
- Request JSON Object:
dataset_id (str) – The ID of the dataset to list the files in.
- Returns:
A JSON object containing a list of files in the dataset, in the order they were uploaded.