Actions28
Item → Create
AI-generatedSummary
Create a new item in a Kumiho space by posting space_path, item_name, kind, and metadata to the Kumiho API.
Inputs
- itemSpacePath (required) — Space path, e.g., /project/space. Must be a valid path; validated via normalizeKumihoPath and throws if empty or invalid.
- itemName (required) — Name of the item to create. Sent as the item_name field to the Kumiho API.
- itemKind — Kind of the item. Defaults to 'model' if not specified. Sent as the kind field to the Kumiho API.
- itemMetadataCreate — Metadata object as JSON. Must be valid JSON; invalid input throws an ApplicationError. Defaults to '{}'.
Output shape
single object
The created item data returned from the Kumiho API (POST /api/v1/items), emitted as a single output item via out.push({ json: data }).
Examples
Example 1: Create a model item in space /my-project/assets
itemSpacePath: '/my-project/assets', itemName: 'my-model', itemKind: 'model', itemMetadataCreate: '{}' results in API call POST /api/v1/items with body { space_path: '/my-project/assets', item_name: 'my-model', kind: 'model', metadata: {} }.