post
https://expert.inskill.ai/public/apiv3/datadictionary
Create a new data dictionary entry (custom field) for your copilot.
Required Fields:
product_id: The copilot this field belongs tokey: Field key/name (e.g., "serial_number", "temperature")data_type: Data type (0=bool, 1=int, 2=float, 3=enum, 4=string, 5=observation)
Optional Fields:
type: Field type (0=expertise, 1=asset, defaults to 0)defaults: Object mapping product IDs to default valuesvalues: Array of {key, value} objects (required for enum/list fields, data_type: 3)
💡 Tips:
- For asset fields (type: 1), these fields will be available in the asset
dataobject - For expertise fields (type: 0), these fields can be used in task dependencies, feedback, or looping
- Use enum fields (data_type: 3) when you need predefined options (e.g., status, category)
- Default values can be different for each copilot in a component tree
