Create a dataset by uploading a file. See ‘Dataset Creation’ for more information.
Bearer authentication of the form Bearer <token>, where token is your auth token.
The dataset type, which is used to validate the data. The only valid type is embed-input used in conjunction with the Embed Jobs API.
Indicates whether rows with malformed input should be dropped (instead of failing the validation check). Dropped rows will be returned in the warnings field.
Raw .txt uploads will be split into entries using the text_separator value.
List of names of fields that will be persisted in the Dataset. By default the Dataset will retain only the required fields indicated in the schema for the corresponding Dataset type. For example, datasets of type embed-input will drop all fields other than the required text field. If any of the fields in keep_fields are missing from the uploaded file, Dataset validation will fail.
List of names of fields that will be persisted in the Dataset. By default the Dataset will retain only the required fields indicated in the schema for the corresponding Dataset type. For example, Datasets of type embed-input will drop all fields other than the required text field. If any of the fields in optional_fields are missing from the uploaded file, Dataset validation will pass.