Create Datapoint

POST

Create a new datapoint for a dataset.

Here in the v4 API, this has the following behaviour:

  • Retrieve the current latest version of the dataset.
  • Construct a new version of the dataset with the new testcases added.
  • Store that latest version as a committed version with an autogenerated commit message and return the new datapoints

Path parameters

dataset_idstringRequired

String ID of dataset. Starts with evts_.

Request

This endpoint expects an object or a list of objects.
Create Datapoints by Logs Requestobject
OR
Create Datapoint Requestobject
OR
list of objects

Response

This endpoint returns a list of objects
idstring
dataset_idstringOptional
inputsmap from strings to stringsOptional
messageslist of objectsOptional
targetmap from strings to strings or integers or doubles or booleans or lists of any or maps from strings to anyOptional

Errors