Skip to content

Datapoints

Manage individual records inside datasets, including batch creation and mapping to source events.

list

Retrieve a list of datapoints

Retrieve datapoints, optionally filtered by a list of datapoint IDs or dataset name.

Usage

sh
honeyhive datapoints list [options]

Options

FlagTypeRequiredDescription
--datapoint-idsjsonnoList of datapoint ids to fetch
--dataset-namestringnoName of the dataset to get datapoints from

create

Create a new datapoint

Create a single datapoint with inputs, history, ground truth, and metadata.

Usage

sh
honeyhive datapoints create [options]

Options

FlagTypeRequiredDescription
--ground-truthjsonnoground_truth
--historyjsonnohistory
--inputsjsonnoinputs
--linked-datasetsjsonnolinked_datasets
--linked-eventstringnolinked_event
--metadatajsonnometadata

create-batch

Create multiple datapoints in batch

Create multiple datapoints from events using field mappings and optional filters.

Usage

sh
honeyhive datapoints create-batch [options]

Options

FlagTypeRequiredDescription
--check-statejsonnocheckState
--dataset-idstringnodataset_id
--date-rangejsonnodateRange
--eventsjsonnoevents
--filtersjsonnofilters
--mappingjsonnomapping
--select-all / --no-select-allbooleannoselectAll

get

Retrieve a specific datapoint

Get a single datapoint by its unique identifier.

Usage

sh
honeyhive datapoints get [options]

Options

FlagTypeRequiredDescription
--datapoint-idstringyesDatapoint ID like 65c13dbbd65fb876b7886cdb

update

Update a specific datapoint

Update fields on an existing datapoint. Only the provided fields are modified.

Usage

sh
honeyhive datapoints update [options]

Options

FlagTypeRequiredDescription
--datapoint-idstringyesID of datapoint to update
--ground-truthjsonnoground_truth
--historyjsonnohistory
--inputsjsonnoinputs
--linked-datasetsjsonnolinked_datasets
--linked-eventstringnolinked_event
--metadatajsonnometadata

delete

Delete a specific datapoint

Permanently delete a datapoint by its unique identifier.

Usage

sh
honeyhive datapoints delete [options]

Options

FlagTypeRequiredDescription
--datapoint-idstringyesDatapoint ID like 65c13dbbd65fb876b7886cdb