Skip to content

segmentationForDataSource

Query

Segment a data source’s asset at a specified timestamp

Response

Returns SegmentationResponse

Arguments

NameTypeDescription
dataSourceIdID!

The ID of the data source

timestampDateTimeOffset!

The time at which the data source will be segmented

optionsSegmentationOptionsInput

Optional segmentation parameters.

Example

query segmentationForDataSource(
$dataSourceId: ID!,
$timestamp: DateTimeOffset!,
$options: SegmentationOptionsInput
) {
segmentationForDataSource(
dataSourceId: $dataSourceId,
timestamp: $timestamp,
options: $options
) {
results {
segment {
__typename
}
regionIndex
}
}
}