addDatapoints
addDatapoints(Accepted keys: Data plane fine-grained API key withrequest:AddDatapointsRequest):Promise<AddDatapointsResponse>
project_id; Classic API key without project_id (deprecated)
Add datapoints to a dataset
Add new datapoints to an existing dataset. Provide raw data objects and a field mapping that specifies which fields map to inputs, ground truth, and history.
create
create(Accepted keys: Data plane fine-grained API key withrequest:CreateDatasetRequest):Promise<CreateDatasetResponse>
project_id; Classic API key without project_id (deprecated)
Create a dataset
Create a new dataset with an optional name, description, and initial set of datapoint IDs.
delete
delete(Accepted keys: Data plane fine-grained API key withrequest:DeleteDatasetRequest):Promise<DeleteDatasetResponse>
project_id; Classic API key without project_id (deprecated)
Delete a dataset
Permanently delete a dataset by its unique identifier.
getVersion
getVersion(Accepted keys: Data plane fine-grained API key Get a dataset version Get one version of a dataset, with the number of datapoints it added, edited, and removed.request:GetDatasetVersionRequest):Promise<GetDatasetVersionResponse>
list
list(Accepted keys: Data plane fine-grained API key withrequest?:GetDatasetsRequest):Promise<GetDatasetsResponse>
project_id; Classic API key without project_id (deprecated)
Get datasets
Retrieve datasets, optionally filtered by dataset ID or name.
listVersionDatapoints
listVersionDatapoints(Accepted keys: Data plane fine-grained API key List the datapoints of a dataset version Fetch a snapshot of a dataset’s datapoints at a given version, newest first by created_at. Each datapoint has the content it had at that version, even if it was edited later. Deleted datapoints are omitted from all versions, including versions that predate the deletion.request:ListDatasetVersionDatapointsRequest):Promise<ListDatasetVersionDatapointsResponse>
listVersions
listVersions(Accepted keys: Data plane fine-grained API key List dataset versions List a dataset’s versions, newest first. Each write that changes which datapoints a dataset holds, or their content, records one version. Versions are numbered from 1, and each one counts the datapoints it added, edited, and removed. A dataset that has never held a datapoint has no versions.request:ListDatasetVersionsRequest):Promise<ListDatasetVersionsResponse>
removeDatapoint
removeDatapoint(Accepted keys: Data plane fine-grained API key withrequest:RemoveDatapointRequest):Promise<RemoveDatapointResponse>
project_id; Classic API key without project_id (deprecated)
Remove a datapoint from a dataset
Remove a specific datapoint from a dataset. The datapoint itself is not deleted, only dereferenced from the dataset.
removeDatapoints
removeDatapoints(Accepted keys: Data plane fine-grained API key Remove datapoints from a dataset Remove up to 1000 datapoints from a dataset in one request, recorded as one dataset version. The datapoints themselves are not deleted, only dereferenced from the dataset. An id the dataset does not hold is skipped, and a request that removes nothing records no version.request:RemoveDatapointsRequest):Promise<RemoveDatapointsResponse>
update
update(Accepted keys: Data plane fine-grained API key withrequest:UpdateDatasetRequest):Promise<UpdateDatasetResponse>
project_id; Classic API key without project_id (deprecated)
Update a dataset
Update a dataset’s name, description, or list of datapoint IDs.
updateVersion
updateVersion(Accepted keys: Data plane fine-grained API key Update a dataset version Set or clear the label of one dataset version. The label is the only field a version allows changing. Changing it creates no dataset version.request:UpdateDatasetVersionRequest):Promise<UpdateDatasetVersionResponse>