datasets

Create Datapoint

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
post/datasets/{dataset_id}/datapoints

Request

  • Base URL: https://api.humanloop.com/v4
  • URL: https://api.humanloop.com/v4/datasets/{dataset_id}/datapoints
  • Auth: API key in header X-API-KEY

Path parameters

dataset_idstring required

String ID of dataset. Starts with evts_.

Request body

OR
OR

Response

Successful Response

idstring required
dataset_idstring
inputsobject
targetobject

Changes

No recorded changes to this operation across all 1 revision of this API.