Create new chunk_group(s). This is a way to group chunks together. If you try to create a chunk_group with the same tracking_id as an existing chunk_group, this operation will fail. Only 1000 chunk groups can be created at a time. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
Example:
constdata = awaittrieve.createChunkGroup({ description:"All versions and colorways of the oversized t-shirt", metadata: { color:"black", size:"large", }, name:"Versions of Oversized T-Shirt", tag_set: ["tshirt", "oversized", "clothing"], tracking_id:"SNOVERSIZEDTSHIRT", upsert_by_tracking_id:false, });
Create new chunk_group(s). This is a way to group chunks together. If you try to create a chunk_group with the same tracking_id as an existing chunk_group, this operation will fail. Only 1000 chunk groups can be created at a time. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
Example: