Create data dictionary entry

Create a new data dictionary entry (custom field) for your copilot.

Required Fields:

  • product_id: The copilot this field belongs to
  • key: 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 values
  • values: 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 data object
  • 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
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!