Export Slice

šŸ“˜

Click for Python SDK

Slice.items_and_annotation_generator() -> List[
    Dict[str, Union[
        DatasetItem,
        Dict[str, List[Annotation]]]
    ]
]

This endpoint exports all DatasetItems and associated Annotations of a Slice for use with model training page-by-page.

In order to speed up the export, the following Annotation attributes are not included in the payload:

  • Annotation IDs
  • Annotation-level metadata
  • Reference IDs for annotations (since they are pulled down for the DatasetItem already)
Path Params
string
required

The Scale-generated ID of the Slice.

Body Params
string

The dataset_item_id after which to start fetching items in the next page. Can be null (fetches the first page of items).

int32
Defaults to 10000

The size of the fetched page. The maximum is 10000 items.

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here!