Skip to main content
PUT
/
v1
/
datapoints
/
{id}
Update a specific datapoint
curl --request PUT \
  --url https://api.honeyhive.ai/v1/datapoints/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": {},
  "history": [
    {}
  ],
  "ground_truth": {},
  "metadata": {},
  "linked_event": "<string>",
  "linked_datasets": [
    "<string>"
  ]
}
'
{
  "updated": true,
  "result": {
    "modifiedCount": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of datapoint to update

Body

application/json
inputs
object
history
object[]
ground_truth
object
metadata
object
linked_event
string
linked_datasets
string[]
Minimum string length: 1

Response

Datapoint successfully updated

updated
boolean
required
result
object
required