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)
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!