Skip to main content

Services

RPC methods exposed by this API.

DataImportService

Messages

Data models used across requests/responses.

Ch10Config

FieldTypeLabelDescription
asset_namestring
run_namestring
scale_valuesbool

CreateDataImportFromUploadRequest

FieldTypeLabelDescription
csv_configCsvConfig
ch10_configCh10Config
tdms_configTDMSConfig
parquet_configParquetConfig
hdf5_configHdf5Config

CreateDataImportFromUploadResponse

FieldTypeLabelDescription
upload_urlstring
data_import_idstring

CreateDataImportFromUrlRequest

FieldTypeLabelDescription
urlstringThe url to import. HTTP and S3 urls are supported. If you need to import non-public S3 objects, please contact Sift to set that up.
csv_configCsvConfig
ch10_configCh10Config
tdms_configTDMSConfig
parquet_configParquetConfig
hdf5_configHdf5Config

CreateDataImportFromUrlResponse

FieldTypeLabelDescription
data_import_idstring

CsvConfig

FieldTypeLabelDescription
asset_namestring
run_namestring
run_idstringThe id of the run to add this data to. If set, run_name is ignored.
first_data_rowuint32The first row to start reading as data. Can be used to skip header rows. The first row in the file is 1.
time_columnCsvTimeColumnoptional
data_columnsCsvConfig.DataColumnsEntryrepeatedA map from column number (1-indexed) to the channel configuration for that column.
num_rowsuint64optionalThis will be read on upload from the file if not set.

CsvConfig.DataColumnsEntry

FieldTypeLabelDescription
keyuint32
valuesift.common.type.v1.ChannelConfig

CsvTimeColumn

FieldTypeLabelDescription
column_numberuint32The column number (1-indexed) of the time column.
formatTimeFormat
relative_start_timegoogle.protobuf.Timestampoptional

DataImport

FieldTypeLabelDescription
data_import_idstring
source_urlstring
statusDataImportStatus
error_messagestring
created_dategoogle.protobuf.Timestamp
modified_dategoogle.protobuf.Timestamp
csv_configCsvConfig
ch10_configCh10Config
tdms_configTDMSConfig
parquet_configParquetConfig
hdf5_configHdf5Config
run_idstringoptionalThe run id will be set if the data import ingests to a run once the run is available.
report_idstringoptionalThe report id will be set if the data import creates a report once the report is available.
asset_idstringoptional
data_start_timegoogle.protobuf.Timestampoptional
data_stop_timegoogle.protobuf.Timestampoptional

DetectConfigRequest

FieldTypeLabelDescription
databytes
typeDataTypeKey

DetectConfigResponse

FieldTypeLabelDescription
csv_configCsvConfig
parquet_configParquetConfig
hdf5_configHdf5Config
tdms_configTDMSConfig

GetDataImportRequest

FieldTypeLabelDescription
data_import_idstring

GetDataImportResponse

FieldTypeLabelDescription
data_importDataImport

Hdf5Config

FieldTypeLabelDescription
asset_namestring
run_namestring
run_idstringThe id of the run to add this data to. If set, run_name is ignored.
dataHdf5DataConfigrepeated
time_formatTimeFormat
relative_start_timegoogle.protobuf.Timestampoptional

Hdf5DataConfig

FieldTypeLabelDescription
time_datasetstring
time_indexuint64
value_datasetstring
value_indexuint64
channel_configsift.common.type.v1.ChannelConfig
time_fieldstringoptionalFor compound types, allow specifying which fields to use.
value_fieldstringoptional

ListDataImportsRequest

FieldTypeLabelDescription
page_sizeuint32The maximum number of data imports to return. The service may return fewer than this value. If unspecified, at most 50 data imports will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Optional.
page_tokenstringA page token, received from a previous ListDataImports call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDataImports must match the call that provided the page token. Optional.
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are data_import_id, source_url, status. For further information about how to use CELs, please refer to this guide.
order_bystringHow to order the retrieved data imports. Formatted as a comma-separated string i.e. “FIELD_NAME[ desc],…”. Available fields to order_by are created_date and modified_date. If left empty, items are ordered by created_date in ascending order (oldest-first). For more information about the format of this field, read this Example: “created_date desc,modified_date”

ListDataImportsResponse

FieldTypeLabelDescription
data_importsDataImportrepeated
next_page_tokenstring

ParquetColumn

FieldTypeLabelDescription
pathstring
column_configsift.common.type.v1.ChannelConfig

ParquetConfig

FieldTypeLabelDescription
asset_namestring
run_namestring
run_idstringThe id of the run to add this data to. If set, run_name is ignored.
oneof config. flat_datasetParquetFlatDatasetConfig
oneof config. single_channel_per_rowParquetSingleChannelPerRowConfig
footer_offsetuint64
footer_lengthuint32
complex_types_import_modeParquetComplexTypesImportMode

ParquetDataColumn

FieldTypeLabelDescription
pathstring
channel_configsift.common.type.v1.ChannelConfig

ParquetFlatDatasetConfig

FieldTypeLabelDescription
time_columnParquetTimeColumn
data_columnsParquetDataColumnrepeated

ParquetSingleChannelPerRowConfig

FieldTypeLabelDescription
time_columnParquetTimeColumnTimestamp column configuration.
columnsParquetColumnrepeatedDetected columns.
oneof config. single_channelParquetSingleChannelPerRowSingleChannelConfigSingle channel per file configuration.
oneof config. multi_channelParquetSingleChannelPerRowMultiChannelConfigMulti-channel per file configuration.

