create
create(Accepted keys: Data plane fine-grained API key withrequest:CreateDatapointRequest):Promise<CreateDatapointResponse>
project_id; Project API key without project_id (deprecated)
Create a new datapoint
Create a single datapoint with inputs, history, ground truth, and metadata. The linked_datasets array accepts at most one dataset ID. Requests with more than one entry return 400. A request with a non-empty linked_datasets also requires the project.dataset.post permission.
createBatch
createBatch(Accepted keys: Data plane fine-grained API key withrequest:BatchCreateDatapointsRequest):Promise<BatchCreateDatapointsResponse>
project_id; Project API key without project_id (deprecated)
Create multiple datapoints in batch
Create multiple datapoints from events using field mappings and optional filters. A data plane API key needs both project.datapoint.post and project.event.get for the project, and also project.dataset.post when the body names a dataset_id.
delete
delete(Accepted keys: Data plane fine-grained API key withrequest:DeleteDatapointRequest):Promise<DeleteDatapointResponse>
project_id; Project API key without project_id (deprecated)
Delete a specific datapoint
Permanently delete a datapoint by its unique identifier, and remove it from every dataset that holds it. Answers 404 when the project holds no such datapoint. Requires only the project.datapoint.delete permission.
get
get(Accepted keys: Data plane fine-grained API key withrequest:GetDatapointRequest):Promise<GetDatapointResponse>
project_id; Project API key without project_id (deprecated)
Retrieve a specific datapoint
Get a single datapoint by its unique identifier.
list
list(Accepted keys: Data plane fine-grained API key withrequest?:GetDatapointsRequest):Promise<GetDatapointsResponse>
project_id; Project API key without project_id (deprecated)
Retrieve a list of datapoints
Retrieve datapoints, optionally filtered by a list of datapoint IDs or dataset name.
update
update(Accepted keys: Data plane fine-grained API key withrequest:UpdateDatapointRequest):Promise<UpdateDatapointResponse>
project_id; Project API key without project_id (deprecated)
Update a specific datapoint
Update fields on an existing datapoint. Only the provided fields are modified. A request that includes linked_datasets also requires the project.dataset.post and project.dataset.delete permissions.