Skip to main content
POST
Add to Slice
Click for Python SDK
This endpoint appends existing DatasetItems from a Dataset to a Slice. Provide a list of DatasetItem reference IDs, which are set at upload time. The list cannot exceed 10,000 items per request.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

slice_id
string
required

The Scale-generated ID of the Slice.

Body

application/json
reference_ids
string[]
required

Array of user-specified reference IDs pertaining to the items to include in the Slice.

Response

200

slice_id
string
Example:

"slc_bx86ea222a6g057x4380"

new_items
string[]