Create Resource
engramic_create_resourceCreate a new resource in the workspace. A resource is a structured, reusable asset whose shape is determined by its subtype. Use for things like brand kits, templates, credentials, or other typed assets the organisation maintains.
detail is unstructured JSON — its shape depends on the subtype. subtype identifies what kind of resource this is. 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 resource 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 | No | ||
| status | No | active | |
| subtype | No | ||
| parentId | No | ||
| validFrom | No | ||
| references | No | ||
| validUntil | No | ||
| classification | No | internal |