ParquetSingleChannelPerRowMultiChannelConfig

FieldTypeLabelDescription
name_pathstring
data_pathstring

ParquetSingleChannelPerRowSingleChannelConfig

FieldTypeLabelDescription
data_pathstring
channelsift.common.type.v1.ChannelConfig

ParquetTimeColumn

FieldTypeLabelDescription
pathstring
formatTimeFormat
relative_start_timegoogle.protobuf.Timestampoptional

RetryDataImportRequest

FieldTypeLabelDescription
data_import_idstringdata_import_id is the id of the data import to retry. You can only retry an import that is a “url” based import (created with CreateDataImportFromUrl) and is in a failed state.

RetryDataImportResponse

This message has no fields.

TDMSConfig

FieldTypeLabelDescription
asset_namestring
run_namestring
start_time_overridegoogle.protobuf.TimestampOverride the wf_start_time metadata field for all channels. Useful if your waveform channels have wf_increment but no wf_start_time (Veristand is guilty of this).
file_sizeuint64optionalDeprecated. The file size in bytes. If the file has truncated chunks, this will be required to pass validation.
run_idstringThe id of the run to add this data to. If set, run_name is ignored.
dataTdmsDataConfigrepeatedIf no data entries are present attempt to ingest everything relying on the fallback method for any ambiguous channels.
fallback_methodTdmsFallbackMethodThe fallback method for channels with missing timing information.
time_formatTimeFormatoptionalTime format for time channels not using the TDMS timestamp type.
relative_start_timegoogle.protobuf.TimestampoptionalRelative start time for channels using a non standard time channel.
import_file_propertiesboolIf true, will import TDMS file properties to the run as metadata. Only valid if a run_name or run_id is set.

TdmsDataConfig

FieldTypeLabelDescription
group_namestringThe TDMS group name associated with this channel.
channel_namestringThe TDMS channel name associated with this channel.
channel_configsift.common.type.v1.ChannelConfigThe Sift channel config.
time_channel_namestringoptionalThe time channel associated with this channel. If this is empty then we assume it’s a waveform channel with waveform properties.
scaledbooloptionalWhether to import scaled or raw values. Defaults to True to import scaled values.
complex_componentTdmsComplexComponentoptionalWhether to import the real or imaginary component. Only applies to complex data types. Defaults to real.

Enums

Allowed constant values used in message fields.

DataImportStatus

NameNumberDescription
DATA_IMPORT_STATUS_UNSPECIFIED0
DATA_IMPORT_STATUS_PENDING1
DATA_IMPORT_STATUS_IN_PROGRESS2
DATA_IMPORT_STATUS_SUCCEEDED3
DATA_IMPORT_STATUS_FAILED4

DataTypeKey

NameNumberDescription
DATA_TYPE_KEY_UNSPECIFIED0
DATA_TYPE_KEY_CSV1
DATA_TYPE_KEY_TDMS2
DATA_TYPE_KEY_CH103
DATA_TYPE_KEY_PARQUET_FLATDATASET4
DATA_TYPE_KEY_PARQUET_SINGLE_CHANNEL_PER_ROW5
DATA_TYPE_KEY_HDF56

ParquetComplexTypesImportMode

NameNumberDescription
PARQUET_COMPLEX_TYPES_IMPORT_MODE_UNSPECIFIED0
PARQUET_COMPLEX_TYPES_IMPORT_MODE_IGNORE1Ignore complex types and do not ingest them.
PARQUET_COMPLEX_TYPES_IMPORT_MODE_BOTH2Import complex types as both Arrow bytes and JSON strings.
PARQUET_COMPLEX_TYPES_IMPORT_MODE_STRING3Import complex types as only JSON strings.
PARQUET_COMPLEX_TYPES_IMPORT_MODE_BYTES4Import complex types as only Arrow bytes.

TdmsComplexComponent

NameNumberDescription
TDMS_COMPLEX_COMPONENT_UNSPECIFIED0Default is to select the real component.
TDMS_COMPLEX_COMPONENT_REAL1
TDMS_COMPLEX_COMPONENT_IMAGINARY2

TdmsFallbackMethod

The fallback method tells the importer how to treat channels without any timing information (i.e, waveform properties or time channels).
NameNumberDescription
TDMS_FALLBACK_METHOD_UNSPECIFIED0
TDMS_FALLBACK_METHOD_FAIL_ON_ERROR1Fails the import if any specified channels have missing timing information.
TDMS_FALLBACK_METHOD_IGNORE_ERROR2Ignores channels without any timing information.

TimeFormat

NameNumberDescription
TIME_FORMAT_UNSPECIFIED0
TIME_FORMAT_RELATIVE_NANOSECONDS1
TIME_FORMAT_RELATIVE_MICROSECONDS2
TIME_FORMAT_RELATIVE_MILLISECONDS3
TIME_FORMAT_RELATIVE_SECONDS4
TIME_FORMAT_RELATIVE_MINUTES5
TIME_FORMAT_RELATIVE_HOURS6
TIME_FORMAT_ABSOLUTE_RFC333910
TIME_FORMAT_ABSOLUTE_DATETIME11
TIME_FORMAT_ABSOLUTE_UNIX_SECONDS12
TIME_FORMAT_ABSOLUTE_UNIX_MILLISECONDS13
TIME_FORMAT_ABSOLUTE_UNIX_MICROSECONDS14
TIME_FORMAT_ABSOLUTE_UNIX_NANOSECONDS15