Fields

Create a new field

Changed on

Creates a new field and returns its field ID.

The optional from_field_id parameter can be provided in order to copy an existing field as a starting point for further training.

post/fields

Request

Request body

descriptionstring
namestring required
from_field_idstring

ID of an existing field to copy

Example request

{
  "description": "A description of the field",
  "name": "My New Field",
  "from_field_id": "12345678-1234-1234-1234-123456789012"
}

Response

ID of newly created field

field_idstring

Example response

{
  "field_id": "12345678-1234-1234-1234-123456789012"
}

Changes