Skip to main content

create_collection

Create a new collection. Expects JSON with name (required) and optional type (manual|smart) and filter_rule.

def create_collection() - > object

Create a new collection. Expects JSON with 'name' (required) and optional 'type' (manual|smart) and 'filter_rule'.

Returns

TypeDescription
objectA JSON response containing the created collection's dictionary representation or an error message.