Create Constraint
engramic_create_constraintCreate a new constraint in the workspace. A constraint records a limitation or boundary the organisation must respect — budget, time, technical, legal, or policy-based.
detail (description of what this constraint limits or requires) is required. severity (low | medium | high | critical) is optional but recommended. validFrom and validUntil mark when the constraint takes effect and expires. status defaults to active.
Use engramic_topic to browse children at the intended parent first — duplicates fragment the graph.
Published on creation by default; pass draft: true only to hold it back unpublished.
Returns the created constraint with its assigned ID and your permissions on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | Set true to create this topic UNPUBLISHED (a draft that needs a later publish step). Omit or set false — the default — to publish it immediately, which is correct once the user has confirmed the creation. | |
| label | Yes | ||
| detail | Yes | ||
| status | No | active | |
| parentId | No | ||
| validFrom | No | ||
| references | No | ||
| validUntil | No | ||
| classification | No | internal |