Datasets

Update a datapoint

Changed on

Updates the inputs, messages, or expected output for a datapoint.

patch/v2/datasets/{dataset_id}/datapoints/{datapoint_id}

Request

  • Base URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/datasets/{dataset_id}/datapoints/{datapoint_id}
  • Auth
    HTTP bearer

Path parameters

dataset_idstring required
datapoint_idstring required

Request body

inputsobject

Structured variables passed to the prompt or workflow.

expected_outputstring

Response

OK

inputsobject

Structured variables passed to the prompt or workflow.

expected_outputstring

Reference output expected for this datapoint.

dataset_idstring required

Dataset that owns the datapoint.

snapshot_versionstring

Dataset snapshot version that includes the datapoint.

created_by_idstring required

Account that created the datapoint.

updated_by_idstring required

Account that last updated the datapoint.

createdstring

RFC3339 timestamp when the datapoint was created.

updatedstring

RFC3339 timestamp when the datapoint was last updated.

workspace_idstring

Workspace that owns the datapoint, derived from the authentication context.

_idstring required

Unique datapoint identifier.

Changes