v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1422138111.2 KB

Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly information for a single image, including the image location and the assigned label.

This operation requires permissions to perform the lookoutvision:ListDatasetEntries operation.

get/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries

Path parameters

projectNamestring required

The name of the project that contains the dataset that you want to list.

datasetTypestring required

The type of the dataset that you want to list. Specify <code>train</code> to list the training dataset. Specify <code>test</code> to list the test dataset. If you have a single dataset project, specify <code>train</code>.

Query parameters

labeledboolean

Specify <code>true</code> to include labeled entries, otherwise specify <code>false</code>. If you don't specify a value, Lookout for Vision returns all entries.

anomalyClassstring

Specify <code>normal</code> to include only normal images. Specify <code>anomaly</code> to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.

createdBeforestring date-time

Only includes entries before the specified date in the response. For example, <code>2020-06-23T00:00:00</code>.

createdAfterstring date-time

Only includes entries after the specified date in the response. For example, <code>2020-06-23T00:00:00</code>.

nextTokenstring

If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.

maxResultsinteger

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

sourceRefContainsstring

Perform a "contains" search on the values of the <code>source-ref</code> key within the dataset. For example a value of "IMG_17" returns all JSON Lines where the <code>source-ref</code> key value matches <i>IMG_17</i>.

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Response

Success

DatasetEntriesDatasetEntry[]

A list of the entries (JSON Lines) within the dataset.

NextTokenstring

If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set ofdataset entries.