Reference / Workspace

Create organisation set

create_organisation_setocmgr organisations sets createPOST /v1/organisation-setsWRITE

Save an organisation-only filter after preview_organisation_set. Materialises small workspaces immediately; larger ones refresh hourly. Emits organisation_set.entered/left transitions.

Parameters

namestringup to 200 charsREQUIRED
descriptionstringup to 2000 chars
filterobjectREQUIRED

Organisation-only filter tree: {all:[...]}, {any:[...]} or {field,op,value}. Fields and operators: organisation.search (text; contains; example {"field":"organisation.search","op":"contains","value":"acme"}); organisation.corporate (boolean; is; example {"field":"organisation.corporate","op":"is","value":true}); organisation.key (list; any_of, none_of; example {"field":"organisation.key","op":"any_of","value":["domain:acme.io"]}); organisation.members (number; eq, ne, gt, gte, lt, lte, between; example {"field":"organisation.members","op":"gte","value":3}); organisation.activity_90d (number; eq, ne, gt, gte, lt, lte, between; example {"field":"organisation.activity_90d","op":"gt","value":0}); organisation.kind (enum; any_of, none_of; example {"field":"organisation.kind","op":"any_of","value":["email_domain"]}); organisation.domain (text; is, is_not, contains, not_contains, starts_with, is_empty, is_not_empty; example {"field":"organisation.domain","op":"is","value":"acme.io"}); organisation.tags (list; any_of, none_of, is_empty; example {"field":"organisation.tags","op":"any_of","value":["customer"]}); organisation.first_seen (date; before, after, within_last, not_within_last, within_next, is_empty, is_not_empty; example {"field":"organisation.first_seen","op":"within_last","value":{"days":90}}); organisation.last_seen (date; before, after, within_last, not_within_last, within_next, is_empty, is_not_empty; example {"field":"organisation.last_seen","op":"not_within_last","value":{"days":180}}). These differ from member filters returned by list_segment_fields.

CLI flags

--filter <json>REQUIRED

Organisation filter tree

--description <text>

Description

Also in Workspace