v50

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-05-271282305.2 KB

Get the number of opted-in and opted-out image URLs in a dataset.

Based on the API of spawning.ai, returns the number of image URLs that have been opted-in and opted-out. Use the optional config and split parameters to filter the response. Only a sample of the rows is scanned, the first 100K rows at the moment.

get/opt-in-out-urls

Query parameters

datasetstring required

The identifier of the dataset on the Hub.

configstring

The dataset subset on which to filter the response.

splitstring

The split name.

Response

The number of opted-in and opted-out image URLS in the dataset.

urls_columnsstring[] required
num_opt_in_urlsinteger required
num_opt_out_urlsinteger required
num_urlsinteger required
num_scanned_rowsinteger required
has_urls_columnsboolean required
full_scanboolean nullable required