# Compute service

The Compute Service provides the ability to compute the output of compute graphs.

OpenAPI file: [`ComputeService.json`](https://dev.nominal.io/api/_downloads/cfe01a46aa70d73e69178df833a10b44/ComputeService.json)

## Endpoints

### Compute

POST `/compute/v2/compute`

Computes the output of the compute graph specified by a ComputeNodeRequest.

Body

`node` [`ComputableNode`](https://dev.nominal.io/api/rest/compute-service.md#computablenode) required
:   ​

    **ranges**

    Set `type` to `"ranges"`.

    `ranges` [`SummarizeRanges`](https://dev.nominal.io/api/rest/compute-service.md#summarizeranges)
    :   ​

        Fields of `SummarizeRanges`

        `input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
        :   ​

        `maxRanges` integer
        :   The maximum number of ranges to return in the response. If more ranges are found, a RangesSummary will be returned. Defaults to 2000 if not specified.

    **series**

    Set `type` to `"series"`.

    `series` [`SummarizeSeries`](https://dev.nominal.io/api/rest/compute-service.md#summarizeseries)
    :   ​

        Fields of `SummarizeSeries`

        `input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
        :   ​

        `outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
        :   The output format of the response. Defaults to LEGACY.

        `numericOutputFields` array of [`NumericOutputField`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfield) deprecated
        :   The fields to output from the summarization. Applies only to Arrow format numeric series. **Deprecated:** Use numericOutputFieldsV2 instead.

        `numericAggregations` map of string to [`NumericAggregationOperator`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationoperator)
        :   Additional numeric aggregations per decimation bucket (e.g. percentiles). Map key is the name of the column in the result.

        `numericOutputFieldsV2` array of [`NumericOutputFieldV2`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfieldv2)
        :   Numeric bucket output fields to return. Applies only to Arrow format numeric series. Defaults to MEAN when no numeric output selector is specified. Mutually exclusive with numericOutputFields and numericAggregations.

        `resolution` integer (int64) deprecated
        :   Resolution of the output series specifying time interval between decimated points, in nanoseconds. **Deprecated:** Use summarizationStrategy instead.

        `buckets` integer deprecated
        :   Number of points to generate in the output series. **Deprecated:** Use summarizationStrategy instead.

        `summarizationStrategy` [`SummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#summarizationstrategy)
        :   The strategy to use when summarizing the series.

    **value**

    Set `type` to `"value"`.

    `value` [`SelectValue`](https://dev.nominal.io/api/rest/compute-service.md#selectvalue)
    :   ​

        **firstPoint**

        Set `type` to `"firstPoint"`.

        `firstPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **firstValuePoint**

        Set `type` to `"firstValuePoint"`.

        `firstValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **firstRange**

        Set `type` to `"firstRange"`.

        `firstRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
        :   ​

        **lastPoint**

        Set `type` to `"lastPoint"`.

        `lastPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **lastValuePoint**

        Set `type` to `"lastValuePoint"`.

        `lastValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **lastRange**

        Set `type` to `"lastRange"`.

        `lastRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
        :   ​

        **nthRange**

        Set `type` to `"nthRange"`.

        `nthRange` [`NthRange`](https://dev.nominal.io/api/rest/compute-service.md#nthrange)
        :   ​

    **cartesian**

    Set `type` to `"cartesian"`.

    `cartesian` [`SummarizeCartesian`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian)
    :   ​

        Fields of `SummarizeCartesian`

        `input` [`Cartesian`](https://dev.nominal.io/api/rest/compute-service.md#cartesian) required
        :   ​

        `bounds` [`CartesianBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbounds)
        :   ​

        `summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
        :   The summarization strategy to use when there are more than `maxPoints`. Defaults to spatial.

        `maxPoints` integer
        :   The maximum number of points to return in the response. If more points are found, a BucketedCartesianPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

    **cartesian3d**

    Set `type` to `"cartesian3d"`.

    `cartesian3d` [`SummarizeCartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian3d)
    :   ​

        Fields of `SummarizeCartesian3d`

        `input` [`Cartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3d) required
        :   ​

        `bounds` [`Cartesian3dBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbounds)
        :   ​

        `maxPoints` integer
        :   The maximum number of points to return in the response. If more points are found, a BucketedCartesian3dPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

        `summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
        :   The strategy to use when summarizing the series. Only spatial decimation is supported.

    **frequency**

    Set `type` to `"frequency"`.

    `frequency` [`FrequencyDomain`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomain)
    :   ​

        **fft**

        Set `type` to `"fft"`.

        `fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
        :   ​

        **periodogram**

        Set `type` to `"periodogram"`.

        `periodogram` [`Periodogram`](https://dev.nominal.io/api/rest/compute-service.md#periodogram)
        :   ​

    **frequencyV2**

    Set `type` to `"frequencyV2"`.

    `frequencyV2` [`FrequencyDomainV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainv2)
    :   ​

        **fft**

        Set `type` to `"fft"`.

        `fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
        :   ​

        **psd**

        Set `type` to `"psd"`.

        `psd` [`Psd`](https://dev.nominal.io/api/rest/compute-service.md#psd)
        :   ​

        **cpsd**

        Set `type` to `"cpsd"`.

        `cpsd` [`Cpsd`](https://dev.nominal.io/api/rest/compute-service.md#cpsd)
        :   ​

        **nyquist**

        Set `type` to `"nyquist"`.

        `nyquist` [`Nyquist`](https://dev.nominal.io/api/rest/compute-service.md#nyquist)
        :   ​

        **bode**

        Set `type` to `"bode"`.

        `bode` [`Bode`](https://dev.nominal.io/api/rest/compute-service.md#bode)
        :   ​

    **spectrogram**

    Set `type` to `"spectrogram"`.

    `spectrogram` [`Spectrogram`](https://dev.nominal.io/api/rest/compute-service.md#spectrogram)
    :   ​

        Fields of `Spectrogram`

        `input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
        :   A numeric series from a single data source. Series grouped by tags are not supported.

        `stftOptions` [`StftOptions`](https://dev.nominal.io/api/rest/compute-service.md#stftoptions)
        :   Window and FFT parameters.

        `quantity` [`SpectrogramQuantity`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramquantity)
        :   What each cell measures. Defaults to PSD.

        `magnitudeScaling` [`MagnitudeScaling`](https://dev.nominal.io/api/rest/compute-service.md#magnitudescaling)
        :   How each cell’s value is scaled. Defaults to decibels: 10·log10 of the PSD, or 20·log10 of the amplitude.

        `bucketing` [`SpectrogramBucketing`](https://dev.nominal.io/api/rest/compute-service.md#spectrogrambucketing)
        :   The output’s time and frequency buckets, frequency band and reductions.

    **histogram**

    Set `type` to `"histogram"`.

    `histogram` [`Histogram`](https://dev.nominal.io/api/rest/compute-service.md#histogram)
    :   ​

        **numeric**

        Set `type` to `"numeric"`.

        `numeric` [`NumericHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramnode)
        :   ​

        **enum**

        Set `type` to `"enum"`.

        `enum` [`EnumHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramnode)
        :   ​

    **curveV2**

    Set `type` to `"curveV2"`.

    `curveV2` [`CurveFitV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2)
    :   ​

        Fields of `CurveFitV2`

        `target` [`CurveFitTarget`](https://dev.nominal.io/api/rest/compute-service.md#curvefittarget) required
        :   Target to fit the equation against.

        `fitRange` [`CurveFitRange`](https://dev.nominal.io/api/rest/compute-service.md#curvefitrange) required
        :   The range to fit the curve over

        `curveToFit` [`CurveFitV2Details`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2details) required
        :   The curve type to fit against the target series.

    **curve**

    Set `type` to `"curve"`.

    `curve` [`CurveFit`](https://dev.nominal.io/api/rest/compute-service.md#curvefit)
    :   ​

        Fields of `CurveFit`

        `curveFitPlotType` [`CurveFitPlotType`](https://dev.nominal.io/api/rest/compute-service.md#curvefitplottype) required
        :   ​

        `curveFitDetails` [`CurveFitDetails`](https://dev.nominal.io/api/rest/compute-service.md#curvefitdetails) required
        :   ​

        `curveFitOptions` [`CurveFitOptions`](https://dev.nominal.io/api/rest/compute-service.md#curvefitoptions) required
        :   ​

    **multivariate**

    Set `type` to `"multivariate"`.

    `multivariate` [`SummarizeMultivariate`](https://dev.nominal.io/api/rest/compute-service.md#summarizemultivariate)
    :   ​

        Fields of `SummarizeMultivariate`

        `inputs` array of [`MultivariateInput`](https://dev.nominal.io/api/rest/compute-service.md#multivariateinput)
        :   List of input series to temporally align at the raw point level, then bucket the aligned tuples together. The series with the largest tag group acts as the “driver” that determines which raw timestamps are included in the alignment. All subsequent series are aligned to the driver’s raw timestamps using the interpolation configuration. After alignment, the resulting (x, y, z, …) tuples are bucketed into time windows and aggregated.

        `outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
        :   The output format of the response. Defaults to LEGACY (JSON).

        `bucketCount` integer
        :   The number of buckets to return in the response. Maximum is 10,000. Defaults to 1,000 if not specified.

        `interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration)
        :   Controls how the N input series are aligned at the raw point level when producing multivariate buckets. When present, the server may fill forward a series value from the most recent prior raw point (bounded by the interpolation radius). This alignment happens BEFORE bucketing, ensuring that aggregated values in each bucket are computed from temporally aligned raw tuples. When absent, the default interpolation configuration is used.

`start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   The start of the time range (inclusive).

    Fields of `Timestamp`

    `seconds` integer (int64) required
    :   ​

    `nanos` integer (int64) required
    :   ​

`end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   The end of the time range (inclusive).

`context` [`Context`](https://dev.nominal.io/api/rest/compute-service.md#context) required
:   ​

    Fields of `Context`

    `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
    :   ​

        **double**

        Set `type` to `"double"`.

        `double` number
        :   ​

        **computeNode**

        Set `type` to `"computeNode"`.

        `computeNode` [`ComputeNodeWithContext`](https://dev.nominal.io/api/rest/compute-service.md#computenodewithcontext)
        :   ​

        **duration**

        Set `type` to `"duration"`.

        `duration` [`run.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#run-api-duration)
        :   ​

        **integer**

        Set `type` to `"integer"`.

        `integer` integer
        :   ​

        **channel**

        Set `type` to `"channel"`.

        `channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries) deprecated
        :   **Deprecated:** use series instead.

        **derived**

        Set `type` to `"derived"`.

        `derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
        :   ​

        **series**

        Set `type` to `"series"`.

        `series` [`SeriesVariable`](https://dev.nominal.io/api/rest/compute-service.md#seriesvariable)
        :   ​

        **string**

        Set `type` to `"string"`.

        `string` string
        :   ​

        **stringSet**

        Set `type` to `"stringSet"`.

        `stringSet` array of string
        :   ​

        **timestamp**

        Set `type` to `"timestamp"`.

        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

    `functionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables) deprecated
    :   **Deprecated:** This field is deprecated and will be removed in a future version.

        Fields of `FunctionVariables`

        `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
        :   ​

        `subFunctionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables)
        :   ​

    `datasetReferences` map of `DatasetReferenceName` to [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
    :   Named datasets looked up by `DatasetReference` nodes in the compute tree.

        **asset**

        Set `type` to `"asset"`.

        `asset` [`Asset`](https://dev.nominal.io/api/rest/compute-service.md#asset)
        :   Single asset. Expands to one grouping per data scope on the asset. Groupings are tagged by `assetRid` and `dataScope` so callers can safely compose multiple assets with `combine`.

        **run**

        Set `type` to `"run"`.

        `run` [`Run`](https://dev.nominal.io/api/rest/compute-service.md#run)
        :   Single run. Expands to one grouping per data source attached to the run: asset-typed sources contribute one grouping per data scope on the asset; dataset-typed sources contribute one grouping per dataset. Groupings are tagged by `runRid` and `dataScope`; asset-typed groupings additionally carry `assetRid` so callers can safely compose multiple runs with `combine`.

        **saved**

        Set `type` to `"saved"`.

        `saved` [`SavedDataset`](https://dev.nominal.io/api/rest/compute-service.md#saveddataset)
        :   ​

        **search**

        Set `type` to `"search"`.

        `search` [`SearchDataset`](https://dev.nominal.io/api/rest/compute-service.md#searchdataset)
        :   ​

        **combine**

        Set `type` to `"combine"`.

        `combine` [`CombinedDataset`](https://dev.nominal.io/api/rest/compute-service.md#combineddataset)
        :   ​

        **tag**

        Set `type` to `"tag"`.

        `tag` [`TaggedDataset`](https://dev.nominal.io/api/rest/compute-service.md#taggeddataset)
        :   ​

        **filter**

        Set `type` to `"filter"`.

        `filter` [`FilteredDataset`](https://dev.nominal.io/api/rest/compute-service.md#filtereddataset)
        :   ​

        **timeShift**

        Set `type` to `"timeShift"`.

        `timeShift` [`TimeShiftedDataset`](https://dev.nominal.io/api/rest/compute-service.md#timeshifteddataset)
        :   ​

        **alignByAnchor**

        Set `type` to `"alignByAnchor"`.

        `alignByAnchor` [`AnchorAlignedDataset`](https://dev.nominal.io/api/rest/compute-service.md#anchoraligneddataset)
        :   ​

        **withSeries**

        Set `type` to `"withSeries"`.

        `withSeries` [`WithSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#withseriesdataset)
        :   ​

        **dropSeries**

        Set `type` to `"dropSeries"`.

        `dropSeries` [`DropSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#dropseriesdataset)
        :   ​

        **reference**

        Set `type` to `"reference"`.

        `reference` [`DatasetReference`](https://dev.nominal.io/api/rest/compute-service.md#datasetreference)
        :   ​

        **withDimensions**

        Set `type` to `"withDimensions"`.

        `withDimensions` [`DimensionsDataset`](https://dev.nominal.io/api/rest/compute-service.md#dimensionsdataset)
        :   ​

    `defaultFillStrategy` [`FillStrategy`](https://dev.nominal.io/api/rest/compute-service.md#fillstrategy)
    :   Default fill strategy applied at every multi-input alignment boundary where no per-node interpolationConfiguration is specified. When absent, falls back to the server-configured default (forward fill with a 1 second fill limit).

        **forwardFill**

        Set `type` to `"forwardFill"`.

        `forwardFill` [`ForwardFill`](https://dev.nominal.io/api/rest/compute-service.md#forwardfill)
        :   ​

    `defaultAlignmentStrategy` [`Alignment`](https://dev.nominal.io/api/rest/compute-service.md#alignment)
    :   Default alignment strategy applied at every multi-input alignment boundary where no per-node alignment strategy is specified. When absent, falls back to the server default (driver-series alignment).

        **driverSeries**

        Set `type` to `"driverSeries"`.

        `driverSeries` [`DriverSeries`](https://dev.nominal.io/api/rest/compute-service.md#driverseries)
        :   ​

        **union**

        Set `type` to `"union"`.

        `union` [`Union`](https://dev.nominal.io/api/rest/compute-service.md#union)
        :   ​

    `applyDataScopeOffsets` boolean
    :   When true, dataset resolution applies each data scope’s persisted offset as a time shift, and the client must not pre-apply those offsets itself. When absent or false, scope offsets are left to the client, preserving behavior for legacy clients that inject equivalent timeShift nodes into the compute request. Read from the context in scope at resolution time.

    `resolveAssetsThroughDatasets` boolean
    :   When true, `Dataset.asset`, the asset-typed sources of `Dataset.run`, and asset or run search expand through each asset’s mirrored derived dataset instead of its data scopes. Branches then carry the dataset’s declared channel-search split tag keys in place of the reserved `DATA_SCOPE` tag, so callers must filter and group on those keys; the definition’s own time shifts apply regardless of `applyDataScopeOffsets`; and an asset with no mirrored dataset resolves to no data. When absent or false, assets expand from their data scopes as before.

`sourceRid` string (RID)
:   Optional RID identifying the resource that initiated this query (e.g. workbook/notebook RID, checklist RID, dataset RID). Used for observability only — trusted as-is, no permission checks are performed on this value.

`requestId` string (UUID)
:   Optional UUID to provide as a handle to selectively cancel the execution of this compute request.

Response

A [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse) union.

**range**

Set `type` to `"range"`.

`range` array of [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
:   ​

    Fields of `Range`

    `start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   ​

        Fields of `Timestamp`

        `seconds` integer (int64)
        :   ​

        `nanos` integer (int64)
        :   ​

    `end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   ​

    `value` [`RangeValue`](https://dev.nominal.io/api/rest/compute-service.md#rangevalue)
    :   ​

        **double**

        Set `type` to `"double"`.

        `double` number
        :   ​

        **aggregation**

        Set `type` to `"aggregation"`.

        `aggregation` [`RangeAggregation`](https://dev.nominal.io/api/rest/compute-service.md#rangeaggregation)
        :   ​

            Fields of `RangeAggregation`

            `average` number
            :   ​

            `min` number
            :   ​

            `max` number
            :   ​

            `standardDeviation` number
            :   ​

            `count` number
            :   ​

            `sum` number
            :   ​

            `rootMeanSquare` number
            :   ​

        **noPointsInRange**

        Set `type` to `"noPointsInRange"`.

        `noPointsInRange` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
        :   ​

**rangesSummary**

Set `type` to `"rangesSummary"`.

`rangesSummary` [`RangesSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangessummary)
:   ​

    Fields of `RangesSummary`

    `rangesSummary` array of [`RangeSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangesummary)
    :   ​

        Fields of `RangeSummary`

        `range` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
        :   The range representing the minimum start and maximum end times of the ranges.

        `subRangeCount` integer
        :   The number of ranges found within this time range.

**rangeValue**

Set `type` to `"rangeValue"`.

`rangeValue` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
:   ​

**numeric**

Set `type` to `"numeric"`.

`numeric` [`NumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#numericplot)
:   ​

    Fields of `NumericPlot`

    `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   ​

    `values` array of number
    :   ​

    `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
    :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

        **timestampAndId**

        Set `type` to `"timestampAndId"`.

        `timestampAndId` [`TimestampAndId`](https://dev.nominal.io/api/rest/compute-service.md#timestampandid)
        :   ​

            Fields of `TimestampAndId`

            `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `id` string (UUID)
            :   ​

**bucketedNumeric**

Set `type` to `"bucketedNumeric"`.

`bucketedNumeric` [`BucketedNumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericplot)
:   ​

    Fields of `BucketedNumericPlot`

    `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   The end of the bucket, exclusive.

    `buckets` array of [`NumericBucket`](https://dev.nominal.io/api/rest/compute-service.md#numericbucket)
    :   ​

        Fields of `NumericBucket`

        `min` number
        :   ​

        `max` number
        :   ​

        `mean` number
        :   ​

        `count` integer (int64)
        :   ​

        `variance` number
        :   The population variance of the bucket. If the bucket has only one value, this will be 0.

        `firstPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
        :   ​

            Fields of `NumericPoint`

            `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `value` number
            :   ​

        `lastPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
        :   Will be empty if the bucket only has a single point.

        `aggregations` map of string to number
        :   Additional per-bucket aggregations that have no dedicated field above, keyed by the output column name requested via `numericAggregations` or `numericOutputFieldsV2` (e.g. `sum`, `standardDeviation`, `rootMeanSquare`, `p50`). Empty when no additional aggregations were requested.

**numericPoint**

Set `type` to `"numericPoint"`.

`numericPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
:   ​

**singlePoint**

Set `type` to `"singlePoint"`.

`singlePoint` [`SinglePoint`](https://dev.nominal.io/api/rest/compute-service.md#singlepoint)
:   ​

    Fields of `SinglePoint`

    `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   ​

    `value` [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
    :   ​

        **stringValue**

        Set `type` to `"stringValue"`.

        `stringValue` string
        :   ​

        **float64Value**

        Set `type` to `"float64Value"`.

        `float64Value` number
        :   ​

        **int64Value**

        Set `type` to `"int64Value"`.

        `int64Value` string
        :   ​

        **arrayValue**

        Set `type` to `"arrayValue"`.

        `arrayValue` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
        :   ​

        **structValue**

        Set `type` to `"structValue"`.

        `structValue` any JSON value
        :   A JSON representation of the struct

    `precisionLoss` boolean
    :   Returns true if the result required downcasting to a type with less precision, for example if the input series was Int64 and the result is a Float64.

**arrowNumeric**

Set `type` to `"arrowNumeric"`.

`arrowNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

    Fields of `ArrowPlot`

    `arrowBinary` string (base64)
    :   The raw binary containing an Arrow IPC stream.

    `groupByKeys` array of string
    :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

    `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
    :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

**arrowBucketedNumeric**

Set `type` to `"arrowBucketedNumeric"`.

`arrowBucketedNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

**enum**

Set `type` to `"enum"`.

`enum` [`EnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumplot)
:   ​

    Fields of `EnumPlot`

    `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   ​

    `values` array of integer
    :   ​

    `categories` array of string
    :   ​

    `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
    :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

**enumPoint**

Set `type` to `"enumPoint"`.

`enumPoint` [`EnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#enumpoint)
:   ​

    Fields of `EnumPoint`

    `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   ​

    `value` string
    :   ​

**bucketedEnum**

Set `type` to `"bucketedEnum"`.

`bucketedEnum` [`BucketedEnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumplot)
:   ​

    Fields of `BucketedEnumPlot`

    `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   The end of the bucket, exclusive.

    `buckets` array of [`EnumBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumbucket)
    :   ​

        Fields of `EnumBucket`

        `histogram` map of string to integer (int64)
        :   The map of values within the bucket to their frequency.

        `firstPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint)
        :   ​

            Fields of `CompactEnumPoint`

            `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `value` integer
            :   ​

        `lastPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint)
        :   Will be empty if the bucket only has a single point.

    `categories` array of string
    :   ​

**arrowEnum**

Set `type` to `"arrowEnum"`.

`arrowEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

**arrowBucketedEnum**

Set `type` to `"arrowBucketedEnum"`.

`arrowBucketedEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

**pagedLog**

Set `type` to `"pagedLog"`.

`pagedLog` [`PagedLogPlot`](https://dev.nominal.io/api/rest/compute-service.md#pagedlogplot)
:   ​

    Fields of `PagedLogPlot`

    `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   ​

    `values` array of [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue)
    :   ​

        Fields of `LogValue`

        `message` string
        :   ​

        `args` map of string to string
        :   ​

        `id` string (UUID)
        :   ​

    `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
    :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

**logPoint**

Set `type` to `"logPoint"`.

`logPoint` [`LogPoint`](https://dev.nominal.io/api/rest/compute-service.md#logpoint)
:   ​

    Fields of `LogPoint`

    `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   ​

    `value` [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue)
    :   ​

**arrowLog**

Set `type` to `"arrowLog"`.

`arrowLog` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

**cartesian**

Set `type` to `"cartesian"`.

`cartesian` [`CartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#cartesianplot)
:   ​

    Fields of `CartesianPlot`

    `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
    :   ​

    `xValues` array of number
    :   ​

    `yValues` array of number
    :   ​

**bucketedCartesian**

Set `type` to `"bucketedCartesian"`.

`bucketedCartesian` [`BucketedCartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesianplot)
:   ​

    Fields of `BucketedCartesianPlot`

    `buckets` array of [`CartesianBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbucket)
    :   ​

        Fields of `CartesianBucket`

        `minX` number
        :   ​

        `maxX` number
        :   ​

        `minY` number
        :   ​

        `maxY` number
        :   ​

        `minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `count` integer (int64)
        :   ​

**bucketedCartesian3d**

Set `type` to `"bucketedCartesian3d"`.

`bucketedCartesian3d` [`BucketedCartesian3dPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesian3dplot)
:   ​

    Fields of `BucketedCartesian3dPlot`

    `buckets` array of [`Cartesian3dBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbucket)
    :   ​

        Fields of `Cartesian3dBucket`

        `minX` number deprecated
        :   **Deprecated:** Switching to point-based min/maxes

        `maxX` number deprecated
        :   **Deprecated:** Switching to point-based min/maxes

        `meanX` number
        :   ​

        `minY` number deprecated
        :   **Deprecated:** Switching to point-based min/maxes

        `maxY` number deprecated
        :   **Deprecated:** Switching to point-based min/maxes

        `meanY` number
        :   ​

        `minZ` number deprecated
        :   **Deprecated:** Switching to point-based min/maxes

        `maxZ` number deprecated
        :   **Deprecated:** Switching to point-based min/maxes

        `meanZ` number
        :   ​

        `minXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
        :   ​

            Fields of `Point3d`

            `x` number
            :   ​

            `y` number
            :   ​

            `z` number
            :   ​

            `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

        `maxXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
        :   ​

        `minYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
        :   ​

        `maxYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
        :   ​

        `minZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
        :   ​

        `maxZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
        :   ​

        `minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `count` integer (int64)
        :   ​

**frequencyDomain**

Set `type` to `"frequencyDomain"`.

`frequencyDomain` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
:   ​

    Fields of `FrequencyDomainPlot`

    `frequencies` array of number
    :   ​

    `amplitudes` array of number
    :   ​

**frequencyDomainV2**

Set `type` to `"frequencyDomainV2"`.

`frequencyDomainV2` [`FrequencyDomainPlotV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotv2)
:   ​

    **real**

    Set `type` to `"real"`.

    `real` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
    :   ​

    **complex**

    Set `type` to `"complex"`.

    `complex` [`FrequencyDomainPlotComplex`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotcomplex)
    :   ​

        Fields of `FrequencyDomainPlotComplex`

        `frequencies` array of number
        :   ​

        `real` array of number
        :   ​

        `imaginary` array of number
        :   ​

    **magnitudeAndPhase**

    Set `type` to `"magnitudeAndPhase"`.

    `magnitudeAndPhase` [`FrequencyDomainPlotMagnitudeAndPhase`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotmagnitudeandphase)
    :   ​

        Fields of `FrequencyDomainPlotMagnitudeAndPhase`

        `frequencies` array of number
        :   ​

        `magnitudes` array of number
        :   ​

        `phases` array of number
        :   ​

**spectrogram**

Set `type` to `"spectrogram"`.

`spectrogram` [`SpectrogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramplot)
:   ​

    Fields of `SpectrogramPlot`

    `frequencyCenters` array of number
    :   Center frequency in Hz of each column.

    `frequencyEdges` array of number
    :   Column boundaries in Hz, one more than `frequencyCenters`: column `c` spans `frequencyEdges[c]` to `frequencyEdges[c + 1]`. Columns may differ in width.

    `rows` array of [`SpectrogramRow`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramrow)
    :   ​

        Fields of `SpectrogramRow`

        `start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   Start of the time span this row covers.

        `end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   End of the time span this row covers.

        `values` array of number
        :   One value per column

**bucketedFrequencyDomain**

Set `type` to `"bucketedFrequencyDomain"`.

`bucketedFrequencyDomain` [`BucketedFrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedfrequencydomainplot)
:   ​

    Fields of `BucketedFrequencyDomainPlot`

    `buckets` array of [`FrequencyBucket`](https://dev.nominal.io/api/rest/compute-service.md#frequencybucket)
    :   ​

        Fields of `FrequencyBucket`

        `frequencyStart` number
        :   The start frequency of this bucket (inclusive).

        `frequencyEnd` number
        :   The end frequency of this bucket (exclusive).

        `frequencyCenter` number
        :   The center frequency of this bucket.

        `minAmplitude` number
        :   The minimum amplitude value in this bucket.

        `maxAmplitude` number
        :   The maximum amplitude value in this bucket.

        `meanAmplitude` number
        :   The mean amplitude value in this bucket.

        `count` integer (int64)
        :   The number of original frequency points that were aggregated into this bucket.

        `firstPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint)
        :   The first point (lowest frequency) in this bucket.

            Fields of `FrequencyPoint`

            `frequency` number
            :   ​

            `amplitude` number
            :   ​

        `lastPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint)
        :   The last point (highest frequency) in this bucket. Will be empty if the bucket only has a single point.

**numericHistogram**

Set `type` to `"numericHistogram"`.

`numericHistogram` [`NumericHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramplot)
:   ​

    Fields of `NumericHistogramPlot`

    `buckets` array of [`NumericHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogrambucket)
    :   ​

        Fields of `NumericHistogramBucket`

        `lowerBound` number
        :   The lower bound of the bucket, inclusive

        `upperBound` number
        :   The upper bound of the bucket, exclusive

        `countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
        :   ​

            Fields of `HistogramChannelCount`

            `count` integer (int64)
            :   ​

        `buckets` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount) deprecated
        :   **Deprecated:** Use countsByChannel instead

**enumHistogram**

Set `type` to `"enumHistogram"`.

`enumHistogram` [`EnumHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramplot)
:   ​

    Fields of `EnumHistogramPlot`

    `buckets` array of [`EnumHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogrambucket)
    :   ​

        Fields of `EnumHistogramBucket`

        `value` string
        :   The value of the enum as a string

        `countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
        :   ​

**curveFit**

Set `type` to `"curveFit"`.

`curveFit` [`CurveFitResult`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresult)
:   Deprecated: use `curveFitV2` (CurveFitResultV2) instead. Returned only for deprecated CurveFit requests.

    Fields of `CurveFitResult`

    `r2` number
    :   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

    `mae` number
    :   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

    `mse` number
    :   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

    `rmse` number
    :   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

    `maxAbsoluteError` number
    :   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

    `sampleCount` integer
    :   The number of data points used in the curve fitting calculation.

    `curveResultDetails` [`CurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetails)
    :   Description of the fit curve.

        **exponential**

        Set `type` to `"exponential"`.

        `exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
        :   ​

            Fields of `ExponentialResultDetails`

            `a` number
            :   ​

            `b` number
            :   ​

        **logarithmic**

        Set `type` to `"logarithmic"`.

        `logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
        :   ​

            Fields of `LogarithmicResultDetails`

            `a` number
            :   ​

            `b` number
            :   ​

        **polynomial**

        Set `type` to `"polynomial"`.

        `polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
        :   ​

            Fields of `PolynomialResultDetails`

            `a` array of number
            :   ​

        **power**

        Set `type` to `"power"`.

        `power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
        :   ​

            Fields of `PowerResultDetails`

            `a` number
            :   ​

            `b` number
            :   ​

**curveFitV2**

Set `type` to `"curveFitV2"`.

`curveFitV2` [`CurveFitResultV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresultv2)
:   ​

    Fields of `CurveFitResultV2`

    `r2` number
    :   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

    `mae` number
    :   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

    `mse` number
    :   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

    `rmse` number
    :   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

    `maxAbsoluteError` number
    :   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

    `sampleCount` integer
    :   The number of data points used in the curve fitting calculation.

    `curveResultDetails` [`CurveResultDetailsV2`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetailsv2)
    :   Description of the fit curve.

        **exponential**

        Set `type` to `"exponential"`.

        `exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
        :   ​

        **logarithmic**

        Set `type` to `"logarithmic"`.

        `logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
        :   ​

        **polynomial**

        Set `type` to `"polynomial"`.

        `polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
        :   ​

        **power**

        Set `type` to `"power"`.

        `power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
        :   ​

        **custom**

        Set `type` to `"custom"`.

        `custom` [`CustomCurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#customcurveresultdetails)
        :   ​

            Fields of `CustomCurveResultDetails`

            `parameters` map of string to number
            :   Optimized parameter values produced by the curve fit. Keys match the parameter names provided in the request.

            `converged` boolean
            :   Whether the optimizer converged to a solution within its iteration limit. When false, the returned parameters are the best estimate found before the iteration cap was reached and did not satisfy the solver’s convergence tolerances.

            `iterations` integer
            :   Number of iterations the solver completed.

**grouped**

Set `type` to `"grouped"`.

`grouped` [`GroupedComputeNodeResponses`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponses)
:   ​

    Fields of `GroupedComputeNodeResponses`

    `responses` array of [`GroupedComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponse)
    :   ​

        Fields of `GroupedComputeNodeResponse`

        `grouping` [`Grouping`](https://dev.nominal.io/api/rest/compute-service.md#grouping)
        :   ​

            **tagsWithValues**

            Set `type` to `"tagsWithValues"`.

            `tagsWithValues` map of string to string
            :   A grouping identified by a specific instantiation of tag keys and values.

        `response` [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse)
        :   ​

**array**

Set `type` to `"array"`.

`array` [`ArrowArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowarrayplot)
:   ​

    **bucketedNumeric**

    Set `type` to `"bucketedNumeric"`.

    `bucketedNumeric` [`BucketedNumericArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericarrayplot)
    :   ​

        Fields of `BucketedNumericArrayPlot`

        `arrowBinary` string (base64)
        :   The raw binary containing Arrow IPC stream for a bucketed N-dimensional numeric array plot.

        `groupByKeys` array of string
        :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

    **bucketedEnum**

    Set `type` to `"bucketedEnum"`.

    `bucketedEnum` [`BucketedEnumArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumarrayplot)
    :   ​

        Fields of `BucketedEnumArrayPlot`

        `arrowBinary` string (base64)
        :   The raw binary containing Arrow IPC stream for a bucketed N-dimensional enum array plot.

        `groupByKeys` array of string
        :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

**bucketedStruct**

Set `type` to `"bucketedStruct"`.

`bucketedStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

**arrowStruct**

Set `type` to `"arrowStruct"`.

`arrowStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

**fullResolution**

Set `type` to `"fullResolution"`.

`fullResolution` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

**arrowBucketedMultivariate**

Set `type` to `"arrowBucketedMultivariate"`.

`arrowBucketedMultivariate` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

**multivariate**

Set `type` to `"multivariate"`.

`multivariate` [`BucketedMultivariatePlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedmultivariateplot)
:   ​

    Fields of `BucketedMultivariatePlot`

    `buckets` array of [`MultivariateBucket`](https://dev.nominal.io/api/rest/compute-service.md#multivariatebucket)
    :   ​

        Fields of `MultivariateBucket`

        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `values` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
        :   Values for each input series in the bucket.

    `groupByKeys` array of string
    :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

Request

**curl**

```shell
curl -X POST "https://api.gov.nominal.io/api/compute/v2/compute" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "node": {
    "type": "ranges",
    "ranges": {
      "input": {
        "type": "approximateThreshold",
        "approximateThreshold": {
          "input": {
            "type": "abs",
            "abs": {}
          },
          "threshold": {
            "type": "literal",
            "literal": 1
          },
          "tolerance": {
            "type": "literal",
            "literal": 1
          },
          "operator": "EQUAL_TO"
        }
      }
    }
  },
  "start": {
    "seconds": 1,
    "nanos": 1
  },
  "end": {
    "seconds": 1,
    "nanos": 1
  },
  "context": {
    "variables": {
      "<key>": {
        "type": "double",
        "double": 1
      }
    },
    "functionVariables": {
      "<key>": {
        "variables": {
          "<key>": {
            "type": "double",
            "double": 1
          }
        },
        "subFunctionVariables": {}
      }
    },
    "datasetReferences": {
      "<key>": {
        "type": "asset",
        "asset": {
          "rid": {
            "type": "literal",
            "literal": "<literal>"
          }
        }
      }
    },
    "defaultFillStrategy": {
      "type": "forwardFill",
      "forwardFill": {
        "limit": {
          "type": "duration",
          "duration": {
            "type": "literal",
            "literal": {
              "seconds": 1,
              "nanos": 1
            }
          }
        }
      }
    },
    "defaultAlignmentStrategy": {
      "type": "driverSeries",
      "driverSeries": {}
    },
    "applyDataScopeOffsets": true,
    "resolveAssetsThroughDatasets": true
  }
}'
```

**requests**

```python
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/compute/v2/compute",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "node": {
            "type": "ranges",
            "ranges": {
                "input": {
                    "type": "approximateThreshold",
                    "approximateThreshold": {
                        "input": {"type": "abs", "abs": {}},
                        "threshold": {"type": "literal", "literal": 1},
                        "tolerance": {"type": "literal", "literal": 1},
                        "operator": "EQUAL_TO",
                    },
                },
            },
        },
        "start": {"seconds": 1, "nanos": 1},
        "end": {"seconds": 1, "nanos": 1},
        "context": {
            "variables": {"<key>": {"type": "double", "double": 1}},
            "functionVariables": {
                "<key>": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "subFunctionVariables": {},
                },
            },
            "datasetReferences": {
                "<key>": {
                    "type": "asset",
                    "asset": {"rid": {"type": "literal", "literal": "<literal>"}},
                },
            },
            "defaultFillStrategy": {
                "type": "forwardFill",
                "forwardFill": {
                    "limit": {
                        "type": "duration",
                        "duration": {
                            "type": "literal",
                            "literal": {"seconds": 1, "nanos": 1},
                        },
                    },
                },
            },
            "defaultAlignmentStrategy": {"type": "driverSeries", "driverSeries": {}},
            "applyDataScopeOffsets": True,
            "resolveAssetsThroughDatasets": True,
        },
    },
)
response.raise_for_status()
print(response.json())
```

**httpx**

```python
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/compute/v2/compute",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "node": {
            "type": "ranges",
            "ranges": {
                "input": {
                    "type": "approximateThreshold",
                    "approximateThreshold": {
                        "input": {"type": "abs", "abs": {}},
                        "threshold": {"type": "literal", "literal": 1},
                        "tolerance": {"type": "literal", "literal": 1},
                        "operator": "EQUAL_TO",
                    },
                },
            },
        },
        "start": {"seconds": 1, "nanos": 1},
        "end": {"seconds": 1, "nanos": 1},
        "context": {
            "variables": {"<key>": {"type": "double", "double": 1}},
            "functionVariables": {
                "<key>": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "subFunctionVariables": {},
                },
            },
            "datasetReferences": {
                "<key>": {
                    "type": "asset",
                    "asset": {"rid": {"type": "literal", "literal": "<literal>"}},
                },
            },
            "defaultFillStrategy": {
                "type": "forwardFill",
                "forwardFill": {
                    "limit": {
                        "type": "duration",
                        "duration": {
                            "type": "literal",
                            "literal": {"seconds": 1, "nanos": 1},
                        },
                    },
                },
            },
            "defaultAlignmentStrategy": {"type": "driverSeries", "driverSeries": {}},
            "applyDataScopeOffsets": True,
            "resolveAssetsThroughDatasets": True,
        },
    },
)
response.raise_for_status()
print(response.json())
```

**aiohttp**

```python
import asyncio

import aiohttp

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/compute/v2/compute",
            headers={"Authorization": "Bearer <api key>"},
            json={
                "node": {
                    "type": "ranges",
                    "ranges": {
                        "input": {
                            "type": "approximateThreshold",
                            "approximateThreshold": {
                                "input": {"type": "abs", "abs": {}},
                                "threshold": {"type": "literal", "literal": 1},
                                "tolerance": {"type": "literal", "literal": 1},
                                "operator": "EQUAL_TO",
                            },
                        },
                    },
                },
                "start": {"seconds": 1, "nanos": 1},
                "end": {"seconds": 1, "nanos": 1},
                "context": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "functionVariables": {
                        "<key>": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "subFunctionVariables": {},
                        },
                    },
                    "datasetReferences": {
                        "<key>": {
                            "type": "asset",
                            "asset": {
                                "rid": {"type": "literal", "literal": "<literal>"},
                            },
                        },
                    },
                    "defaultFillStrategy": {
                        "type": "forwardFill",
                        "forwardFill": {
                            "limit": {
                                "type": "duration",
                                "duration": {
                                    "type": "literal",
                                    "literal": {"seconds": 1, "nanos": 1},
                                },
                            },
                        },
                    },
                    "defaultAlignmentStrategy": {
                        "type": "driverSeries",
                        "driverSeries": {},
                    },
                    "applyDataScopeOffsets": True,
                    "resolveAssetsThroughDatasets": True,
                },
            },
        ) as response:
            response.raise_for_status()
            print(await response.json())

asyncio.run(main())
```

Response: `200`

```json
{
  "type": "range",
  "range": [
    {
      "start": {
        "seconds": 1,
        "nanos": 1
      },
      "end": {
        "seconds": 1,
        "nanos": 1
      },
      "value": {
        "type": "double",
        "double": 1
      }
    }
  ]
}
```

### Parameterized compute

POST `/compute/v2/compute/parameterized`

Computes the output of the compute graph specified by a ParameterizedComputeNodeRequest. A parameterized compute request supports multiple values for a single variable, supplied by the ParameterizedContext. Results are returned in the same order of the request.

Body

`node` [`ComputableNode`](https://dev.nominal.io/api/rest/compute-service.md#computablenode) required
:   ​

    **ranges**

    Set `type` to `"ranges"`.

    `ranges` [`SummarizeRanges`](https://dev.nominal.io/api/rest/compute-service.md#summarizeranges)
    :   ​

        Fields of `SummarizeRanges`

        `input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
        :   ​

        `maxRanges` integer
        :   The maximum number of ranges to return in the response. If more ranges are found, a RangesSummary will be returned. Defaults to 2000 if not specified.

    **series**

    Set `type` to `"series"`.

    `series` [`SummarizeSeries`](https://dev.nominal.io/api/rest/compute-service.md#summarizeseries)
    :   ​

        Fields of `SummarizeSeries`

        `input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
        :   ​

        `outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
        :   The output format of the response. Defaults to LEGACY.

        `numericOutputFields` array of [`NumericOutputField`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfield) deprecated
        :   The fields to output from the summarization. Applies only to Arrow format numeric series. **Deprecated:** Use numericOutputFieldsV2 instead.

        `numericAggregations` map of string to [`NumericAggregationOperator`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationoperator)
        :   Additional numeric aggregations per decimation bucket (e.g. percentiles). Map key is the name of the column in the result.

        `numericOutputFieldsV2` array of [`NumericOutputFieldV2`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfieldv2)
        :   Numeric bucket output fields to return. Applies only to Arrow format numeric series. Defaults to MEAN when no numeric output selector is specified. Mutually exclusive with numericOutputFields and numericAggregations.

        `resolution` integer (int64) deprecated
        :   Resolution of the output series specifying time interval between decimated points, in nanoseconds. **Deprecated:** Use summarizationStrategy instead.

        `buckets` integer deprecated
        :   Number of points to generate in the output series. **Deprecated:** Use summarizationStrategy instead.

        `summarizationStrategy` [`SummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#summarizationstrategy)
        :   The strategy to use when summarizing the series.

    **value**

    Set `type` to `"value"`.

    `value` [`SelectValue`](https://dev.nominal.io/api/rest/compute-service.md#selectvalue)
    :   ​

        **firstPoint**

        Set `type` to `"firstPoint"`.

        `firstPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **firstValuePoint**

        Set `type` to `"firstValuePoint"`.

        `firstValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **firstRange**

        Set `type` to `"firstRange"`.

        `firstRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
        :   ​

        **lastPoint**

        Set `type` to `"lastPoint"`.

        `lastPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **lastValuePoint**

        Set `type` to `"lastValuePoint"`.

        `lastValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **lastRange**

        Set `type` to `"lastRange"`.

        `lastRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
        :   ​

        **nthRange**

        Set `type` to `"nthRange"`.

        `nthRange` [`NthRange`](https://dev.nominal.io/api/rest/compute-service.md#nthrange)
        :   ​

    **cartesian**

    Set `type` to `"cartesian"`.

    `cartesian` [`SummarizeCartesian`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian)
    :   ​

        Fields of `SummarizeCartesian`

        `input` [`Cartesian`](https://dev.nominal.io/api/rest/compute-service.md#cartesian) required
        :   ​

        `bounds` [`CartesianBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbounds)
        :   ​

        `summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
        :   The summarization strategy to use when there are more than `maxPoints`. Defaults to spatial.

        `maxPoints` integer
        :   The maximum number of points to return in the response. If more points are found, a BucketedCartesianPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

    **cartesian3d**

    Set `type` to `"cartesian3d"`.

    `cartesian3d` [`SummarizeCartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian3d)
    :   ​

        Fields of `SummarizeCartesian3d`

        `input` [`Cartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3d) required
        :   ​

        `bounds` [`Cartesian3dBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbounds)
        :   ​

        `maxPoints` integer
        :   The maximum number of points to return in the response. If more points are found, a BucketedCartesian3dPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

        `summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
        :   The strategy to use when summarizing the series. Only spatial decimation is supported.

    **frequency**

    Set `type` to `"frequency"`.

    `frequency` [`FrequencyDomain`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomain)
    :   ​

        **fft**

        Set `type` to `"fft"`.

        `fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
        :   ​

        **periodogram**

        Set `type` to `"periodogram"`.

        `periodogram` [`Periodogram`](https://dev.nominal.io/api/rest/compute-service.md#periodogram)
        :   ​

    **frequencyV2**

    Set `type` to `"frequencyV2"`.

    `frequencyV2` [`FrequencyDomainV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainv2)
    :   ​

        **fft**

        Set `type` to `"fft"`.

        `fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
        :   ​

        **psd**

        Set `type` to `"psd"`.

        `psd` [`Psd`](https://dev.nominal.io/api/rest/compute-service.md#psd)
        :   ​

        **cpsd**

        Set `type` to `"cpsd"`.

        `cpsd` [`Cpsd`](https://dev.nominal.io/api/rest/compute-service.md#cpsd)
        :   ​

        **nyquist**

        Set `type` to `"nyquist"`.

        `nyquist` [`Nyquist`](https://dev.nominal.io/api/rest/compute-service.md#nyquist)
        :   ​

        **bode**

        Set `type` to `"bode"`.

        `bode` [`Bode`](https://dev.nominal.io/api/rest/compute-service.md#bode)
        :   ​

    **spectrogram**

    Set `type` to `"spectrogram"`.

    `spectrogram` [`Spectrogram`](https://dev.nominal.io/api/rest/compute-service.md#spectrogram)
    :   ​

        Fields of `Spectrogram`

        `input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
        :   A numeric series from a single data source. Series grouped by tags are not supported.

        `stftOptions` [`StftOptions`](https://dev.nominal.io/api/rest/compute-service.md#stftoptions)
        :   Window and FFT parameters.

        `quantity` [`SpectrogramQuantity`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramquantity)
        :   What each cell measures. Defaults to PSD.

        `magnitudeScaling` [`MagnitudeScaling`](https://dev.nominal.io/api/rest/compute-service.md#magnitudescaling)
        :   How each cell’s value is scaled. Defaults to decibels: 10·log10 of the PSD, or 20·log10 of the amplitude.

        `bucketing` [`SpectrogramBucketing`](https://dev.nominal.io/api/rest/compute-service.md#spectrogrambucketing)
        :   The output’s time and frequency buckets, frequency band and reductions.

    **histogram**

    Set `type` to `"histogram"`.

    `histogram` [`Histogram`](https://dev.nominal.io/api/rest/compute-service.md#histogram)
    :   ​

        **numeric**

        Set `type` to `"numeric"`.

        `numeric` [`NumericHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramnode)
        :   ​

        **enum**

        Set `type` to `"enum"`.

        `enum` [`EnumHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramnode)
        :   ​

    **curveV2**

    Set `type` to `"curveV2"`.

    `curveV2` [`CurveFitV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2)
    :   ​

        Fields of `CurveFitV2`

        `target` [`CurveFitTarget`](https://dev.nominal.io/api/rest/compute-service.md#curvefittarget) required
        :   Target to fit the equation against.

        `fitRange` [`CurveFitRange`](https://dev.nominal.io/api/rest/compute-service.md#curvefitrange) required
        :   The range to fit the curve over

        `curveToFit` [`CurveFitV2Details`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2details) required
        :   The curve type to fit against the target series.

    **curve**

    Set `type` to `"curve"`.

    `curve` [`CurveFit`](https://dev.nominal.io/api/rest/compute-service.md#curvefit)
    :   ​

        Fields of `CurveFit`

        `curveFitPlotType` [`CurveFitPlotType`](https://dev.nominal.io/api/rest/compute-service.md#curvefitplottype) required
        :   ​

        `curveFitDetails` [`CurveFitDetails`](https://dev.nominal.io/api/rest/compute-service.md#curvefitdetails) required
        :   ​

        `curveFitOptions` [`CurveFitOptions`](https://dev.nominal.io/api/rest/compute-service.md#curvefitoptions) required
        :   ​

    **multivariate**

    Set `type` to `"multivariate"`.

    `multivariate` [`SummarizeMultivariate`](https://dev.nominal.io/api/rest/compute-service.md#summarizemultivariate)
    :   ​

        Fields of `SummarizeMultivariate`

        `inputs` array of [`MultivariateInput`](https://dev.nominal.io/api/rest/compute-service.md#multivariateinput)
        :   List of input series to temporally align at the raw point level, then bucket the aligned tuples together. The series with the largest tag group acts as the “driver” that determines which raw timestamps are included in the alignment. All subsequent series are aligned to the driver’s raw timestamps using the interpolation configuration. After alignment, the resulting (x, y, z, …) tuples are bucketed into time windows and aggregated.

        `outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
        :   The output format of the response. Defaults to LEGACY (JSON).

        `bucketCount` integer
        :   The number of buckets to return in the response. Maximum is 10,000. Defaults to 1,000 if not specified.

        `interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration)
        :   Controls how the N input series are aligned at the raw point level when producing multivariate buckets. When present, the server may fill forward a series value from the most recent prior raw point (bounded by the interpolation radius). This alignment happens BEFORE bucketing, ensuring that aggregated values in each bucket are computed from temporally aligned raw tuples. When absent, the default interpolation configuration is used.

`start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   The start of the time range (inclusive).

    Fields of `Timestamp`

    `seconds` integer (int64) required
    :   ​

    `nanos` integer (int64) required
    :   ​

`end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   The end of the time range (inclusive).

`context` [`Context`](https://dev.nominal.io/api/rest/compute-service.md#context) required
:   ​

    Fields of `Context`

    `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
    :   ​

        **double**

        Set `type` to `"double"`.

        `double` number
        :   ​

        **computeNode**

        Set `type` to `"computeNode"`.

        `computeNode` [`ComputeNodeWithContext`](https://dev.nominal.io/api/rest/compute-service.md#computenodewithcontext)
        :   ​

        **duration**

        Set `type` to `"duration"`.

        `duration` [`run.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#run-api-duration)
        :   ​

        **integer**

        Set `type` to `"integer"`.

        `integer` integer
        :   ​

        **channel**

        Set `type` to `"channel"`.

        `channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries) deprecated
        :   **Deprecated:** use series instead.

        **derived**

        Set `type` to `"derived"`.

        `derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
        :   ​

        **series**

        Set `type` to `"series"`.

        `series` [`SeriesVariable`](https://dev.nominal.io/api/rest/compute-service.md#seriesvariable)
        :   ​

        **string**

        Set `type` to `"string"`.

        `string` string
        :   ​

        **stringSet**

        Set `type` to `"stringSet"`.

        `stringSet` array of string
        :   ​

        **timestamp**

        Set `type` to `"timestamp"`.

        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

    `functionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables) deprecated
    :   **Deprecated:** This field is deprecated and will be removed in a future version.

        Fields of `FunctionVariables`

        `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
        :   ​

        `subFunctionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables)
        :   ​

    `datasetReferences` map of `DatasetReferenceName` to [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
    :   Named datasets looked up by `DatasetReference` nodes in the compute tree.

        **asset**

        Set `type` to `"asset"`.

        `asset` [`Asset`](https://dev.nominal.io/api/rest/compute-service.md#asset)
        :   Single asset. Expands to one grouping per data scope on the asset. Groupings are tagged by `assetRid` and `dataScope` so callers can safely compose multiple assets with `combine`.

        **run**

        Set `type` to `"run"`.

        `run` [`Run`](https://dev.nominal.io/api/rest/compute-service.md#run)
        :   Single run. Expands to one grouping per data source attached to the run: asset-typed sources contribute one grouping per data scope on the asset; dataset-typed sources contribute one grouping per dataset. Groupings are tagged by `runRid` and `dataScope`; asset-typed groupings additionally carry `assetRid` so callers can safely compose multiple runs with `combine`.

        **saved**

        Set `type` to `"saved"`.

        `saved` [`SavedDataset`](https://dev.nominal.io/api/rest/compute-service.md#saveddataset)
        :   ​

        **search**

        Set `type` to `"search"`.

        `search` [`SearchDataset`](https://dev.nominal.io/api/rest/compute-service.md#searchdataset)
        :   ​

        **combine**

        Set `type` to `"combine"`.

        `combine` [`CombinedDataset`](https://dev.nominal.io/api/rest/compute-service.md#combineddataset)
        :   ​

        **tag**

        Set `type` to `"tag"`.

        `tag` [`TaggedDataset`](https://dev.nominal.io/api/rest/compute-service.md#taggeddataset)
        :   ​

        **filter**

        Set `type` to `"filter"`.

        `filter` [`FilteredDataset`](https://dev.nominal.io/api/rest/compute-service.md#filtereddataset)
        :   ​

        **timeShift**

        Set `type` to `"timeShift"`.

        `timeShift` [`TimeShiftedDataset`](https://dev.nominal.io/api/rest/compute-service.md#timeshifteddataset)
        :   ​

        **alignByAnchor**

        Set `type` to `"alignByAnchor"`.

        `alignByAnchor` [`AnchorAlignedDataset`](https://dev.nominal.io/api/rest/compute-service.md#anchoraligneddataset)
        :   ​

        **withSeries**

        Set `type` to `"withSeries"`.

        `withSeries` [`WithSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#withseriesdataset)
        :   ​

        **dropSeries**

        Set `type` to `"dropSeries"`.

        `dropSeries` [`DropSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#dropseriesdataset)
        :   ​

        **reference**

        Set `type` to `"reference"`.

        `reference` [`DatasetReference`](https://dev.nominal.io/api/rest/compute-service.md#datasetreference)
        :   ​

        **withDimensions**

        Set `type` to `"withDimensions"`.

        `withDimensions` [`DimensionsDataset`](https://dev.nominal.io/api/rest/compute-service.md#dimensionsdataset)
        :   ​

    `defaultFillStrategy` [`FillStrategy`](https://dev.nominal.io/api/rest/compute-service.md#fillstrategy)
    :   Default fill strategy applied at every multi-input alignment boundary where no per-node interpolationConfiguration is specified. When absent, falls back to the server-configured default (forward fill with a 1 second fill limit).

        **forwardFill**

        Set `type` to `"forwardFill"`.

        `forwardFill` [`ForwardFill`](https://dev.nominal.io/api/rest/compute-service.md#forwardfill)
        :   ​

    `defaultAlignmentStrategy` [`Alignment`](https://dev.nominal.io/api/rest/compute-service.md#alignment)
    :   Default alignment strategy applied at every multi-input alignment boundary where no per-node alignment strategy is specified. When absent, falls back to the server default (driver-series alignment).

        **driverSeries**

        Set `type` to `"driverSeries"`.

        `driverSeries` [`DriverSeries`](https://dev.nominal.io/api/rest/compute-service.md#driverseries)
        :   ​

        **union**

        Set `type` to `"union"`.

        `union` [`Union`](https://dev.nominal.io/api/rest/compute-service.md#union)
        :   ​

    `applyDataScopeOffsets` boolean
    :   When true, dataset resolution applies each data scope’s persisted offset as a time shift, and the client must not pre-apply those offsets itself. When absent or false, scope offsets are left to the client, preserving behavior for legacy clients that inject equivalent timeShift nodes into the compute request. Read from the context in scope at resolution time.

    `resolveAssetsThroughDatasets` boolean
    :   When true, `Dataset.asset`, the asset-typed sources of `Dataset.run`, and asset or run search expand through each asset’s mirrored derived dataset instead of its data scopes. Branches then carry the dataset’s declared channel-search split tag keys in place of the reserved `DATA_SCOPE` tag, so callers must filter and group on those keys; the definition’s own time shifts apply regardless of `applyDataScopeOffsets`; and an asset with no mirrored dataset resolves to no data. When absent or false, assets expand from their data scopes as before.

`sourceRid` string (RID)
:   Optional RID identifying the resource that initiated this query (e.g. workbook/notebook RID, checklist RID, dataset RID). Used for observability only — trusted as-is, no permission checks are performed on this value.

`parameterizedContext` [`ParameterizedContext`](https://dev.nominal.io/api/rest/compute-service.md#parameterizedcontext) required
:   Specifies how certain variables should be parameterized. If a variable name appears in both the context and the parameterized context, it will be treated as parameterized.

    Fields of `ParameterizedContext`

    `parameterInputs` array of [`ParameterInput`](https://dev.nominal.io/api/rest/compute-service.md#parameterinput)
    :   Each parameter input provides a satisfying set of values for the parameterized compute node.

        Fields of `ParameterInput`

        `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
        :   ​

        `timeRange` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
        :   Overrides the start and end time of the compute request. If either the start or end are not present, we default back to the start/end specified in the request.

Response

`results` array of [`ComputeNodeResult`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesult)
:   ​

    **success**

    Set `type` to `"success"`.

    `success` [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse)
    :   ​

        **range**

        Set `type` to `"range"`.

        `range` array of [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
        :   ​

            Fields of `Range`

            `start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

                Fields of `Timestamp`

                `seconds` integer (int64)
                :   ​

                `nanos` integer (int64)
                :   ​

            `end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `value` [`RangeValue`](https://dev.nominal.io/api/rest/compute-service.md#rangevalue)
            :   ​

                **double**

                Set `type` to `"double"`.

                `double` number
                :   ​

                **aggregation**

                Set `type` to `"aggregation"`.

                `aggregation` [`RangeAggregation`](https://dev.nominal.io/api/rest/compute-service.md#rangeaggregation)
                :   ​

                    Fields of `RangeAggregation`

                    `average` number
                    :   ​

                    `min` number
                    :   ​

                    `max` number
                    :   ​

                    `standardDeviation` number
                    :   ​

                    `count` number
                    :   ​

                    `sum` number
                    :   ​

                    `rootMeanSquare` number
                    :   ​

                **noPointsInRange**

                Set `type` to `"noPointsInRange"`.

                `noPointsInRange` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
                :   ​

        **rangesSummary**

        Set `type` to `"rangesSummary"`.

        `rangesSummary` [`RangesSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangessummary)
        :   ​

            Fields of `RangesSummary`

            `rangesSummary` array of [`RangeSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangesummary)
            :   ​

                Fields of `RangeSummary`

                `range` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
                :   The range representing the minimum start and maximum end times of the ranges.

                `subRangeCount` integer
                :   The number of ranges found within this time range.

        **rangeValue**

        Set `type` to `"rangeValue"`.

        `rangeValue` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
        :   ​

        **numeric**

        Set `type` to `"numeric"`.

        `numeric` [`NumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#numericplot)
        :   ​

            Fields of `NumericPlot`

            `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `values` array of number
            :   ​

            `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
            :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

                **timestampAndId**

                Set `type` to `"timestampAndId"`.

                `timestampAndId` [`TimestampAndId`](https://dev.nominal.io/api/rest/compute-service.md#timestampandid)
                :   ​

                    Fields of `TimestampAndId`

                    `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   ​

                    `id` string (UUID)
                    :   ​

        **bucketedNumeric**

        Set `type` to `"bucketedNumeric"`.

        `bucketedNumeric` [`BucketedNumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericplot)
        :   ​

            Fields of `BucketedNumericPlot`

            `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   The end of the bucket, exclusive.

            `buckets` array of [`NumericBucket`](https://dev.nominal.io/api/rest/compute-service.md#numericbucket)
            :   ​

                Fields of `NumericBucket`

                `min` number
                :   ​

                `max` number
                :   ​

                `mean` number
                :   ​

                `count` integer (int64)
                :   ​

                `variance` number
                :   The population variance of the bucket. If the bucket has only one value, this will be 0.

                `firstPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
                :   ​

                    Fields of `NumericPoint`

                    `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   ​

                    `value` number
                    :   ​

                `lastPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
                :   Will be empty if the bucket only has a single point.

                `aggregations` map of string to number
                :   Additional per-bucket aggregations that have no dedicated field above, keyed by the output column name requested via `numericAggregations` or `numericOutputFieldsV2` (e.g. `sum`, `standardDeviation`, `rootMeanSquare`, `p50`). Empty when no additional aggregations were requested.

        **numericPoint**

        Set `type` to `"numericPoint"`.

        `numericPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
        :   ​

        **singlePoint**

        Set `type` to `"singlePoint"`.

        `singlePoint` [`SinglePoint`](https://dev.nominal.io/api/rest/compute-service.md#singlepoint)
        :   ​

            Fields of `SinglePoint`

            `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `value` [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
            :   ​

                **stringValue**

                Set `type` to `"stringValue"`.

                `stringValue` string
                :   ​

                **float64Value**

                Set `type` to `"float64Value"`.

                `float64Value` number
                :   ​

                **int64Value**

                Set `type` to `"int64Value"`.

                `int64Value` string
                :   ​

                **arrayValue**

                Set `type` to `"arrayValue"`.

                `arrayValue` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
                :   ​

                **structValue**

                Set `type` to `"structValue"`.

                `structValue` any JSON value
                :   A JSON representation of the struct

            `precisionLoss` boolean
            :   Returns true if the result required downcasting to a type with less precision, for example if the input series was Int64 and the result is a Float64.

        **arrowNumeric**

        Set `type` to `"arrowNumeric"`.

        `arrowNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
        :   ​

            Fields of `ArrowPlot`

            `arrowBinary` string (base64)
            :   The raw binary containing an Arrow IPC stream.

            `groupByKeys` array of string
            :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

            `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
            :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

        **arrowBucketedNumeric**

        Set `type` to `"arrowBucketedNumeric"`.

        `arrowBucketedNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
        :   ​

        **enum**

        Set `type` to `"enum"`.

        `enum` [`EnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumplot)
        :   ​

            Fields of `EnumPlot`

            `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `values` array of integer
            :   ​

            `categories` array of string
            :   ​

            `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
            :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

        **enumPoint**

        Set `type` to `"enumPoint"`.

        `enumPoint` [`EnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#enumpoint)
        :   ​

            Fields of `EnumPoint`

            `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `value` string
            :   ​

        **bucketedEnum**

        Set `type` to `"bucketedEnum"`.

        `bucketedEnum` [`BucketedEnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumplot)
        :   ​

            Fields of `BucketedEnumPlot`

            `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   The end of the bucket, exclusive.

            `buckets` array of [`EnumBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumbucket)
            :   ​

                Fields of `EnumBucket`

                `histogram` map of string to integer (int64)
                :   The map of values within the bucket to their frequency.

                `firstPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint)
                :   ​

                    Fields of `CompactEnumPoint`

                    `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   ​

                    `value` integer
                    :   ​

                `lastPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint)
                :   Will be empty if the bucket only has a single point.

            `categories` array of string
            :   ​

        **arrowEnum**

        Set `type` to `"arrowEnum"`.

        `arrowEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
        :   ​

        **arrowBucketedEnum**

        Set `type` to `"arrowBucketedEnum"`.

        `arrowBucketedEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
        :   ​

        **pagedLog**

        Set `type` to `"pagedLog"`.

        `pagedLog` [`PagedLogPlot`](https://dev.nominal.io/api/rest/compute-service.md#pagedlogplot)
        :   ​

            Fields of `PagedLogPlot`

            `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `values` array of [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue)
            :   ​

                Fields of `LogValue`

                `message` string
                :   ​

                `args` map of string to string
                :   ​

                `id` string (UUID)
                :   ​

            `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
            :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

        **logPoint**

        Set `type` to `"logPoint"`.

        `logPoint` [`LogPoint`](https://dev.nominal.io/api/rest/compute-service.md#logpoint)
        :   ​

            Fields of `LogPoint`

            `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `value` [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue)
            :   ​

        **arrowLog**

        Set `type` to `"arrowLog"`.

        `arrowLog` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
        :   ​

        **cartesian**

        Set `type` to `"cartesian"`.

        `cartesian` [`CartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#cartesianplot)
        :   ​

            Fields of `CartesianPlot`

            `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `xValues` array of number
            :   ​

            `yValues` array of number
            :   ​

        **bucketedCartesian**

        Set `type` to `"bucketedCartesian"`.

        `bucketedCartesian` [`BucketedCartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesianplot)
        :   ​

            Fields of `BucketedCartesianPlot`

            `buckets` array of [`CartesianBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbucket)
            :   ​

                Fields of `CartesianBucket`

                `minX` number
                :   ​

                `maxX` number
                :   ​

                `minY` number
                :   ​

                `maxY` number
                :   ​

                `minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `count` integer (int64)
                :   ​

        **bucketedCartesian3d**

        Set `type` to `"bucketedCartesian3d"`.

        `bucketedCartesian3d` [`BucketedCartesian3dPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesian3dplot)
        :   ​

            Fields of `BucketedCartesian3dPlot`

            `buckets` array of [`Cartesian3dBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbucket)
            :   ​

                Fields of `Cartesian3dBucket`

                `minX` number deprecated
                :   **Deprecated:** Switching to point-based min/maxes

                `maxX` number deprecated
                :   **Deprecated:** Switching to point-based min/maxes

                `meanX` number
                :   ​

                `minY` number deprecated
                :   **Deprecated:** Switching to point-based min/maxes

                `maxY` number deprecated
                :   **Deprecated:** Switching to point-based min/maxes

                `meanY` number
                :   ​

                `minZ` number deprecated
                :   **Deprecated:** Switching to point-based min/maxes

                `maxZ` number deprecated
                :   **Deprecated:** Switching to point-based min/maxes

                `meanZ` number
                :   ​

                `minXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                :   ​

                    Fields of `Point3d`

                    `x` number
                    :   ​

                    `y` number
                    :   ​

                    `z` number
                    :   ​

                    `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   ​

                `maxXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                :   ​

                `minYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                :   ​

                `maxYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                :   ​

                `minZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                :   ​

                `maxZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                :   ​

                `minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `count` integer (int64)
                :   ​

        **frequencyDomain**

        Set `type` to `"frequencyDomain"`.

        `frequencyDomain` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
        :   ​

            Fields of `FrequencyDomainPlot`

            `frequencies` array of number
            :   ​

            `amplitudes` array of number
            :   ​

        **frequencyDomainV2**

        Set `type` to `"frequencyDomainV2"`.

        `frequencyDomainV2` [`FrequencyDomainPlotV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotv2)
        :   ​

            **real**

            Set `type` to `"real"`.

            `real` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
            :   ​

            **complex**

            Set `type` to `"complex"`.

            `complex` [`FrequencyDomainPlotComplex`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotcomplex)
            :   ​

                Fields of `FrequencyDomainPlotComplex`

                `frequencies` array of number
                :   ​

                `real` array of number
                :   ​

                `imaginary` array of number
                :   ​

            **magnitudeAndPhase**

            Set `type` to `"magnitudeAndPhase"`.

            `magnitudeAndPhase` [`FrequencyDomainPlotMagnitudeAndPhase`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotmagnitudeandphase)
            :   ​

                Fields of `FrequencyDomainPlotMagnitudeAndPhase`

                `frequencies` array of number
                :   ​

                `magnitudes` array of number
                :   ​

                `phases` array of number
                :   ​

        **spectrogram**

        Set `type` to `"spectrogram"`.

        `spectrogram` [`SpectrogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramplot)
        :   ​

            Fields of `SpectrogramPlot`

            `frequencyCenters` array of number
            :   Center frequency in Hz of each column.

            `frequencyEdges` array of number
            :   Column boundaries in Hz, one more than `frequencyCenters`: column `c` spans `frequencyEdges[c]` to `frequencyEdges[c + 1]`. Columns may differ in width.

            `rows` array of [`SpectrogramRow`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramrow)
            :   ​

                Fields of `SpectrogramRow`

                `start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   Start of the time span this row covers.

                `end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   End of the time span this row covers.

                `values` array of number
                :   One value per column

        **bucketedFrequencyDomain**

        Set `type` to `"bucketedFrequencyDomain"`.

        `bucketedFrequencyDomain` [`BucketedFrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedfrequencydomainplot)
        :   ​

            Fields of `BucketedFrequencyDomainPlot`

            `buckets` array of [`FrequencyBucket`](https://dev.nominal.io/api/rest/compute-service.md#frequencybucket)
            :   ​

                Fields of `FrequencyBucket`

                `frequencyStart` number
                :   The start frequency of this bucket (inclusive).

                `frequencyEnd` number
                :   The end frequency of this bucket (exclusive).

                `frequencyCenter` number
                :   The center frequency of this bucket.

                `minAmplitude` number
                :   The minimum amplitude value in this bucket.

                `maxAmplitude` number
                :   The maximum amplitude value in this bucket.

                `meanAmplitude` number
                :   The mean amplitude value in this bucket.

                `count` integer (int64)
                :   The number of original frequency points that were aggregated into this bucket.

                `firstPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint)
                :   The first point (lowest frequency) in this bucket.

                    Fields of `FrequencyPoint`

                    `frequency` number
                    :   ​

                    `amplitude` number
                    :   ​

                `lastPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint)
                :   The last point (highest frequency) in this bucket. Will be empty if the bucket only has a single point.

        **numericHistogram**

        Set `type` to `"numericHistogram"`.

        `numericHistogram` [`NumericHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramplot)
        :   ​

            Fields of `NumericHistogramPlot`

            `buckets` array of [`NumericHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogrambucket)
            :   ​

                Fields of `NumericHistogramBucket`

                `lowerBound` number
                :   The lower bound of the bucket, inclusive

                `upperBound` number
                :   The upper bound of the bucket, exclusive

                `countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
                :   ​

                    Fields of `HistogramChannelCount`

                    `count` integer (int64)
                    :   ​

                `buckets` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount) deprecated
                :   **Deprecated:** Use countsByChannel instead

        **enumHistogram**

        Set `type` to `"enumHistogram"`.

        `enumHistogram` [`EnumHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramplot)
        :   ​

            Fields of `EnumHistogramPlot`

            `buckets` array of [`EnumHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogrambucket)
            :   ​

                Fields of `EnumHistogramBucket`

                `value` string
                :   The value of the enum as a string

                `countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
                :   ​

        **curveFit**

        Set `type` to `"curveFit"`.

        `curveFit` [`CurveFitResult`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresult)
        :   Deprecated: use `curveFitV2` (CurveFitResultV2) instead. Returned only for deprecated CurveFit requests.

            Fields of `CurveFitResult`

            `r2` number
            :   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

            `mae` number
            :   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

            `mse` number
            :   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

            `rmse` number
            :   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

            `maxAbsoluteError` number
            :   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

            `sampleCount` integer
            :   The number of data points used in the curve fitting calculation.

            `curveResultDetails` [`CurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetails)
            :   Description of the fit curve.

                **exponential**

                Set `type` to `"exponential"`.

                `exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
                :   ​

                    Fields of `ExponentialResultDetails`

                    `a` number
                    :   ​

                    `b` number
                    :   ​

                **logarithmic**

                Set `type` to `"logarithmic"`.

                `logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
                :   ​

                    Fields of `LogarithmicResultDetails`

                    `a` number
                    :   ​

                    `b` number
                    :   ​

                **polynomial**

                Set `type` to `"polynomial"`.

                `polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
                :   ​

                    Fields of `PolynomialResultDetails`

                    `a` array of number
                    :   ​

                **power**

                Set `type` to `"power"`.

                `power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
                :   ​

                    Fields of `PowerResultDetails`

                    `a` number
                    :   ​

                    `b` number
                    :   ​

        **curveFitV2**

        Set `type` to `"curveFitV2"`.

        `curveFitV2` [`CurveFitResultV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresultv2)
        :   ​

            Fields of `CurveFitResultV2`

            `r2` number
            :   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

            `mae` number
            :   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

            `mse` number
            :   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

            `rmse` number
            :   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

            `maxAbsoluteError` number
            :   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

            `sampleCount` integer
            :   The number of data points used in the curve fitting calculation.

            `curveResultDetails` [`CurveResultDetailsV2`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetailsv2)
            :   Description of the fit curve.

                **exponential**

                Set `type` to `"exponential"`.

                `exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
                :   ​

                **logarithmic**

                Set `type` to `"logarithmic"`.

                `logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
                :   ​

                **polynomial**

                Set `type` to `"polynomial"`.

                `polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
                :   ​

                **power**

                Set `type` to `"power"`.

                `power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
                :   ​

                **custom**

                Set `type` to `"custom"`.

                `custom` [`CustomCurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#customcurveresultdetails)
                :   ​

                    Fields of `CustomCurveResultDetails`

                    `parameters` map of string to number
                    :   Optimized parameter values produced by the curve fit. Keys match the parameter names provided in the request.

                    `converged` boolean
                    :   Whether the optimizer converged to a solution within its iteration limit. When false, the returned parameters are the best estimate found before the iteration cap was reached and did not satisfy the solver’s convergence tolerances.

                    `iterations` integer
                    :   Number of iterations the solver completed.

        **grouped**

        Set `type` to `"grouped"`.

        `grouped` [`GroupedComputeNodeResponses`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponses)
        :   ​

            Fields of `GroupedComputeNodeResponses`

            `responses` array of [`GroupedComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponse)
            :   ​

                Fields of `GroupedComputeNodeResponse`

                `grouping` [`Grouping`](https://dev.nominal.io/api/rest/compute-service.md#grouping)
                :   ​

                    **tagsWithValues**

                    Set `type` to `"tagsWithValues"`.

                    `tagsWithValues` map of string to string
                    :   A grouping identified by a specific instantiation of tag keys and values.

                `response` [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse)
                :   ​

        **array**

        Set `type` to `"array"`.

        `array` [`ArrowArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowarrayplot)
        :   ​

            **bucketedNumeric**

            Set `type` to `"bucketedNumeric"`.

            `bucketedNumeric` [`BucketedNumericArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericarrayplot)
            :   ​

                Fields of `BucketedNumericArrayPlot`

                `arrowBinary` string (base64)
                :   The raw binary containing Arrow IPC stream for a bucketed N-dimensional numeric array plot.

                `groupByKeys` array of string
                :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

            **bucketedEnum**

            Set `type` to `"bucketedEnum"`.

            `bucketedEnum` [`BucketedEnumArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumarrayplot)
            :   ​

                Fields of `BucketedEnumArrayPlot`

                `arrowBinary` string (base64)
                :   The raw binary containing Arrow IPC stream for a bucketed N-dimensional enum array plot.

                `groupByKeys` array of string
                :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

        **bucketedStruct**

        Set `type` to `"bucketedStruct"`.

        `bucketedStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
        :   ​

        **arrowStruct**

        Set `type` to `"arrowStruct"`.

        `arrowStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
        :   ​

        **fullResolution**

        Set `type` to `"fullResolution"`.

        `fullResolution` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
        :   ​

        **arrowBucketedMultivariate**

        Set `type` to `"arrowBucketedMultivariate"`.

        `arrowBucketedMultivariate` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
        :   ​

        **multivariate**

        Set `type` to `"multivariate"`.

        `multivariate` [`BucketedMultivariatePlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedmultivariateplot)
        :   ​

            Fields of `BucketedMultivariatePlot`

            `buckets` array of [`MultivariateBucket`](https://dev.nominal.io/api/rest/compute-service.md#multivariatebucket)
            :   ​

                Fields of `MultivariateBucket`

                `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `values` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
                :   Values for each input series in the bucket.

            `groupByKeys` array of string
            :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

    **error**

    Set `type` to `"error"`.

    `error` [`ErrorResult`](https://dev.nominal.io/api/rest/compute-service.md#errorresult)
    :   ​

        Fields of `ErrorResult`

        `errorType` string
        :   ​

        `code` integer
        :   ​

Request

**curl**

```shell
curl -X POST "https://api.gov.nominal.io/api/compute/v2/compute/parameterized" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "node": {
    "type": "ranges",
    "ranges": {
      "input": {
        "type": "approximateThreshold",
        "approximateThreshold": {
          "input": {
            "type": "abs",
            "abs": {}
          },
          "threshold": {
            "type": "literal",
            "literal": 1
          },
          "tolerance": {
            "type": "literal",
            "literal": 1
          },
          "operator": "EQUAL_TO"
        }
      }
    }
  },
  "start": {
    "seconds": 1,
    "nanos": 1
  },
  "end": {
    "seconds": 1,
    "nanos": 1
  },
  "context": {
    "variables": {
      "<key>": {
        "type": "double",
        "double": 1
      }
    },
    "functionVariables": {
      "<key>": {
        "variables": {
          "<key>": {
            "type": "double",
            "double": 1
          }
        },
        "subFunctionVariables": {}
      }
    },
    "datasetReferences": {
      "<key>": {
        "type": "asset",
        "asset": {
          "rid": {
            "type": "literal",
            "literal": "<literal>"
          }
        }
      }
    },
    "defaultFillStrategy": {
      "type": "forwardFill",
      "forwardFill": {
        "limit": {
          "type": "duration",
          "duration": {
            "type": "literal",
            "literal": {
              "seconds": 1,
              "nanos": 1
            }
          }
        }
      }
    },
    "defaultAlignmentStrategy": {
      "type": "driverSeries",
      "driverSeries": {}
    },
    "applyDataScopeOffsets": true,
    "resolveAssetsThroughDatasets": true
  },
  "parameterizedContext": {
    "parameterInputs": [
      {
        "variables": {
          "<key>": {
            "type": "double",
            "double": 1
          }
        },
        "timeRange": {
          "start": {
            "seconds": 1,
            "nanos": 1
          },
          "end": {
            "seconds": 1,
            "nanos": 1
          },
          "value": {
            "type": "double",
            "double": 1
          }
        }
      }
    ]
  }
}'
```

**requests**

```python
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/parameterized",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "node": {
            "type": "ranges",
            "ranges": {
                "input": {
                    "type": "approximateThreshold",
                    "approximateThreshold": {
                        "input": {"type": "abs", "abs": {}},
                        "threshold": {"type": "literal", "literal": 1},
                        "tolerance": {"type": "literal", "literal": 1},
                        "operator": "EQUAL_TO",
                    },
                },
            },
        },
        "start": {"seconds": 1, "nanos": 1},
        "end": {"seconds": 1, "nanos": 1},
        "context": {
            "variables": {"<key>": {"type": "double", "double": 1}},
            "functionVariables": {
                "<key>": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "subFunctionVariables": {},
                },
            },
            "datasetReferences": {
                "<key>": {
                    "type": "asset",
                    "asset": {"rid": {"type": "literal", "literal": "<literal>"}},
                },
            },
            "defaultFillStrategy": {
                "type": "forwardFill",
                "forwardFill": {
                    "limit": {
                        "type": "duration",
                        "duration": {
                            "type": "literal",
                            "literal": {"seconds": 1, "nanos": 1},
                        },
                    },
                },
            },
            "defaultAlignmentStrategy": {"type": "driverSeries", "driverSeries": {}},
            "applyDataScopeOffsets": True,
            "resolveAssetsThroughDatasets": True,
        },
        "parameterizedContext": {
            "parameterInputs": [
                {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "timeRange": {
                        "start": {"seconds": 1, "nanos": 1},
                        "end": {"seconds": 1, "nanos": 1},
                        "value": {"type": "double", "double": 1},
                    },
                },
            ],
        },
    },
)
response.raise_for_status()
print(response.json())
```

**httpx**

```python
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/parameterized",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "node": {
            "type": "ranges",
            "ranges": {
                "input": {
                    "type": "approximateThreshold",
                    "approximateThreshold": {
                        "input": {"type": "abs", "abs": {}},
                        "threshold": {"type": "literal", "literal": 1},
                        "tolerance": {"type": "literal", "literal": 1},
                        "operator": "EQUAL_TO",
                    },
                },
            },
        },
        "start": {"seconds": 1, "nanos": 1},
        "end": {"seconds": 1, "nanos": 1},
        "context": {
            "variables": {"<key>": {"type": "double", "double": 1}},
            "functionVariables": {
                "<key>": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "subFunctionVariables": {},
                },
            },
            "datasetReferences": {
                "<key>": {
                    "type": "asset",
                    "asset": {"rid": {"type": "literal", "literal": "<literal>"}},
                },
            },
            "defaultFillStrategy": {
                "type": "forwardFill",
                "forwardFill": {
                    "limit": {
                        "type": "duration",
                        "duration": {
                            "type": "literal",
                            "literal": {"seconds": 1, "nanos": 1},
                        },
                    },
                },
            },
            "defaultAlignmentStrategy": {"type": "driverSeries", "driverSeries": {}},
            "applyDataScopeOffsets": True,
            "resolveAssetsThroughDatasets": True,
        },
        "parameterizedContext": {
            "parameterInputs": [
                {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "timeRange": {
                        "start": {"seconds": 1, "nanos": 1},
                        "end": {"seconds": 1, "nanos": 1},
                        "value": {"type": "double", "double": 1},
                    },
                },
            ],
        },
    },
)
response.raise_for_status()
print(response.json())
```

**aiohttp**

```python
import asyncio

import aiohttp

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/compute/v2/compute/parameterized",
            headers={"Authorization": "Bearer <api key>"},
            json={
                "node": {
                    "type": "ranges",
                    "ranges": {
                        "input": {
                            "type": "approximateThreshold",
                            "approximateThreshold": {
                                "input": {"type": "abs", "abs": {}},
                                "threshold": {"type": "literal", "literal": 1},
                                "tolerance": {"type": "literal", "literal": 1},
                                "operator": "EQUAL_TO",
                            },
                        },
                    },
                },
                "start": {"seconds": 1, "nanos": 1},
                "end": {"seconds": 1, "nanos": 1},
                "context": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "functionVariables": {
                        "<key>": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "subFunctionVariables": {},
                        },
                    },
                    "datasetReferences": {
                        "<key>": {
                            "type": "asset",
                            "asset": {
                                "rid": {"type": "literal", "literal": "<literal>"},
                            },
                        },
                    },
                    "defaultFillStrategy": {
                        "type": "forwardFill",
                        "forwardFill": {
                            "limit": {
                                "type": "duration",
                                "duration": {
                                    "type": "literal",
                                    "literal": {"seconds": 1, "nanos": 1},
                                },
                            },
                        },
                    },
                    "defaultAlignmentStrategy": {
                        "type": "driverSeries",
                        "driverSeries": {},
                    },
                    "applyDataScopeOffsets": True,
                    "resolveAssetsThroughDatasets": True,
                },
                "parameterizedContext": {
                    "parameterInputs": [
                        {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "timeRange": {
                                "start": {"seconds": 1, "nanos": 1},
                                "end": {"seconds": 1, "nanos": 1},
                                "value": {"type": "double", "double": 1},
                            },
                        },
                    ],
                },
            },
        ) as response:
            response.raise_for_status()
            print(await response.json())

asyncio.run(main())
```

Response: `200`

```json
{
  "results": [
    {
      "type": "success",
      "success": {
        "type": "range",
        "range": [
          {
            "start": {
              "seconds": 1,
              "nanos": 1
            },
            "end": {
              "seconds": 1,
              "nanos": 1
            },
            "value": {
              "type": "double",
              "double": 1
            }
          }
        ]
      }
    }
  ]
}
```

### Compute units

POST `/compute/v2/compute/units`

Returns the resulting unit for the output of a compute graph. If the resulting unit is equivalent to exactly one existing unit in the system, it will be returned (for example, a series in Coulombs divided by a series in Volts will return an output of Farads). If the output does not have units (for example, a range output,) the unit result will return noUnitAvailable, and if the computation was not successful, corresponding errors are returned.

Body

`node` [`ComputableNode`](https://dev.nominal.io/api/rest/compute-service.md#computablenode) required
:   ​

    **ranges**

    Set `type` to `"ranges"`.

    `ranges` [`SummarizeRanges`](https://dev.nominal.io/api/rest/compute-service.md#summarizeranges)
    :   ​

        Fields of `SummarizeRanges`

        `input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
        :   ​

        `maxRanges` integer
        :   The maximum number of ranges to return in the response. If more ranges are found, a RangesSummary will be returned. Defaults to 2000 if not specified.

    **series**

    Set `type` to `"series"`.

    `series` [`SummarizeSeries`](https://dev.nominal.io/api/rest/compute-service.md#summarizeseries)
    :   ​

        Fields of `SummarizeSeries`

        `input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
        :   ​

        `outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
        :   The output format of the response. Defaults to LEGACY.

        `numericOutputFields` array of [`NumericOutputField`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfield) deprecated
        :   The fields to output from the summarization. Applies only to Arrow format numeric series. **Deprecated:** Use numericOutputFieldsV2 instead.

        `numericAggregations` map of string to [`NumericAggregationOperator`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationoperator)
        :   Additional numeric aggregations per decimation bucket (e.g. percentiles). Map key is the name of the column in the result.

        `numericOutputFieldsV2` array of [`NumericOutputFieldV2`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfieldv2)
        :   Numeric bucket output fields to return. Applies only to Arrow format numeric series. Defaults to MEAN when no numeric output selector is specified. Mutually exclusive with numericOutputFields and numericAggregations.

        `resolution` integer (int64) deprecated
        :   Resolution of the output series specifying time interval between decimated points, in nanoseconds. **Deprecated:** Use summarizationStrategy instead.

        `buckets` integer deprecated
        :   Number of points to generate in the output series. **Deprecated:** Use summarizationStrategy instead.

        `summarizationStrategy` [`SummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#summarizationstrategy)
        :   The strategy to use when summarizing the series.

    **value**

    Set `type` to `"value"`.

    `value` [`SelectValue`](https://dev.nominal.io/api/rest/compute-service.md#selectvalue)
    :   ​

        **firstPoint**

        Set `type` to `"firstPoint"`.

        `firstPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **firstValuePoint**

        Set `type` to `"firstValuePoint"`.

        `firstValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **firstRange**

        Set `type` to `"firstRange"`.

        `firstRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
        :   ​

        **lastPoint**

        Set `type` to `"lastPoint"`.

        `lastPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **lastValuePoint**

        Set `type` to `"lastValuePoint"`.

        `lastValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **lastRange**

        Set `type` to `"lastRange"`.

        `lastRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
        :   ​

        **nthRange**

        Set `type` to `"nthRange"`.

        `nthRange` [`NthRange`](https://dev.nominal.io/api/rest/compute-service.md#nthrange)
        :   ​

    **cartesian**

    Set `type` to `"cartesian"`.

    `cartesian` [`SummarizeCartesian`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian)
    :   ​

        Fields of `SummarizeCartesian`

        `input` [`Cartesian`](https://dev.nominal.io/api/rest/compute-service.md#cartesian) required
        :   ​

        `bounds` [`CartesianBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbounds)
        :   ​

        `summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
        :   The summarization strategy to use when there are more than `maxPoints`. Defaults to spatial.

        `maxPoints` integer
        :   The maximum number of points to return in the response. If more points are found, a BucketedCartesianPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

    **cartesian3d**

    Set `type` to `"cartesian3d"`.

    `cartesian3d` [`SummarizeCartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian3d)
    :   ​

        Fields of `SummarizeCartesian3d`

        `input` [`Cartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3d) required
        :   ​

        `bounds` [`Cartesian3dBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbounds)
        :   ​

        `maxPoints` integer
        :   The maximum number of points to return in the response. If more points are found, a BucketedCartesian3dPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

        `summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
        :   The strategy to use when summarizing the series. Only spatial decimation is supported.

    **frequency**

    Set `type` to `"frequency"`.

    `frequency` [`FrequencyDomain`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomain)
    :   ​

        **fft**

        Set `type` to `"fft"`.

        `fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
        :   ​

        **periodogram**

        Set `type` to `"periodogram"`.

        `periodogram` [`Periodogram`](https://dev.nominal.io/api/rest/compute-service.md#periodogram)
        :   ​

    **frequencyV2**

    Set `type` to `"frequencyV2"`.

    `frequencyV2` [`FrequencyDomainV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainv2)
    :   ​

        **fft**

        Set `type` to `"fft"`.

        `fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
        :   ​

        **psd**

        Set `type` to `"psd"`.

        `psd` [`Psd`](https://dev.nominal.io/api/rest/compute-service.md#psd)
        :   ​

        **cpsd**

        Set `type` to `"cpsd"`.

        `cpsd` [`Cpsd`](https://dev.nominal.io/api/rest/compute-service.md#cpsd)
        :   ​

        **nyquist**

        Set `type` to `"nyquist"`.

        `nyquist` [`Nyquist`](https://dev.nominal.io/api/rest/compute-service.md#nyquist)
        :   ​

        **bode**

        Set `type` to `"bode"`.

        `bode` [`Bode`](https://dev.nominal.io/api/rest/compute-service.md#bode)
        :   ​

    **spectrogram**

    Set `type` to `"spectrogram"`.

    `spectrogram` [`Spectrogram`](https://dev.nominal.io/api/rest/compute-service.md#spectrogram)
    :   ​

        Fields of `Spectrogram`

        `input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
        :   A numeric series from a single data source. Series grouped by tags are not supported.

        `stftOptions` [`StftOptions`](https://dev.nominal.io/api/rest/compute-service.md#stftoptions)
        :   Window and FFT parameters.

        `quantity` [`SpectrogramQuantity`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramquantity)
        :   What each cell measures. Defaults to PSD.

        `magnitudeScaling` [`MagnitudeScaling`](https://dev.nominal.io/api/rest/compute-service.md#magnitudescaling)
        :   How each cell’s value is scaled. Defaults to decibels: 10·log10 of the PSD, or 20·log10 of the amplitude.

        `bucketing` [`SpectrogramBucketing`](https://dev.nominal.io/api/rest/compute-service.md#spectrogrambucketing)
        :   The output’s time and frequency buckets, frequency band and reductions.

    **histogram**

    Set `type` to `"histogram"`.

    `histogram` [`Histogram`](https://dev.nominal.io/api/rest/compute-service.md#histogram)
    :   ​

        **numeric**

        Set `type` to `"numeric"`.

        `numeric` [`NumericHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramnode)
        :   ​

        **enum**

        Set `type` to `"enum"`.

        `enum` [`EnumHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramnode)
        :   ​

    **curveV2**

    Set `type` to `"curveV2"`.

    `curveV2` [`CurveFitV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2)
    :   ​

        Fields of `CurveFitV2`

        `target` [`CurveFitTarget`](https://dev.nominal.io/api/rest/compute-service.md#curvefittarget) required
        :   Target to fit the equation against.

        `fitRange` [`CurveFitRange`](https://dev.nominal.io/api/rest/compute-service.md#curvefitrange) required
        :   The range to fit the curve over

        `curveToFit` [`CurveFitV2Details`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2details) required
        :   The curve type to fit against the target series.

    **curve**

    Set `type` to `"curve"`.

    `curve` [`CurveFit`](https://dev.nominal.io/api/rest/compute-service.md#curvefit)
    :   ​

        Fields of `CurveFit`

        `curveFitPlotType` [`CurveFitPlotType`](https://dev.nominal.io/api/rest/compute-service.md#curvefitplottype) required
        :   ​

        `curveFitDetails` [`CurveFitDetails`](https://dev.nominal.io/api/rest/compute-service.md#curvefitdetails) required
        :   ​

        `curveFitOptions` [`CurveFitOptions`](https://dev.nominal.io/api/rest/compute-service.md#curvefitoptions) required
        :   ​

    **multivariate**

    Set `type` to `"multivariate"`.

    `multivariate` [`SummarizeMultivariate`](https://dev.nominal.io/api/rest/compute-service.md#summarizemultivariate)
    :   ​

        Fields of `SummarizeMultivariate`

        `inputs` array of [`MultivariateInput`](https://dev.nominal.io/api/rest/compute-service.md#multivariateinput)
        :   List of input series to temporally align at the raw point level, then bucket the aligned tuples together. The series with the largest tag group acts as the “driver” that determines which raw timestamps are included in the alignment. All subsequent series are aligned to the driver’s raw timestamps using the interpolation configuration. After alignment, the resulting (x, y, z, …) tuples are bucketed into time windows and aggregated.

        `outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
        :   The output format of the response. Defaults to LEGACY (JSON).

        `bucketCount` integer
        :   The number of buckets to return in the response. Maximum is 10,000. Defaults to 1,000 if not specified.

        `interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration)
        :   Controls how the N input series are aligned at the raw point level when producing multivariate buckets. When present, the server may fill forward a series value from the most recent prior raw point (bounded by the interpolation radius). This alignment happens BEFORE bucketing, ensuring that aggregated values in each bucket are computed from temporally aligned raw tuples. When absent, the default interpolation configuration is used.

`context` [`Context`](https://dev.nominal.io/api/rest/compute-service.md#context) required
:   ​

    Fields of `Context`

    `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
    :   ​

        **double**

        Set `type` to `"double"`.

        `double` number
        :   ​

        **computeNode**

        Set `type` to `"computeNode"`.

        `computeNode` [`ComputeNodeWithContext`](https://dev.nominal.io/api/rest/compute-service.md#computenodewithcontext)
        :   ​

        **duration**

        Set `type` to `"duration"`.

        `duration` [`run.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#run-api-duration)
        :   ​

        **integer**

        Set `type` to `"integer"`.

        `integer` integer
        :   ​

        **channel**

        Set `type` to `"channel"`.

        `channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries) deprecated
        :   **Deprecated:** use series instead.

        **derived**

        Set `type` to `"derived"`.

        `derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
        :   ​

        **series**

        Set `type` to `"series"`.

        `series` [`SeriesVariable`](https://dev.nominal.io/api/rest/compute-service.md#seriesvariable)
        :   ​

        **string**

        Set `type` to `"string"`.

        `string` string
        :   ​

        **stringSet**

        Set `type` to `"stringSet"`.

        `stringSet` array of string
        :   ​

        **timestamp**

        Set `type` to `"timestamp"`.

        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

    `functionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables) deprecated
    :   **Deprecated:** This field is deprecated and will be removed in a future version.

        Fields of `FunctionVariables`

        `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
        :   ​

        `subFunctionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables)
        :   ​

    `datasetReferences` map of `DatasetReferenceName` to [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
    :   Named datasets looked up by `DatasetReference` nodes in the compute tree.

        **asset**

        Set `type` to `"asset"`.

        `asset` [`Asset`](https://dev.nominal.io/api/rest/compute-service.md#asset)
        :   Single asset. Expands to one grouping per data scope on the asset. Groupings are tagged by `assetRid` and `dataScope` so callers can safely compose multiple assets with `combine`.

        **run**

        Set `type` to `"run"`.

        `run` [`Run`](https://dev.nominal.io/api/rest/compute-service.md#run)
        :   Single run. Expands to one grouping per data source attached to the run: asset-typed sources contribute one grouping per data scope on the asset; dataset-typed sources contribute one grouping per dataset. Groupings are tagged by `runRid` and `dataScope`; asset-typed groupings additionally carry `assetRid` so callers can safely compose multiple runs with `combine`.

        **saved**

        Set `type` to `"saved"`.

        `saved` [`SavedDataset`](https://dev.nominal.io/api/rest/compute-service.md#saveddataset)
        :   ​

        **search**

        Set `type` to `"search"`.

        `search` [`SearchDataset`](https://dev.nominal.io/api/rest/compute-service.md#searchdataset)
        :   ​

        **combine**

        Set `type` to `"combine"`.

        `combine` [`CombinedDataset`](https://dev.nominal.io/api/rest/compute-service.md#combineddataset)
        :   ​

        **tag**

        Set `type` to `"tag"`.

        `tag` [`TaggedDataset`](https://dev.nominal.io/api/rest/compute-service.md#taggeddataset)
        :   ​

        **filter**

        Set `type` to `"filter"`.

        `filter` [`FilteredDataset`](https://dev.nominal.io/api/rest/compute-service.md#filtereddataset)
        :   ​

        **timeShift**

        Set `type` to `"timeShift"`.

        `timeShift` [`TimeShiftedDataset`](https://dev.nominal.io/api/rest/compute-service.md#timeshifteddataset)
        :   ​

        **alignByAnchor**

        Set `type` to `"alignByAnchor"`.

        `alignByAnchor` [`AnchorAlignedDataset`](https://dev.nominal.io/api/rest/compute-service.md#anchoraligneddataset)
        :   ​

        **withSeries**

        Set `type` to `"withSeries"`.

        `withSeries` [`WithSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#withseriesdataset)
        :   ​

        **dropSeries**

        Set `type` to `"dropSeries"`.

        `dropSeries` [`DropSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#dropseriesdataset)
        :   ​

        **reference**

        Set `type` to `"reference"`.

        `reference` [`DatasetReference`](https://dev.nominal.io/api/rest/compute-service.md#datasetreference)
        :   ​

        **withDimensions**

        Set `type` to `"withDimensions"`.

        `withDimensions` [`DimensionsDataset`](https://dev.nominal.io/api/rest/compute-service.md#dimensionsdataset)
        :   ​

    `defaultFillStrategy` [`FillStrategy`](https://dev.nominal.io/api/rest/compute-service.md#fillstrategy)
    :   Default fill strategy applied at every multi-input alignment boundary where no per-node interpolationConfiguration is specified. When absent, falls back to the server-configured default (forward fill with a 1 second fill limit).

        **forwardFill**

        Set `type` to `"forwardFill"`.

        `forwardFill` [`ForwardFill`](https://dev.nominal.io/api/rest/compute-service.md#forwardfill)
        :   ​

    `defaultAlignmentStrategy` [`Alignment`](https://dev.nominal.io/api/rest/compute-service.md#alignment)
    :   Default alignment strategy applied at every multi-input alignment boundary where no per-node alignment strategy is specified. When absent, falls back to the server default (driver-series alignment).

        **driverSeries**

        Set `type` to `"driverSeries"`.

        `driverSeries` [`DriverSeries`](https://dev.nominal.io/api/rest/compute-service.md#driverseries)
        :   ​

        **union**

        Set `type` to `"union"`.

        `union` [`Union`](https://dev.nominal.io/api/rest/compute-service.md#union)
        :   ​

    `applyDataScopeOffsets` boolean
    :   When true, dataset resolution applies each data scope’s persisted offset as a time shift, and the client must not pre-apply those offsets itself. When absent or false, scope offsets are left to the client, preserving behavior for legacy clients that inject equivalent timeShift nodes into the compute request. Read from the context in scope at resolution time.

    `resolveAssetsThroughDatasets` boolean
    :   When true, `Dataset.asset`, the asset-typed sources of `Dataset.run`, and asset or run search expand through each asset’s mirrored derived dataset instead of its data scopes. Branches then carry the dataset’s declared channel-search split tag keys in place of the reserved `DATA_SCOPE` tag, so callers must filter and group on those keys; the definition’s own time shifts apply regardless of `applyDataScopeOffsets`; and an asset with no mirrored dataset resolves to no data. When absent or false, assets expand from their data scopes as before.

Response

A [`ComputeUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#computeunitresult) union.

**single**

Set `type` to `"single"`.

`single` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
:   ​

    **success**

    Set `type` to `"success"`.

    `success` string
    :   ​

    **noUnitAvailable**

    Set `type` to `"noUnitAvailable"`.

    `noUnitAvailable` array of [`UnitComputationError`](https://dev.nominal.io/api/rest/compute-service.md#unitcomputationerror)
    :   The resulting values have no units associated. If this is because of an error, it is listed here.

        **incompatibleUnitsOperation**

        Set `type` to `"incompatibleUnitsOperation"`.

        `incompatibleUnitsOperation` [`IncompatibleUnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#incompatibleunitoperation)
        :   ​

            Fields of `IncompatibleUnitOperation`

            `operation` [`UnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#unitoperation)
            :   ​

                Values of `UnitOperation`

                `UNIT_AS_EXPONENT`
                :   ​

                `NON_INTEGER_AS_EXPONENT`
                :   ​

                `FLOOR_DIVISION`
                :   ​

                `MODULO`
                :   ​

                `CROSSOVER_COMPARISON`
                :   ​

                `MAX`
                :   ​

                `MIN`
                :   ​

                `MEAN`
                :   ​

                `UNION`
                :   ​

                `ADDITION`
                :   ​

                `SUBTRACTION`
                :   ​

                `UNIT_CONVERSION`
                :   ​

                `COMPARISON`
                :   ​

                `TERNARY_OPERATOR`
                :   ​

            `units` array of string
            :   ​

        **unitsMissing**

        Set `type` to `"unitsMissing"`.

        `unitsMissing` [`UnitsMissing`](https://dev.nominal.io/api/rest/compute-service.md#unitsmissing)
        :   ​

            Fields of `UnitsMissing`

            `seriesRids` array of string (RID) deprecated
            :   **Deprecated:** Use channels instead.

            `channels` array of [`DataSourceAndChannel`](https://dev.nominal.io/api/rest/compute-service.md#datasourceandchannel)
            :   ​

                Fields of `DataSourceAndChannel`

                `dataSourceRid` string (RID)
                :   ​

                `channel` string
                :   ​

        **error**

        Set `type` to `"error"`.

        `error` [`SerializableError`](https://dev.nominal.io/api/rest/compute-service.md#serializableerror)
        :   ​

            Fields of `SerializableError`

            `name` string
            :   ​

            `message` string
            :   ​

            `errorInstanceId` string
            :   ​

            `statusCode` integer
            :   ​

            `params` map of string to string
            :   ​

**cartesian**

Set `type` to `"cartesian"`.

`cartesian` [`CartesianUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesianunitresult)
:   ​

    Fields of `CartesianUnitResult`

    `x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
    :   ​

    `y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
    :   ​

**cartesian3d**

Set `type` to `"cartesian3d"`.

`cartesian3d` [`Cartesian3dUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dunitresult)
:   ​

    Fields of `Cartesian3dUnitResult`

    `x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
    :   ​

    `y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
    :   ​

    `z` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
    :   ​

**multivariate**

Set `type` to `"multivariate"`.

`multivariate` [`MultivariateUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#multivariateunitresult)
:   ​

    Fields of `MultivariateUnitResult`

    `units` array of [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
    :   ​

Request

**curl**

```shell
curl -X POST "https://api.gov.nominal.io/api/compute/v2/compute/units" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "node": {
    "type": "ranges",
    "ranges": {
      "input": {
        "type": "approximateThreshold",
        "approximateThreshold": {
          "input": {
            "type": "abs",
            "abs": {}
          },
          "threshold": {
            "type": "literal",
            "literal": 1
          },
          "tolerance": {
            "type": "literal",
            "literal": 1
          },
          "operator": "EQUAL_TO"
        }
      }
    }
  },
  "context": {
    "variables": {
      "<key>": {
        "type": "double",
        "double": 1
      }
    },
    "functionVariables": {
      "<key>": {
        "variables": {
          "<key>": {
            "type": "double",
            "double": 1
          }
        },
        "subFunctionVariables": {}
      }
    },
    "datasetReferences": {
      "<key>": {
        "type": "asset",
        "asset": {
          "rid": {
            "type": "literal",
            "literal": "<literal>"
          }
        }
      }
    },
    "defaultFillStrategy": {
      "type": "forwardFill",
      "forwardFill": {
        "limit": {
          "type": "duration",
          "duration": {
            "type": "literal",
            "literal": {
              "seconds": 1,
              "nanos": 1
            }
          }
        }
      }
    },
    "defaultAlignmentStrategy": {
      "type": "driverSeries",
      "driverSeries": {}
    },
    "applyDataScopeOffsets": true,
    "resolveAssetsThroughDatasets": true
  }
}'
```

**requests**

```python
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/units",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "node": {
            "type": "ranges",
            "ranges": {
                "input": {
                    "type": "approximateThreshold",
                    "approximateThreshold": {
                        "input": {"type": "abs", "abs": {}},
                        "threshold": {"type": "literal", "literal": 1},
                        "tolerance": {"type": "literal", "literal": 1},
                        "operator": "EQUAL_TO",
                    },
                },
            },
        },
        "context": {
            "variables": {"<key>": {"type": "double", "double": 1}},
            "functionVariables": {
                "<key>": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "subFunctionVariables": {},
                },
            },
            "datasetReferences": {
                "<key>": {
                    "type": "asset",
                    "asset": {"rid": {"type": "literal", "literal": "<literal>"}},
                },
            },
            "defaultFillStrategy": {
                "type": "forwardFill",
                "forwardFill": {
                    "limit": {
                        "type": "duration",
                        "duration": {
                            "type": "literal",
                            "literal": {"seconds": 1, "nanos": 1},
                        },
                    },
                },
            },
            "defaultAlignmentStrategy": {"type": "driverSeries", "driverSeries": {}},
            "applyDataScopeOffsets": True,
            "resolveAssetsThroughDatasets": True,
        },
    },
)
response.raise_for_status()
print(response.json())
```

**httpx**

```python
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/units",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "node": {
            "type": "ranges",
            "ranges": {
                "input": {
                    "type": "approximateThreshold",
                    "approximateThreshold": {
                        "input": {"type": "abs", "abs": {}},
                        "threshold": {"type": "literal", "literal": 1},
                        "tolerance": {"type": "literal", "literal": 1},
                        "operator": "EQUAL_TO",
                    },
                },
            },
        },
        "context": {
            "variables": {"<key>": {"type": "double", "double": 1}},
            "functionVariables": {
                "<key>": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "subFunctionVariables": {},
                },
            },
            "datasetReferences": {
                "<key>": {
                    "type": "asset",
                    "asset": {"rid": {"type": "literal", "literal": "<literal>"}},
                },
            },
            "defaultFillStrategy": {
                "type": "forwardFill",
                "forwardFill": {
                    "limit": {
                        "type": "duration",
                        "duration": {
                            "type": "literal",
                            "literal": {"seconds": 1, "nanos": 1},
                        },
                    },
                },
            },
            "defaultAlignmentStrategy": {"type": "driverSeries", "driverSeries": {}},
            "applyDataScopeOffsets": True,
            "resolveAssetsThroughDatasets": True,
        },
    },
)
response.raise_for_status()
print(response.json())
```

**aiohttp**

```python
import asyncio

import aiohttp

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/compute/v2/compute/units",
            headers={"Authorization": "Bearer <api key>"},
            json={
                "node": {
                    "type": "ranges",
                    "ranges": {
                        "input": {
                            "type": "approximateThreshold",
                            "approximateThreshold": {
                                "input": {"type": "abs", "abs": {}},
                                "threshold": {"type": "literal", "literal": 1},
                                "tolerance": {"type": "literal", "literal": 1},
                                "operator": "EQUAL_TO",
                            },
                        },
                    },
                },
                "context": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "functionVariables": {
                        "<key>": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "subFunctionVariables": {},
                        },
                    },
                    "datasetReferences": {
                        "<key>": {
                            "type": "asset",
                            "asset": {
                                "rid": {"type": "literal", "literal": "<literal>"},
                            },
                        },
                    },
                    "defaultFillStrategy": {
                        "type": "forwardFill",
                        "forwardFill": {
                            "limit": {
                                "type": "duration",
                                "duration": {
                                    "type": "literal",
                                    "literal": {"seconds": 1, "nanos": 1},
                                },
                            },
                        },
                    },
                    "defaultAlignmentStrategy": {
                        "type": "driverSeries",
                        "driverSeries": {},
                    },
                    "applyDataScopeOffsets": True,
                    "resolveAssetsThroughDatasets": True,
                },
            },
        ) as response:
            response.raise_for_status()
            print(await response.json())

asyncio.run(main())
```

Response: `200`

```json
{
  "type": "single",
  "single": {
    "type": "success",
    "success": "<unit symbol>"
  }
}
```

### Batch compute with units

POST `/compute/v2/compute/batch`

Computes the output of compute graphs specified by BatchComputeNodeRequest. Results are returned in the same order as the request.

Body

`requests` array of [`ComputeNodeRequest`](https://dev.nominal.io/api/rest/compute-service.md#computenoderequest)
:   ​

    Fields of `ComputeNodeRequest`

    `node` [`ComputableNode`](https://dev.nominal.io/api/rest/compute-service.md#computablenode) required
    :   ​

        **ranges**

        Set `type` to `"ranges"`.

        `ranges` [`SummarizeRanges`](https://dev.nominal.io/api/rest/compute-service.md#summarizeranges)
        :   ​

        **series**

        Set `type` to `"series"`.

        `series` [`SummarizeSeries`](https://dev.nominal.io/api/rest/compute-service.md#summarizeseries)
        :   ​

        **value**

        Set `type` to `"value"`.

        `value` [`SelectValue`](https://dev.nominal.io/api/rest/compute-service.md#selectvalue)
        :   ​

        **cartesian**

        Set `type` to `"cartesian"`.

        `cartesian` [`SummarizeCartesian`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian)
        :   ​

        **cartesian3d**

        Set `type` to `"cartesian3d"`.

        `cartesian3d` [`SummarizeCartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian3d)
        :   ​

        **frequency**

        Set `type` to `"frequency"`.

        `frequency` [`FrequencyDomain`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomain)
        :   ​

        **frequencyV2**

        Set `type` to `"frequencyV2"`.

        `frequencyV2` [`FrequencyDomainV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainv2)
        :   ​

        **spectrogram**

        Set `type` to `"spectrogram"`.

        `spectrogram` [`Spectrogram`](https://dev.nominal.io/api/rest/compute-service.md#spectrogram)
        :   ​

        **histogram**

        Set `type` to `"histogram"`.

        `histogram` [`Histogram`](https://dev.nominal.io/api/rest/compute-service.md#histogram)
        :   ​

        **curveV2**

        Set `type` to `"curveV2"`.

        `curveV2` [`CurveFitV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2)
        :   ​

        **curve**

        Set `type` to `"curve"`.

        `curve` [`CurveFit`](https://dev.nominal.io/api/rest/compute-service.md#curvefit)
        :   ​

        **multivariate**

        Set `type` to `"multivariate"`.

        `multivariate` [`SummarizeMultivariate`](https://dev.nominal.io/api/rest/compute-service.md#summarizemultivariate)
        :   ​

    `start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
    :   The start of the time range (inclusive).

        Fields of `Timestamp`

        `seconds` integer (int64) required
        :   ​

        `nanos` integer (int64) required
        :   ​

    `end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
    :   The end of the time range (inclusive).

    `context` [`Context`](https://dev.nominal.io/api/rest/compute-service.md#context) required
    :   ​

        Fields of `Context`

        `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
        :   ​

        `functionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables) deprecated
        :   **Deprecated:** This field is deprecated and will be removed in a future version.

        `datasetReferences` map of `DatasetReferenceName` to [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
        :   Named datasets looked up by `DatasetReference` nodes in the compute tree.

        `defaultFillStrategy` [`FillStrategy`](https://dev.nominal.io/api/rest/compute-service.md#fillstrategy)
        :   Default fill strategy applied at every multi-input alignment boundary where no per-node interpolationConfiguration is specified. When absent, falls back to the server-configured default (forward fill with a 1 second fill limit).

        `defaultAlignmentStrategy` [`Alignment`](https://dev.nominal.io/api/rest/compute-service.md#alignment)
        :   Default alignment strategy applied at every multi-input alignment boundary where no per-node alignment strategy is specified. When absent, falls back to the server default (driver-series alignment).

        `applyDataScopeOffsets` boolean
        :   When true, dataset resolution applies each data scope’s persisted offset as a time shift, and the client must not pre-apply those offsets itself. When absent or false, scope offsets are left to the client, preserving behavior for legacy clients that inject equivalent timeShift nodes into the compute request. Read from the context in scope at resolution time.

        `resolveAssetsThroughDatasets` boolean
        :   When true, `Dataset.asset`, the asset-typed sources of `Dataset.run`, and asset or run search expand through each asset’s mirrored derived dataset instead of its data scopes. Branches then carry the dataset’s declared channel-search split tag keys in place of the reserved `DATA_SCOPE` tag, so callers must filter and group on those keys; the definition’s own time shifts apply regardless of `applyDataScopeOffsets`; and an asset with no mirrored dataset resolves to no data. When absent or false, assets expand from their data scopes as before.

    `sourceRid` string (RID)
    :   Optional RID identifying the resource that initiated this query (e.g. workbook/notebook RID, checklist RID, dataset RID). Used for observability only — trusted as-is, no permission checks are performed on this value.

    `requestId` string (UUID)
    :   Optional UUID to provide as a handle to selectively cancel the execution of this compute request.

Response

`results` array of [`ComputeWithUnitsResult`](https://dev.nominal.io/api/rest/compute-service.md#computewithunitsresult)
:   ​

    Fields of `ComputeWithUnitsResult`

    `computeResult` [`ComputeNodeResult`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesult)
    :   ​

        **success**

        Set `type` to `"success"`.

        `success` [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse)
        :   ​

            **range**

            Set `type` to `"range"`.

            `range` array of [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
            :   ​

                Fields of `Range`

                `start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                    Fields of `Timestamp`

                    `seconds` integer (int64)
                    :   ​

                    `nanos` integer (int64)
                    :   ​

                `end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `value` [`RangeValue`](https://dev.nominal.io/api/rest/compute-service.md#rangevalue)
                :   ​

                    **double**

                    Set `type` to `"double"`.

                    `double` number
                    :   ​

                    **aggregation**

                    Set `type` to `"aggregation"`.

                    `aggregation` [`RangeAggregation`](https://dev.nominal.io/api/rest/compute-service.md#rangeaggregation)
                    :   ​

                        Fields of `RangeAggregation`

                        `average` number
                        :   ​

                        `min` number
                        :   ​

                        `max` number
                        :   ​

                        `standardDeviation` number
                        :   ​

                        `count` number
                        :   ​

                        `sum` number
                        :   ​

                        `rootMeanSquare` number
                        :   ​

                    **noPointsInRange**

                    Set `type` to `"noPointsInRange"`.

                    `noPointsInRange` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
                    :   ​

            **rangesSummary**

            Set `type` to `"rangesSummary"`.

            `rangesSummary` [`RangesSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangessummary)
            :   ​

                Fields of `RangesSummary`

                `rangesSummary` array of [`RangeSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangesummary)
                :   ​

                    Fields of `RangeSummary`

                    `range` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
                    :   The range representing the minimum start and maximum end times of the ranges.

                    `subRangeCount` integer
                    :   The number of ranges found within this time range.

            **rangeValue**

            Set `type` to `"rangeValue"`.

            `rangeValue` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
            :   ​

            **numeric**

            Set `type` to `"numeric"`.

            `numeric` [`NumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#numericplot)
            :   ​

                Fields of `NumericPlot`

                `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `values` array of number
                :   ​

                `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
                :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

                    **timestampAndId**

                    Set `type` to `"timestampAndId"`.

                    `timestampAndId` [`TimestampAndId`](https://dev.nominal.io/api/rest/compute-service.md#timestampandid)
                    :   ​

                        Fields of `TimestampAndId`

                        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                        :   ​

                        `id` string (UUID)
                        :   ​

            **bucketedNumeric**

            Set `type` to `"bucketedNumeric"`.

            `bucketedNumeric` [`BucketedNumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericplot)
            :   ​

                Fields of `BucketedNumericPlot`

                `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   The end of the bucket, exclusive.

                `buckets` array of [`NumericBucket`](https://dev.nominal.io/api/rest/compute-service.md#numericbucket)
                :   ​

                    Fields of `NumericBucket`

                    `min` number
                    :   ​

                    `max` number
                    :   ​

                    `mean` number
                    :   ​

                    `count` integer (int64)
                    :   ​

                    `variance` number
                    :   The population variance of the bucket. If the bucket has only one value, this will be 0.

                    `firstPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
                    :   ​

                        Fields of `NumericPoint`

                        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                        :   ​

                        `value` number
                        :   ​

                    `lastPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
                    :   Will be empty if the bucket only has a single point.

                    `aggregations` map of string to number
                    :   Additional per-bucket aggregations that have no dedicated field above, keyed by the output column name requested via `numericAggregations` or `numericOutputFieldsV2` (e.g. `sum`, `standardDeviation`, `rootMeanSquare`, `p50`). Empty when no additional aggregations were requested.

            **numericPoint**

            Set `type` to `"numericPoint"`.

            `numericPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
            :   ​

            **singlePoint**

            Set `type` to `"singlePoint"`.

            `singlePoint` [`SinglePoint`](https://dev.nominal.io/api/rest/compute-service.md#singlepoint)
            :   ​

                Fields of `SinglePoint`

                `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `value` [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
                :   ​

                    **stringValue**

                    Set `type` to `"stringValue"`.

                    `stringValue` string
                    :   ​

                    **float64Value**

                    Set `type` to `"float64Value"`.

                    `float64Value` number
                    :   ​

                    **int64Value**

                    Set `type` to `"int64Value"`.

                    `int64Value` string
                    :   ​

                    **arrayValue**

                    Set `type` to `"arrayValue"`.

                    `arrayValue` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
                    :   ​

                    **structValue**

                    Set `type` to `"structValue"`.

                    `structValue` any JSON value
                    :   A JSON representation of the struct

                `precisionLoss` boolean
                :   Returns true if the result required downcasting to a type with less precision, for example if the input series was Int64 and the result is a Float64.

            **arrowNumeric**

            Set `type` to `"arrowNumeric"`.

            `arrowNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
            :   ​

                Fields of `ArrowPlot`

                `arrowBinary` string (base64)
                :   The raw binary containing an Arrow IPC stream.

                `groupByKeys` array of string
                :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

                `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
                :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

            **arrowBucketedNumeric**

            Set `type` to `"arrowBucketedNumeric"`.

            `arrowBucketedNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
            :   ​

            **enum**

            Set `type` to `"enum"`.

            `enum` [`EnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumplot)
            :   ​

                Fields of `EnumPlot`

                `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `values` array of integer
                :   ​

                `categories` array of string
                :   ​

                `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
                :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

            **enumPoint**

            Set `type` to `"enumPoint"`.

            `enumPoint` [`EnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#enumpoint)
            :   ​

                Fields of `EnumPoint`

                `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `value` string
                :   ​

            **bucketedEnum**

            Set `type` to `"bucketedEnum"`.

            `bucketedEnum` [`BucketedEnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumplot)
            :   ​

                Fields of `BucketedEnumPlot`

                `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   The end of the bucket, exclusive.

                `buckets` array of [`EnumBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumbucket)
                :   ​

                    Fields of `EnumBucket`

                    `histogram` map of string to integer (int64)
                    :   The map of values within the bucket to their frequency.

                    `firstPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint)
                    :   ​

                        Fields of `CompactEnumPoint`

                        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                        :   ​

                        `value` integer
                        :   ​

                    `lastPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint)
                    :   Will be empty if the bucket only has a single point.

                `categories` array of string
                :   ​

            **arrowEnum**

            Set `type` to `"arrowEnum"`.

            `arrowEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
            :   ​

            **arrowBucketedEnum**

            Set `type` to `"arrowBucketedEnum"`.

            `arrowBucketedEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
            :   ​

            **pagedLog**

            Set `type` to `"pagedLog"`.

            `pagedLog` [`PagedLogPlot`](https://dev.nominal.io/api/rest/compute-service.md#pagedlogplot)
            :   ​

                Fields of `PagedLogPlot`

                `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `values` array of [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue)
                :   ​

                    Fields of `LogValue`

                    `message` string
                    :   ​

                    `args` map of string to string
                    :   ​

                    `id` string (UUID)
                    :   ​

                `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
                :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

            **logPoint**

            Set `type` to `"logPoint"`.

            `logPoint` [`LogPoint`](https://dev.nominal.io/api/rest/compute-service.md#logpoint)
            :   ​

                Fields of `LogPoint`

                `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `value` [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue)
                :   ​

            **arrowLog**

            Set `type` to `"arrowLog"`.

            `arrowLog` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
            :   ​

            **cartesian**

            Set `type` to `"cartesian"`.

            `cartesian` [`CartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#cartesianplot)
            :   ​

                Fields of `CartesianPlot`

                `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `xValues` array of number
                :   ​

                `yValues` array of number
                :   ​

            **bucketedCartesian**

            Set `type` to `"bucketedCartesian"`.

            `bucketedCartesian` [`BucketedCartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesianplot)
            :   ​

                Fields of `BucketedCartesianPlot`

                `buckets` array of [`CartesianBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbucket)
                :   ​

                    Fields of `CartesianBucket`

                    `minX` number
                    :   ​

                    `maxX` number
                    :   ​

                    `minY` number
                    :   ​

                    `maxY` number
                    :   ​

                    `minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   ​

                    `maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   ​

                    `count` integer (int64)
                    :   ​

            **bucketedCartesian3d**

            Set `type` to `"bucketedCartesian3d"`.

            `bucketedCartesian3d` [`BucketedCartesian3dPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesian3dplot)
            :   ​

                Fields of `BucketedCartesian3dPlot`

                `buckets` array of [`Cartesian3dBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbucket)
                :   ​

                    Fields of `Cartesian3dBucket`

                    `minX` number deprecated
                    :   **Deprecated:** Switching to point-based min/maxes

                    `maxX` number deprecated
                    :   **Deprecated:** Switching to point-based min/maxes

                    `meanX` number
                    :   ​

                    `minY` number deprecated
                    :   **Deprecated:** Switching to point-based min/maxes

                    `maxY` number deprecated
                    :   **Deprecated:** Switching to point-based min/maxes

                    `meanY` number
                    :   ​

                    `minZ` number deprecated
                    :   **Deprecated:** Switching to point-based min/maxes

                    `maxZ` number deprecated
                    :   **Deprecated:** Switching to point-based min/maxes

                    `meanZ` number
                    :   ​

                    `minXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                    :   ​

                        Fields of `Point3d`

                        `x` number
                        :   ​

                        `y` number
                        :   ​

                        `z` number
                        :   ​

                        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                        :   ​

                    `maxXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                    :   ​

                    `minYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                    :   ​

                    `maxYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                    :   ​

                    `minZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                    :   ​

                    `maxZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
                    :   ​

                    `minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   ​

                    `maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   ​

                    `count` integer (int64)
                    :   ​

            **frequencyDomain**

            Set `type` to `"frequencyDomain"`.

            `frequencyDomain` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
            :   ​

                Fields of `FrequencyDomainPlot`

                `frequencies` array of number
                :   ​

                `amplitudes` array of number
                :   ​

            **frequencyDomainV2**

            Set `type` to `"frequencyDomainV2"`.

            `frequencyDomainV2` [`FrequencyDomainPlotV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotv2)
            :   ​

                **real**

                Set `type` to `"real"`.

                `real` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
                :   ​

                **complex**

                Set `type` to `"complex"`.

                `complex` [`FrequencyDomainPlotComplex`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotcomplex)
                :   ​

                    Fields of `FrequencyDomainPlotComplex`

                    `frequencies` array of number
                    :   ​

                    `real` array of number
                    :   ​

                    `imaginary` array of number
                    :   ​

                **magnitudeAndPhase**

                Set `type` to `"magnitudeAndPhase"`.

                `magnitudeAndPhase` [`FrequencyDomainPlotMagnitudeAndPhase`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotmagnitudeandphase)
                :   ​

                    Fields of `FrequencyDomainPlotMagnitudeAndPhase`

                    `frequencies` array of number
                    :   ​

                    `magnitudes` array of number
                    :   ​

                    `phases` array of number
                    :   ​

            **spectrogram**

            Set `type` to `"spectrogram"`.

            `spectrogram` [`SpectrogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramplot)
            :   ​

                Fields of `SpectrogramPlot`

                `frequencyCenters` array of number
                :   Center frequency in Hz of each column.

                `frequencyEdges` array of number
                :   Column boundaries in Hz, one more than `frequencyCenters`: column `c` spans `frequencyEdges[c]` to `frequencyEdges[c + 1]`. Columns may differ in width.

                `rows` array of [`SpectrogramRow`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramrow)
                :   ​

                    Fields of `SpectrogramRow`

                    `start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   Start of the time span this row covers.

                    `end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   End of the time span this row covers.

                    `values` array of number
                    :   One value per column

            **bucketedFrequencyDomain**

            Set `type` to `"bucketedFrequencyDomain"`.

            `bucketedFrequencyDomain` [`BucketedFrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedfrequencydomainplot)
            :   ​

                Fields of `BucketedFrequencyDomainPlot`

                `buckets` array of [`FrequencyBucket`](https://dev.nominal.io/api/rest/compute-service.md#frequencybucket)
                :   ​

                    Fields of `FrequencyBucket`

                    `frequencyStart` number
                    :   The start frequency of this bucket (inclusive).

                    `frequencyEnd` number
                    :   The end frequency of this bucket (exclusive).

                    `frequencyCenter` number
                    :   The center frequency of this bucket.

                    `minAmplitude` number
                    :   The minimum amplitude value in this bucket.

                    `maxAmplitude` number
                    :   The maximum amplitude value in this bucket.

                    `meanAmplitude` number
                    :   The mean amplitude value in this bucket.

                    `count` integer (int64)
                    :   The number of original frequency points that were aggregated into this bucket.

                    `firstPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint)
                    :   The first point (lowest frequency) in this bucket.

                        Fields of `FrequencyPoint`

                        `frequency` number
                        :   ​

                        `amplitude` number
                        :   ​

                    `lastPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint)
                    :   The last point (highest frequency) in this bucket. Will be empty if the bucket only has a single point.

            **numericHistogram**

            Set `type` to `"numericHistogram"`.

            `numericHistogram` [`NumericHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramplot)
            :   ​

                Fields of `NumericHistogramPlot`

                `buckets` array of [`NumericHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogrambucket)
                :   ​

                    Fields of `NumericHistogramBucket`

                    `lowerBound` number
                    :   The lower bound of the bucket, inclusive

                    `upperBound` number
                    :   The upper bound of the bucket, exclusive

                    `countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
                    :   ​

                        Fields of `HistogramChannelCount`

                        `count` integer (int64)
                        :   ​

                    `buckets` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount) deprecated
                    :   **Deprecated:** Use countsByChannel instead

            **enumHistogram**

            Set `type` to `"enumHistogram"`.

            `enumHistogram` [`EnumHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramplot)
            :   ​

                Fields of `EnumHistogramPlot`

                `buckets` array of [`EnumHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogrambucket)
                :   ​

                    Fields of `EnumHistogramBucket`

                    `value` string
                    :   The value of the enum as a string

                    `countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
                    :   ​

            **curveFit**

            Set `type` to `"curveFit"`.

            `curveFit` [`CurveFitResult`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresult)
            :   Deprecated: use `curveFitV2` (CurveFitResultV2) instead. Returned only for deprecated CurveFit requests.

                Fields of `CurveFitResult`

                `r2` number
                :   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

                `mae` number
                :   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

                `mse` number
                :   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

                `rmse` number
                :   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

                `maxAbsoluteError` number
                :   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

                `sampleCount` integer
                :   The number of data points used in the curve fitting calculation.

                `curveResultDetails` [`CurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetails)
                :   Description of the fit curve.

                    **exponential**

                    Set `type` to `"exponential"`.

                    `exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
                    :   ​

                        Fields of `ExponentialResultDetails`

                        `a` number
                        :   ​

                        `b` number
                        :   ​

                    **logarithmic**

                    Set `type` to `"logarithmic"`.

                    `logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
                    :   ​

                        Fields of `LogarithmicResultDetails`

                        `a` number
                        :   ​

                        `b` number
                        :   ​

                    **polynomial**

                    Set `type` to `"polynomial"`.

                    `polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
                    :   ​

                        Fields of `PolynomialResultDetails`

                        `a` array of number
                        :   ​

                    **power**

                    Set `type` to `"power"`.

                    `power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
                    :   ​

                        Fields of `PowerResultDetails`

                        `a` number
                        :   ​

                        `b` number
                        :   ​

            **curveFitV2**

            Set `type` to `"curveFitV2"`.

            `curveFitV2` [`CurveFitResultV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresultv2)
            :   ​

                Fields of `CurveFitResultV2`

                `r2` number
                :   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

                `mae` number
                :   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

                `mse` number
                :   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

                `rmse` number
                :   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

                `maxAbsoluteError` number
                :   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

                `sampleCount` integer
                :   The number of data points used in the curve fitting calculation.

                `curveResultDetails` [`CurveResultDetailsV2`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetailsv2)
                :   Description of the fit curve.

                    **exponential**

                    Set `type` to `"exponential"`.

                    `exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
                    :   ​

                    **logarithmic**

                    Set `type` to `"logarithmic"`.

                    `logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
                    :   ​

                    **polynomial**

                    Set `type` to `"polynomial"`.

                    `polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
                    :   ​

                    **power**

                    Set `type` to `"power"`.

                    `power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
                    :   ​

                    **custom**

                    Set `type` to `"custom"`.

                    `custom` [`CustomCurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#customcurveresultdetails)
                    :   ​

                        Fields of `CustomCurveResultDetails`

                        `parameters` map of string to number
                        :   Optimized parameter values produced by the curve fit. Keys match the parameter names provided in the request.

                        `converged` boolean
                        :   Whether the optimizer converged to a solution within its iteration limit. When false, the returned parameters are the best estimate found before the iteration cap was reached and did not satisfy the solver’s convergence tolerances.

                        `iterations` integer
                        :   Number of iterations the solver completed.

            **grouped**

            Set `type` to `"grouped"`.

            `grouped` [`GroupedComputeNodeResponses`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponses)
            :   ​

                Fields of `GroupedComputeNodeResponses`

                `responses` array of [`GroupedComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponse)
                :   ​

                    Fields of `GroupedComputeNodeResponse`

                    `grouping` [`Grouping`](https://dev.nominal.io/api/rest/compute-service.md#grouping)
                    :   ​

                        **tagsWithValues**

                        Set `type` to `"tagsWithValues"`.

                        `tagsWithValues` map of string to string
                        :   A grouping identified by a specific instantiation of tag keys and values.

                    `response` [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse)
                    :   ​

            **array**

            Set `type` to `"array"`.

            `array` [`ArrowArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowarrayplot)
            :   ​

                **bucketedNumeric**

                Set `type` to `"bucketedNumeric"`.

                `bucketedNumeric` [`BucketedNumericArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericarrayplot)
                :   ​

                    Fields of `BucketedNumericArrayPlot`

                    `arrowBinary` string (base64)
                    :   The raw binary containing Arrow IPC stream for a bucketed N-dimensional numeric array plot.

                    `groupByKeys` array of string
                    :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

                **bucketedEnum**

                Set `type` to `"bucketedEnum"`.

                `bucketedEnum` [`BucketedEnumArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumarrayplot)
                :   ​

                    Fields of `BucketedEnumArrayPlot`

                    `arrowBinary` string (base64)
                    :   The raw binary containing Arrow IPC stream for a bucketed N-dimensional enum array plot.

                    `groupByKeys` array of string
                    :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

            **bucketedStruct**

            Set `type` to `"bucketedStruct"`.

            `bucketedStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
            :   ​

            **arrowStruct**

            Set `type` to `"arrowStruct"`.

            `arrowStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
            :   ​

            **fullResolution**

            Set `type` to `"fullResolution"`.

            `fullResolution` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
            :   ​

            **arrowBucketedMultivariate**

            Set `type` to `"arrowBucketedMultivariate"`.

            `arrowBucketedMultivariate` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
            :   ​

            **multivariate**

            Set `type` to `"multivariate"`.

            `multivariate` [`BucketedMultivariatePlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedmultivariateplot)
            :   ​

                Fields of `BucketedMultivariatePlot`

                `buckets` array of [`MultivariateBucket`](https://dev.nominal.io/api/rest/compute-service.md#multivariatebucket)
                :   ​

                    Fields of `MultivariateBucket`

                    `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                    :   ​

                    `values` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
                    :   Values for each input series in the bucket.

                `groupByKeys` array of string
                :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

        **error**

        Set `type` to `"error"`.

        `error` [`ErrorResult`](https://dev.nominal.io/api/rest/compute-service.md#errorresult)
        :   ​

            Fields of `ErrorResult`

            `errorType` string
            :   ​

            `code` integer
            :   ​

    `unitResult` [`ComputeUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#computeunitresult)
    :   ​

        **single**

        Set `type` to `"single"`.

        `single` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

            **success**

            Set `type` to `"success"`.

            `success` string
            :   ​

            **noUnitAvailable**

            Set `type` to `"noUnitAvailable"`.

            `noUnitAvailable` array of [`UnitComputationError`](https://dev.nominal.io/api/rest/compute-service.md#unitcomputationerror)
            :   The resulting values have no units associated. If this is because of an error, it is listed here.

                **incompatibleUnitsOperation**

                Set `type` to `"incompatibleUnitsOperation"`.

                `incompatibleUnitsOperation` [`IncompatibleUnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#incompatibleunitoperation)
                :   ​

                    Fields of `IncompatibleUnitOperation`

                    `operation` [`UnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#unitoperation)
                    :   ​

                        Values of `UnitOperation`

                        `UNIT_AS_EXPONENT`
                        :   ​

                        `NON_INTEGER_AS_EXPONENT`
                        :   ​

                        `FLOOR_DIVISION`
                        :   ​

                        `MODULO`
                        :   ​

                        `CROSSOVER_COMPARISON`
                        :   ​

                        `MAX`
                        :   ​

                        `MIN`
                        :   ​

                        `MEAN`
                        :   ​

                        `UNION`
                        :   ​

                        `ADDITION`
                        :   ​

                        `SUBTRACTION`
                        :   ​

                        `UNIT_CONVERSION`
                        :   ​

                        `COMPARISON`
                        :   ​

                        `TERNARY_OPERATOR`
                        :   ​

                    `units` array of string
                    :   ​

                **unitsMissing**

                Set `type` to `"unitsMissing"`.

                `unitsMissing` [`UnitsMissing`](https://dev.nominal.io/api/rest/compute-service.md#unitsmissing)
                :   ​

                    Fields of `UnitsMissing`

                    `seriesRids` array of string (RID) deprecated
                    :   **Deprecated:** Use channels instead.

                    `channels` array of [`DataSourceAndChannel`](https://dev.nominal.io/api/rest/compute-service.md#datasourceandchannel)
                    :   ​

                        Fields of `DataSourceAndChannel`

                        `dataSourceRid` string (RID)
                        :   ​

                        `channel` string
                        :   ​

                **error**

                Set `type` to `"error"`.

                `error` [`SerializableError`](https://dev.nominal.io/api/rest/compute-service.md#serializableerror)
                :   ​

                    Fields of `SerializableError`

                    `name` string
                    :   ​

                    `message` string
                    :   ​

                    `errorInstanceId` string
                    :   ​

                    `statusCode` integer
                    :   ​

                    `params` map of string to string
                    :   ​

        **cartesian**

        Set `type` to `"cartesian"`.

        `cartesian` [`CartesianUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesianunitresult)
        :   ​

            Fields of `CartesianUnitResult`

            `x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
            :   ​

            `y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
            :   ​

        **cartesian3d**

        Set `type` to `"cartesian3d"`.

        `cartesian3d` [`Cartesian3dUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dunitresult)
        :   ​

            Fields of `Cartesian3dUnitResult`

            `x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
            :   ​

            `y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
            :   ​

            `z` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
            :   ​

        **multivariate**

        Set `type` to `"multivariate"`.

        `multivariate` [`MultivariateUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#multivariateunitresult)
        :   ​

            Fields of `MultivariateUnitResult`

            `units` array of [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
            :   ​

Request

**curl**

```shell
curl -X POST "https://api.gov.nominal.io/api/compute/v2/compute/batch" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "requests": [
    {
      "node": {
        "type": "ranges",
        "ranges": {
          "input": {
            "type": "approximateThreshold",
            "approximateThreshold": {
              "input": {
                "type": "abs",
                "abs": {}
              },
              "threshold": {
                "type": "literal",
                "literal": 1
              },
              "tolerance": {
                "type": "literal",
                "literal": 1
              },
              "operator": "EQUAL_TO"
            }
          }
        }
      },
      "start": {
        "seconds": 1,
        "nanos": 1
      },
      "end": {
        "seconds": 1,
        "nanos": 1
      },
      "context": {
        "variables": {
          "<key>": {
            "type": "double",
            "double": 1
          }
        },
        "functionVariables": {
          "<key>": {
            "variables": {
              "<key>": {
                "type": "double",
                "double": 1
              }
            },
            "subFunctionVariables": {}
          }
        },
        "datasetReferences": {
          "<key>": {
            "type": "asset",
            "asset": {
              "rid": {
                "type": "literal",
                "literal": "<literal>"
              }
            }
          }
        },
        "defaultFillStrategy": {
          "type": "forwardFill",
          "forwardFill": {
            "limit": {
              "type": "duration",
              "duration": {
                "type": "literal",
                "literal": {
                  "seconds": 1,
                  "nanos": 1
                }
              }
            }
          }
        },
        "defaultAlignmentStrategy": {
          "type": "driverSeries",
          "driverSeries": {}
        },
        "applyDataScopeOffsets": true,
        "resolveAssetsThroughDatasets": true
      }
    }
  ]
}'
```

**requests**

```python
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/batch",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "requests": [
            {
                "node": {
                    "type": "ranges",
                    "ranges": {
                        "input": {
                            "type": "approximateThreshold",
                            "approximateThreshold": {
                                "input": {"type": "abs", "abs": {}},
                                "threshold": {"type": "literal", "literal": 1},
                                "tolerance": {"type": "literal", "literal": 1},
                                "operator": "EQUAL_TO",
                            },
                        },
                    },
                },
                "start": {"seconds": 1, "nanos": 1},
                "end": {"seconds": 1, "nanos": 1},
                "context": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "functionVariables": {
                        "<key>": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "subFunctionVariables": {},
                        },
                    },
                    "datasetReferences": {
                        "<key>": {
                            "type": "asset",
                            "asset": {
                                "rid": {"type": "literal", "literal": "<literal>"},
                            },
                        },
                    },
                    "defaultFillStrategy": {
                        "type": "forwardFill",
                        "forwardFill": {
                            "limit": {
                                "type": "duration",
                                "duration": {
                                    "type": "literal",
                                    "literal": {"seconds": 1, "nanos": 1},
                                },
                            },
                        },
                    },
                    "defaultAlignmentStrategy": {
                        "type": "driverSeries",
                        "driverSeries": {},
                    },
                    "applyDataScopeOffsets": True,
                    "resolveAssetsThroughDatasets": True,
                },
            },
        ],
    },
)
response.raise_for_status()
print(response.json())
```

**httpx**

```python
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/batch",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "requests": [
            {
                "node": {
                    "type": "ranges",
                    "ranges": {
                        "input": {
                            "type": "approximateThreshold",
                            "approximateThreshold": {
                                "input": {"type": "abs", "abs": {}},
                                "threshold": {"type": "literal", "literal": 1},
                                "tolerance": {"type": "literal", "literal": 1},
                                "operator": "EQUAL_TO",
                            },
                        },
                    },
                },
                "start": {"seconds": 1, "nanos": 1},
                "end": {"seconds": 1, "nanos": 1},
                "context": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "functionVariables": {
                        "<key>": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "subFunctionVariables": {},
                        },
                    },
                    "datasetReferences": {
                        "<key>": {
                            "type": "asset",
                            "asset": {
                                "rid": {"type": "literal", "literal": "<literal>"},
                            },
                        },
                    },
                    "defaultFillStrategy": {
                        "type": "forwardFill",
                        "forwardFill": {
                            "limit": {
                                "type": "duration",
                                "duration": {
                                    "type": "literal",
                                    "literal": {"seconds": 1, "nanos": 1},
                                },
                            },
                        },
                    },
                    "defaultAlignmentStrategy": {
                        "type": "driverSeries",
                        "driverSeries": {},
                    },
                    "applyDataScopeOffsets": True,
                    "resolveAssetsThroughDatasets": True,
                },
            },
        ],
    },
)
response.raise_for_status()
print(response.json())
```

**aiohttp**

```python
import asyncio

import aiohttp

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/compute/v2/compute/batch",
            headers={"Authorization": "Bearer <api key>"},
            json={
                "requests": [
                    {
                        "node": {
                            "type": "ranges",
                            "ranges": {
                                "input": {
                                    "type": "approximateThreshold",
                                    "approximateThreshold": {
                                        "input": {"type": "abs", "abs": {}},
                                        "threshold": {"type": "literal", "literal": 1},
                                        "tolerance": {"type": "literal", "literal": 1},
                                        "operator": "EQUAL_TO",
                                    },
                                },
                            },
                        },
                        "start": {"seconds": 1, "nanos": 1},
                        "end": {"seconds": 1, "nanos": 1},
                        "context": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "functionVariables": {
                                "<key>": {
                                    "variables": {
                                        "<key>": {"type": "double", "double": 1},
                                    },
                                    "subFunctionVariables": {},
                                },
                            },
                            "datasetReferences": {
                                "<key>": {
                                    "type": "asset",
                                    "asset": {
                                        "rid": {
                                            "type": "literal",
                                            "literal": "<literal>",
                                        },
                                    },
                                },
                            },
                            "defaultFillStrategy": {
                                "type": "forwardFill",
                                "forwardFill": {
                                    "limit": {
                                        "type": "duration",
                                        "duration": {
                                            "type": "literal",
                                            "literal": {"seconds": 1, "nanos": 1},
                                        },
                                    },
                                },
                            },
                            "defaultAlignmentStrategy": {
                                "type": "driverSeries",
                                "driverSeries": {},
                            },
                            "applyDataScopeOffsets": True,
                            "resolveAssetsThroughDatasets": True,
                        },
                    },
                ],
            },
        ) as response:
            response.raise_for_status()
            print(await response.json())

asyncio.run(main())
```

Response: `200`

```json
{
  "results": [
    {
      "computeResult": {
        "type": "success",
        "success": {
          "type": "range",
          "range": [
            {
              "start": {
                "seconds": 1,
                "nanos": 1
              },
              "end": {
                "seconds": 1,
                "nanos": 1
              },
              "value": {
                "type": "double",
                "double": 1
              }
            }
          ]
        }
      },
      "unitResult": {
        "type": "single",
        "single": {
          "type": "success",
          "success": "<unit symbol>"
        }
      }
    }
  ]
}
```

### Batch compute units

POST `/compute/v2/compute/batch-units`

Same as computeUnits, however this endpoint functions on a batch of requests for wire efficiency purposes. An extra note is that this method will serialize underlying classic REST errors into the BatchComputeUnitResult type, meaning callers are required to check for errors explicitly (rather than relying on exceptions being thrown).

Body

`requests` array of [`ComputeUnitsRequest`](https://dev.nominal.io/api/rest/compute-service.md#computeunitsrequest)
:   ​

    Fields of `ComputeUnitsRequest`

    `node` [`ComputableNode`](https://dev.nominal.io/api/rest/compute-service.md#computablenode) required
    :   ​

        **ranges**

        Set `type` to `"ranges"`.

        `ranges` [`SummarizeRanges`](https://dev.nominal.io/api/rest/compute-service.md#summarizeranges)
        :   ​

        **series**

        Set `type` to `"series"`.

        `series` [`SummarizeSeries`](https://dev.nominal.io/api/rest/compute-service.md#summarizeseries)
        :   ​

        **value**

        Set `type` to `"value"`.

        `value` [`SelectValue`](https://dev.nominal.io/api/rest/compute-service.md#selectvalue)
        :   ​

        **cartesian**

        Set `type` to `"cartesian"`.

        `cartesian` [`SummarizeCartesian`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian)
        :   ​

        **cartesian3d**

        Set `type` to `"cartesian3d"`.

        `cartesian3d` [`SummarizeCartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian3d)
        :   ​

        **frequency**

        Set `type` to `"frequency"`.

        `frequency` [`FrequencyDomain`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomain)
        :   ​

        **frequencyV2**

        Set `type` to `"frequencyV2"`.

        `frequencyV2` [`FrequencyDomainV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainv2)
        :   ​

        **spectrogram**

        Set `type` to `"spectrogram"`.

        `spectrogram` [`Spectrogram`](https://dev.nominal.io/api/rest/compute-service.md#spectrogram)
        :   ​

        **histogram**

        Set `type` to `"histogram"`.

        `histogram` [`Histogram`](https://dev.nominal.io/api/rest/compute-service.md#histogram)
        :   ​

        **curveV2**

        Set `type` to `"curveV2"`.

        `curveV2` [`CurveFitV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2)
        :   ​

        **curve**

        Set `type` to `"curve"`.

        `curve` [`CurveFit`](https://dev.nominal.io/api/rest/compute-service.md#curvefit)
        :   ​

        **multivariate**

        Set `type` to `"multivariate"`.

        `multivariate` [`SummarizeMultivariate`](https://dev.nominal.io/api/rest/compute-service.md#summarizemultivariate)
        :   ​

    `context` [`Context`](https://dev.nominal.io/api/rest/compute-service.md#context) required
    :   ​

        Fields of `Context`

        `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
        :   ​

        `functionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables) deprecated
        :   **Deprecated:** This field is deprecated and will be removed in a future version.

        `datasetReferences` map of `DatasetReferenceName` to [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
        :   Named datasets looked up by `DatasetReference` nodes in the compute tree.

        `defaultFillStrategy` [`FillStrategy`](https://dev.nominal.io/api/rest/compute-service.md#fillstrategy)
        :   Default fill strategy applied at every multi-input alignment boundary where no per-node interpolationConfiguration is specified. When absent, falls back to the server-configured default (forward fill with a 1 second fill limit).

        `defaultAlignmentStrategy` [`Alignment`](https://dev.nominal.io/api/rest/compute-service.md#alignment)
        :   Default alignment strategy applied at every multi-input alignment boundary where no per-node alignment strategy is specified. When absent, falls back to the server default (driver-series alignment).

        `applyDataScopeOffsets` boolean
        :   When true, dataset resolution applies each data scope’s persisted offset as a time shift, and the client must not pre-apply those offsets itself. When absent or false, scope offsets are left to the client, preserving behavior for legacy clients that inject equivalent timeShift nodes into the compute request. Read from the context in scope at resolution time.

        `resolveAssetsThroughDatasets` boolean
        :   When true, `Dataset.asset`, the asset-typed sources of `Dataset.run`, and asset or run search expand through each asset’s mirrored derived dataset instead of its data scopes. Branches then carry the dataset’s declared channel-search split tag keys in place of the reserved `DATA_SCOPE` tag, so callers must filter and group on those keys; the definition’s own time shifts apply regardless of `applyDataScopeOffsets`; and an asset with no mirrored dataset resolves to no data. When absent or false, assets expand from their data scopes as before.

Response

`results` array of [`ComputeUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#computeunitresult)
:   ​

    **single**

    Set `type` to `"single"`.

    `single` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
    :   ​

        **success**

        Set `type` to `"success"`.

        `success` string
        :   ​

        **noUnitAvailable**

        Set `type` to `"noUnitAvailable"`.

        `noUnitAvailable` array of [`UnitComputationError`](https://dev.nominal.io/api/rest/compute-service.md#unitcomputationerror)
        :   The resulting values have no units associated. If this is because of an error, it is listed here.

            **incompatibleUnitsOperation**

            Set `type` to `"incompatibleUnitsOperation"`.

            `incompatibleUnitsOperation` [`IncompatibleUnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#incompatibleunitoperation)
            :   ​

                Fields of `IncompatibleUnitOperation`

                `operation` [`UnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#unitoperation)
                :   ​

                    Values of `UnitOperation`

                    `UNIT_AS_EXPONENT`
                    :   ​

                    `NON_INTEGER_AS_EXPONENT`
                    :   ​

                    `FLOOR_DIVISION`
                    :   ​

                    `MODULO`
                    :   ​

                    `CROSSOVER_COMPARISON`
                    :   ​

                    `MAX`
                    :   ​

                    `MIN`
                    :   ​

                    `MEAN`
                    :   ​

                    `UNION`
                    :   ​

                    `ADDITION`
                    :   ​

                    `SUBTRACTION`
                    :   ​

                    `UNIT_CONVERSION`
                    :   ​

                    `COMPARISON`
                    :   ​

                    `TERNARY_OPERATOR`
                    :   ​

                `units` array of string
                :   ​

            **unitsMissing**

            Set `type` to `"unitsMissing"`.

            `unitsMissing` [`UnitsMissing`](https://dev.nominal.io/api/rest/compute-service.md#unitsmissing)
            :   ​

                Fields of `UnitsMissing`

                `seriesRids` array of string (RID) deprecated
                :   **Deprecated:** Use channels instead.

                `channels` array of [`DataSourceAndChannel`](https://dev.nominal.io/api/rest/compute-service.md#datasourceandchannel)
                :   ​

                    Fields of `DataSourceAndChannel`

                    `dataSourceRid` string (RID)
                    :   ​

                    `channel` string
                    :   ​

            **error**

            Set `type` to `"error"`.

            `error` [`SerializableError`](https://dev.nominal.io/api/rest/compute-service.md#serializableerror)
            :   ​

                Fields of `SerializableError`

                `name` string
                :   ​

                `message` string
                :   ​

                `errorInstanceId` string
                :   ​

                `statusCode` integer
                :   ​

                `params` map of string to string
                :   ​

    **cartesian**

    Set `type` to `"cartesian"`.

    `cartesian` [`CartesianUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesianunitresult)
    :   ​

        Fields of `CartesianUnitResult`

        `x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

        `y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

    **cartesian3d**

    Set `type` to `"cartesian3d"`.

    `cartesian3d` [`Cartesian3dUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dunitresult)
    :   ​

        Fields of `Cartesian3dUnitResult`

        `x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

        `y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

        `z` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

    **multivariate**

    Set `type` to `"multivariate"`.

    `multivariate` [`MultivariateUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#multivariateunitresult)
    :   ​

        Fields of `MultivariateUnitResult`

        `units` array of [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

Request

**curl**

```shell
curl -X POST "https://api.gov.nominal.io/api/compute/v2/compute/batch-units" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "requests": [
    {
      "node": {
        "type": "ranges",
        "ranges": {
          "input": {
            "type": "approximateThreshold",
            "approximateThreshold": {
              "input": {
                "type": "abs",
                "abs": {}
              },
              "threshold": {
                "type": "literal",
                "literal": 1
              },
              "tolerance": {
                "type": "literal",
                "literal": 1
              },
              "operator": "EQUAL_TO"
            }
          }
        }
      },
      "context": {
        "variables": {
          "<key>": {
            "type": "double",
            "double": 1
          }
        },
        "functionVariables": {
          "<key>": {
            "variables": {
              "<key>": {
                "type": "double",
                "double": 1
              }
            },
            "subFunctionVariables": {}
          }
        },
        "datasetReferences": {
          "<key>": {
            "type": "asset",
            "asset": {
              "rid": {
                "type": "literal",
                "literal": "<literal>"
              }
            }
          }
        },
        "defaultFillStrategy": {
          "type": "forwardFill",
          "forwardFill": {
            "limit": {
              "type": "duration",
              "duration": {
                "type": "literal",
                "literal": {
                  "seconds": 1,
                  "nanos": 1
                }
              }
            }
          }
        },
        "defaultAlignmentStrategy": {
          "type": "driverSeries",
          "driverSeries": {}
        },
        "applyDataScopeOffsets": true,
        "resolveAssetsThroughDatasets": true
      }
    }
  ]
}'
```

**requests**

```python
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/batch-units",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "requests": [
            {
                "node": {
                    "type": "ranges",
                    "ranges": {
                        "input": {
                            "type": "approximateThreshold",
                            "approximateThreshold": {
                                "input": {"type": "abs", "abs": {}},
                                "threshold": {"type": "literal", "literal": 1},
                                "tolerance": {"type": "literal", "literal": 1},
                                "operator": "EQUAL_TO",
                            },
                        },
                    },
                },
                "context": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "functionVariables": {
                        "<key>": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "subFunctionVariables": {},
                        },
                    },
                    "datasetReferences": {
                        "<key>": {
                            "type": "asset",
                            "asset": {
                                "rid": {"type": "literal", "literal": "<literal>"},
                            },
                        },
                    },
                    "defaultFillStrategy": {
                        "type": "forwardFill",
                        "forwardFill": {
                            "limit": {
                                "type": "duration",
                                "duration": {
                                    "type": "literal",
                                    "literal": {"seconds": 1, "nanos": 1},
                                },
                            },
                        },
                    },
                    "defaultAlignmentStrategy": {
                        "type": "driverSeries",
                        "driverSeries": {},
                    },
                    "applyDataScopeOffsets": True,
                    "resolveAssetsThroughDatasets": True,
                },
            },
        ],
    },
)
response.raise_for_status()
print(response.json())
```

**httpx**

```python
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/batch-units",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "requests": [
            {
                "node": {
                    "type": "ranges",
                    "ranges": {
                        "input": {
                            "type": "approximateThreshold",
                            "approximateThreshold": {
                                "input": {"type": "abs", "abs": {}},
                                "threshold": {"type": "literal", "literal": 1},
                                "tolerance": {"type": "literal", "literal": 1},
                                "operator": "EQUAL_TO",
                            },
                        },
                    },
                },
                "context": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "functionVariables": {
                        "<key>": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "subFunctionVariables": {},
                        },
                    },
                    "datasetReferences": {
                        "<key>": {
                            "type": "asset",
                            "asset": {
                                "rid": {"type": "literal", "literal": "<literal>"},
                            },
                        },
                    },
                    "defaultFillStrategy": {
                        "type": "forwardFill",
                        "forwardFill": {
                            "limit": {
                                "type": "duration",
                                "duration": {
                                    "type": "literal",
                                    "literal": {"seconds": 1, "nanos": 1},
                                },
                            },
                        },
                    },
                    "defaultAlignmentStrategy": {
                        "type": "driverSeries",
                        "driverSeries": {},
                    },
                    "applyDataScopeOffsets": True,
                    "resolveAssetsThroughDatasets": True,
                },
            },
        ],
    },
)
response.raise_for_status()
print(response.json())
```

**aiohttp**

```python
import asyncio

import aiohttp

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/compute/v2/compute/batch-units",
            headers={"Authorization": "Bearer <api key>"},
            json={
                "requests": [
                    {
                        "node": {
                            "type": "ranges",
                            "ranges": {
                                "input": {
                                    "type": "approximateThreshold",
                                    "approximateThreshold": {
                                        "input": {"type": "abs", "abs": {}},
                                        "threshold": {"type": "literal", "literal": 1},
                                        "tolerance": {"type": "literal", "literal": 1},
                                        "operator": "EQUAL_TO",
                                    },
                                },
                            },
                        },
                        "context": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "functionVariables": {
                                "<key>": {
                                    "variables": {
                                        "<key>": {"type": "double", "double": 1},
                                    },
                                    "subFunctionVariables": {},
                                },
                            },
                            "datasetReferences": {
                                "<key>": {
                                    "type": "asset",
                                    "asset": {
                                        "rid": {
                                            "type": "literal",
                                            "literal": "<literal>",
                                        },
                                    },
                                },
                            },
                            "defaultFillStrategy": {
                                "type": "forwardFill",
                                "forwardFill": {
                                    "limit": {
                                        "type": "duration",
                                        "duration": {
                                            "type": "literal",
                                            "literal": {"seconds": 1, "nanos": 1},
                                        },
                                    },
                                },
                            },
                            "defaultAlignmentStrategy": {
                                "type": "driverSeries",
                                "driverSeries": {},
                            },
                            "applyDataScopeOffsets": True,
                            "resolveAssetsThroughDatasets": True,
                        },
                    },
                ],
            },
        ) as response:
            response.raise_for_status()
            print(await response.json())

asyncio.run(main())
```

Response: `200`

```json
{
  "results": [
    {
      "type": "single",
      "single": {
        "type": "success",
        "success": "<unit symbol>"
      }
    }
  ]
}
```

### Compute with units

POST `/compute/v2/computeWithUnits`

Computes the output of the compute graph specified by a ComputeNodeRequest, as well as providing the resulting unit for the output of a compute graph. If the resulting unit is equivalent to exactly one existing unit in the system, it will be returned (for example, a series in Coulombs divided by a series in Volts will return an output of Farads). If the output does not have units (for example, a range output,) the unit result will return noUnitAvailable, and if the computation was not successful, corresponding errors are returned.

Body

`node` [`ComputableNode`](https://dev.nominal.io/api/rest/compute-service.md#computablenode) required
:   ​

    **ranges**

    Set `type` to `"ranges"`.

    `ranges` [`SummarizeRanges`](https://dev.nominal.io/api/rest/compute-service.md#summarizeranges)
    :   ​

        Fields of `SummarizeRanges`

        `input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
        :   ​

        `maxRanges` integer
        :   The maximum number of ranges to return in the response. If more ranges are found, a RangesSummary will be returned. Defaults to 2000 if not specified.

    **series**

    Set `type` to `"series"`.

    `series` [`SummarizeSeries`](https://dev.nominal.io/api/rest/compute-service.md#summarizeseries)
    :   ​

        Fields of `SummarizeSeries`

        `input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
        :   ​

        `outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
        :   The output format of the response. Defaults to LEGACY.

        `numericOutputFields` array of [`NumericOutputField`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfield) deprecated
        :   The fields to output from the summarization. Applies only to Arrow format numeric series. **Deprecated:** Use numericOutputFieldsV2 instead.

        `numericAggregations` map of string to [`NumericAggregationOperator`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationoperator)
        :   Additional numeric aggregations per decimation bucket (e.g. percentiles). Map key is the name of the column in the result.

        `numericOutputFieldsV2` array of [`NumericOutputFieldV2`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfieldv2)
        :   Numeric bucket output fields to return. Applies only to Arrow format numeric series. Defaults to MEAN when no numeric output selector is specified. Mutually exclusive with numericOutputFields and numericAggregations.

        `resolution` integer (int64) deprecated
        :   Resolution of the output series specifying time interval between decimated points, in nanoseconds. **Deprecated:** Use summarizationStrategy instead.

        `buckets` integer deprecated
        :   Number of points to generate in the output series. **Deprecated:** Use summarizationStrategy instead.

        `summarizationStrategy` [`SummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#summarizationstrategy)
        :   The strategy to use when summarizing the series.

    **value**

    Set `type` to `"value"`.

    `value` [`SelectValue`](https://dev.nominal.io/api/rest/compute-service.md#selectvalue)
    :   ​

        **firstPoint**

        Set `type` to `"firstPoint"`.

        `firstPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **firstValuePoint**

        Set `type` to `"firstValuePoint"`.

        `firstValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **firstRange**

        Set `type` to `"firstRange"`.

        `firstRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
        :   ​

        **lastPoint**

        Set `type` to `"lastPoint"`.

        `lastPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **lastValuePoint**

        Set `type` to `"lastValuePoint"`.

        `lastValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
        :   ​

        **lastRange**

        Set `type` to `"lastRange"`.

        `lastRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
        :   ​

        **nthRange**

        Set `type` to `"nthRange"`.

        `nthRange` [`NthRange`](https://dev.nominal.io/api/rest/compute-service.md#nthrange)
        :   ​

    **cartesian**

    Set `type` to `"cartesian"`.

    `cartesian` [`SummarizeCartesian`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian)
    :   ​

        Fields of `SummarizeCartesian`

        `input` [`Cartesian`](https://dev.nominal.io/api/rest/compute-service.md#cartesian) required
        :   ​

        `bounds` [`CartesianBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbounds)
        :   ​

        `summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
        :   The summarization strategy to use when there are more than `maxPoints`. Defaults to spatial.

        `maxPoints` integer
        :   The maximum number of points to return in the response. If more points are found, a BucketedCartesianPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

    **cartesian3d**

    Set `type` to `"cartesian3d"`.

    `cartesian3d` [`SummarizeCartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian3d)
    :   ​

        Fields of `SummarizeCartesian3d`

        `input` [`Cartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3d) required
        :   ​

        `bounds` [`Cartesian3dBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbounds)
        :   ​

        `maxPoints` integer
        :   The maximum number of points to return in the response. If more points are found, a BucketedCartesian3dPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

        `summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
        :   The strategy to use when summarizing the series. Only spatial decimation is supported.

    **frequency**

    Set `type` to `"frequency"`.

    `frequency` [`FrequencyDomain`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomain)
    :   ​

        **fft**

        Set `type` to `"fft"`.

        `fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
        :   ​

        **periodogram**

        Set `type` to `"periodogram"`.

        `periodogram` [`Periodogram`](https://dev.nominal.io/api/rest/compute-service.md#periodogram)
        :   ​

    **frequencyV2**

    Set `type` to `"frequencyV2"`.

    `frequencyV2` [`FrequencyDomainV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainv2)
    :   ​

        **fft**

        Set `type` to `"fft"`.

        `fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
        :   ​

        **psd**

        Set `type` to `"psd"`.

        `psd` [`Psd`](https://dev.nominal.io/api/rest/compute-service.md#psd)
        :   ​

        **cpsd**

        Set `type` to `"cpsd"`.

        `cpsd` [`Cpsd`](https://dev.nominal.io/api/rest/compute-service.md#cpsd)
        :   ​

        **nyquist**

        Set `type` to `"nyquist"`.

        `nyquist` [`Nyquist`](https://dev.nominal.io/api/rest/compute-service.md#nyquist)
        :   ​

        **bode**

        Set `type` to `"bode"`.

        `bode` [`Bode`](https://dev.nominal.io/api/rest/compute-service.md#bode)
        :   ​

    **spectrogram**

    Set `type` to `"spectrogram"`.

    `spectrogram` [`Spectrogram`](https://dev.nominal.io/api/rest/compute-service.md#spectrogram)
    :   ​

        Fields of `Spectrogram`

        `input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
        :   A numeric series from a single data source. Series grouped by tags are not supported.

        `stftOptions` [`StftOptions`](https://dev.nominal.io/api/rest/compute-service.md#stftoptions)
        :   Window and FFT parameters.

        `quantity` [`SpectrogramQuantity`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramquantity)
        :   What each cell measures. Defaults to PSD.

        `magnitudeScaling` [`MagnitudeScaling`](https://dev.nominal.io/api/rest/compute-service.md#magnitudescaling)
        :   How each cell’s value is scaled. Defaults to decibels: 10·log10 of the PSD, or 20·log10 of the amplitude.

        `bucketing` [`SpectrogramBucketing`](https://dev.nominal.io/api/rest/compute-service.md#spectrogrambucketing)
        :   The output’s time and frequency buckets, frequency band and reductions.

    **histogram**

    Set `type` to `"histogram"`.

    `histogram` [`Histogram`](https://dev.nominal.io/api/rest/compute-service.md#histogram)
    :   ​

        **numeric**

        Set `type` to `"numeric"`.

        `numeric` [`NumericHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramnode)
        :   ​

        **enum**

        Set `type` to `"enum"`.

        `enum` [`EnumHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramnode)
        :   ​

    **curveV2**

    Set `type` to `"curveV2"`.

    `curveV2` [`CurveFitV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2)
    :   ​

        Fields of `CurveFitV2`

        `target` [`CurveFitTarget`](https://dev.nominal.io/api/rest/compute-service.md#curvefittarget) required
        :   Target to fit the equation against.

        `fitRange` [`CurveFitRange`](https://dev.nominal.io/api/rest/compute-service.md#curvefitrange) required
        :   The range to fit the curve over

        `curveToFit` [`CurveFitV2Details`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2details) required
        :   The curve type to fit against the target series.

    **curve**

    Set `type` to `"curve"`.

    `curve` [`CurveFit`](https://dev.nominal.io/api/rest/compute-service.md#curvefit)
    :   ​

        Fields of `CurveFit`

        `curveFitPlotType` [`CurveFitPlotType`](https://dev.nominal.io/api/rest/compute-service.md#curvefitplottype) required
        :   ​

        `curveFitDetails` [`CurveFitDetails`](https://dev.nominal.io/api/rest/compute-service.md#curvefitdetails) required
        :   ​

        `curveFitOptions` [`CurveFitOptions`](https://dev.nominal.io/api/rest/compute-service.md#curvefitoptions) required
        :   ​

    **multivariate**

    Set `type` to `"multivariate"`.

    `multivariate` [`SummarizeMultivariate`](https://dev.nominal.io/api/rest/compute-service.md#summarizemultivariate)
    :   ​

        Fields of `SummarizeMultivariate`

        `inputs` array of [`MultivariateInput`](https://dev.nominal.io/api/rest/compute-service.md#multivariateinput)
        :   List of input series to temporally align at the raw point level, then bucket the aligned tuples together. The series with the largest tag group acts as the “driver” that determines which raw timestamps are included in the alignment. All subsequent series are aligned to the driver’s raw timestamps using the interpolation configuration. After alignment, the resulting (x, y, z, …) tuples are bucketed into time windows and aggregated.

        `outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
        :   The output format of the response. Defaults to LEGACY (JSON).

        `bucketCount` integer
        :   The number of buckets to return in the response. Maximum is 10,000. Defaults to 1,000 if not specified.

        `interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration)
        :   Controls how the N input series are aligned at the raw point level when producing multivariate buckets. When present, the server may fill forward a series value from the most recent prior raw point (bounded by the interpolation radius). This alignment happens BEFORE bucketing, ensuring that aggregated values in each bucket are computed from temporally aligned raw tuples. When absent, the default interpolation configuration is used.

`start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   The start of the time range (inclusive).

    Fields of `Timestamp`

    `seconds` integer (int64) required
    :   ​

    `nanos` integer (int64) required
    :   ​

`end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   The end of the time range (inclusive).

`context` [`Context`](https://dev.nominal.io/api/rest/compute-service.md#context) required
:   ​

    Fields of `Context`

    `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
    :   ​

        **double**

        Set `type` to `"double"`.

        `double` number
        :   ​

        **computeNode**

        Set `type` to `"computeNode"`.

        `computeNode` [`ComputeNodeWithContext`](https://dev.nominal.io/api/rest/compute-service.md#computenodewithcontext)
        :   ​

        **duration**

        Set `type` to `"duration"`.

        `duration` [`run.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#run-api-duration)
        :   ​

        **integer**

        Set `type` to `"integer"`.

        `integer` integer
        :   ​

        **channel**

        Set `type` to `"channel"`.

        `channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries) deprecated
        :   **Deprecated:** use series instead.

        **derived**

        Set `type` to `"derived"`.

        `derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
        :   ​

        **series**

        Set `type` to `"series"`.

        `series` [`SeriesVariable`](https://dev.nominal.io/api/rest/compute-service.md#seriesvariable)
        :   ​

        **string**

        Set `type` to `"string"`.

        `string` string
        :   ​

        **stringSet**

        Set `type` to `"stringSet"`.

        `stringSet` array of string
        :   ​

        **timestamp**

        Set `type` to `"timestamp"`.

        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

    `functionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables) deprecated
    :   **Deprecated:** This field is deprecated and will be removed in a future version.

        Fields of `FunctionVariables`

        `variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
        :   ​

        `subFunctionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables)
        :   ​

    `datasetReferences` map of `DatasetReferenceName` to [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
    :   Named datasets looked up by `DatasetReference` nodes in the compute tree.

        **asset**

        Set `type` to `"asset"`.

        `asset` [`Asset`](https://dev.nominal.io/api/rest/compute-service.md#asset)
        :   Single asset. Expands to one grouping per data scope on the asset. Groupings are tagged by `assetRid` and `dataScope` so callers can safely compose multiple assets with `combine`.

        **run**

        Set `type` to `"run"`.

        `run` [`Run`](https://dev.nominal.io/api/rest/compute-service.md#run)
        :   Single run. Expands to one grouping per data source attached to the run: asset-typed sources contribute one grouping per data scope on the asset; dataset-typed sources contribute one grouping per dataset. Groupings are tagged by `runRid` and `dataScope`; asset-typed groupings additionally carry `assetRid` so callers can safely compose multiple runs with `combine`.

        **saved**

        Set `type` to `"saved"`.

        `saved` [`SavedDataset`](https://dev.nominal.io/api/rest/compute-service.md#saveddataset)
        :   ​

        **search**

        Set `type` to `"search"`.

        `search` [`SearchDataset`](https://dev.nominal.io/api/rest/compute-service.md#searchdataset)
        :   ​

        **combine**

        Set `type` to `"combine"`.

        `combine` [`CombinedDataset`](https://dev.nominal.io/api/rest/compute-service.md#combineddataset)
        :   ​

        **tag**

        Set `type` to `"tag"`.

        `tag` [`TaggedDataset`](https://dev.nominal.io/api/rest/compute-service.md#taggeddataset)
        :   ​

        **filter**

        Set `type` to `"filter"`.

        `filter` [`FilteredDataset`](https://dev.nominal.io/api/rest/compute-service.md#filtereddataset)
        :   ​

        **timeShift**

        Set `type` to `"timeShift"`.

        `timeShift` [`TimeShiftedDataset`](https://dev.nominal.io/api/rest/compute-service.md#timeshifteddataset)
        :   ​

        **alignByAnchor**

        Set `type` to `"alignByAnchor"`.

        `alignByAnchor` [`AnchorAlignedDataset`](https://dev.nominal.io/api/rest/compute-service.md#anchoraligneddataset)
        :   ​

        **withSeries**

        Set `type` to `"withSeries"`.

        `withSeries` [`WithSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#withseriesdataset)
        :   ​

        **dropSeries**

        Set `type` to `"dropSeries"`.

        `dropSeries` [`DropSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#dropseriesdataset)
        :   ​

        **reference**

        Set `type` to `"reference"`.

        `reference` [`DatasetReference`](https://dev.nominal.io/api/rest/compute-service.md#datasetreference)
        :   ​

        **withDimensions**

        Set `type` to `"withDimensions"`.

        `withDimensions` [`DimensionsDataset`](https://dev.nominal.io/api/rest/compute-service.md#dimensionsdataset)
        :   ​

    `defaultFillStrategy` [`FillStrategy`](https://dev.nominal.io/api/rest/compute-service.md#fillstrategy)
    :   Default fill strategy applied at every multi-input alignment boundary where no per-node interpolationConfiguration is specified. When absent, falls back to the server-configured default (forward fill with a 1 second fill limit).

        **forwardFill**

        Set `type` to `"forwardFill"`.

        `forwardFill` [`ForwardFill`](https://dev.nominal.io/api/rest/compute-service.md#forwardfill)
        :   ​

    `defaultAlignmentStrategy` [`Alignment`](https://dev.nominal.io/api/rest/compute-service.md#alignment)
    :   Default alignment strategy applied at every multi-input alignment boundary where no per-node alignment strategy is specified. When absent, falls back to the server default (driver-series alignment).

        **driverSeries**

        Set `type` to `"driverSeries"`.

        `driverSeries` [`DriverSeries`](https://dev.nominal.io/api/rest/compute-service.md#driverseries)
        :   ​

        **union**

        Set `type` to `"union"`.

        `union` [`Union`](https://dev.nominal.io/api/rest/compute-service.md#union)
        :   ​

    `applyDataScopeOffsets` boolean
    :   When true, dataset resolution applies each data scope’s persisted offset as a time shift, and the client must not pre-apply those offsets itself. When absent or false, scope offsets are left to the client, preserving behavior for legacy clients that inject equivalent timeShift nodes into the compute request. Read from the context in scope at resolution time.

    `resolveAssetsThroughDatasets` boolean
    :   When true, `Dataset.asset`, the asset-typed sources of `Dataset.run`, and asset or run search expand through each asset’s mirrored derived dataset instead of its data scopes. Branches then carry the dataset’s declared channel-search split tag keys in place of the reserved `DATA_SCOPE` tag, so callers must filter and group on those keys; the definition’s own time shifts apply regardless of `applyDataScopeOffsets`; and an asset with no mirrored dataset resolves to no data. When absent or false, assets expand from their data scopes as before.

`sourceRid` string (RID)
:   Optional RID identifying the resource that initiated this query (e.g. workbook/notebook RID, checklist RID, dataset RID). Used for observability only — trusted as-is, no permission checks are performed on this value.

`requestId` string (UUID)
:   Optional UUID to provide as a handle to selectively cancel the execution of this compute request.

Response

`computeResult` [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse)
:   ​

    **range**

    Set `type` to `"range"`.

    `range` array of [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
    :   ​

        Fields of `Range`

        `start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

            Fields of `Timestamp`

            `seconds` integer (int64)
            :   ​

            `nanos` integer (int64)
            :   ​

        `end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `value` [`RangeValue`](https://dev.nominal.io/api/rest/compute-service.md#rangevalue)
        :   ​

            **double**

            Set `type` to `"double"`.

            `double` number
            :   ​

            **aggregation**

            Set `type` to `"aggregation"`.

            `aggregation` [`RangeAggregation`](https://dev.nominal.io/api/rest/compute-service.md#rangeaggregation)
            :   ​

                Fields of `RangeAggregation`

                `average` number
                :   ​

                `min` number
                :   ​

                `max` number
                :   ​

                `standardDeviation` number
                :   ​

                `count` number
                :   ​

                `sum` number
                :   ​

                `rootMeanSquare` number
                :   ​

            **noPointsInRange**

            Set `type` to `"noPointsInRange"`.

            `noPointsInRange` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
            :   ​

    **rangesSummary**

    Set `type` to `"rangesSummary"`.

    `rangesSummary` [`RangesSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangessummary)
    :   ​

        Fields of `RangesSummary`

        `rangesSummary` array of [`RangeSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangesummary)
        :   ​

            Fields of `RangeSummary`

            `range` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
            :   The range representing the minimum start and maximum end times of the ranges.

            `subRangeCount` integer
            :   The number of ranges found within this time range.

    **rangeValue**

    Set `type` to `"rangeValue"`.

    `rangeValue` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
    :   ​

    **numeric**

    Set `type` to `"numeric"`.

    `numeric` [`NumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#numericplot)
    :   ​

        Fields of `NumericPlot`

        `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `values` array of number
        :   ​

        `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
        :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

            **timestampAndId**

            Set `type` to `"timestampAndId"`.

            `timestampAndId` [`TimestampAndId`](https://dev.nominal.io/api/rest/compute-service.md#timestampandid)
            :   ​

                Fields of `TimestampAndId`

                `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `id` string (UUID)
                :   ​

    **bucketedNumeric**

    Set `type` to `"bucketedNumeric"`.

    `bucketedNumeric` [`BucketedNumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericplot)
    :   ​

        Fields of `BucketedNumericPlot`

        `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   The end of the bucket, exclusive.

        `buckets` array of [`NumericBucket`](https://dev.nominal.io/api/rest/compute-service.md#numericbucket)
        :   ​

            Fields of `NumericBucket`

            `min` number
            :   ​

            `max` number
            :   ​

            `mean` number
            :   ​

            `count` integer (int64)
            :   ​

            `variance` number
            :   The population variance of the bucket. If the bucket has only one value, this will be 0.

            `firstPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
            :   ​

                Fields of `NumericPoint`

                `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `value` number
                :   ​

            `lastPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
            :   Will be empty if the bucket only has a single point.

            `aggregations` map of string to number
            :   Additional per-bucket aggregations that have no dedicated field above, keyed by the output column name requested via `numericAggregations` or `numericOutputFieldsV2` (e.g. `sum`, `standardDeviation`, `rootMeanSquare`, `p50`). Empty when no additional aggregations were requested.

    **numericPoint**

    Set `type` to `"numericPoint"`.

    `numericPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
    :   ​

    **singlePoint**

    Set `type` to `"singlePoint"`.

    `singlePoint` [`SinglePoint`](https://dev.nominal.io/api/rest/compute-service.md#singlepoint)
    :   ​

        Fields of `SinglePoint`

        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `value` [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
        :   ​

            **stringValue**

            Set `type` to `"stringValue"`.

            `stringValue` string
            :   ​

            **float64Value**

            Set `type` to `"float64Value"`.

            `float64Value` number
            :   ​

            **int64Value**

            Set `type` to `"int64Value"`.

            `int64Value` string
            :   ​

            **arrayValue**

            Set `type` to `"arrayValue"`.

            `arrayValue` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
            :   ​

            **structValue**

            Set `type` to `"structValue"`.

            `structValue` any JSON value
            :   A JSON representation of the struct

        `precisionLoss` boolean
        :   Returns true if the result required downcasting to a type with less precision, for example if the input series was Int64 and the result is a Float64.

    **arrowNumeric**

    Set `type` to `"arrowNumeric"`.

    `arrowNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
    :   ​

        Fields of `ArrowPlot`

        `arrowBinary` string (base64)
        :   The raw binary containing an Arrow IPC stream.

        `groupByKeys` array of string
        :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

        `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
        :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

    **arrowBucketedNumeric**

    Set `type` to `"arrowBucketedNumeric"`.

    `arrowBucketedNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
    :   ​

    **enum**

    Set `type` to `"enum"`.

    `enum` [`EnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumplot)
    :   ​

        Fields of `EnumPlot`

        `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `values` array of integer
        :   ​

        `categories` array of string
        :   ​

        `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
        :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

    **enumPoint**

    Set `type` to `"enumPoint"`.

    `enumPoint` [`EnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#enumpoint)
    :   ​

        Fields of `EnumPoint`

        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `value` string
        :   ​

    **bucketedEnum**

    Set `type` to `"bucketedEnum"`.

    `bucketedEnum` [`BucketedEnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumplot)
    :   ​

        Fields of `BucketedEnumPlot`

        `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   The end of the bucket, exclusive.

        `buckets` array of [`EnumBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumbucket)
        :   ​

            Fields of `EnumBucket`

            `histogram` map of string to integer (int64)
            :   The map of values within the bucket to their frequency.

            `firstPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint)
            :   ​

                Fields of `CompactEnumPoint`

                `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

                `value` integer
                :   ​

            `lastPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint)
            :   Will be empty if the bucket only has a single point.

        `categories` array of string
        :   ​

    **arrowEnum**

    Set `type` to `"arrowEnum"`.

    `arrowEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
    :   ​

    **arrowBucketedEnum**

    Set `type` to `"arrowBucketedEnum"`.

    `arrowBucketedEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
    :   ​

    **pagedLog**

    Set `type` to `"pagedLog"`.

    `pagedLog` [`PagedLogPlot`](https://dev.nominal.io/api/rest/compute-service.md#pagedlogplot)
    :   ​

        Fields of `PagedLogPlot`

        `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `values` array of [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue)
        :   ​

            Fields of `LogValue`

            `message` string
            :   ​

            `args` map of string to string
            :   ​

            `id` string (UUID)
            :   ​

        `nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
        :   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

    **logPoint**

    Set `type` to `"logPoint"`.

    `logPoint` [`LogPoint`](https://dev.nominal.io/api/rest/compute-service.md#logpoint)
    :   ​

        Fields of `LogPoint`

        `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `value` [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue)
        :   ​

    **arrowLog**

    Set `type` to `"arrowLog"`.

    `arrowLog` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
    :   ​

    **cartesian**

    Set `type` to `"cartesian"`.

    `cartesian` [`CartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#cartesianplot)
    :   ​

        Fields of `CartesianPlot`

        `timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
        :   ​

        `xValues` array of number
        :   ​

        `yValues` array of number
        :   ​

    **bucketedCartesian**

    Set `type` to `"bucketedCartesian"`.

    `bucketedCartesian` [`BucketedCartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesianplot)
    :   ​

        Fields of `BucketedCartesianPlot`

        `buckets` array of [`CartesianBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbucket)
        :   ​

            Fields of `CartesianBucket`

            `minX` number
            :   ​

            `maxX` number
            :   ​

            `minY` number
            :   ​

            `maxY` number
            :   ​

            `minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `count` integer (int64)
            :   ​

    **bucketedCartesian3d**

    Set `type` to `"bucketedCartesian3d"`.

    `bucketedCartesian3d` [`BucketedCartesian3dPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesian3dplot)
    :   ​

        Fields of `BucketedCartesian3dPlot`

        `buckets` array of [`Cartesian3dBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbucket)
        :   ​

            Fields of `Cartesian3dBucket`

            `minX` number deprecated
            :   **Deprecated:** Switching to point-based min/maxes

            `maxX` number deprecated
            :   **Deprecated:** Switching to point-based min/maxes

            `meanX` number
            :   ​

            `minY` number deprecated
            :   **Deprecated:** Switching to point-based min/maxes

            `maxY` number deprecated
            :   **Deprecated:** Switching to point-based min/maxes

            `meanY` number
            :   ​

            `minZ` number deprecated
            :   **Deprecated:** Switching to point-based min/maxes

            `maxZ` number deprecated
            :   **Deprecated:** Switching to point-based min/maxes

            `meanZ` number
            :   ​

            `minXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
            :   ​

                Fields of `Point3d`

                `x` number
                :   ​

                `y` number
                :   ​

                `z` number
                :   ​

                `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
                :   ​

            `maxXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
            :   ​

            `minYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
            :   ​

            `maxYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
            :   ​

            `minZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
            :   ​

            `maxZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d)
            :   ​

            `minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `count` integer (int64)
            :   ​

    **frequencyDomain**

    Set `type` to `"frequencyDomain"`.

    `frequencyDomain` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
    :   ​

        Fields of `FrequencyDomainPlot`

        `frequencies` array of number
        :   ​

        `amplitudes` array of number
        :   ​

    **frequencyDomainV2**

    Set `type` to `"frequencyDomainV2"`.

    `frequencyDomainV2` [`FrequencyDomainPlotV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotv2)
    :   ​

        **real**

        Set `type` to `"real"`.

        `real` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
        :   ​

        **complex**

        Set `type` to `"complex"`.

        `complex` [`FrequencyDomainPlotComplex`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotcomplex)
        :   ​

            Fields of `FrequencyDomainPlotComplex`

            `frequencies` array of number
            :   ​

            `real` array of number
            :   ​

            `imaginary` array of number
            :   ​

        **magnitudeAndPhase**

        Set `type` to `"magnitudeAndPhase"`.

        `magnitudeAndPhase` [`FrequencyDomainPlotMagnitudeAndPhase`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotmagnitudeandphase)
        :   ​

            Fields of `FrequencyDomainPlotMagnitudeAndPhase`

            `frequencies` array of number
            :   ​

            `magnitudes` array of number
            :   ​

            `phases` array of number
            :   ​

    **spectrogram**

    Set `type` to `"spectrogram"`.

    `spectrogram` [`SpectrogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramplot)
    :   ​

        Fields of `SpectrogramPlot`

        `frequencyCenters` array of number
        :   Center frequency in Hz of each column.

        `frequencyEdges` array of number
        :   Column boundaries in Hz, one more than `frequencyCenters`: column `c` spans `frequencyEdges[c]` to `frequencyEdges[c + 1]`. Columns may differ in width.

        `rows` array of [`SpectrogramRow`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramrow)
        :   ​

            Fields of `SpectrogramRow`

            `start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   Start of the time span this row covers.

            `end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   End of the time span this row covers.

            `values` array of number
            :   One value per column

    **bucketedFrequencyDomain**

    Set `type` to `"bucketedFrequencyDomain"`.

    `bucketedFrequencyDomain` [`BucketedFrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedfrequencydomainplot)
    :   ​

        Fields of `BucketedFrequencyDomainPlot`

        `buckets` array of [`FrequencyBucket`](https://dev.nominal.io/api/rest/compute-service.md#frequencybucket)
        :   ​

            Fields of `FrequencyBucket`

            `frequencyStart` number
            :   The start frequency of this bucket (inclusive).

            `frequencyEnd` number
            :   The end frequency of this bucket (exclusive).

            `frequencyCenter` number
            :   The center frequency of this bucket.

            `minAmplitude` number
            :   The minimum amplitude value in this bucket.

            `maxAmplitude` number
            :   The maximum amplitude value in this bucket.

            `meanAmplitude` number
            :   The mean amplitude value in this bucket.

            `count` integer (int64)
            :   The number of original frequency points that were aggregated into this bucket.

            `firstPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint)
            :   The first point (lowest frequency) in this bucket.

                Fields of `FrequencyPoint`

                `frequency` number
                :   ​

                `amplitude` number
                :   ​

            `lastPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint)
            :   The last point (highest frequency) in this bucket. Will be empty if the bucket only has a single point.

    **numericHistogram**

    Set `type` to `"numericHistogram"`.

    `numericHistogram` [`NumericHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramplot)
    :   ​

        Fields of `NumericHistogramPlot`

        `buckets` array of [`NumericHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogrambucket)
        :   ​

            Fields of `NumericHistogramBucket`

            `lowerBound` number
            :   The lower bound of the bucket, inclusive

            `upperBound` number
            :   The upper bound of the bucket, exclusive

            `countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
            :   ​

                Fields of `HistogramChannelCount`

                `count` integer (int64)
                :   ​

            `buckets` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount) deprecated
            :   **Deprecated:** Use countsByChannel instead

    **enumHistogram**

    Set `type` to `"enumHistogram"`.

    `enumHistogram` [`EnumHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramplot)
    :   ​

        Fields of `EnumHistogramPlot`

        `buckets` array of [`EnumHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogrambucket)
        :   ​

            Fields of `EnumHistogramBucket`

            `value` string
            :   The value of the enum as a string

            `countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
            :   ​

    **curveFit**

    Set `type` to `"curveFit"`.

    `curveFit` [`CurveFitResult`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresult)
    :   Deprecated: use `curveFitV2` (CurveFitResultV2) instead. Returned only for deprecated CurveFit requests.

        Fields of `CurveFitResult`

        `r2` number
        :   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

        `mae` number
        :   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

        `mse` number
        :   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

        `rmse` number
        :   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

        `maxAbsoluteError` number
        :   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

        `sampleCount` integer
        :   The number of data points used in the curve fitting calculation.

        `curveResultDetails` [`CurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetails)
        :   Description of the fit curve.

            **exponential**

            Set `type` to `"exponential"`.

            `exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
            :   ​

                Fields of `ExponentialResultDetails`

                `a` number
                :   ​

                `b` number
                :   ​

            **logarithmic**

            Set `type` to `"logarithmic"`.

            `logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
            :   ​

                Fields of `LogarithmicResultDetails`

                `a` number
                :   ​

                `b` number
                :   ​

            **polynomial**

            Set `type` to `"polynomial"`.

            `polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
            :   ​

                Fields of `PolynomialResultDetails`

                `a` array of number
                :   ​

            **power**

            Set `type` to `"power"`.

            `power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
            :   ​

                Fields of `PowerResultDetails`

                `a` number
                :   ​

                `b` number
                :   ​

    **curveFitV2**

    Set `type` to `"curveFitV2"`.

    `curveFitV2` [`CurveFitResultV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresultv2)
    :   ​

        Fields of `CurveFitResultV2`

        `r2` number
        :   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

        `mae` number
        :   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

        `mse` number
        :   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

        `rmse` number
        :   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

        `maxAbsoluteError` number
        :   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

        `sampleCount` integer
        :   The number of data points used in the curve fitting calculation.

        `curveResultDetails` [`CurveResultDetailsV2`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetailsv2)
        :   Description of the fit curve.

            **exponential**

            Set `type` to `"exponential"`.

            `exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
            :   ​

            **logarithmic**

            Set `type` to `"logarithmic"`.

            `logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
            :   ​

            **polynomial**

            Set `type` to `"polynomial"`.

            `polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
            :   ​

            **power**

            Set `type` to `"power"`.

            `power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
            :   ​

            **custom**

            Set `type` to `"custom"`.

            `custom` [`CustomCurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#customcurveresultdetails)
            :   ​

                Fields of `CustomCurveResultDetails`

                `parameters` map of string to number
                :   Optimized parameter values produced by the curve fit. Keys match the parameter names provided in the request.

                `converged` boolean
                :   Whether the optimizer converged to a solution within its iteration limit. When false, the returned parameters are the best estimate found before the iteration cap was reached and did not satisfy the solver’s convergence tolerances.

                `iterations` integer
                :   Number of iterations the solver completed.

    **grouped**

    Set `type` to `"grouped"`.

    `grouped` [`GroupedComputeNodeResponses`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponses)
    :   ​

        Fields of `GroupedComputeNodeResponses`

        `responses` array of [`GroupedComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponse)
        :   ​

            Fields of `GroupedComputeNodeResponse`

            `grouping` [`Grouping`](https://dev.nominal.io/api/rest/compute-service.md#grouping)
            :   ​

                **tagsWithValues**

                Set `type` to `"tagsWithValues"`.

                `tagsWithValues` map of string to string
                :   A grouping identified by a specific instantiation of tag keys and values.

            `response` [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse)
            :   ​

    **array**

    Set `type` to `"array"`.

    `array` [`ArrowArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowarrayplot)
    :   ​

        **bucketedNumeric**

        Set `type` to `"bucketedNumeric"`.

        `bucketedNumeric` [`BucketedNumericArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericarrayplot)
        :   ​

            Fields of `BucketedNumericArrayPlot`

            `arrowBinary` string (base64)
            :   The raw binary containing Arrow IPC stream for a bucketed N-dimensional numeric array plot.

            `groupByKeys` array of string
            :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

        **bucketedEnum**

        Set `type` to `"bucketedEnum"`.

        `bucketedEnum` [`BucketedEnumArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumarrayplot)
        :   ​

            Fields of `BucketedEnumArrayPlot`

            `arrowBinary` string (base64)
            :   The raw binary containing Arrow IPC stream for a bucketed N-dimensional enum array plot.

            `groupByKeys` array of string
            :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

    **bucketedStruct**

    Set `type` to `"bucketedStruct"`.

    `bucketedStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
    :   ​

    **arrowStruct**

    Set `type` to `"arrowStruct"`.

    `arrowStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
    :   ​

    **fullResolution**

    Set `type` to `"fullResolution"`.

    `fullResolution` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
    :   ​

    **arrowBucketedMultivariate**

    Set `type` to `"arrowBucketedMultivariate"`.

    `arrowBucketedMultivariate` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
    :   ​

    **multivariate**

    Set `type` to `"multivariate"`.

    `multivariate` [`BucketedMultivariatePlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedmultivariateplot)
    :   ​

        Fields of `BucketedMultivariatePlot`

        `buckets` array of [`MultivariateBucket`](https://dev.nominal.io/api/rest/compute-service.md#multivariatebucket)
        :   ​

            Fields of `MultivariateBucket`

            `timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
            :   ​

            `values` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
            :   Values for each input series in the bucket.

        `groupByKeys` array of string
        :   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

`computeUnit` [`ComputeUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#computeunitresult)
:   ​

    **single**

    Set `type` to `"single"`.

    `single` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
    :   ​

        **success**

        Set `type` to `"success"`.

        `success` string
        :   ​

        **noUnitAvailable**

        Set `type` to `"noUnitAvailable"`.

        `noUnitAvailable` array of [`UnitComputationError`](https://dev.nominal.io/api/rest/compute-service.md#unitcomputationerror)
        :   The resulting values have no units associated. If this is because of an error, it is listed here.

            **incompatibleUnitsOperation**

            Set `type` to `"incompatibleUnitsOperation"`.

            `incompatibleUnitsOperation` [`IncompatibleUnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#incompatibleunitoperation)
            :   ​

                Fields of `IncompatibleUnitOperation`

                `operation` [`UnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#unitoperation)
                :   ​

                    Values of `UnitOperation`

                    `UNIT_AS_EXPONENT`
                    :   ​

                    `NON_INTEGER_AS_EXPONENT`
                    :   ​

                    `FLOOR_DIVISION`
                    :   ​

                    `MODULO`
                    :   ​

                    `CROSSOVER_COMPARISON`
                    :   ​

                    `MAX`
                    :   ​

                    `MIN`
                    :   ​

                    `MEAN`
                    :   ​

                    `UNION`
                    :   ​

                    `ADDITION`
                    :   ​

                    `SUBTRACTION`
                    :   ​

                    `UNIT_CONVERSION`
                    :   ​

                    `COMPARISON`
                    :   ​

                    `TERNARY_OPERATOR`
                    :   ​

                `units` array of string
                :   ​

            **unitsMissing**

            Set `type` to `"unitsMissing"`.

            `unitsMissing` [`UnitsMissing`](https://dev.nominal.io/api/rest/compute-service.md#unitsmissing)
            :   ​

                Fields of `UnitsMissing`

                `seriesRids` array of string (RID) deprecated
                :   **Deprecated:** Use channels instead.

                `channels` array of [`DataSourceAndChannel`](https://dev.nominal.io/api/rest/compute-service.md#datasourceandchannel)
                :   ​

                    Fields of `DataSourceAndChannel`

                    `dataSourceRid` string (RID)
                    :   ​

                    `channel` string
                    :   ​

            **error**

            Set `type` to `"error"`.

            `error` [`SerializableError`](https://dev.nominal.io/api/rest/compute-service.md#serializableerror)
            :   ​

                Fields of `SerializableError`

                `name` string
                :   ​

                `message` string
                :   ​

                `errorInstanceId` string
                :   ​

                `statusCode` integer
                :   ​

                `params` map of string to string
                :   ​

    **cartesian**

    Set `type` to `"cartesian"`.

    `cartesian` [`CartesianUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesianunitresult)
    :   ​

        Fields of `CartesianUnitResult`

        `x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

        `y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

    **cartesian3d**

    Set `type` to `"cartesian3d"`.

    `cartesian3d` [`Cartesian3dUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dunitresult)
    :   ​

        Fields of `Cartesian3dUnitResult`

        `x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

        `y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

        `z` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

    **multivariate**

    Set `type` to `"multivariate"`.

    `multivariate` [`MultivariateUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#multivariateunitresult)
    :   ​

        Fields of `MultivariateUnitResult`

        `units` array of [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
        :   ​

Request

**curl**

```shell
curl -X POST "https://api.gov.nominal.io/api/compute/v2/computeWithUnits" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "node": {
    "type": "ranges",
    "ranges": {
      "input": {
        "type": "approximateThreshold",
        "approximateThreshold": {
          "input": {
            "type": "abs",
            "abs": {}
          },
          "threshold": {
            "type": "literal",
            "literal": 1
          },
          "tolerance": {
            "type": "literal",
            "literal": 1
          },
          "operator": "EQUAL_TO"
        }
      }
    }
  },
  "start": {
    "seconds": 1,
    "nanos": 1
  },
  "end": {
    "seconds": 1,
    "nanos": 1
  },
  "context": {
    "variables": {
      "<key>": {
        "type": "double",
        "double": 1
      }
    },
    "functionVariables": {
      "<key>": {
        "variables": {
          "<key>": {
            "type": "double",
            "double": 1
          }
        },
        "subFunctionVariables": {}
      }
    },
    "datasetReferences": {
      "<key>": {
        "type": "asset",
        "asset": {
          "rid": {
            "type": "literal",
            "literal": "<literal>"
          }
        }
      }
    },
    "defaultFillStrategy": {
      "type": "forwardFill",
      "forwardFill": {
        "limit": {
          "type": "duration",
          "duration": {
            "type": "literal",
            "literal": {
              "seconds": 1,
              "nanos": 1
            }
          }
        }
      }
    },
    "defaultAlignmentStrategy": {
      "type": "driverSeries",
      "driverSeries": {}
    },
    "applyDataScopeOffsets": true,
    "resolveAssetsThroughDatasets": true
  }
}'
```

**requests**

```python
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/compute/v2/computeWithUnits",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "node": {
            "type": "ranges",
            "ranges": {
                "input": {
                    "type": "approximateThreshold",
                    "approximateThreshold": {
                        "input": {"type": "abs", "abs": {}},
                        "threshold": {"type": "literal", "literal": 1},
                        "tolerance": {"type": "literal", "literal": 1},
                        "operator": "EQUAL_TO",
                    },
                },
            },
        },
        "start": {"seconds": 1, "nanos": 1},
        "end": {"seconds": 1, "nanos": 1},
        "context": {
            "variables": {"<key>": {"type": "double", "double": 1}},
            "functionVariables": {
                "<key>": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "subFunctionVariables": {},
                },
            },
            "datasetReferences": {
                "<key>": {
                    "type": "asset",
                    "asset": {"rid": {"type": "literal", "literal": "<literal>"}},
                },
            },
            "defaultFillStrategy": {
                "type": "forwardFill",
                "forwardFill": {
                    "limit": {
                        "type": "duration",
                        "duration": {
                            "type": "literal",
                            "literal": {"seconds": 1, "nanos": 1},
                        },
                    },
                },
            },
            "defaultAlignmentStrategy": {"type": "driverSeries", "driverSeries": {}},
            "applyDataScopeOffsets": True,
            "resolveAssetsThroughDatasets": True,
        },
    },
)
response.raise_for_status()
print(response.json())
```

**httpx**

```python
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/compute/v2/computeWithUnits",
    headers={"Authorization": "Bearer <api key>"},
    json={
        "node": {
            "type": "ranges",
            "ranges": {
                "input": {
                    "type": "approximateThreshold",
                    "approximateThreshold": {
                        "input": {"type": "abs", "abs": {}},
                        "threshold": {"type": "literal", "literal": 1},
                        "tolerance": {"type": "literal", "literal": 1},
                        "operator": "EQUAL_TO",
                    },
                },
            },
        },
        "start": {"seconds": 1, "nanos": 1},
        "end": {"seconds": 1, "nanos": 1},
        "context": {
            "variables": {"<key>": {"type": "double", "double": 1}},
            "functionVariables": {
                "<key>": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "subFunctionVariables": {},
                },
            },
            "datasetReferences": {
                "<key>": {
                    "type": "asset",
                    "asset": {"rid": {"type": "literal", "literal": "<literal>"}},
                },
            },
            "defaultFillStrategy": {
                "type": "forwardFill",
                "forwardFill": {
                    "limit": {
                        "type": "duration",
                        "duration": {
                            "type": "literal",
                            "literal": {"seconds": 1, "nanos": 1},
                        },
                    },
                },
            },
            "defaultAlignmentStrategy": {"type": "driverSeries", "driverSeries": {}},
            "applyDataScopeOffsets": True,
            "resolveAssetsThroughDatasets": True,
        },
    },
)
response.raise_for_status()
print(response.json())
```

**aiohttp**

```python
import asyncio

import aiohttp

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/compute/v2/computeWithUnits",
            headers={"Authorization": "Bearer <api key>"},
            json={
                "node": {
                    "type": "ranges",
                    "ranges": {
                        "input": {
                            "type": "approximateThreshold",
                            "approximateThreshold": {
                                "input": {"type": "abs", "abs": {}},
                                "threshold": {"type": "literal", "literal": 1},
                                "tolerance": {"type": "literal", "literal": 1},
                                "operator": "EQUAL_TO",
                            },
                        },
                    },
                },
                "start": {"seconds": 1, "nanos": 1},
                "end": {"seconds": 1, "nanos": 1},
                "context": {
                    "variables": {"<key>": {"type": "double", "double": 1}},
                    "functionVariables": {
                        "<key>": {
                            "variables": {"<key>": {"type": "double", "double": 1}},
                            "subFunctionVariables": {},
                        },
                    },
                    "datasetReferences": {
                        "<key>": {
                            "type": "asset",
                            "asset": {
                                "rid": {"type": "literal", "literal": "<literal>"},
                            },
                        },
                    },
                    "defaultFillStrategy": {
                        "type": "forwardFill",
                        "forwardFill": {
                            "limit": {
                                "type": "duration",
                                "duration": {
                                    "type": "literal",
                                    "literal": {"seconds": 1, "nanos": 1},
                                },
                            },
                        },
                    },
                    "defaultAlignmentStrategy": {
                        "type": "driverSeries",
                        "driverSeries": {},
                    },
                    "applyDataScopeOffsets": True,
                    "resolveAssetsThroughDatasets": True,
                },
            },
        ) as response:
            response.raise_for_status()
            print(await response.json())

asyncio.run(main())
```

Response: `200`

```json
{
  "computeResult": {
    "type": "range",
    "range": [
      {
        "start": {
          "seconds": 1,
          "nanos": 1
        },
        "end": {
          "seconds": 1,
          "nanos": 1
        },
        "value": {
          "type": "double",
          "double": 1
        }
      }
    ]
  },
  "computeUnit": {
    "type": "single",
    "single": {
      "type": "success",
      "success": "<unit symbol>"
    }
  }
}
```

### Batch kill requests

POST `/compute/v2/compute/batch/kill`

Best-effort cancellation of active compute requests. Each ID should be the request ID that the client originally passed when starting the request. A single request may correspond to one or more underlying operations, all of which will be cancelled.

Body

`requestIds` array of string (UUID)
:   ​

Response

No content (HTTP 204).

Request

**curl**

```shell
curl -X POST "https://api.gov.nominal.io/api/compute/v2/compute/batch/kill" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "requestIds": [
    "<request ids>"
  ]
}'
```

**requests**

```python
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/batch/kill",
    headers={"Authorization": "Bearer <api key>"},
    json={"requestIds": ["<request ids>"]},
)
response.raise_for_status()
```

**httpx**

```python
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/batch/kill",
    headers={"Authorization": "Bearer <api key>"},
    json={"requestIds": ["<request ids>"]},
)
response.raise_for_status()
```

**aiohttp**

```python
import asyncio

import aiohttp

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/compute/v2/compute/batch/kill",
            headers={"Authorization": "Bearer <api key>"},
            json={"requestIds": ["<request ids>"]},
        ) as response:
            response.raise_for_status()

asyncio.run(main())
```

Response: `204`

No content.

### Batch get request progress

POST `/compute/v2/compute/batch/progress`

Returns a point-in-time snapshot of progress for the given active compute requests. Each ID should be the request ID that the client originally passed when starting the request. Intended to be polled (roughly once per second) for requests that have been running longer than the slow-query threshold.

A request with no active queries is not necessarily finished: its underlying queries may not have started yet, the request may be in a post-processing phase, or the request’s work may be executed somewhere that does not report progress — in which case it stays inactive for its entire duration. Clients should derive progress from the raw row counters and must not assume monotonicity, since totalRowsApprox can grow while a request runs.

Body

`requestIds` array of string (UUID)
:   Limited to 300 IDs per call.

Response

`progressByRequestId` map of string to [`RequestProgress`](https://dev.nominal.io/api/rest/compute-service.md#requestprogress)
:   Contains an entry for every requested request ID.

    **inProgress**

    Set `type` to `"inProgress"`.

    `inProgress` [`RequestInProgress`](https://dev.nominal.io/api/rest/compute-service.md#requestinprogress)
    :   ​

        Fields of `RequestInProgress`

        `readRows` integer (int64)
        :   ​

        `totalRowsApprox` integer (int64)
        :   May grow while a query runs as new sources to process become known.

    **inactive**

    Set `type` to `"inactive"`.

    `inactive` [`RequestInactive`](https://dev.nominal.io/api/rest/compute-service.md#requestinactive)
    :   ​

Request

**curl**

```shell
curl -X POST "https://api.gov.nominal.io/api/compute/v2/compute/batch/progress" \
  -H "Authorization: Bearer <api key>" \
  -H "Content-Type: application/json" \
  --data '{
  "requestIds": [
    "<request ids>"
  ]
}'
```

**requests**

```python
import requests

response = requests.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/batch/progress",
    headers={"Authorization": "Bearer <api key>"},
    json={"requestIds": ["<request ids>"]},
)
response.raise_for_status()
print(response.json())
```

**httpx**

```python
import httpx

response = httpx.post(
    "https://api.gov.nominal.io/api/compute/v2/compute/batch/progress",
    headers={"Authorization": "Bearer <api key>"},
    json={"requestIds": ["<request ids>"]},
)
response.raise_for_status()
print(response.json())
```

**aiohttp**

```python
import asyncio

import aiohttp

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.post(
            "https://api.gov.nominal.io/api/compute/v2/compute/batch/progress",
            headers={"Authorization": "Bearer <api key>"},
            json={"requestIds": ["<request ids>"]},
        ) as response:
            response.raise_for_status()
            print(await response.json())

asyncio.run(main())
```

Response: `200`

```json
{
  "progressByRequestId": {
    "<key>": {
      "type": "inProgress",
      "inProgress": {
        "readRows": 1,
        "totalRowsApprox": 1
      }
    }
  }
}
```

### Get quota usage

GET `/compute/v2/compute/quota/usage`

Returns the calling user’s compute quota usage for their current organization, one entry per quota window. Returns no intervals when quotas are not enabled for the organization.

Request

No parameters and no body.

Response

`intervals` array of [`QuotaIntervalUsage`](https://dev.nominal.io/api/rest/compute-service.md#quotaintervalusage)
:   One entry per quota window, ordered by ascending duration. Empty when quotas are not enabled for the organization or the user has no recorded usage yet.

    Fields of `QuotaIntervalUsage`

    `durationSeconds` integer (int64)
    :   Length of the quota window in seconds.

    `currentWindow` [`QuotaWindow`](https://dev.nominal.io/api/rest/compute-service.md#quotawindow)
    :   Bounds of the current quota window. Usage counters reset at the window’s end.

        Fields of `QuotaWindow`

        `startTime` string (date-time)
        :   ​

        `endTime` string (date-time)
        :   ​

    `resources` array of [`QuotaResourceUsage`](https://dev.nominal.io/api/rest/compute-service.md#quotaresourceusage)
    :   Usage per limited resource. Resources without a configured limit are not reported.

        Fields of `QuotaResourceUsage`

        `resource` [`QuotaResourceType`](https://dev.nominal.io/api/rest/compute-service.md#quotaresourcetype)
        :   ​

            Values of `QuotaResourceType`

            `READ_ROWS`
            :   ​

            `READ_BYTES`
            :   ​

            `QUERIES`
            :   ​

            `ERRORS`
            :   ​

            `EXECUTION_TIME`
            :   ​

        `used` number
        :   Amount consumed within the current window, in the resource’s native unit (rows, bytes, query count, or seconds for EXECUTION_TIME).

        `limit` number
        :   The cap for this resource in this window.

Request

**curl**

```shell
curl "https://api.gov.nominal.io/api/compute/v2/compute/quota/usage" \
  -H "Authorization: Bearer <api key>"
```

**requests**

```python
import requests

response = requests.get(
    "https://api.gov.nominal.io/api/compute/v2/compute/quota/usage",
    headers={"Authorization": "Bearer <api key>"},
)
response.raise_for_status()
print(response.json())
```

**httpx**

```python
import httpx

response = httpx.get(
    "https://api.gov.nominal.io/api/compute/v2/compute/quota/usage",
    headers={"Authorization": "Bearer <api key>"},
)
response.raise_for_status()
print(response.json())
```

**aiohttp**

```python
import asyncio

import aiohttp

async def main() -> None:
    async with aiohttp.ClientSession() as session:
        async with session.get(
            "https://api.gov.nominal.io/api/compute/v2/compute/quota/usage",
            headers={"Authorization": "Bearer <api key>"},
        ) as response:
            response.raise_for_status()
            print(await response.json())

asyncio.run(main())
```

Response: `200`

```json
{
  "intervals": [
    {
      "durationSeconds": 1,
      "currentWindow": {
        "startTime": "2026-01-01T00:00:00Z",
        "endTime": "2026-01-01T00:00:00Z"
      },
      "resources": [
        {
          "resource": "READ_ROWS",
          "used": 1,
          "limit": 1
        }
      ]
    }
  ]
}
```

## Errors

[Errors](https://dev.nominal.io/api/legacy.md#errors) shows how these errors are sent.

Each error’s `errorName` is `Compute:` followed by its name below.

| Status | Name | Notes |
| --- | --- | --- |
| 400 | `CannotAggregateEnumPlot` |  |
| 400 | `CannotCompileRegexp` | The regular expression could not be compiled. |
| 400 | `ChannelHasWrongType` |  |
| 400 | `ComputationTooComplex` | Computation too complex. Try reducing the number of channels, computations, or tags. |
| 400 | `ConverterInputUnitNotFound` | A unit could not be found for the input series, or it did not exist in the unit system. The conversion could not be computed. |
| 400 | `ConverterOutputUnitNotFound` | The output unit symbol could not be found in the unit system. The conversion could not be computed. |
| 400 | `CurveInvalidNegativeInputs` | Some points in the input had negative (or zero) x-values. Power and logarithmic curve fits do not allow negative (or zero) x-valued points. |
| 400 | `CurveUnequalInputLength` | The x and y inputs to fit a curve to do not have the same length. |
| 400 | `CustomCurveFormulaMissingParameter` | A custom curve fit declared a parameter (with an initial guess) that its formula never references. Every declared parameter must appear in the formula; otherwise it is an unconstrained degree of freedom for the solver. Remove the unused parameter or reference it in the formula. |
| 400 | `CustomCurveFormulaMissingVariable` | A custom curve fit declared a variable that its formula never references. The unused variable’s series would be fetched and aligned for nothing, so it almost certainly indicates a mistake in the formula. Remove the unused variable or reference it in the formula. |
| 400 | `CustomCurveMultipleTimeVariables` | A custom curve fit may declare at most one time variable; there is only one sample-timestamp axis for the formula to refer to. |
| 400 | `DerivedSeriesHasWrongType` |  |
| 400 | `DuplicateTimestamp` |  |
| 400 | `EmptyInput` | At least one input must be provided. |
| 400 | `EmptyPath` | Specified path cannot be empty. |
| 400 | `EmptySet` | The provided set must contain at least one element. |
| 400 | `ExponentialCurveInputTooLarge` | Due to limits in how numbers are represented by computers, exponential fits cannot be performed on data with x-values that are too large (> 650). This includes timestamp data based on the Time Unit parameter to the curve fit - e.g. 1 second at millisecond scale is too large, as it is 1000 milliseconds. |
| 400 | `FrequencyDomainNotEnoughData` | Not enough data points to estimate a sampling frequency for frequency-domain analysis. Try again with a larger time range. |
| 400 | `FrequencyDomainWindowEmpty` | The selected window for the frequency domain is empty. Try again with a larger time range. |
| 400 | `FrequencyDomainWindowTooLarge` | The selected window for the frequency domain is too large. Try again with a smaller time range. |
| 400 | `GranularityMismatch` | Some operations that require matching granularity did not have matching granularity. |
| 400 | `GroupByMissingTag` | Attempted to group by a tag that does not exist. |
| 400 | `GroupByTagsNotSubset` | Group by tags must be equal, or one set must be a subset of the other. |
| 400 | `GroupBysNotSupportedForQuery` | Group by queries are not supported for the compute node supplied |
| 400 | `InvalidBitOperation` | The bit operation is invalid due to the index or operand being out of range. Valid range - [0, 63]. |
| 400 | `InvalidExpression` |  |
| 400 | `InvalidFieldName` | Struct field names cannot contain ‘.’ |
| 400 | `InvalidLiteralRange` | The starting timestamp of a range cannot be greater than or equal to the end timestamp. At least one of start and end timestamps must be present. Only the first range when sorted may omit the start, and only the last may omit the end. |
| 400 | `InvalidNumericAggregations` | Numeric aggregations can only be specified on numeric series requests. |
| 400 | `InvalidNumericOutputFields` | Numeric output fields can only be specified on Arrow format numeric series requests. At least one field must be specified. |
| 400 | `InvalidPlotType` |  |
| 400 | `InvalidRangeNodeStartAfterViewRange` | The compute node was given a starting timestamp after the end of the view range window. |
| 400 | `InvalidRefpropInputCount` | REFPROP requires exactly two input series. |
| 400 | `InvalidSeriesLocator` |  |
| 400 | `InvalidTagFilterConfiguration` | Invalid tag filter configuration was provided. |
| 400 | `InvalidTimeUnit` | The time unit associated with the series is incompatible with the current transform. |
| 400 | `InvalidUdfSource` | The Rust UDF source failed validation or compilation. |
| 400 | `InvalidValueMap` | Range end must be greater than range start. Range start may only be undefined if in the first range, or the prior end is defined and less. Range end may only be undefined if in the last range, or the next start is defined and greater. Ranges must be in increasing order. |
| 400 | `MaxQuerySizeExceeded` | The maximum query size was exceeded. |
| 400 | `MemoryLimitExceeded` | The query exceeded the memory limit. Try querying a smaller time range or fewer series. |
| 400 | `MisalignedScatterPoints` | No scatter points could be aligned for plotting. This typically means the input series do not have overlapping timestamps within the configured interpolation window. |
| 400 | `MissingFunctionParameter` | The requested module function could not be executed because a required parameter was not provided. |
| 400 | `MissingModuleApplication` | The requested module application could not be found. This may be because the reference is incorrect or the application is unavailable in the current execution context. |
| 400 | `MissingModuleFunction` | The requested module function could not be found. This may be because the reference is incorrect or the function is unavailable in the current execution context. |
| 400 | `MissingModuleVariable` |  |
| 400 | `MissingVariable` |  |
| 400 | `NonPositiveDuration` | Duration must be strictly positive. |
| 400 | `NonPositiveResampleInterval` | The resample interval must be strictly positive. |
| 400 | `NotEnoughPointsForCurve` | There were not enough points to fit the curve requested. |
| 400 | `OverlappingLiteralRanges` | Ranges cannot overlap. Only the first range when sorted may omit the start, and only the last may omit the end. |
| 400 | `QueryRangeTooLarge` | The requested time range is too large. Try again with a smaller time range. |
| 400 | `RefpropInputTooLarge` | The number of points in the REFPROP inputs is too large. |
| 400 | `RefpropOutputPropertyIsInput` | The output property cannot be one of the input properties for REFPROP. |
| 400 | `RequestCancelled` | The compute request was cancelled by the user. |
| 400 | `RequestedRowsLimitExceeded` | The maximum number of points that can be returned is 10,000. |
| 400 | `ResampleDefaultValueTypeMismatchesSeriesType` | The default value provided for resampling does not match the type of the series being resampled. |
| 400 | `ResolutionIntervalTooSmallForRange` |  |
| 400 | `RowLimitExceeded` | The query exceeded that limit for number of rows returned. For the query to complete, either zoom in or downsample. |
| 400 | `S3ObjectStorageRateLimited` | S3 rejected the request with a TooManyRequests error. Try again with a smaller time range, fewer series, or after a short wait. |
| 400 | `SelectPropertyMissingProperty` | No resolved asset or run branch provides the selected property. |
| 400 | `SelectPropertyWrongType` | A resolved branch has the selected property, but its typed variant differs from the numeric or string type required by the series node. |
| 400 | `SelectSeriesNameConflictsWithChannelFilter` | A SelectSeries node provided both the `name` field and a NOMINAL_CHANNEL tag filter. Use the NOMINAL_CHANNEL filter alone to select channels. |
| 400 | `SelectSeriesResolvedNoChannels` | A channel selection (channel name plus tag filters) resolved to zero dataset channels for the requested scope and time range, so the series has nothing to read. Verify the channel exists in the dataset and that the tag filters match at least one channel over the requested range. |
| 400 | `SelectTagsNotSubset` | Select tags keys must be a subset of the tags available on the input series. |
| 400 | `ServerOverloaded` | The query was rejected because the compute backend is temporarily overloaded. This is a transient, load-shedding response that protects overall availability; the query itself is valid. Callers do not receive this error directly: the read path wraps it in a QoS unavailable response (503), so standard classic REST clients back off and retry automatically. The error type is retained as the 503’s cause for server-side logging and query_log correlation via queryId. |
| 400 | `SignalFilterInvalidCutoffBand` | Lower band cutoff frequency must be less than or equal to upper band cutoff frequency. |
| 400 | `SignalFilterInvalidCutoffFrequency` | Cutoff frequency must be less than half the sampling frequency. |
| 400 | `SignalFilterInvalidOrder` | Order must be positive even numbers for bidirectional filters. Bidirectional filters are applied once forwards and once backwards, effectively doubling order. Doubled again for bandpass/bandstop filters, requiring a multiple of 4 for filter order. |
| 400 | `SignalFilterNonPositiveCutoffFrequency` | Cutoff frequency must be strictly positive. |
| 400 | `SignalFilterNotEnoughData` | Not enough data to apply the filter. Required data scales with filter order. Try again with a larger time range. |
| 400 | `SourceBlocked` | Queries from this source are temporarily blocked. |
| 400 | `SpectrogramUnsupportedInput` | The spectrogram input reads from more than one data source or uses an operation spectrograms do not support. |
| 400 | `TimeoutExceeded` | The query timed out. Try querying a smaller time range or fewer series. |
| 400 | `TooFewInputs` | The operation requires more input series than were provided. |
| 400 | `TooManyBuckets` | The number of buckets returned is greater than the max allowed (1000). Try again by specifying a larger bucket width or fewer bucket counts. |
| 400 | `TooManyCategories` | An enum series has more categories than the max allowed. |
| 400 | `TooManyEvents` | Number of events is greater than the max allowed (1000). |
| 400 | `TooManyFrequencyBins` | The number of one-sided frequency bins exceeds the maximum allowed. Reduce nfft in transform settings to produce fewer bins. |
| 400 | `TooManyLiterals` | Too many literals provided in a literal node. |
| 400 | `TooManyPoints` | The number of points returned is greater than the max allowed. Try again with a smaller time range, or a larger resolution. |
| 400 | `TooManyRanges` | Ranges is greater than the max allowed (2000). |
| 400 | `TooManyResamplePoints` | The resample interval is too short and would produce more than the max points (10,000,000). Try again by specifying a larger interval. |
| 400 | `TooManySearchResults` | Asset or run search returned more matches than a single page allows. Refine the query or raise maxResults for the search frame so all matches fit in one page. |
| 400 | `TooManySubrequests` | Number of parameterized subrequests is greater than the max allowed (300). |
| 400 | `TooManyValueMapRanges` | A value map series contains too many range mappings. |
| 400 | `TruncationNotSupportedForSeriesType` | The requested series type does not support truncation for this compute request. |
| 400 | `UdfExecutionLimitExceeded` | A user-defined function exceeded its per-query execution limit while processing this query. Try querying a smaller time range, increasing the aggregation bucket size to reduce the number of UDF invocations, or simplifying the function’s per-row logic. |
| 400 | `UdfMemoryLimitExceeded` | A user-defined function exceeded its per-invocation memory limit. |
| 400 | `UdfRuntimeError` | A user-defined function panicked or aborted at runtime. |
| 400 | `UnequalInputLength` | The paired inputs for a calculation do not have the same length. |
| 400 | `UnitConversionInvalid` | The unit conversion could not be computed because the input unit cannot be converted to the output unit. |
| 400 | `UnknownBuiltinConstant` |  |
| 400 | `UnsupportedRefpropProperty` | The specified REFPROP property is not supported or not available in the current configuration. |
| 400 | `UnsupportedRefpropSubstance` | The specified REFPROP substance is not supported or not available in the current configuration. |
| 400 | `VariableHasWrongType` |  |
| 403 | `NotAuthorized` |  |
| 500 | `ComputeBackendUnavailable` | The compute backend was temporarily unavailable before the query could be submitted. Retry the request after a short delay. |
| 500 | `ConcurrentQueriesExceeded` | There are too many concurrent queries running. |
| 500 | `UdfNotRegistered` | A native user-defined function was not registered on the when the query executed. This indicates an internal failure rather than invalid user input. |
| 500 | `UnexpectedTimeout` | An unexpected timeout occurred when executing a query. This indicates an internal error where the query may have succeeded but the response did not reach the client. |

Each error’s `errorName` is `ExternalDatabase:` followed by its name below.

| Status | Name | Notes |
| --- | --- | --- |
| 400 | `ExternalDatabaseGatewayTimeout` | A gateway timeout was encountered while trying to fetch data from the external database. |
| 400 | `ExternalDatabaseRateLimitExceeded` | The external database rate limit was exceeded. |
| 500 | `ExternalDatabaseBadGateway` | A bad gateway result was encountered while trying to fetch data from the external database. |
| 500 | `ExternalDatabaseSocketTimeout` | A socket timeout was encountered while trying to fetch data from the external database. |

## Types

### Abs

Computes the absolute value of each point in the series.

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series.

### AbsoluteThreshold

Threshold defined as a real number corresponding the unit of a series.

`value` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   Allowed spread, in the series’ own unit.

### AbsoluteTimestampSeries

Replaces values in a series with the absolute timestamps.

`input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
:   ​

`timeUnit` [`TimeUnit`](https://dev.nominal.io/api/rest/compute-service.md#timeunit) required
:   The time unit used to define the output values. Throws an error if nanosecond or finer.

### Acos

Computes the arccosine of each value, returning radians.

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (values in [-1, 1]).

### Add

Adds two numeric series pointwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Left-hand operand.

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Right-hand operand.

### AfterPersistenceWindow

The first point in the output range will be the first point after the condition has been true for the min duration and min points.

An empty JSON object, `{}`.

### AggregateEnumSeries

Aggregates values with duplicate timestamps in the input series values into a single value using the specified aggregation function.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`function` [`EnumAggregationFunction`](https://dev.nominal.io/api/rest/compute-service.md#enumaggregationfunction) required
:   ​

### AggregateNumericSeries

DEPRECATED. Use a dedicated group-by-and-aggregate nodes instead.

Aggregates values with duplicate timestamps in the input series values into a single value using the specified aggregation function.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`function` [`NumericAggregationFunction`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationfunction) required
:   ​

`groupByTags` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Tags to group by for the aggregation. If left empty, the tags to group by will be equivalent to those in the input series. If specified, the result will be grouped ONLY by the specified tags. The tags specified here MUST be a (non-strict) subset of the input series’s group by tags.

`aggregateByAllGroupings` boolean
:   This field’s purpose is to distinguish between the two flavors of groupByTags being empty. It has no effect when groupByTags is non-empty. When true and groupByTags is empty, aggregate across all series in the input. When false and groupByTags is empty, the result will be grouped by the same tags as the input series.

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   If provided, interpolates values at timestamps where the input series has values before aggregating. If not provided, only aggregates when timestamps match exactly (existing behavior). **Deprecated:** Setting interpolation on this node is deprecated.

### AggregateUnderRangesSeries

Aggregates the input series under the ranges in the provided ranges series, and outputs a new series with one point at the start of each range, where the value is the aggregation result. If a range has no points, no point will be produced for it. If a range has no start, the point produced for it will be at the start of the compute request range.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`ranges` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`operation` [`NumericAggregationFunction`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationfunction) required deprecated
:   **Deprecated:** Use a dedicated group-by-and-aggregate node instead (coming in a follow-up PR). This field is retained as required for backwards compatibility with existing callers.

### AggregationBuilder

Set `type` to the name of one of the other fields, and set only that field.

`rollingTime` [`RollingTimeAggregationBuilder`](https://dev.nominal.io/api/rest/compute-service.md#rollingtimeaggregationbuilder)
:   ​

`rollingPoints` [`RollingPointsAggregationBuilder`](https://dev.nominal.io/api/rest/compute-service.md#rollingpointsaggregationbuilder)
:   ​

`groupBy` [`GroupByAggregationBuilder`](https://dev.nominal.io/api/rest/compute-service.md#groupbyaggregationbuilder)
:   ​

### Alignment

Specifies how to set the timestamp grid for multi-input operations.

Set `type` to the name of one of the other fields, and set only that field.

`driverSeries` [`DriverSeries`](https://dev.nominal.io/api/rest/compute-service.md#driverseries)
:   ​

`union` [`Union`](https://dev.nominal.io/api/rest/compute-service.md#union)
:   ​

### AlignmentConfiguration

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) required
:   The interpolation rules to use when aligning the non-driver series.

`driverSeries` [`AlignmentDriverSeries`](https://dev.nominal.io/api/rest/compute-service.md#alignmentdriverseries) required
:   The series whose timestamps drive alignment.

### AlignmentDriverSeries

`FIRST`
:   ​

`SECOND`
:   ​

### AllowNegativeValues

An empty JSON object, `{}`.

### AnchorAlignedDataset

Aligns each anchored portion of the input dataset onto a common anchor timestamp while preserving grouping tags. Without a `reference` the selected anchor becomes timestamp zero, so the output is in a relative time domain; with a `reference` the anchors are aligned onto the referenced portion’s anchor and the output stays in the input’s absolute time domain. Currently run boundary, event, and range anchors are supported, and every storage-backed leaf of the input must resolve to run-backed branches.

`input` [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset) required
:   The dataset to align.

`anchor` [`DatasetAnchor`](https://dev.nominal.io/api/rest/compute-service.md#datasetanchor) required
:   Selects the timestamp each anchored portion of the input is aligned by.

`reference` [`AnchorReference`](https://dev.nominal.io/api/rest/compute-service.md#anchorreference)
:   When present, each anchor is aligned onto the referenced anchor timestamp instead of onto timestamp zero, so output remains in the input’s absolute time domain and the referenced portion is unshifted. When absent, the selected anchor becomes timestamp zero.

### AnchorReference

Selects the anchor timestamp every other anchor is aligned onto.

Set `type` to the name of one of the other fields, and set only that field.

`earliestAnchor` [`EarliestAnchorReference`](https://dev.nominal.io/api/rest/compute-service.md#earliestanchorreference)
:   Aligns every anchor onto the earliest anchor resolved from the input, so the earliest-anchored run is unshifted and every other run shifts backwards onto it.

### AndSeries

Combines two boolean series point-wise using logical AND, producing true where both inputs are true and false otherwise.

`left` [`BooleanSeries`](https://dev.nominal.io/api/rest/compute-service.md#booleanseries) required
:   ​

`right` [`BooleanSeries`](https://dev.nominal.io/api/rest/compute-service.md#booleanseries) required
:   ​

### ApproximateThresholdOperator

`EQUAL_TO`
:   ​

`NOT_EQUAL_TO`
:   ​

### ApproximateThresholdRanges

Produces a list of ranges for which the threshold condition is satisfied.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`threshold` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`tolerance` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`operator` [`ApproximateThresholdOperator`](https://dev.nominal.io/api/rest/compute-service.md#approximatethresholdoperator) required
:   ​

`persistenceWindowConfiguration` [`PersistenceWindowConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#persistencewindowconfiguration)
:   ​

### ArithmeticSeries

`inputs` map of `LocalVariableName` to [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   ​

`expression` string required
:   ​

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### ArraySeries

Set `type` to the name of one of the other fields, and set only that field.

`numeric1d` [`Numeric1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darrayseries)
:   ​

`enum1d` [`Enum1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darrayseries)
:   ​

### ArrowArrayPlot

Set `type` to the name of one of the other fields, and set only that field.

`bucketedNumeric` [`BucketedNumericArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericarrayplot)
:   ​

`bucketedEnum` [`BucketedEnumArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumarrayplot)
:   ​

### ArrowPlot

A generic Arrow IPC plot response. Used for all Arrow-serialized plot types (numeric, bucketed numeric, enum, bucketed enum, struct, bucketed struct, full resolution, and bucketed multivariate).

`arrowBinary` string (base64) required
:   The raw binary containing an Arrow IPC stream.

`groupByKeys` array of string
:   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

`nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
:   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

### Asin

Computes the arcsine of each value, returning radians.

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (values in [-1, 1]).

### Asset

Asset reference for `Dataset.asset`. The `rid` field accepts either a literal asset RID or a `StringConstant` reference resolved from `Context`.

`rid` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Resource identifier of an asset

### AssetChannel

`assetRid` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`dataScopeName` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Used to disambiguate when multiple data scopes within this asset contain channels with the same name.

`channel` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`additionalTags` map of string to [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) deprecated
:   **Deprecated:** Use additionalTagFilters

`additionalTagFilters` [`TagFilters`](https://dev.nominal.io/api/rest/compute-service.md#tagfilters)
:   Tags to filter the channel by, in addition to tag filters defined for a given Asset data scope. Throws on collisions with tag keys already defined for the given Asset data scope. Only returns points that match both sets of tag filters. For log series, include arg filters here in addition to tag filters.

`tagsToGroupBy` array of string deprecated
:   **Deprecated:** Use groupByTags instead. Throws if both tagsToGroupBy and groupByTags are specified.

`groupByTags` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Tags that the channel should be grouped by. If this is non-empty a grouped result will be returned with an entry for each grouping. Only one of tagsToGroupBy and groupByTags should be specified.

### AssetsSearchTarget

Search assets. Each match expands to one grouping per data scope on that asset.

`query` [`ResourceSearchQuery`](https://dev.nominal.io/api/rest/compute-service.md#resourcesearchquery) required
:   Predicate tree used to filter matching assets.

### Atan2

Computes the two-argument arctangent atan2(y, x) using signs to determine the quadrant.

`y` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Y-coordinate series.

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   X-coordinate series.

### Average

A average that gives the same weight to each observation inside the time window

An empty JSON object, `{}`.

### BandPassConfiguration

`lowPassbandFrequency` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`highPassbandFrequency` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

### BandStopConfiguration

`lowStopbandFrequency` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`highStopbandFrequency` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

### BinaryArithmeticOperation

`ATAN2`
:   Calculates the angle measure between the x-axis and a ray from the origin to a point (input2, input1) in radians. Note the order of arguments.

### BinaryArithmeticSeries

Applies a point-wise transformation to a pair of series.

`input1` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`input2` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`operation` [`BinaryArithmeticOperation`](https://dev.nominal.io/api/rest/compute-service.md#binaryarithmeticoperation) required
:   ​

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### BitAnd

Applies a bitwise AND between each value (cast to int64) and the operand.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (values cast to int64).

`operand` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The value to AND with each point.

### BitAndFunction

`operand` integer (int64) required
:   ​

### BitOperationFunction

Set `type` to the name of one of the other fields, and set only that field.

`and` [`BitAndFunction`](https://dev.nominal.io/api/rest/compute-service.md#bitandfunction)
:   ​

`or` [`BitOrFunction`](https://dev.nominal.io/api/rest/compute-service.md#bitorfunction)
:   ​

`xor` [`BitXorFunction`](https://dev.nominal.io/api/rest/compute-service.md#bitxorfunction)
:   ​

`shiftRight` [`BitShiftRightFunction`](https://dev.nominal.io/api/rest/compute-service.md#bitshiftrightfunction)
:   ​

`shiftLeft` [`BitShiftLeftFunction`](https://dev.nominal.io/api/rest/compute-service.md#bitshiftleftfunction)
:   ​

`bitTest` [`BitTestFunction`](https://dev.nominal.io/api/rest/compute-service.md#bittestfunction)
:   ​

### BitOperationSeries

Casts input series values to long before applying the bitwise operation.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`function` [`BitOperationFunction`](https://dev.nominal.io/api/rest/compute-service.md#bitoperationfunction) required
:   ​

### BitOr

Applies a bitwise OR between each value (cast to int64) and the operand.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (values cast to int64).

`operand` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The value to OR with each point.

### BitOrFunction

`operand` integer (int64) required
:   ​

### BitShiftLeft

Left-shifts the bits in each value (cast to int64) by the given number of positions.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (values cast to int64).

`operand` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   Number of positions to shift left.

### BitShiftLeftFunction

Shifts the bits in each value left according to the given operand.

`operand` integer required
:   ​

### BitShiftRight

Right-shifts the bits in each value (cast to int64) by the given number of positions.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (values cast to int64).

`operand` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   Number of positions to shift right.

### BitShiftRightFunction

Right shifts the bits in each value right according to the given operand.

`operand` integer required
:   ​

### BitTest

Returns the bit at the specified index for each value (cast to int64), where index 0 is the least significant bit.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (values cast to int64).

`index` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   Zero-based bit index, where 0 is the least significant bit.

### BitTestFunction

Returns the bit at the specified index, where the right-most bit has index 0.

`index` integer required
:   ​

### BitXor

Applies a bitwise XOR between each value (cast to int64) and the operand.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (values cast to int64).

`operand` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The value to XOR with each point.

### BitXorFunction

`operand` integer (int64) required
:   ​

### Bode

Returns the bode magnitude and phase of a system’s frequency response.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`output` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`alignmentConfiguration` [`AlignmentConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#alignmentconfiguration)
:   When present, aligns one Bode input to the other using the configured interpolation and driver series before estimating the frequency response. When absent, Bode preserves the existing strict behavior and requires the input and output value arrays to have equal length. For Bode, FIRST uses the input timestamps and SECOND uses the output timestamps.

`stftOptions` [`StftOptions`](https://dev.nominal.io/api/rest/compute-service.md#stftoptions)
:   ​

`magnitudeScaling` [`MagnitudeScaling`](https://dev.nominal.io/api/rest/compute-service.md#magnitudescaling)
:   The scaling to apply to the output magnitude. Defaults to MAGNITUDE_DB_20 if not specified.

`outputFrequencyType` [`OutputFrequencyType`](https://dev.nominal.io/api/rest/compute-service.md#outputfrequencytype)
:   The type of the output frequency. Defaults to LINEAR if not specified.

`unwrapPhase` boolean
:   Unwrap the phase of the output. Defaults to true if not specified.

### BooleanRanges

Produces ranges spanning the regions where a boolean input is true.

The condition is evaluated point-wise at each aligned timestamp; the numeric series it compares are aligned against each other the same way arithmetic between them would be.

`input` [`BooleanSeries`](https://dev.nominal.io/api/rest/compute-service.md#booleanseries) required
:   The condition whose true regions become ranges.

`minPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   Minimum number of matching points. Defaults to 1.

`minDuration` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration)
:   Minimum matching duration. Defaults to one nanosecond.

`rangeStart` [`RangeStart`](https://dev.nominal.io/api/rest/compute-service.md#rangestart)
:   Selects whether the output begins at the first match or after persistence is satisfied.

### BooleanSeries

Set `type` to the name of one of the other fields, and set only that field.

`greaterThan` [`GreaterThanSeries`](https://dev.nominal.io/api/rest/compute-service.md#greaterthanseries)
:   ​

`lessThan` [`LessThanSeries`](https://dev.nominal.io/api/rest/compute-service.md#lessthanseries)
:   ​

`equalTo` [`EqualToSeries`](https://dev.nominal.io/api/rest/compute-service.md#equaltoseries)
:   ​

`notEqualTo` [`NotEqualToSeries`](https://dev.nominal.io/api/rest/compute-service.md#notequaltoseries)
:   ​

`greaterThanOrEqualTo` [`GreaterThanOrEqualToSeries`](https://dev.nominal.io/api/rest/compute-service.md#greaterthanorequaltoseries)
:   ​

`lessThanOrEqualTo` [`LessThanOrEqualToSeries`](https://dev.nominal.io/api/rest/compute-service.md#lessthanorequaltoseries)
:   ​

`and` [`AndSeries`](https://dev.nominal.io/api/rest/compute-service.md#andseries)
:   ​

`or` [`OrSeries`](https://dev.nominal.io/api/rest/compute-service.md#orseries)
:   ​

### BucketedCartesian3dPlot

`buckets` array of [`Cartesian3dBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbucket)
:   ​

### BucketedCartesianPlot

`buckets` array of [`CartesianBucket`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbucket)
:   ​

### BucketedEnumArrayPlot

The array is flattened out into a an arrow stream of bucketed primitive results, with an extra column to indicate the index of the array that the bucket corresponds to.

`arrowBinary` string (base64) required
:   The raw binary containing Arrow IPC stream for a bucketed N-dimensional enum array plot.

`groupByKeys` array of string
:   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

### BucketedEnumPlot

`timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   The end of the bucket, exclusive.

`buckets` array of [`EnumBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumbucket)
:   ​

`categories` array of string
:   ​

### BucketedFrequencyDomainPlot

A bucketed/decimated frequency domain plot where multiple frequency bins have been aggregated.

`buckets` array of [`FrequencyBucket`](https://dev.nominal.io/api/rest/compute-service.md#frequencybucket)
:   ​

### BucketedMultivariatePlot

`buckets` array of [`MultivariateBucket`](https://dev.nominal.io/api/rest/compute-service.md#multivariatebucket)
:   ​

`groupByKeys` array of string
:   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

### BucketedNumericArrayPlot

The array is flattened out into a an arrow stream of bucketed primitive results, with an extra column to indicate the index of the array that the bucket corresponds to.

`arrowBinary` string (base64) required
:   The raw binary containing Arrow IPC stream for a bucketed N-dimensional numeric array plot.

`groupByKeys` array of string
:   This field specifies the tags that the final output is grouped by. When you combine multiple channels, this list represents the superset of all group by keys used across every individual channel.

### BucketedNumericPlot

`timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   The end of the bucket, exclusive.

`buckets` array of [`NumericBucket`](https://dev.nominal.io/api/rest/compute-service.md#numericbucket)
:   ​

### BuiltinConstant

A system-defined constant referenceable by name. The server resolves the symbol to its numeric value during query resolution.

Set `type` to the name of one of the other fields, and set only that field.

`math` [`MathConstant`](https://dev.nominal.io/api/rest/compute-service.md#mathconstant)
:   ​

`physical` [`PhysicalConstant`](https://dev.nominal.io/api/rest/compute-service.md#physicalconstant)
:   ​

### BuiltInCurveFit

A closed-form curve fit (exponential, logarithmic, or power) of the enclosing target (`y`) against the chosen independent variable (`x`): either sample time (a `time` variable) or another series (a `numeric` variable).

`independentVariable` [`CurveFitVariable`](https://dev.nominal.io/api/rest/compute-service.md#curvefitvariable) required
:   The `x` axis the target is fit against — either relative sample time or another series.

### Cartesian

Set `type` to the name of one of the other fields, and set only that field.

`scatter` [`Scatter`](https://dev.nominal.io/api/rest/compute-service.md#scatter)
:   ​

### Cartesian3d

Set `type` to the name of one of the other fields, and set only that field.

`scatter3d` [`Scatter3d`](https://dev.nominal.io/api/rest/compute-service.md#scatter3d)
:   ​

### Cartesian3dBounds

Min/max bounds of an XYZ Cartesian plot, inclusive.

`minX` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`maxX` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`minY` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`maxY` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`minZ` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`maxZ` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

### Cartesian3dBucket

`minX` number deprecated
:   **Deprecated:** Switching to point-based min/maxes

`maxX` number deprecated
:   **Deprecated:** Switching to point-based min/maxes

`meanX` number required
:   ​

`minY` number deprecated
:   **Deprecated:** Switching to point-based min/maxes

`maxY` number deprecated
:   **Deprecated:** Switching to point-based min/maxes

`meanY` number required
:   ​

`minZ` number deprecated
:   **Deprecated:** Switching to point-based min/maxes

`maxZ` number deprecated
:   **Deprecated:** Switching to point-based min/maxes

`meanZ` number required
:   ​

`minXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d) required
:   ​

`maxXPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d) required
:   ​

`minYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d) required
:   ​

`maxYPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d) required
:   ​

`minZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d) required
:   ​

`maxZPoint` [`Point3d`](https://dev.nominal.io/api/rest/compute-service.md#point3d) required
:   ​

`minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`count` integer (int64) required
:   ​

### Cartesian3dUnitResult

`x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult) required
:   ​

`y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult) required
:   ​

`z` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult) required
:   ​

### CartesianBounds

Min/max bounds of an XY Cartesian plot, inclusive.

`minX` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`maxX` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`minY` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`maxY` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

### CartesianBucket

`minX` number required
:   ​

`maxX` number required
:   ​

`minY` number required
:   ​

`maxY` number required
:   ​

`minTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`maxTimestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`count` integer (int64) required
:   ​

### CartesianPlot

`timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   ​

`xValues` array of number
:   ​

`yValues` array of number
:   ​

### CartesianUnitResult

`x` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult) required
:   ​

`y` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult) required
:   ​

### CategoricalEqualityRangesV2

Produces ranges where all categorical inputs are equal or are not all equal.

`inputs` array of [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries)
:   The series compared against each other. At least two are required.

`minPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   Minimum number of matching points. Defaults to 1.

`minDuration` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration)
:   Minimum matching duration. Defaults to one nanosecond.

`rangeStart` [`RangeStart`](https://dev.nominal.io/api/rest/compute-service.md#rangestart)
:   Selects whether the output begins at the first match or after persistence is satisfied.

`equalityOperator` [`EqualityOperator`](https://dev.nominal.io/api/rest/compute-service.md#equalityoperator) required
:   ​

### CategoricalOnChangeRangesV2

Produces a zero-duration range whenever a categorical input changes value.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

### CategoricalStaleRangesV2

Produces ranges where a categorical input has no data for at least a duration.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`threshold` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Minimum gap without data that produces an output range.

### CategoryFilterRangesV2

Produces ranges where a categorical input matches a set of values.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`values` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Category labels matched against each input point.

`minPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   Minimum number of matching points. Defaults to 1.

`minDuration` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration)
:   Minimum matching duration. Defaults to one nanosecond.

`rangeStart` [`RangeStart`](https://dev.nominal.io/api/rest/compute-service.md#rangestart)
:   Selects whether the output begins at the first match or after persistence is satisfied.

`operator` [`EnumFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#enumfilteroperator) required
:   ​

### ChannelSeries

Deprecated: prefer SelectSeries-based nodes with an explicit dataset (or `VariableValue.series` when binding a series to a variable), which select from an arbitrary dataset and let the consuming node decide the series type.

Set `type` to the name of one of the other fields, and set only that field.

`dataSource` [`DataSourceChannel`](https://dev.nominal.io/api/rest/compute-service.md#datasourcechannel)
:   ​

`asset` [`AssetChannel`](https://dev.nominal.io/api/rest/compute-service.md#assetchannel)
:   ​

`run` [`RunChannel`](https://dev.nominal.io/api/rest/compute-service.md#runchannel)
:   ​

### CombinedDataset

Combines multiple datasets into a single dataset by taking the union of all points from each input (akin to SQL {@code UNION ALL}). Duplicate timestamps are preserved rather than merged; callers that need aggregation should wrap the selected series downstream.

`inputs` array of [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
:   The datasets to combine.

### CombineStructSeries

Combines named input series into one struct-valued series. Each map key becomes a field name in the resulting struct; a downstream UDF receives the struct as a JSON object keyed by these names and parses it itself. Alignment uses the interpolation configuration before producing row-aligned values.

`inputs` map of string to [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
:   Input series keyed by struct field name.

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Optional interpolation rules used when aligning input series before combining them. **Deprecated:** Setting interpolation on this node is deprecated.

### CompactEnumPoint

`timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`value` integer required
:   ​

### ComputableNode

Set `type` to the name of one of the other fields, and set only that field.

`ranges` [`SummarizeRanges`](https://dev.nominal.io/api/rest/compute-service.md#summarizeranges)
:   ​

`series` [`SummarizeSeries`](https://dev.nominal.io/api/rest/compute-service.md#summarizeseries)
:   ​

`value` [`SelectValue`](https://dev.nominal.io/api/rest/compute-service.md#selectvalue)
:   ​

`cartesian` [`SummarizeCartesian`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian)
:   ​

`cartesian3d` [`SummarizeCartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#summarizecartesian3d)
:   ​

`frequency` [`FrequencyDomain`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomain)
:   ​

`frequencyV2` [`FrequencyDomainV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainv2)
:   ​

`spectrogram` [`Spectrogram`](https://dev.nominal.io/api/rest/compute-service.md#spectrogram)
:   ​

`histogram` [`Histogram`](https://dev.nominal.io/api/rest/compute-service.md#histogram)
:   ​

`curveV2` [`CurveFitV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2)
:   ​

`curve` [`CurveFit`](https://dev.nominal.io/api/rest/compute-service.md#curvefit)
:   ​

`multivariate` [`SummarizeMultivariate`](https://dev.nominal.io/api/rest/compute-service.md#summarizemultivariate)
:   ​

### compute.api.Duration

A length of time. Can be constructed from literal values in various units or composed via arithmetic. Used for window sizes, time shifts, persistence thresholds, and resampling intervals.

Set `type` to the name of one of the other fields, and set only that field.

`reference` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

`nanoseconds` [`DurationNanoseconds`](https://dev.nominal.io/api/rest/compute-service.md#durationnanoseconds)
:   ​

`milliseconds` [`DurationMilliseconds`](https://dev.nominal.io/api/rest/compute-service.md#durationmilliseconds)
:   ​

`seconds` [`DurationSeconds`](https://dev.nominal.io/api/rest/compute-service.md#durationseconds)
:   ​

`minutes` [`DurationMinutes`](https://dev.nominal.io/api/rest/compute-service.md#durationminutes)
:   ​

`hours` [`DurationHours`](https://dev.nominal.io/api/rest/compute-service.md#durationhours)
:   ​

`days` [`DurationDays`](https://dev.nominal.io/api/rest/compute-service.md#durationdays)
:   ​

`add` [`DurationAdd`](https://dev.nominal.io/api/rest/compute-service.md#durationadd)
:   ​

`subtract` [`DurationSubtract`](https://dev.nominal.io/api/rest/compute-service.md#durationsubtract)
:   ​

`negate` [`DurationNegate`](https://dev.nominal.io/api/rest/compute-service.md#durationnegate)
:   ​

### ComputeEventQuery

Set `type` to the name of one of the other fields, and set only that field.

`searchText` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`after` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant)
:   Filters to events after this timestamp, exclusive. This includes events that start before, but end after this time.

`before` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant)
:   Filters to events before this timestamp, exclusive. This includes events that start before, but end after this time.

`advancedTimeFilter` [`EventTimeFilter`](https://dev.nominal.io/api/rest/compute-service.md#eventtimefilter)
:   ​

`asset` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`template` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`workbook` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`dataReview` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`originType` [`SearchEventOriginType`](https://dev.nominal.io/api/rest/compute-service.md#searcheventorigintype)
:   ​

`dataReviewCheck` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`dispositionStatus` [`EventDispositionStatus`](https://dev.nominal.io/api/rest/compute-service.md#eventdispositionstatus)
:   ​

`priority` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`assignee` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`eventType` [`EventType`](https://dev.nominal.io/api/rest/compute-service.md#eventtype)
:   ​

`createdBy` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`label` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`property` [`Property`](https://dev.nominal.io/api/rest/compute-service.md#property)
:   ​

`and` array of [`ComputeEventQuery`](https://dev.nominal.io/api/rest/compute-service.md#computeeventquery)
:   ​

`or` array of [`ComputeEventQuery`](https://dev.nominal.io/api/rest/compute-service.md#computeeventquery)
:   ​

`not` [`ComputeEventQuery`](https://dev.nominal.io/api/rest/compute-service.md#computeeventquery)
:   ​

`workspace` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`procedure` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`procedureExecution` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`stepId` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

### ComputeNode

Set `type` to the name of one of the other fields, and set only that field.

`enum` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries)
:   ​

`numeric` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   ​

`log` [`LogSeries`](https://dev.nominal.io/api/rest/compute-service.md#logseries)
:   ​

`ranges` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
:   ​

`array` [`ArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#arrayseries)
:   ​

`struct` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries)
:   ​

`curveFit` [`CurveFit`](https://dev.nominal.io/api/rest/compute-service.md#curvefit)
:   Deprecated: use `curveV2` (CurveFitV2) instead.

`curveV2` [`CurveFitV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2)
:   ​

`video` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

`raw` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference) deprecated
:   **Deprecated:** wrap raw references in a typed compute node.

### ComputeNodeRequest

`node` [`ComputableNode`](https://dev.nominal.io/api/rest/compute-service.md#computablenode) required
:   ​

`start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   The start of the time range (inclusive).

`end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   The end of the time range (inclusive).

`context` [`Context`](https://dev.nominal.io/api/rest/compute-service.md#context) required
:   ​

`sourceRid` string (RID)
:   Optional RID identifying the resource that initiated this query (e.g. workbook/notebook RID, checklist RID, dataset RID). Used for observability only — trusted as-is, no permission checks are performed on this value.

`requestId` string (UUID)
:   Optional UUID to provide as a handle to selectively cancel the execution of this compute request.

### ComputeNodeResponse

Set `type` to the name of one of the other fields, and set only that field.

`range` array of [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
:   ​

`rangesSummary` [`RangesSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangessummary)
:   ​

`rangeValue` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
:   ​

`numeric` [`NumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#numericplot)
:   ​

`bucketedNumeric` [`BucketedNumericPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketednumericplot)
:   ​

`numericPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
:   ​

`singlePoint` [`SinglePoint`](https://dev.nominal.io/api/rest/compute-service.md#singlepoint)
:   ​

`arrowNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

`arrowBucketedNumeric` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

`enum` [`EnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumplot)
:   ​

`enumPoint` [`EnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#enumpoint)
:   ​

`bucketedEnum` [`BucketedEnumPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedenumplot)
:   ​

`arrowEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

`arrowBucketedEnum` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

`pagedLog` [`PagedLogPlot`](https://dev.nominal.io/api/rest/compute-service.md#pagedlogplot)
:   ​

`logPoint` [`LogPoint`](https://dev.nominal.io/api/rest/compute-service.md#logpoint)
:   ​

`arrowLog` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

`cartesian` [`CartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#cartesianplot)
:   ​

`bucketedCartesian` [`BucketedCartesianPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesianplot)
:   ​

`bucketedCartesian3d` [`BucketedCartesian3dPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedcartesian3dplot)
:   ​

`frequencyDomain` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
:   ​

`frequencyDomainV2` [`FrequencyDomainPlotV2`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotv2)
:   ​

`spectrogram` [`SpectrogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramplot)
:   ​

`bucketedFrequencyDomain` [`BucketedFrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedfrequencydomainplot)
:   ​

`numericHistogram` [`NumericHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramplot)
:   ​

`enumHistogram` [`EnumHistogramPlot`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramplot)
:   ​

`curveFit` [`CurveFitResult`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresult)
:   Deprecated: use `curveFitV2` (CurveFitResultV2) instead. Returned only for deprecated CurveFit requests.

`curveFitV2` [`CurveFitResultV2`](https://dev.nominal.io/api/rest/compute-service.md#curvefitresultv2)
:   ​

`grouped` [`GroupedComputeNodeResponses`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponses)
:   ​

`array` [`ArrowArrayPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowarrayplot)
:   ​

`bucketedStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

`arrowStruct` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

`fullResolution` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

`arrowBucketedMultivariate` [`ArrowPlot`](https://dev.nominal.io/api/rest/compute-service.md#arrowplot)
:   ​

`multivariate` [`BucketedMultivariatePlot`](https://dev.nominal.io/api/rest/compute-service.md#bucketedmultivariateplot)
:   ​

### ComputeNodeResult

Set `type` to the name of one of the other fields, and set only that field.

`success` [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse)
:   ​

`error` [`ErrorResult`](https://dev.nominal.io/api/rest/compute-service.md#errorresult)
:   ​

### ComputeNodeWithContext

`seriesNode` [`ComputeNode`](https://dev.nominal.io/api/rest/compute-service.md#computenode) required
:   ​

`context` [`Context`](https://dev.nominal.io/api/rest/compute-service.md#context) required
:   ​

### ComputeUnitResult

Set `type` to the name of one of the other fields, and set only that field.

`single` [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
:   ​

`cartesian` [`CartesianUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesianunitresult)
:   ​

`cartesian3d` [`Cartesian3dUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dunitresult)
:   ​

`multivariate` [`MultivariateUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#multivariateunitresult)
:   ​

### ComputeUnitsRequest

`node` [`ComputableNode`](https://dev.nominal.io/api/rest/compute-service.md#computablenode) required
:   ​

`context` [`Context`](https://dev.nominal.io/api/rest/compute-service.md#context) required
:   ​

### ComputeWithUnitsResult

`computeResult` [`ComputeNodeResult`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesult) required
:   ​

`unitResult` [`ComputeUnitResult`](https://dev.nominal.io/api/rest/compute-service.md#computeunitresult) required
:   ​

### ConstantNumericSeries

A synthetic series that produces a constant value across the entire time range.

Set `type` to the name of one of the other fields, and set only that field.

`double` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Create from a floating-point constant.

### ContainsSeries

Maps each log line to 1.0 when `operator` matches it and 0.0 otherwise.

`input` [`LogSeries`](https://dev.nominal.io/api/rest/compute-service.md#logseries) required
:   ​

`operator` [`LogFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#logfilteroperator) required
:   ​

### Context

`variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
:   ​

`functionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables) deprecated
:   **Deprecated:** This field is deprecated and will be removed in a future version.

`datasetReferences` map of `DatasetReferenceName` to [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
:   Named datasets looked up by `DatasetReference` nodes in the compute tree.

`defaultFillStrategy` [`FillStrategy`](https://dev.nominal.io/api/rest/compute-service.md#fillstrategy)
:   Default fill strategy applied at every multi-input alignment boundary where no per-node interpolationConfiguration is specified. When absent, falls back to the server-configured default (forward fill with a 1 second fill limit).

`defaultAlignmentStrategy` [`Alignment`](https://dev.nominal.io/api/rest/compute-service.md#alignment)
:   Default alignment strategy applied at every multi-input alignment boundary where no per-node alignment strategy is specified. When absent, falls back to the server default (driver-series alignment).

`applyDataScopeOffsets` boolean
:   When true, dataset resolution applies each data scope’s persisted offset as a time shift, and the client must not pre-apply those offsets itself. When absent or false, scope offsets are left to the client, preserving behavior for legacy clients that inject equivalent timeShift nodes into the compute request. Read from the context in scope at resolution time.

`resolveAssetsThroughDatasets` boolean
:   When true, `Dataset.asset`, the asset-typed sources of `Dataset.run`, and asset or run search expand through each asset’s mirrored derived dataset instead of its data scopes. Branches then carry the dataset’s declared channel-search split tag keys in place of the reserved `DATA_SCOPE` tag, so callers must filter and group on those keys; the definition’s own time shifts apply regardless of `applyDataScopeOffsets`; and an asset with no mirrored dataset resolves to no data. When absent or false, assets expand from their data scopes as before.

### Cos

Computes the trigonometric cosine of each value (input in radians).

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (radians).

### Count

The number of points inside the time window.

An empty JSON object, `{}`.

### Cpsd

Returns the cross-spectral density magnitude and phase of the two input series.

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`y` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`stftOptions` [`StftOptions`](https://dev.nominal.io/api/rest/compute-service.md#stftoptions)
:   ​

`magnitudeScaling` [`MagnitudeScaling`](https://dev.nominal.io/api/rest/compute-service.md#magnitudescaling)
:   The scaling to apply to the output magnitude. Defaults to MAGNITUDE_DB_10 if not specified.

`outputFrequencyType` [`OutputFrequencyType`](https://dev.nominal.io/api/rest/compute-service.md#outputfrequencytype)
:   The type of the output frequency. Defaults to LINEAR if not specified. Changing the output frequency type may also rescale the magnitude of the output in order to ensure the density of the output is consistent.

`unwrapPhase` boolean
:   Unwrap the phase of the output. Defaults to true if not specified.

`outputPhaseUnit` [`OutputPhaseUnit`](https://dev.nominal.io/api/rest/compute-service.md#outputphaseunit)
:   The unit of the output phase. Defaults to RADIANS if not specified.

### CumulativeSumSeries

Calculates the running total of the series values.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`startTimestamp` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant) required
:   ​

### CurveFit

Deprecated: use CurveFitV2 instead.

`curveFitPlotType` [`CurveFitPlotType`](https://dev.nominal.io/api/rest/compute-service.md#curvefitplottype) required
:   ​

`curveFitDetails` [`CurveFitDetails`](https://dev.nominal.io/api/rest/compute-service.md#curvefitdetails) required
:   ​

`curveFitOptions` [`CurveFitOptions`](https://dev.nominal.io/api/rest/compute-service.md#curvefitoptions) required
:   ​

### CurveFitBoundsConfiguration

`min` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   ​

`max` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   ​

### CurveFitDetails

Set `type` to the name of one of the other fields, and set only that field.

`exponential` [`ExponentialCurve`](https://dev.nominal.io/api/rest/compute-service.md#exponentialcurve)
:   ​

`logarithmic` [`LogarithmicCurve`](https://dev.nominal.io/api/rest/compute-service.md#logarithmiccurve)
:   ​

`polynomial` [`PolynomialCurve`](https://dev.nominal.io/api/rest/compute-service.md#polynomialcurve)
:   ​

`power` [`PowerCurve`](https://dev.nominal.io/api/rest/compute-service.md#powercurve)
:   ​

### CurveFitOptions

`startTime` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant) required
:   ​

`endTime` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant) required
:   ​

### CurveFitPlotType

Set `type` to the name of one of the other fields, and set only that field.

`timeSeries` [`TimeSeriesCurveFit`](https://dev.nominal.io/api/rest/compute-service.md#timeseriescurvefit)
:   ​

`scatter` [`ScatterCurveFit`](https://dev.nominal.io/api/rest/compute-service.md#scattercurvefit)
:   ​

### CurveFitRange

`startTime` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant) required
:   ​

`endTime` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant) required
:   ​

### CurveFitResult

`r2` number required
:   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

`mae` number required
:   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

`mse` number required
:   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

`rmse` number required
:   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

`maxAbsoluteError` number required
:   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

`sampleCount` integer required
:   The number of data points used in the curve fitting calculation.

`curveResultDetails` [`CurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetails) required
:   Description of the fit curve.

### CurveFitResultV2

`r2` number required
:   R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).

`mae` number required
:   Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.

`mse` number required
:   Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.

`rmse` number required
:   Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.

`maxAbsoluteError` number required
:   Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.

`sampleCount` integer required
:   The number of data points used in the curve fitting calculation.

`curveResultDetails` [`CurveResultDetailsV2`](https://dev.nominal.io/api/rest/compute-service.md#curveresultdetailsv2) required
:   Description of the fit curve.

### CurveFitSeriesVariable

`series` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`boundsConfig` [`CurveFitBoundsConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#curvefitboundsconfiguration)
:   Optional inclusive bounds selecting which variable samples are fit. Samples outside the bounds are excluded.

### CurveFitTarget

The series a curve is fit against (the `y` of the fit). Modeled as a union so additional target types can be added in the future; today the only arm is a numeric series.

Set `type` to the name of one of the other fields, and set only that field.

`numeric` [`CurveFitSeriesVariable`](https://dev.nominal.io/api/rest/compute-service.md#curvefitseriesvariable)
:   ​

### CurveFitTimeVariable

`timeUnit` [`TimeUnit`](https://dev.nominal.io/api/rest/compute-service.md#timeunit)
:   The unit of the time variable in the formula expression. If not specified, the time unit is assumed to be seconds.

### CurveFitV2

`target` [`CurveFitTarget`](https://dev.nominal.io/api/rest/compute-service.md#curvefittarget) required
:   Target to fit the equation against.

`fitRange` [`CurveFitRange`](https://dev.nominal.io/api/rest/compute-service.md#curvefitrange) required
:   The range to fit the curve over

`curveToFit` [`CurveFitV2Details`](https://dev.nominal.io/api/rest/compute-service.md#curvefitv2details) required
:   The curve type to fit against the target series.

### CurveFitV2Details

Set `type` to the name of one of the other fields, and set only that field.

`exponential` [`BuiltInCurveFit`](https://dev.nominal.io/api/rest/compute-service.md#builtincurvefit)
:   ​

`logarithmic` [`BuiltInCurveFit`](https://dev.nominal.io/api/rest/compute-service.md#builtincurvefit)
:   ​

`polynomial` [`PolynomialCurveFit`](https://dev.nominal.io/api/rest/compute-service.md#polynomialcurvefit)
:   ​

`power` [`BuiltInCurveFit`](https://dev.nominal.io/api/rest/compute-service.md#builtincurvefit)
:   ​

`custom` [`CustomCurveFit`](https://dev.nominal.io/api/rest/compute-service.md#customcurvefit)
:   ​

### CurveFitVariable

A series a curve fit reads from: another numeric series, or the target’s own sample timestamps. Used both as the named formula inputs of a custom fit and as the independent (`x`) axis of a built-in fit.

Set `type` to the name of one of the other fields, and set only that field.

`numeric` [`CurveFitSeriesVariable`](https://dev.nominal.io/api/rest/compute-service.md#curvefitseriesvariable)
:   ​

`time` [`CurveFitTimeVariable`](https://dev.nominal.io/api/rest/compute-service.md#curvefittimevariable)
:   ​

### CurveResultDetails

Set `type` to the name of one of the other fields, and set only that field.

`exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
:   ​

`logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
:   ​

`polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
:   ​

`power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
:   ​

### CurveResultDetailsV2

Set `type` to the name of one of the other fields, and set only that field.

`exponential` [`ExponentialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#exponentialresultdetails)
:   ​

`logarithmic` [`LogarithmicResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#logarithmicresultdetails)
:   ​

`polynomial` [`PolynomialResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#polynomialresultdetails)
:   ​

`power` [`PowerResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#powerresultdetails)
:   ​

`custom` [`CustomCurveResultDetails`](https://dev.nominal.io/api/rest/compute-service.md#customcurveresultdetails)
:   ​

### CustomCurveFit

`formula` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   A mathematical expression in terms of variable and parameter names, e.g. `a * x + b * sin(x)`. Variable names must match keys in the `variables` map; parameter names must match keys in the `parameters` map.

`variables` map of `LocalVariableName` to [`CurveFitVariable`](https://dev.nominal.io/api/rest/compute-service.md#curvefitvariable)
:   Named input series referenced in the formula. Keys must match the variable names used in the formula expression.

`parameters` map of string to [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Named fitting parameters and their initial guesses. Keys must match the parameter names used in the formula expression; values are the starting points passed to the optimizer. The target the curve is fit against is the `y` of the enclosing curve fit (the timeSeries series values, or the scatter `y` series).

### CustomCurveResultDetails

The result of fitting a custom curve, containing the optimized values for each named parameter.

`parameters` map of string to number
:   Optimized parameter values produced by the curve fit. Keys match the parameter names provided in the request.

`converged` boolean required
:   Whether the optimizer converged to a solution within its iteration limit. When false, the returned parameters are the best estimate found before the iteration cap was reached and did not satisfy the solver’s convergence tolerances.

`iterations` integer required
:   Number of iterations the solver completed.

### Dataset

A logical bundle of named series. For the time being, columns are each a time series (series name + tags). A dataset is either rooted in persisted data (asset or dataset) or defined as a transformation of another dataset.

Set `type` to the name of one of the other fields, and set only that field.

`asset` [`Asset`](https://dev.nominal.io/api/rest/compute-service.md#asset)
:   Single asset. Expands to one grouping per data scope on the asset. Groupings are tagged by `assetRid` and `dataScope` so callers can safely compose multiple assets with `combine`.

`run` [`Run`](https://dev.nominal.io/api/rest/compute-service.md#run)
:   Single run. Expands to one grouping per data source attached to the run: asset-typed sources contribute one grouping per data scope on the asset; dataset-typed sources contribute one grouping per dataset. Groupings are tagged by `runRid` and `dataScope`; asset-typed groupings additionally carry `assetRid` so callers can safely compose multiple runs with `combine`.

`saved` [`SavedDataset`](https://dev.nominal.io/api/rest/compute-service.md#saveddataset)
:   ​

`search` [`SearchDataset`](https://dev.nominal.io/api/rest/compute-service.md#searchdataset)
:   ​

`combine` [`CombinedDataset`](https://dev.nominal.io/api/rest/compute-service.md#combineddataset)
:   ​

`tag` [`TaggedDataset`](https://dev.nominal.io/api/rest/compute-service.md#taggeddataset)
:   ​

`filter` [`FilteredDataset`](https://dev.nominal.io/api/rest/compute-service.md#filtereddataset)
:   ​

`timeShift` [`TimeShiftedDataset`](https://dev.nominal.io/api/rest/compute-service.md#timeshifteddataset)
:   ​

`alignByAnchor` [`AnchorAlignedDataset`](https://dev.nominal.io/api/rest/compute-service.md#anchoraligneddataset)
:   ​

`withSeries` [`WithSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#withseriesdataset)
:   ​

`dropSeries` [`DropSeriesDataset`](https://dev.nominal.io/api/rest/compute-service.md#dropseriesdataset)
:   ​

`reference` [`DatasetReference`](https://dev.nominal.io/api/rest/compute-service.md#datasetreference)
:   ​

`withDimensions` [`DimensionsDataset`](https://dev.nominal.io/api/rest/compute-service.md#dimensionsdataset)
:   ​

### DatasetAnchor

Set `type` to the name of one of the other fields, and set only that field.

`run` [`IntervalAnchor`](https://dev.nominal.io/api/rest/compute-service.md#intervalanchor)
:   Uses the start or end of each run as its anchor. The input dataset must resolve exclusively to run-backed branches.

### DatasetReference

References a named dataset in `Context.datasetReferences`.

`name` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Name of the dataset reference to resolve from the context.

### DataSourceAndChannel

`dataSourceRid` string (RID) required
:   ​

`channel` string required
:   ​

### DataSourceChannel

`dataSourceRid` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`channel` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`tags` map of string to [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) deprecated
:   **Deprecated:** Use tagFilters

`tagFilters` [`TagFilters`](https://dev.nominal.io/api/rest/compute-service.md#tagfilters)
:   Tags to filter the channel by. Only returns points from the channel where tag values match the provided expression. For log series, include arg filters here in addition to tag filters.

`tagsToGroupBy` array of string deprecated
:   **Deprecated:** Use groupByTags instead. Throws if both tagsToGroupBy and groupByTags are specified.

`groupByTags` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Tags that the channel should be grouped by. If this is non-empty a grouped result will be returned with an entry for each grouping. Only one of tagsToGroupBy and groupByTags should be specified.

### DecimateStrategy

Set `type` to the name of one of the other fields, and set only that field.

`resolution` [`DecimateWithResolution`](https://dev.nominal.io/api/rest/compute-service.md#decimatewithresolution)
:   ​

`buckets` [`DecimateWithBuckets`](https://dev.nominal.io/api/rest/compute-service.md#decimatewithbuckets)
:   ​

### DecimateWithBuckets

`buckets` integer required
:   Number of points to generate in the output series.

### DecimateWithResolution

`resolution` integer (int64) required
:   Resolution of the output series specifying time interval between decimated points, in nanoseconds.

### DerivativeSeries

Calculates the rate of change between subsequent points.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`timeUnit` [`TimeUnit`](https://dev.nominal.io/api/rest/compute-service.md#timeunit)
:   Time unit used to calculate the derivative. Defaults to seconds if not specified.

`negativeValuesConfiguration` [`NegativeValueConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#negativevalueconfiguration)
:   Defines the strategy for handling negative output values. Defaults to allowNegativeValues if not specified.

### DerivedSeries

Represents a derived series within a compute graph. This is a series that is derived from a function within a module.

Set `type` to the name of one of the other fields, and set only that field.

`function` [`FunctionDerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#functionderivedseries)
:   ​

### DetrendType

The type of detrending to apply to the signal. When absent, will default to the detrend behavior for that function.

`CONSTANT`
:   Removes the mean value of the signal.

`LINEAR`
:   Removes a best-fit linear trend from the signal.

`NO_OP`
:   Does not perform any detrending.

### Dimension

A value derived per asset or run, injected as a tag.

`tagKey` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   The tag key to inject the value under. Defaults to the key derived by `value`.

`value` [`DimensionValue`](https://dev.nominal.io/api/rest/compute-service.md#dimensionvalue) required
:   The value to inject.

### DimensionsDataset

Injects one tag per dimension onto every series of the underlying dataset, valued from the asset or run the series belongs to. This makes resource metadata usable as a grouping, filtering and aggregation dimension with `selectTags`, tag predicates and `groupByTags`. Group by the dimension together with `ASSET_RID` (or `RUN_RID`) to keep each resource separate, or by the dimension alone to pivot so that resources sharing a value fall into one group.

Dimensions are only supported on asset and run branches. Any other branch, such as a saved dataset or a derived series from `withSeries`, gets the reserved value `NOMINAL_ABSENT` for every dimension. To group derived series by a dimension, apply `withDimensions` to the `withSeries` input instead, so that the series they are computed from carry the dimension tags. A dimension tag replaces a series tag with the same key.

`input` [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset) required
:   The underlying dataset to tag.

`dimensions` array of [`Dimension`](https://dev.nominal.io/api/rest/compute-service.md#dimension)
:   The dimensions to inject. Must not be empty, must have at most 10 entries, and every dimension must have a distinct tag key. A tag key must not be a `ReservedTagKey`, start with `EVENT_LABEL_PREFIX:`, or start with `NOMINAL_`.

### DimensionValue

Set `type` to the name of one of the other fields, and set only that field.

`stringProperty` [`StringPropertyDimension`](https://dev.nominal.io/api/rest/compute-service.md#stringpropertydimension)
:   The value of a string property on the asset or run.

`identity` [`IdentityDimension`](https://dev.nominal.io/api/rest/compute-service.md#identitydimension)
:   The value of an asset’s primary key under one of its types.

### Divide

Divides left by right pointwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Numerator.

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Denominator.

### DoubleConstant

A floating-point constant that can be a literal value, a named variable reference, or a named builtin constant.

Set `type` to the name of one of the other fields, and set only that field.

`literal` number
:   Create from a literal floating-point value.

`variable` string
:   Create from a named reference name.

`builtin` [`BuiltinConstant`](https://dev.nominal.io/api/rest/compute-service.md#builtinconstant)
:   Create from a named builtin constant; the server resolves the numeric value.

### DriverSeries

Uses the driver series timestamps as the alignment grid.

An empty JSON object, `{}`.

### DriverSeries3d

`X`
:   ​

`Y`
:   ​

`Z`
:   ​

### DropSeriesDataset

Removes series from the base dataset by name: raw and derived series alike are no longer selectable under those names. Dropping a name absent from `input` has no effect. Combined with `WithSeriesDataset`, which can expose a series under another name, this renames a series: `dropSeries(withSeries(input, [newName = select(oldName)]), [oldName])`.

`input` [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset) required
:   The base dataset to drop series from.

`names` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Names of the series to drop.

### DurationAdd

The sum of two durations.

`left` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   First duration.

`right` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Second duration.

### DurationConstant

A duration constant that can be a literal value or a named variable reference.

Set `type` to the name of one of the other fields, and set only that field.

`literal` [`run.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#run-api-duration)
:   Create from a literal duration value.

`variable` string
:   Create from a named reference name.

### DurationDays

Constructs a duration from a number of days.

`days` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The number of days.

### DurationFilterRanges

Filters a list of ranges down to only those satisfying a threshold condition on the range’s duration.

`input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`threshold` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

`operator` [`ThresholdOperator`](https://dev.nominal.io/api/rest/compute-service.md#thresholdoperator) required
:   ​

`unboundedBehavior` [`UnboundedBehavior`](https://dev.nominal.io/api/rest/compute-service.md#unboundedbehavior)
:   ​

### DurationFilterRangesV2

Filters ranges by duration using an authored Duration expression.

`input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`duration` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   The duration each input range is compared against.

`unboundedBehavior` [`UnboundedBehavior`](https://dev.nominal.io/api/rest/compute-service.md#unboundedbehavior)
:   How a range with an open start or end is measured. Defaults to treating the missing bound as the edge of the compute request window.

`comparison` [`ThresholdOperator`](https://dev.nominal.io/api/rest/compute-service.md#thresholdoperator) required
:   ​

### DurationHours

Constructs a duration from a number of hours.

`hours` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The number of hours.

### DurationMilliseconds

Constructs a duration from a number of milliseconds.

`milliseconds` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The number of milliseconds.

### DurationMinutes

Constructs a duration from a number of minutes.

`minutes` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The number of minutes.

### DurationNanoseconds

Constructs a duration from a number of nanoseconds. Limited to values within the 32-bit integer range (~2.1 billion ns, or ~2.1 seconds). For larger durations, use DurationSeconds or DurationMilliseconds.

`nanoseconds` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The number of nanoseconds.

### DurationNegate

Negates a duration (reverses its sign).

`input` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   The duration to negate.

### DurationSeconds

Constructs a duration from a number of seconds.

`seconds` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The number of seconds.

### DurationSubtract

The difference of two durations (left minus right).

`left` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Duration to subtract from.

`right` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Duration to subtract.

### EarliestAnchorReference

Selects the earliest anchor resolved from the input.

An empty JSON object, `{}`.

### Empty

An empty JSON object, `{}`.

### Enum1dArraySelectTagsSeries

Subsets the tag dimensions of the input enum 1d array series to the given tag keys. Preserves the input series’ cardinality: points that share the selected keys but differ on dropped keys remain distinct.

`input` [`Enum1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darrayseries) required
:   ​

`tagKeys` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

### Enum1dArraySeries

Set `type` to the name of one of the other fields, and set only that field.

`channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries)
:   ​

`raw` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

`derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
:   ​

`selectEnum1dArray` [`SelectSeries`](https://dev.nominal.io/api/rest/compute-service.md#selectseries)
:   ​

`extractFromStruct` [`ExtractEnum1dArrayFromStructSeries`](https://dev.nominal.io/api/rest/compute-service.md#extractenum1darrayfromstructseries)
:   ​

`toStartOfInterval` [`Enum1dArrayToStartOfIntervalSeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darraytostartofintervalseries)
:   ​

`timeShift` [`Enum1dArrayTimeShiftSeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darraytimeshiftseries)
:   ​

`filterByTag` [`Enum1dArrayTagFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darraytagfilterseries)
:   ​

`selectTags` [`Enum1dArraySelectTagsSeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darrayselecttagsseries)
:   ​

### Enum1dArrayTagFilterSeries

Applies a tag predicate to the enum 1d array series produced by input.

`input` [`Enum1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darrayseries) required
:   ​

`predicate` [`TagPredicate`](https://dev.nominal.io/api/rest/compute-service.md#tagpredicate) required
:   ​

### Enum1dArrayTimeShiftSeries

`input` [`Enum1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darrayseries) required
:   ​

`duration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

### Enum1dArrayToStartOfIntervalSeries

Snaps each point’s timestamp to the start of its enclosing fixed-size time bucket. Buckets are epoch-aligned: a point at timestamp `t` (nanoseconds) is rewritten to `floor(t / window) * window`. Values and tag groupings are preserved; aggregation of points that collide on the snapped timestamp is the responsibility of downstream nodes.

`input` [`Enum1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darrayseries) required
:   ​

`window` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   ​

### EnumAggregation

Aggregates an input series using an enum aggregation operator. Rolling aggregation builders are not supported; only the group-by shape is accepted at resolution time. `Min` and `Max` require a categorical input series. `Udf` also accepts a numeric input, which reaches the function as `Vec<f64>`; a categorical input reaches it as `Vec<String>`.

`input` [`AggregationBuilder`](https://dev.nominal.io/api/rest/compute-service.md#aggregationbuilder) required
:   The aggregation shape to apply the operator over. Only the group-by shape is supported; rolling builders are rejected at resolution time. The Python `enum_aggregation(...)` sugar form is categorical-only. Numeric builders expose the UDF-only `enum_udf(...)` and `rust_enum_udf(...)` terminals instead.

`operator` [`EnumAggregationOperator`](https://dev.nominal.io/api/rest/compute-service.md#enumaggregationoperator) required
:   The enum reduction applied to each group (min, max, or a user-defined function).

### EnumAggregationFunction

Aggregates duplicate timestamps on a single enum series. For aggregating across tag groupings, use `EnumSeries.enumAggregation` with `aggregation.AggregationBuilder.groupBy`.

`MIN`
:   ​

`MAX`
:   ​

### EnumAggregationOperator

Set `type` to the name of one of the other fields, and set only that field.

`min` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   ​

`max` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   ​

`udf` [`EnumAggregationUdf`](https://dev.nominal.io/api/rest/compute-service.md#enumaggregationudf)
:   ​

### EnumAggregationUdf

A user-defined enum aggregation. The supported ABI is a Rust function with one vector input and a `String` return value. Numeric input series use `Vec<f64>` and enum input series use `Vec<String>`.

`source` [`UdfSource`](https://dev.nominal.io/api/rest/compute-service.md#udfsource) required
:   ​

### EnumBucket

`histogram` map of string to integer (int64)
:   The map of values within the bucket to their frequency.

`firstPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint) required
:   ​

`lastPoint` [`CompactEnumPoint`](https://dev.nominal.io/api/rest/compute-service.md#compactenumpoint)
:   Will be empty if the bucket only has a single point.

### EnumConstantResampleInterpolationConfiguration

Fills all empty resample intervals with a single constant value.

If a resampled time interval (bucket) contains no data points from the input, it will be assigned the specified ‘constant’ as a default value. This applies to gaps at the start of the series, between data points, and at the end.

`constant` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

### EnumCountDuplicateSeries

Counts the number of points along each timestamp in the input series.

`inputs` array of [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries)
:   ​

### EnumFilterOperator

`IS_IN`
:   True when the value is contained in the set.

`IS_NOT_IN`
:   True when the value is not contained in the set.

`MATCHES_ANY_REGEX`
:   True when the value matches at least one pattern in the set. Values are RE2 regular expressions, anchored to the entire string.

### EnumFilterRanges

Produces a list of ranges for which the filter condition is satisfied.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`operator` [`EnumFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#enumfilteroperator) required
:   ​

`values` [`StringSetConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringsetconstant) required
:   The set of literal values (for IS_IN / IS_NOT_IN) or RE2 regex patterns (for MATCHES_ANY_REGEX) to match against.

`persistenceWindowConfiguration` [`PersistenceWindowConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#persistencewindowconfiguration)
:   ​

### EnumFilterTransformationSeries

Outputs categorical input values that fall within the supplied ranges.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`filter` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   Keeps only input points whose timestamp falls inside one of these ranges.

### EnumHistogramBucket

A bucket in an enum histogram representing all the counts for a specific enumerated value, across all input series.

`value` string required
:   The value of the enum as a string

`countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
:   ​

### EnumHistogramNode

`inputs` map of `VariableName` to [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries)
:   ​

### EnumHistogramPlot

`buckets` array of [`EnumHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogrambucket)
:   ​

### EnumMultivariateAggregation

Aggregations for enum series in multivariate queries.

`MODE`
:   ​

### EnumNthPointDownsampleSeries

Keeps every Nth row of the timestamp-ordered input, per series. No grid arithmetic, no interpolation, no boundary handling. Output count is ceil(input_count / n) per series. Caller is responsible for choosing n consistent with the input’s sample rate; output spacing is only uniform when the input is.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`n` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   Keep every Nth point starting from the earliest in each series. Must be >= 1.

### EnumPlot

`timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   ​

`values` array of integer
:   ​

`categories` array of string
:   ​

`nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
:   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

### EnumPoint

`timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`value` string required
:   ​

### EnumResampleConfiguration

`interval` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   Interval between resampled points

`interpolation` [`EnumResampleInterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#enumresampleinterpolationconfiguration)
:   Interpolation strategy to use (defaults to forward fill).

### EnumResampleInterpolationConfiguration

Set `type` to the name of one of the other fields, and set only that field.

`forwardFillResampleInterpolationConfiguration` [`ForwardFillResampleInterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#forwardfillresampleinterpolationconfiguration)
:   ​

`constantResampleInterpolationConfiguration` [`EnumConstantResampleInterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#enumconstantresampleinterpolationconfiguration)
:   ​

### EnumResampleSeries

Resamples the input series to a new resolution using interpolation. Outputs data for timestamps corresponding to the defined frequency. Based on interpolation strategy, determines range of timestamps to output data for and interpolates values where necessary.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`resampleConfiguration` [`EnumResampleConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#enumresampleconfiguration) required
:   The interval at which to resample the series and interpolation strategy

### EnumResampleSeriesV2

Resamples categorical points at the authored interval using forward-fill interpolation.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`interval` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Interval at which to resample.

### EnumSelectTagsSeries

Subsets the tag dimensions of the input enum series to the given tag keys. Preserves the input series’ cardinality: points that share the selected keys but differ on dropped keys remain distinct.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`tagKeys` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

### EnumSeries

Set `type` to the name of one of the other fields, and set only that field.

`aggregate` [`AggregateEnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#aggregateenumseries) deprecated
:   **Deprecated:** AggregateEnumSeries is deprecated. Use `enumAggregation` with `aggregation.GroupByAggregationBuilder` instead.

`raw` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

`channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries)
:   ​

`derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
:   ​

`resample` [`EnumResampleSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumresampleseries)
:   ​

`resampleV2` [`EnumResampleSeriesV2`](https://dev.nominal.io/api/rest/compute-service.md#enumresampleseriesv2)
:   ​

`nthPointDownsample` [`EnumNthPointDownsampleSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumnthpointdownsampleseries)
:   ​

`timeRangeFilter` [`EnumTimeRangeFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumtimerangefilterseries)
:   ​

`timeShift` [`EnumTimeShiftSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumtimeshiftseries)
:   ​

`timeShiftV2` [`EnumTimeShiftSeriesV2`](https://dev.nominal.io/api/rest/compute-service.md#enumtimeshiftseriesv2)
:   ​

`union` [`EnumUnionSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumunionseries)
:   ​

`filterTransformation` [`EnumFilterTransformationSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumfiltertransformationseries)
:   ​

`valueMap` [`ValueMapSeries`](https://dev.nominal.io/api/rest/compute-service.md#valuemapseries)
:   ​

`select1dArrayIndex` [`SelectIndexFrom1dEnumArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#selectindexfrom1denumarrayseries)
:   ​

`extractFromStruct` [`ExtractEnumFromStructSeries`](https://dev.nominal.io/api/rest/compute-service.md#extractenumfromstructseries)
:   ​

`eventAggregation` [`EventsEnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#eventsenumseries)
:   ​

`enumAggregation` [`EnumAggregation`](https://dev.nominal.io/api/rest/compute-service.md#enumaggregation)
:   ​

`selectEnum` [`SelectSeries`](https://dev.nominal.io/api/rest/compute-service.md#selectseries)
:   ​

`selectCategoricalProperty` [`SelectProperty`](https://dev.nominal.io/api/rest/compute-service.md#selectproperty)
:   ​

`filterByTag` [`EnumTagFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumtagfilterseries)
:   ​

`selectTags` [`EnumSelectTagsSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumselecttagsseries)
:   ​

`scalarUdf` [`ScalarUdfSeries`](https://dev.nominal.io/api/rest/compute-service.md#scalarudfseries)
:   ​

`toStartOfInterval` [`EnumToStartOfIntervalSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumtostartofintervalseries)
:   ​

### EnumSeriesEqualityRanges

Produces a list of ranges for which provided enum series are all equal (or are not all equal).

`input` array of [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries)
:   ​

`equalityOperator` [`EqualityOperator`](https://dev.nominal.io/api/rest/compute-service.md#equalityoperator) required
:   ​

`persistenceWindowConfiguration` [`PersistenceWindowConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#persistencewindowconfiguration)
:   ​

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### EnumTagFilterSeries

Applies a tag predicate to the enum series produced by input.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`predicate` [`TagPredicate`](https://dev.nominal.io/api/rest/compute-service.md#tagpredicate) required
:   ​

### EnumTimeRangeFilterSeries

Filters the series to points within the specified time range.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`startTime` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant)
:   Represents the start time (inclusive) of the time range.

`endTime` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant)
:   Represents the end time (inclusive) of the time range.

### EnumTimeShiftSeries

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`duration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

### EnumTimeShiftSeriesV2

Shifts the timestamps in the input series by the resolved duration.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`duration` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Duration to shift the input series by.

### EnumToNumericSeries

Maps an enumerated series to a numeric series by mapping each string value to a double.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`mapping` map of string to [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   The mapping from enum values to doubles.

`defaultValue` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   The value to use for enum values not present in the mapping. If not specified, points with unmapped enum values will be dropped.

### EnumToStartOfIntervalSeries

Snaps each point’s timestamp to the start of its enclosing fixed-size time bucket. Buckets are epoch-aligned: a point at timestamp `t` (nanoseconds) is rewritten to `floor(t / window) * window`. Values and tag groupings are preserved; aggregation of points that collide on the snapped timestamp is the responsibility of downstream nodes.

`input` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`window` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   ​

### EnumUnionOperation

`THROW`
:   Throws an exception if two series contain points with a duplicate timestamp.

`MAX`
:   Aggregates duplicates by String MAX.

`MIN`
:   Aggregates duplicates by String MIN.

### EnumUnionSeries

Combines multiple enum series together and outputs a single series. The strategy to merge input values with the same timestamp together is specified in the operation field.

`input` array of [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries)
:   ​

`operation` [`EnumUnionOperation`](https://dev.nominal.io/api/rest/compute-service.md#enumunionoperation) required
:   The strategy to merge points with duplicate timestamps.

### EqualityOperator

`ALL_EQUAL`
:   ​

`NOT_ALL_EQUAL`
:   ​

### EqualToSeries

Compares two numeric series point-wise, producing true where left == right and false otherwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

### ErrorResult

`errorType` string required
:   ​

`code` integer required
:   ​

### EventAnchor

Uses the start timestamp of the event at the configured zero-based index from this query whose event time lies in the anchor window [start, end), or [start, +infinity) when the end is absent. The window is the run bounds for a run anchor. Shares the wire shape of `numeric.EventTimeShift`, which tagByIntervals time shifts use; a separate type so dataset anchors evolve independently.

`query` [`ComputeEventQuery`](https://dev.nominal.io/api/rest/compute-service.md#computeeventquery) required
:   ​

`index` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   Zero-based event index after sorting. Defaults to zero and must be non-negative.

`sortOrder` [`EventSortOrder`](https://dev.nominal.io/api/rest/compute-service.md#eventsortorder)
:   Ordering by event start timestamp before selecting the index. Defaults to ASC.

### EventDispositionStatus

`PENDING_REVIEW`
:   ​

`CLOSED_IGNORED`
:   ​

`CLOSED_REQUIRES_FURTHER_ACTION`
:   ​

`NO_DISPOSITION`
:   ​

### EventIntervalSource

Intervals come from an event query. Each event defines [timestamp, timestamp+duration).

`query` [`ComputeEventQuery`](https://dev.nominal.io/api/rest/compute-service.md#computeeventquery) required
:   ​

`tagBy` array of [`EventTagSource`](https://dev.nominal.io/api/rest/compute-service.md#eventtagsource)
:   Non-empty ordered list of tag sources. Each contributes a tag key-value pair per event interval.

### EventLabelTag

`label` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

### EventLevelTag

An empty JSON object, `{}`.

### EventPropertyTag

`propertyName` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

### EventsEnumSeries

Queries events and emits an enum series where each data point corresponds to an event and the enum value is derived from a single event field (property, label, etc).

`query` [`ComputeEventQuery`](https://dev.nominal.io/api/rest/compute-service.md#computeeventquery) required
:   ​

`valueSource` [`EventsEnumValueSource`](https://dev.nominal.io/api/rest/compute-service.md#eventsenumvaluesource) required
:   ​

### EventsEnumValueSource

Set `type` to the name of one of the other fields, and set only that field.

`property` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Name of the event property whose value should be used as the enum value.

`level` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   The event level (INFO, FLAG, VIOLATION, SUCCESS). This field corresponds to the event type.

### EventSortOrder

`ASC`
:   ​

`DESC`
:   ​

### EventsSearchRanges

Produces a range series with a range for each event matching the query. Throws if there are more than 1,000 results.

`query` [`ComputeEventQuery`](https://dev.nominal.io/api/rest/compute-service.md#computeeventquery) required
:   ​

### EventTagSource

A dimension contributing a tag key-value pair per event interval.

Set `type` to the name of one of the other fields, and set only that field.

`intervalIndex` [`IntervalIndexTag`](https://dev.nominal.io/api/rest/compute-service.md#intervalindextag)
:   ​

`level` [`EventLevelTag`](https://dev.nominal.io/api/rest/compute-service.md#eventleveltag)
:   ​

`property` [`EventPropertyTag`](https://dev.nominal.io/api/rest/compute-service.md#eventpropertytag)
:   ​

`label` [`EventLabelTag`](https://dev.nominal.io/api/rest/compute-service.md#eventlabeltag)
:   ​

`rangeStartTimestamp` [`IntervalStartTimestampTag`](https://dev.nominal.io/api/rest/compute-service.md#intervalstarttimestamptag)
:   ​

### EventTimeFilter

`timestamp` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant) required
:   ​

`timestampCondition` [`EventTimeFilterCondition`](https://dev.nominal.io/api/rest/compute-service.md#eventtimefiltercondition) required
:   ​

### EventTimeFilterCondition

`START_TIME_BEFORE_INCLUSIVE`
:   ​

`START_TIME_BEFORE_EXCLUSIVE`
:   ​

`START_TIME_AFTER_INCLUSIVE`
:   ​

`START_TIME_AFTER_EXCLUSIVE`
:   ​

`END_TIME_BEFORE_INCLUSIVE`
:   ​

`END_TIME_BEFORE_EXCLUSIVE`
:   ​

`END_TIME_AFTER_INCLUSIVE`
:   ​

`END_TIME_AFTER_EXCLUSIVE`
:   ​

### EventTimeShift

Shift by the start timestamp of the event at the configured zero-based index from this query whose event time lies in the anchor window [start, end), or [start, +infinity) when the end is absent. The window is the tagging interval for tagByIntervals and the run bounds for a run anchor. The query may differ from the query that produced a tagging interval.

`query` [`ComputeEventQuery`](https://dev.nominal.io/api/rest/compute-service.md#computeeventquery) required
:   ​

`index` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   Zero-based event index after sorting. Defaults to zero and must be non-negative.

`sortOrder` [`EventSortOrder`](https://dev.nominal.io/api/rest/compute-service.md#eventsortorder)
:   Ordering by event start timestamp before selecting the index. Defaults to ASC.

### EventType

`INFO`
:   ​

`FLAG`
:   ​

`ERROR`
:   ​

`SUCCESS`
:   ​

### EveryNthPerSeriesSampling

Returns every Nth timestamp-ordered point from each distinct series.

`n` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   Keep every Nth point starting from the earliest in each series. Must be > 1.

### ExcludeNegativeValues

An empty JSON object, `{}`.

### ExponentialCurve

An empty JSON object, `{}`.

### ExponentialResultDetails

y = a * e^(b * x)

`a` number required
:   ​

`b` number required
:   ​

### ExtractEnum1dArrayFromStructSeries

`input` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries) required
:   ​

`fieldPath` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

### ExtractEnumFromStructSeries

`input` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries) required
:   ​

`fieldPath` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Path segments that are joined to locate a nested enum field. Use dots to traverse objects (e.g. `a.b.c`) and 0-based brackets to index into arrays (e.g. `items[0].value`). A bare numeric name like `0` refers to an object key named “0”; use `[0]` to index into an array. Rows where the path is invalid or resolves to a nested object rather than a scalar are filtered out.

### ExtractNumeric1dArrayFromStructSeries

`input` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries) required
:   ​

`fieldPath` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

### ExtractNumericFromStructSeries

`input` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries) required
:   ​

`fieldPath` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Path segments that are joined to locate a nested numeric field. Use dots to traverse objects (e.g. `a.b.c`) and 0-based brackets to index into arrays (e.g. `items[0].value`). A bare numeric name like `0` refers to an object key named “0”; use [0] to index into an array. Rows where the path is invalid or the value cannot be converted to the specified type are filtered out.

`dataType` [`NumericDataType`](https://dev.nominal.io/api/rest/compute-service.md#numericdatatype)
:   The type the numeric data will be cast to, defaults to FLOAT64

### ExtractStructFromStructSeries

`input` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries) required
:   ​

`fieldPath` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Path segments that are joined to locate a nested struct field. Use dots to traverse objects (e.g. `a.b.c`) and 0-based brackets to index into arrays (e.g. `items[0].value`). A bare numeric name like `0` refers to an object key named “0”; use [0] to index into an array. Returns an empty struct when the path does not resolve to a valid JSON object.

### ExtremaRangesV2

Produces ranges for the selected extrema type.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`minimumProminence` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   The minimum topographic prominence for an extrema to be returned.

`selection` [`PeakType`](https://dev.nominal.io/api/rest/compute-service.md#peaktype) required
:   ​

### Fft

Returns the single sided amplitude spectrum of the input series.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`window` [`FftWindow`](https://dev.nominal.io/api/rest/compute-service.md#fftwindow)
:   Window function applied to the input series. Defaults to RECT is not specified.

`summarizationStrategy` [`FrequencySummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#frequencysummarizationstrategy)
:   Strategy to downsample the output frequency spectrum.

`nfft` integer
:   Length of the FFT. When nfft < input length, the input is truncated to the first nfft samples before windowing and transforming. When nfft > input length, the windowed input is zero-padded up to nfft before transforming. When nfft is unset, defaults to the input length, producing the same result as setting nfft to the input length. The output contains nfft/2 + 1 single-sided frequency bins with spacing fs/nfft. For best performance, prefer a power of 2 (e.g. 512, 1024, 2048).

### FftWindow

`BLACKMAN`
:   ​

`HANN`
:   ​

`HAMMING`
:   ​

`RECT`
:   ​

### FillLimit

How far forward in time a sample’s value may be carried.

Set `type` to the name of one of the other fields, and set only that field.

`duration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant)
:   ​

### FillStrategy

Default strategy for filling gaps when aligning multi-input series.

Set `type` to the name of one of the other fields, and set only that field.

`forwardFill` [`ForwardFill`](https://dev.nominal.io/api/rest/compute-service.md#forwardfill)
:   ​

### FilterByExpressionSeries

Keeps points from the base series where the boolean expression evaluates to true. Only outputs timestamps where all input series have an entry for that timestamp, or a value can be filled using the interpolation configuration.

`base` string required
:   The variable name for the series that will be returned by this filter. The expression can filter points conditional on multiple series. The base defines which series’ points will be returned after applying all the filters.

`inputs` map of `LocalVariableName` to [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   A map containing all the numeric series present in the expression.

`expression` string required
:   An expression that evaluates to a boolean. For example - a > 5.

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### FilteredDataset

Applies a conjunctive tag predicate to the series produced by the inner dataset. Resolved by threading tag filters into channel specs and folding against known tag assignments; does not add a resolved numeric node.

`input` [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset) required
:   The underlying dataset to filter.

`predicate` [`TagPredicate`](https://dev.nominal.io/api/rest/compute-service.md#tagpredicate) required
:   Conjunctive tag predicate used to keep matching series.

### FirstPointMatchingCondition

The first point in the output range will be the first point where the condition evaluates to true.

An empty JSON object, `{}`.

### FloorDivide

Divides left by right pointwise and rounds down to the nearest integer.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Numerator.

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Denominator.

### ForwardFill

At each grid point, carries the most recent prior sample value forward. The value is held only up to the configured `limit`; grid points with no prior sample within that window are left empty.

`limit` [`FillLimit`](https://dev.nominal.io/api/rest/compute-service.md#filllimit) required
:   ​

### ForwardFillInterpolation

`interpolationRadius` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

### ForwardFillResampleInterpolationConfiguration

Forward fill interpolation for resampling. Rounds the earliest and latest timestamp up to the nearest interval multiple and generates timestamps at the given interval between the new earliest and latest timestamps. For every timestamp in the resampled timestamps, takes the last known value before the timestamp as the value.

An empty JSON object, `{}`.

### FrequencyBucket

A single bucket in a bucketed frequency domain plot.

`frequencyStart` number required
:   The start frequency of this bucket (inclusive).

`frequencyEnd` number required
:   The end frequency of this bucket (exclusive).

`frequencyCenter` number required
:   The center frequency of this bucket.

`minAmplitude` number required
:   The minimum amplitude value in this bucket.

`maxAmplitude` number required
:   The maximum amplitude value in this bucket.

`meanAmplitude` number required
:   The mean amplitude value in this bucket.

`count` integer (int64) required
:   The number of original frequency points that were aggregated into this bucket.

`firstPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint) required
:   The first point (lowest frequency) in this bucket.

`lastPoint` [`FrequencyPoint`](https://dev.nominal.io/api/rest/compute-service.md#frequencypoint)
:   The last point (highest frequency) in this bucket. Will be empty if the bucket only has a single point.

### FrequencyDecimateWithBuckets

`buckets` integer required
:   Target number of frequency bins/buckets.

`minFrequency` number
:   Optional minimum frequency bound. When set, frequencies below this value are excluded before bucketing, increasing resolution within the requested range. This bound is inclusive. The bound uses the same unit as the transform’s output frequency.

`maxFrequency` number
:   Optional maximum frequency bound. When set, frequencies above this value are excluded before bucketing, increasing resolution within the requested range. This bound is exclusive. The bound uses the same unit as the transform’s output frequency.

### FrequencyDomain

Set `type` to the name of one of the other fields, and set only that field.

`fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
:   ​

`periodogram` [`Periodogram`](https://dev.nominal.io/api/rest/compute-service.md#periodogram)
:   ​

### FrequencyDomainPlot

`frequencies` array of number
:   ​

`amplitudes` array of number
:   ​

### FrequencyDomainPlotComplex

`frequencies` array of number
:   ​

`real` array of number
:   ​

`imaginary` array of number
:   ​

### FrequencyDomainPlotMagnitudeAndPhase

`frequencies` array of number
:   ​

`magnitudes` array of number
:   ​

`phases` array of number
:   ​

### FrequencyDomainPlotV2

Set `type` to the name of one of the other fields, and set only that field.

`real` [`FrequencyDomainPlot`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplot)
:   ​

`complex` [`FrequencyDomainPlotComplex`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotcomplex)
:   ​

`magnitudeAndPhase` [`FrequencyDomainPlotMagnitudeAndPhase`](https://dev.nominal.io/api/rest/compute-service.md#frequencydomainplotmagnitudeandphase)
:   ​

### FrequencyDomainV2

Set `type` to the name of one of the other fields, and set only that field.

`fft` [`Fft`](https://dev.nominal.io/api/rest/compute-service.md#fft)
:   ​

`psd` [`Psd`](https://dev.nominal.io/api/rest/compute-service.md#psd)
:   ​

`cpsd` [`Cpsd`](https://dev.nominal.io/api/rest/compute-service.md#cpsd)
:   ​

`nyquist` [`Nyquist`](https://dev.nominal.io/api/rest/compute-service.md#nyquist)
:   ​

`bode` [`Bode`](https://dev.nominal.io/api/rest/compute-service.md#bode)
:   ​

### FrequencyPoint

A single point in a frequency domain plot.

`frequency` number required
:   ​

`amplitude` number required
:   ​

### FrequencySummarizationStrategy

Set `type` to the name of one of the other fields, and set only that field.

`buckets` [`FrequencyDecimateWithBuckets`](https://dev.nominal.io/api/rest/compute-service.md#frequencydecimatewithbuckets)
:   ​

### FunctionDerivedSeries

A reference to a derived series resulting from applying a function to a set of arguments.

`moduleName` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`functionName` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`versionReference` [`ModuleVersionReference`](https://dev.nominal.io/api/rest/compute-service.md#moduleversionreference) required
:   ​

`functionArgs` map of `FunctionParameterName` to [`FunctionParameterValue`](https://dev.nominal.io/api/rest/compute-service.md#functionparametervalue)
:   Map of function input names to their values. The function inputs must match the function’s parameter names and types. An input must be specified for each of the referenced function’s parameters.

### FunctionParameterValue

Set `type` to the name of one of the other fields, and set only that field.

`variable` string
:   ​

`value` [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
:   ​

### FunctionVariables

`variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
:   ​

`subFunctionVariables` map of `FunctionReference` to [`FunctionVariables`](https://dev.nominal.io/api/rest/compute-service.md#functionvariables)
:   ​

### GreaterThanOrEqualToSeries

Compares two numeric series point-wise, producing true where left >= right and false otherwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

### GreaterThanSeries

Compares two numeric series point-wise, producing true where left > right and false otherwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

### GroupByAggregationBuilder

Groups points by a tag selection and a timestamp policy and applies the operator.

`input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
:   The series to group and aggregate.

`tags` [`GroupByTags`](https://dev.nominal.io/api/rest/compute-service.md#groupbytags) required
:   Selects which tag keys form the grouping key: `GroupByTags.Current()` keeps the input series’ currently selected tags, or `GroupByTags.Subset([...])` restricts the grouping to a subset of them.

`timestamp` [`GroupByTimestamp`](https://dev.nominal.io/api/rest/compute-service.md#groupbytimestamp) required
:   Selects how timestamps participate in the grouping key: `GroupByTimestamp.Current()` groups on existing timestamps, and `GroupByTimestamp.Every(duration)` buckets points into fixed-size, epoch-aligned tumbling windows.

`alignment` [`GroupByAlignment`](https://dev.nominal.io/api/rest/compute-service.md#groupbyalignment)
:   Optionally aligns source tag groups that map to the same output tag group before aggregation. Alignment is currently supported only with `GroupByTimestamp.Current()` and built-in numeric aggregation operators.

### GroupByAlignment

Selects how source tag groups are aligned before aggregation.

Set `type` to the name of one of the other fields, and set only that field.

`contextDefaults` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   Use the compute context’s `defaultAlignmentStrategy` and `defaultFillStrategy`.

### GroupBySubsetTags

`tags` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Tag keys to group by.

### GroupByTags

Selects which tag keys form the grouping key.

Set `type` to the name of one of the other fields, and set only that field.

`current` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   Group by the tags currently selected on the input series.

`subset` [`GroupBySubsetTags`](https://dev.nominal.io/api/rest/compute-service.md#groupbysubsettags)
:   Group by exactly the listed tag keys. Must be a (non-strict) subset of the input series’s currently selected tags.

### GroupByTimestamp

Selects how timestamps participate in the grouping key.

Set `type` to the name of one of the other fields, and set only that field.

`current` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   Use the current timestamps.

`every` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration)
:   Bucket timestamps into a tumbling fixed-size, epoch-aligned window. A point at timestamp `t` (nanoseconds) falls into the bucket `[floor(t / window) * window, +window)`, and one aggregated point is emitted per bucket per tag grouping at the bucket start timestamp.

### GroupedComputeNodeResponse

`grouping` [`Grouping`](https://dev.nominal.io/api/rest/compute-service.md#grouping) required
:   ​

`response` [`ComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#computenoderesponse) required
:   ​

### GroupedComputeNodeResponses

Contains a `ComputeNodeResponse` for each applicable grouping along with metadata describing the grouping. All the contained `ComputeNodeResponse`s are guaranteed to be of the same type.

`responses` array of [`GroupedComputeNodeResponse`](https://dev.nominal.io/api/rest/compute-service.md#groupedcomputenoderesponse)
:   ​

### Grouping

Set `type` to the name of one of the other fields, and set only that field.

`tagsWithValues` map of string to string
:   A grouping identified by a specific instantiation of tag keys and values.

### GroupWithinRangesSeriesV2

Aggregates the input series within each supplied range and emits one point at the range start. Empty ranges emit no point, and ranges without a start use the compute request start.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`ranges` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   One output point is emitted per range, at the range’s start.

`aggregation` [`NumericAggregationOperator`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationoperator) required
:   ​

### HashSubsampleSampling

Keeps approximately 1/N of raw points via a stateless hash of each point’s timestamp.

`n` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   Keep approximately one out of every N points. Must be > 1.

### HighPassConfiguration

`cutoffFrequency` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

### Histogram

Set `type` to the name of one of the other fields, and set only that field.

`numeric` [`NumericHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogramnode)
:   ​

`enum` [`EnumHistogramNode`](https://dev.nominal.io/api/rest/compute-service.md#enumhistogramnode)
:   ​

### HistogramChannelCount

The count of the value in the bucket for the specific channel.

`count` integer (int64) required
:   ​

### IdentityDimension

Injects the value of a type’s primary key, under a tag key equal to the primary key’s property name by default. The primary key is read when the query runs, so it follows changes to the type. Only asset branches of an asset with the type have a value; every other branch, including run branches, gets the reserved value `NOMINAL_ABSENT`.

`typeRid` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Resource identifier of the type whose primary key identifies the asset.

### IncompatibleUnitOperation

Attempted an incompatible operation of units.

`operation` [`UnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#unitoperation) required
:   ​

`units` array of string
:   ​

### IntegerConstant

An integer constant that can be a literal value or a named variable reference.

Set `type` to the name of one of the other fields, and set only that field.

`literal` integer
:   Create from a literal integer value.

`variable` string
:   Create from a named reference name.

### IntegralSeries

Calculates the running sum of the area underneath a series using the trapezoidal rule.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`startTimestamp` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant) required
:   ​

`timeUnit` [`TimeUnit`](https://dev.nominal.io/api/rest/compute-service.md#timeunit)
:   Time unit used to calculate the integral. Defaults to seconds if not specified.

### InterpolationConfiguration

Set `type` to the name of one of the other fields, and set only that field.

`forwardFillInterpolation` [`ForwardFillInterpolation`](https://dev.nominal.io/api/rest/compute-service.md#forwardfillinterpolation)
:   ​

### IntersectRanges

Produces the intersection of the input ranges: the ranges of time covered by every input. For best performance, pass inputs in the order in which they should be evaluated, listing the ranges that are cheapest to compute first.

`inputs` array of [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
:   ​

### IntervalAnchor

Selects which boundary of an interval to use as its anchor.

Set `type` to the name of one of the other fields, and set only that field.

`intervalStart` [`IntervalStartTimeShift`](https://dev.nominal.io/api/rest/compute-service.md#intervalstarttimeshift)
:   Uses the interval’s start timestamp.

`intervalEnd` [`IntervalEndTimeShift`](https://dev.nominal.io/api/rest/compute-service.md#intervalendtimeshift)
:   Uses the interval’s end timestamp.

`eventInInterval` [`EventAnchor`](https://dev.nominal.io/api/rest/compute-service.md#eventanchor)
:   ​

`rangeInInterval` [`RangesAnchor`](https://dev.nominal.io/api/rest/compute-service.md#rangesanchor)
:   ​

### IntervalEndTimeShift

Shift by each tagging interval’s resolved end; resolution throws if end is missing.

An empty JSON object, `{}`.

### IntervalIndexTag

An empty JSON object, `{}`.

### IntervalSource

Where the intervals come from and how each is labeled.

Set `type` to the name of one of the other fields, and set only that field.

`events` [`EventIntervalSource`](https://dev.nominal.io/api/rest/compute-service.md#eventintervalsource)
:   ​

`ranges` [`RangeIntervalSource`](https://dev.nominal.io/api/rest/compute-service.md#rangeintervalsource)
:   ​

### IntervalStartTimeShift

Shift by each tagging interval’s resolved start; resolution throws if start is missing.

An empty JSON object, `{}`.

### IntervalStartTimestampTag

An empty JSON object, `{}`.

### LabelsFilter

`operator` [`SetOperator`](https://dev.nominal.io/api/rest/compute-service.md#setoperator) required
:   ​

`labels` array of string
:   ​

### LessThanOrEqualToSeries

Compares two numeric series point-wise, producing true where left <= right and false otherwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

### LessThanSeries

Compares two numeric series point-wise, producing true where left < right and false otherwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

### LiteralRange

A literal range of values.

`startTimestamp` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant)
:   ​

`endTimestamp` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant)
:   ​

`tags` map of string to string
:   ​

### LiteralRanges

A list of literal ranges.

`literalRanges` array of [`LiteralRange`](https://dev.nominal.io/api/rest/compute-service.md#literalrange)
:   ​

### Ln

Computes the natural logarithm (base e) of each value.

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (positive values).

### Log10

Computes the base-10 logarithm of each value.

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (positive values).

### LogArgFilterOperator

Matches against a single log arg.

`key` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`operator` [`LogRegexFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#logregexfilteroperator) required
:   ​

### LogarithmicCurve

An empty JSON object, `{}`.

### LogarithmicResultDetails

y = a * ln(x) + b

`a` number required
:   ​

`b` number required
:   ​

### LogExactMatchCaseInsensitiveFilter

Filters points such that the log message in each point contains an exact case-insensitive match of the provided token.

`token` string required
:   ​

### LogFilterOperator

Set `type` to the name of one of the other fields, and set only that field.

`regexFilter` [`LogRegexFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#logregexfilteroperator)
:   ​

`exactMatchCaseInsensitiveFilter` [`LogExactMatchCaseInsensitiveFilter`](https://dev.nominal.io/api/rest/compute-service.md#logexactmatchcaseinsensitivefilter)
:   ​

`arg` [`LogArgFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#logargfilteroperator)
:   ​

`and` array of [`LogFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#logfilteroperator)
:   ​

`or` array of [`LogFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#logfilteroperator)
:   ​

`not` [`LogFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#logfilteroperator)
:   ​

### LogFilterSeries

Outputs only values of the log plot that satisfy the filter.

`input` [`LogSeries`](https://dev.nominal.io/api/rest/compute-service.md#logseries) required
:   ​

`operator` [`LogFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#logfilteroperator) required
:   ​

### LogPoint

`timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`value` [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue) required
:   ​

### LogRegexFilterOperator

Matches a text value against the given re2 regular expression. Regular expression syntax: https://github.com/google/re2/wiki/Syntax.

`regex` string required
:   ​

### LogSelectTagsSeries

Subsets the tag dimensions of the input log series to the given tag keys. Preserves the input series’ cardinality: points that share the selected keys but differ on dropped keys remain distinct.

`input` [`LogSeries`](https://dev.nominal.io/api/rest/compute-service.md#logseries) required
:   ​

`tagKeys` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

### LogSeries

Set `type` to the name of one of the other fields, and set only that field.

`raw` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

`channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries)
:   ​

`derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
:   ​

`selectLogs` [`SelectSeries`](https://dev.nominal.io/api/rest/compute-service.md#selectseries)
:   ​

`union` [`LogUnionSeries`](https://dev.nominal.io/api/rest/compute-service.md#logunionseries)
:   ​

`filter` [`LogFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#logfilterseries)
:   ​

`timeShift` [`LogTimeShiftSeries`](https://dev.nominal.io/api/rest/compute-service.md#logtimeshiftseries)
:   ​

`toStartOfInterval` [`LogToStartOfIntervalSeries`](https://dev.nominal.io/api/rest/compute-service.md#logtostartofintervalseries)
:   ​

`filterByTag` [`LogTagFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#logtagfilterseries)
:   ​

`selectTags` [`LogSelectTagsSeries`](https://dev.nominal.io/api/rest/compute-service.md#logselecttagsseries)
:   ​

### LogTagFilterSeries

Applies a tag predicate to the log series produced by input.

`input` [`LogSeries`](https://dev.nominal.io/api/rest/compute-service.md#logseries) required
:   ​

`predicate` [`TagPredicate`](https://dev.nominal.io/api/rest/compute-service.md#tagpredicate) required
:   ​

### LogTimeShiftSeries

`input` [`LogSeries`](https://dev.nominal.io/api/rest/compute-service.md#logseries) required
:   ​

`duration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

### LogToStartOfIntervalSeries

Snaps each point’s timestamp to the start of its enclosing fixed-size time bucket. Buckets are epoch-aligned: a point at timestamp `t` (nanoseconds) is rewritten to `floor(t / window) * window`. Values and tag groupings are preserved; aggregation of points that collide on the snapped timestamp is the responsibility of downstream nodes.

`input` [`LogSeries`](https://dev.nominal.io/api/rest/compute-service.md#logseries) required
:   ​

`window` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   ​

### LogUnionOperation

`KEEP_ALL`
:   Keeps all points if multiple series contain points with a duplicate timestamp.

### LogUnionSeries

Combines multiple log series together and outputs a single series. The strategy to merge input values with the same timestamp together is specified in the operation field.

`input` array of [`LogSeries`](https://dev.nominal.io/api/rest/compute-service.md#logseries)
:   ​

`operation` [`LogUnionOperation`](https://dev.nominal.io/api/rest/compute-service.md#logunionoperation) required
:   The strategy to merge points with duplicate timestamps.

### LogValue

`message` string required
:   ​

`args` map of string to string
:   ​

`id` string (UUID) required
:   ​

### LowPassConfiguration

`cutoffFrequency` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

### LttbStrategy

`maxPointsPerGroup` integer required
:   Maximum number of selected points to return for each group. Must be positive and no greater than 10,000.

### MagnitudeScaling

`LINEAR`
:   Linear scaling of the magnitude.

`MAGNITUDE_DB_10`
:   Scales the magnitude via 10 * log10(magnitude).

`MAGNITUDE_DB_20`
:   Scales the magnitude via 20 * log10(magnitude).

### MathConstant

Math constants referenceable by name.

`PI`
:   The circle constant π (dimensionless).

`TAU`
:   The circle constant τ = 2π (dimensionless).

`E`
:   Euler’s number e (dimensionless).

### Maximum

The maximum value of points inside the time window.

An empty JSON object, `{}`.

### MaxSeries

For every timestamp specified in the input series, outputs a value that is the maximum for that timestamp across all input series. Only outputs timestamps where all input series have an entry for that timestamp, subject to interpolation.

`inputs` array of [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   Input series across which to take the pointwise maximum

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### MeanSeries

For every timestamp specified in the input series, outputs a value that is the mean for that timestamp across all input series. Only outputs timestamps where all input series have an entry for that timestamp, subject to interpolation.

`inputs` array of [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   Input series across which to take the pointwise mean

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### Minimum

The minimum value of points inside the time window.

An empty JSON object, `{}`.

### MinMaxThresholdOperator

`OUTSIDE_BOUNDS`
:   ​

`OUTSIDE_OR_EQUAL_TO_BOUNDS`
:   ​

`INSIDE_BOUNDS`
:   ​

`INSIDE_OR_EQUAL_TO_BOUNDS`
:   ​

### MinMaxThresholdRanges

Produces a list of ranges for which the threshold condition is satisfied.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`lowerBound` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`upperBound` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`operator` [`MinMaxThresholdOperator`](https://dev.nominal.io/api/rest/compute-service.md#minmaxthresholdoperator) required
:   ​

`persistenceWindowConfiguration` [`PersistenceWindowConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#persistencewindowconfiguration)
:   ​

### MinSeries

For every timestamp specified in the input series, outputs a value that is the minimum for that timestamp across all input series. Only outputs timestamps where all input series have an entry for that timestamp, subject to interpolation.

`inputs` array of [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   Input series across which to take the pointwise minimum

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### ModuleVersionReference

Set `type` to the name of one of the other fields, and set only that field.

`pinned` [`PinnedModuleVersionReference`](https://dev.nominal.io/api/rest/compute-service.md#pinnedmoduleversionreference)
:   ​

### Modulo

Computes the remainder of left divided by right pointwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Dividend.

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Divisor.

### Multiply

Multiplies two numeric series pointwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Left-hand operand.

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Right-hand operand.

### MultivariateBucket

`timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`values` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
:   Values for each input series in the bucket.

### MultivariateEnumInput

`series` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries) required
:   ​

`aggregations` array of [`EnumMultivariateAggregation`](https://dev.nominal.io/api/rest/compute-service.md#enummultivariateaggregation)
:   ​

### MultivariateInput

Set `type` to the name of one of the other fields, and set only that field.

`numeric` [`MultivariateNumericInput`](https://dev.nominal.io/api/rest/compute-service.md#multivariatenumericinput)
:   ​

`enum` [`MultivariateEnumInput`](https://dev.nominal.io/api/rest/compute-service.md#multivariateenuminput)
:   ​

### MultivariateNumericInput

`series` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`aggregations` array of [`NumericMultivariateAggregation`](https://dev.nominal.io/api/rest/compute-service.md#numericmultivariateaggregation)
:   ​

### MultivariateUnitResult

`units` array of [`UnitResult`](https://dev.nominal.io/api/rest/compute-service.md#unitresult)
:   ​

### NamedSeries

`name` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Name of the new derived series.

`definition` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
:   Compute expression defining the series values.

### Negate

Negates each value in the series pointwise (multiplies by -1).

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series.

### NegativeValueConfiguration

Set `type` to the name of one of the other fields, and set only that field.

`allowNegativeValues` [`AllowNegativeValues`](https://dev.nominal.io/api/rest/compute-service.md#allownegativevalues)
:   Include negative output values

`setNegativeValuesToZero` [`SetNegativeValuesToZero`](https://dev.nominal.io/api/rest/compute-service.md#setnegativevaluestozero)
:   Set negative output values to zero

`excludeNegativeValues` [`ExcludeNegativeValues`](https://dev.nominal.io/api/rest/compute-service.md#excludenegativevalues)
:   Exclude points with negative output values

### NotEqualToSeries

Compares two numeric series point-wise, producing true where left != right and false otherwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

### NotRanges

The not ranges node will invert the ranges, filling the negative space in time.

`input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

### NthRange

Select the Nth range (0-indexed) from a range series.

`input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`index` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   ​

`sortOrder` [`RangeSortOrder`](https://dev.nominal.io/api/rest/compute-service.md#rangesortorder) required
:   ​

### Numeric1dArraySelectTagsSeries

Subsets the tag dimensions of the input numeric 1d array series to the given tag keys. Preserves the input series’ cardinality: points that share the selected keys but differ on dropped keys remain distinct.

`input` [`Numeric1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darrayseries) required
:   ​

`tagKeys` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

### Numeric1dArraySeries

Set `type` to the name of one of the other fields, and set only that field.

`channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries)
:   ​

`raw` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

`derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
:   ​

`selectNumeric1dArray` [`SelectSeries`](https://dev.nominal.io/api/rest/compute-service.md#selectseries)
:   ​

`extractFromStruct` [`ExtractNumeric1dArrayFromStructSeries`](https://dev.nominal.io/api/rest/compute-service.md#extractnumeric1darrayfromstructseries)
:   ​

`toStartOfInterval` [`Numeric1dArrayToStartOfIntervalSeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darraytostartofintervalseries)
:   ​

`timeShift` [`Numeric1dArrayTimeShiftSeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darraytimeshiftseries)
:   ​

`filterByTag` [`Numeric1dArrayTagFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darraytagfilterseries)
:   ​

`selectTags` [`Numeric1dArraySelectTagsSeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darrayselecttagsseries)
:   ​

### Numeric1dArrayTagFilterSeries

Applies a tag predicate to the numeric 1d array series produced by input.

`input` [`Numeric1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darrayseries) required
:   ​

`predicate` [`TagPredicate`](https://dev.nominal.io/api/rest/compute-service.md#tagpredicate) required
:   ​

### Numeric1dArrayTimeShiftSeries

`input` [`Numeric1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darrayseries) required
:   ​

`duration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

### Numeric1dArrayToStartOfIntervalSeries

Snaps each point’s timestamp to the start of its enclosing fixed-size time bucket. Buckets are epoch-aligned: a point at timestamp `t` (nanoseconds) is rewritten to `floor(t / window) * window`. Values and tag groupings are preserved; aggregation of points that collide on the snapped timestamp is the responsibility of downstream nodes.

`input` [`Numeric1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darrayseries) required
:   ​

`window` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   ​

### NumericAggregation

Aggregates an input series using the given operator. The shape of the aggregation (rolling time window, rolling point-count window, or group by) is selected by the aggregation builder passed as `input`. The operator must be compatible with that builder’s series, producing a numeric output: count reduces a series of any type, whereas SUM requires a numeric series.

`input` [`AggregationBuilder`](https://dev.nominal.io/api/rest/compute-service.md#aggregationbuilder) required
:   The aggregation shape to apply the operator over: a rolling time window, a rolling point-count window, or a group-by.

`operator` [`NumericAggregationOperator`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationoperator) required
:   The reduction applied to each window or group (e.g. sum, mean, percentile). Must be compatible with the input series, producing a numeric output: Count works on any input series, whereas reductions like Sum require a numeric series.

### NumericAggregationFunction

DEPRECATED. Use `NumericAggregationOperator` instead.

`SUM`
:   ​

`MEAN`
:   ​

`MIN`
:   ​

`MAX`
:   ​

`COUNT`
:   ​

`STANDARD_DEVIATION`
:   ​

`ROOT_MEAN_SQUARE`
:   ​

### NumericAggregationOperator

Unified numeric aggregation used across rolling windows, plain aggregates, range aggregates, union merges, and per-bucket summarization.

Set `type` to the name of one of the other fields, and set only that field.

`sum` [`Summation`](https://dev.nominal.io/api/rest/compute-service.md#summation)
:   ​

`average` [`Average`](https://dev.nominal.io/api/rest/compute-service.md#average)
:   ​

`min` [`Minimum`](https://dev.nominal.io/api/rest/compute-service.md#minimum)
:   ​

`max` [`Maximum`](https://dev.nominal.io/api/rest/compute-service.md#maximum)
:   ​

`count` [`Count`](https://dev.nominal.io/api/rest/compute-service.md#count)
:   ​

`standardDeviation` [`StandardDeviation`](https://dev.nominal.io/api/rest/compute-service.md#standarddeviation)
:   ​

`rootMeanSquare` [`RootMeanSquare`](https://dev.nominal.io/api/rest/compute-service.md#rootmeansquare)
:   ​

`percentile` [`Percentile`](https://dev.nominal.io/api/rest/compute-service.md#percentile)
:   ​

`udf` [`NumericAggregationUdf`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationudf)
:   ​

### NumericAggregationUdf

A user-defined numeric aggregation. The aggregation builder controls grouping/windowing. Supported Rust entrypoints accept grouped value vectors, optionally with leading sample timestamps, and return either one numeric value or timestamped numeric point(s), e.g. `fn rms(values: Vec<f64>) -> f64`, `fn energy(timestamp_ns: Vec<i64>, values: Vec<f64>) -> f64`, `fn first(timestamp_ns: Vec<i64>, values: Vec<f64>) -> (i64, f64)`, or `fn passthrough(timestamp_ns: Vec<i64>, values: Vec<f64>) -> Vec<(i64, f64)>`. The value vector’s element type follows the aggregated series: `Vec<f64>` for a numeric series, and `Vec<String>` for a categorical or struct series, where each struct row arrives as a JSON object. A UDF over a combined struct series may instead take one vector per named struct field it needs, e.g. `fn mean_product(channel0: Vec<f64>, channel1: Vec<f64>) -> f64`. Parameter names select the fields, so a subset of the struct’s fields in any order is accepted.

`source` [`UdfSource`](https://dev.nominal.io/api/rest/compute-service.md#udfsource) required
:   ​

### NumericApproximateFilterSeries

Outputs the values of the numeric plot value that are approximately equal to the threshold value.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`threshold` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`tolerance` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`operator` [`ApproximateThresholdOperator`](https://dev.nominal.io/api/rest/compute-service.md#approximatethresholdoperator) required
:   ​

### NumericBucket

`min` number
:   ​

`max` number
:   ​

`mean` number
:   ​

`count` integer (int64)
:   ​

`variance` number
:   The population variance of the bucket. If the bucket has only one value, this will be 0.

`firstPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
:   ​

`lastPoint` [`NumericPoint`](https://dev.nominal.io/api/rest/compute-service.md#numericpoint)
:   Will be empty if the bucket only has a single point.

`aggregations` map of string to number
:   Additional per-bucket aggregations that have no dedicated field above, keyed by the output column name requested via `numericAggregations` or `numericOutputFieldsV2` (e.g. `sum`, `standardDeviation`, `rootMeanSquare`, `p50`). Empty when no additional aggregations were requested.

### NumericConstantResampleInterpolationConfiguration

Fills all empty resample intervals with a single constant value.

If a resampled time interval (bucket) contains no data points from the input, it will be assigned the specified ‘constant’ as a default value. This applies to gaps at the start of the series, between data points, and at the end.

`constant` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

### NumericDataType

Supported numeric data types for value casting.

`INT64`
:   ​

`FLOAT64`
:   ​

`UINT64`
:   ​

### NumericEqualityRangesV2

Produces ranges where all numeric inputs are equal or are not all equal.

`inputs` array of [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   The series compared against each other. At least two are required.

`tolerance` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Maximum spread between the inputs still counted as equal. Defaults to zero, i.e. exact equality.

`minPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   Minimum number of matching points. Defaults to 1.

`minDuration` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration)
:   Minimum matching duration. Defaults to one nanosecond.

`rangeStart` [`RangeStart`](https://dev.nominal.io/api/rest/compute-service.md#rangestart)
:   Selects whether the output begins at the first match or after persistence is satisfied.

`equalityOperator` [`EqualityOperator`](https://dev.nominal.io/api/rest/compute-service.md#equalityoperator) required
:   ​

### NumericFilterTransformationSeries

Outputs the input points whose timestamps fall within the supplied ranges.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`filter` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   Keeps input points whose timestamps fall inside any of these ranges.

### NumericFilterWhereSeries

Outputs numeric input values where the provided Boolean expression evaluates to true.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`condition` [`BooleanSeries`](https://dev.nominal.io/api/rest/compute-service.md#booleanseries) required
:   Condition evaluated point-wise at each input timestamp. A point is only kept where the condition is true.

### NumericHistogramBucket

A bucket in a numeric histogram representing a range of values, and the counts of values in that range across all input series.

`lowerBound` number required
:   The lower bound of the bucket, inclusive

`upperBound` number required
:   The upper bound of the bucket, exclusive

`countsByChannel` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount)
:   ​

`buckets` map of `VariableName` to [`HistogramChannelCount`](https://dev.nominal.io/api/rest/compute-service.md#histogramchannelcount) deprecated
:   **Deprecated:** Use countsByChannel instead

### NumericHistogramBucketStrategy

Set `type` to the name of one of the other fields, and set only that field.

`bucketCount` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   The number of buckets to use in the histogram. Width is automatically calculated from the range of the input series, with the lower and upper bounds of the histogram being multiples of the width.

`bucketWidthAndOffset` [`NumericHistogramBucketWidthAndOffset`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogrambucketwidthandoffset)
:   ​

### NumericHistogramBucketWidthAndOffset

`width` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   The width of each bucket. If offset is not specified, the left and right bounds of each bucket are multiples of the width. If offset is specified, the left and right bounds of each bucket are shifted right by the offset value.

`offset` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   The rightward shift to apply to the left and right bounds of each bucket. If not specified, the offset will be 0. The offset must be non-negative.

### NumericHistogramNode

`inputs` map of `VariableName` to [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   ​

`bucketStrategy` [`NumericHistogramBucketStrategy`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogrambucketstrategy)
:   ​

### NumericHistogramPlot

`buckets` array of [`NumericHistogramBucket`](https://dev.nominal.io/api/rest/compute-service.md#numerichistogrambucket)
:   ​

### NumericIfElseSeries

Selects between two numeric series point-wise based on a boolean condition series. For every aligned timestamp, emits the value from `trueValue` where `condition` is true, and the value from `falseValue` otherwise.

`condition` [`BooleanSeries`](https://dev.nominal.io/api/rest/compute-service.md#booleanseries) required
:   Boolean series evaluated at each point to choose between the `trueValue` and `falseValue` branches.

`trueValue` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Value emitted at points where `condition` is true.

`falseValue` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Value emitted at points where `condition` is false.

### NumericLargestTriangleThreeBucketsSeries

Applies Largest-Triangle-Three-Buckets to a numeric time series for visualization-oriented downsampling. The algorithm preserves the first and last points, partitions the remaining input points based on the requested output count, and selects points that preserve the visual shape of the series. Results are selected input timestamp/value points, not fixed-width bucket aggregate rows.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`maxPointsToReturn` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   Maximum number of selected points to return. Must be positive and no greater than 10,000.

### NumericMultivariateAggregation

`MEAN`
:   ​

`MIN`
:   ​

`MAX`
:   ​

`FIRST`
:   ​

`LAST`
:   ​

### NumericNanFilter

Removes points where the value is NaN from the input series.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series.

### NumericNthPointDownsampleSeries

Keeps every Nth row of the timestamp-ordered input, per series. No grid arithmetic, no interpolation, no boundary handling. Output count is ceil(input_count / n) per series. Caller is responsible for choosing n consistent with the input’s sample rate; output spacing is only uniform when the input is.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`n` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   Keep every Nth point starting from the earliest in each series. Must be >= 1.

### NumericOutputField

`MIN`
:   ​

`MAX`
:   ​

`MEAN`
:   ​

`COUNT`
:   ​

`VARIANCE`
:   ​

`FIRST_POINT`
:   ​

`LAST_POINT`
:   ​

### NumericOutputFieldV2

Numeric bucket output field requested by the caller.

Set `type` to the name of one of the other fields, and set only that field.

`field` [`NumericOutputFieldV2Name`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfieldv2name)
:   ​

`percentile` [`NumericOutputPercentile`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputpercentile)
:   ​

### NumericOutputFieldV2Name

`MIN`
:   ​

`MAX`
:   ​

`MEAN`
:   ​

`COUNT`
:   ​

`VARIANCE`
:   ​

`FIRST_POINT`
:   ​

`LAST_POINT`
:   ​

`SUM`
:   ​

`STANDARD_DEVIATION`
:   ​

`ROOT_MEAN_SQUARE`
:   ​

### NumericOutputPercentile

`percentile` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   Percentile to compute, in range [0, 1].

`outputName` string
:   Optional output column name. Defaults to pXX, e.g. p95 for 0.95.

### NumericPlot

`timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   ​

`values` array of number
:   ​

`nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
:   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

### NumericPoint

`timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`value` number required
:   ​

### NumericPropertyPredicate

Matches resources that have a numeric value for the named property and whose value satisfies the operator. NEQ excludes resources that lack the property or store a string value under the same name.

`name` string required
:   ​

`value` number required
:   ​

`operator` [`PropertyComparisonOperator`](https://dev.nominal.io/api/rest/compute-service.md#propertycomparisonoperator) required
:   ​

### NumericPropertyRangeOperator

`BETWEEN`
:   ​

`NOT_BETWEEN`
:   ​

### NumericPropertyRangePredicate

Inclusive range on a numeric property. At least one bound is required. BETWEEN: min <= x <= max. An absent bound is unbounded on that side. NOT_BETWEEN: x < min OR x > max. An absent bound drops that side. Both operators require a numeric value for `name`. Missing properties and string values never match. Bounds are closed [min, max] to match the number chip (is between / is not between), not half-open.

`name` string required
:   ​

`min` number
:   ​

`max` number
:   ​

`operator` [`NumericPropertyRangeOperator`](https://dev.nominal.io/api/rest/compute-service.md#numericpropertyrangeoperator) required
:   ​

### NumericResampleConfiguration

`interval` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   Interval between resampled points

`interpolation` [`NumericResampleInterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#numericresampleinterpolationconfiguration)
:   Interpolation strategy to use (defaults to forward fill).

### NumericResampleInterpolationConfiguration

Set `type` to the name of one of the other fields, and set only that field.

`forwardFillResampleInterpolationConfiguration` [`ForwardFillResampleInterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#forwardfillresampleinterpolationconfiguration)
:   ​

`constantResampleInterpolationConfiguration` [`NumericConstantResampleInterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#numericconstantresampleinterpolationconfiguration)
:   ​

### NumericResampleSeries

Resamples the input series to a new resolution using interpolation. Outputs data for timestamps corresponding to the defined frequency. Based on interpolation strategy, determines range of timestamps to output data for and interpolates values where necessary.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`resampleConfiguration` [`NumericResampleConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#numericresampleconfiguration) required
:   The interpolation strategy and interval at which to resample the series

### NumericResampleSeriesV2

Resamples the input series at the authored interval using forward-fill.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`interval` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Interval at which to resample.

### NumericSelectTagsSeries

Subsets the tag dimensions of the input numeric series to the given tag keys. Preserves the input series’ cardinality: points that share the selected keys but differ on dropped keys remain distinct.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`tagKeys` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

### NumericSeries

Set `type` to the name of one of the other fields, and set only that field.

`abs` [`Abs`](https://dev.nominal.io/api/rest/compute-service.md#abs)
:   ​

`negate` [`Negate`](https://dev.nominal.io/api/rest/compute-service.md#negate)
:   ​

`cos` [`Cos`](https://dev.nominal.io/api/rest/compute-service.md#cos)
:   ​

`sin` [`Sin`](https://dev.nominal.io/api/rest/compute-service.md#sin)
:   ​

`tan` [`Tan`](https://dev.nominal.io/api/rest/compute-service.md#tan)
:   ​

`acos` [`Acos`](https://dev.nominal.io/api/rest/compute-service.md#acos)
:   ​

`asin` [`Asin`](https://dev.nominal.io/api/rest/compute-service.md#asin)
:   ​

`ln` [`Ln`](https://dev.nominal.io/api/rest/compute-service.md#ln)
:   ​

`log10` [`Log10`](https://dev.nominal.io/api/rest/compute-service.md#log10)
:   ​

`sqrt` [`Sqrt`](https://dev.nominal.io/api/rest/compute-service.md#sqrt)
:   ​

`add` [`Add`](https://dev.nominal.io/api/rest/compute-service.md#add)
:   ​

`subtract` [`Subtract`](https://dev.nominal.io/api/rest/compute-service.md#subtract)
:   ​

`multiply` [`Multiply`](https://dev.nominal.io/api/rest/compute-service.md#multiply)
:   ​

`divide` [`Divide`](https://dev.nominal.io/api/rest/compute-service.md#divide)
:   ​

`floorDivide` [`FloorDivide`](https://dev.nominal.io/api/rest/compute-service.md#floordivide)
:   ​

`power` [`Power`](https://dev.nominal.io/api/rest/compute-service.md#power)
:   ​

`modulo` [`Modulo`](https://dev.nominal.io/api/rest/compute-service.md#modulo)
:   ​

`atan2` [`Atan2`](https://dev.nominal.io/api/rest/compute-service.md#atan2)
:   ​

`max` [`MaxSeries`](https://dev.nominal.io/api/rest/compute-service.md#maxseries)
:   ​

`mean` [`MeanSeries`](https://dev.nominal.io/api/rest/compute-service.md#meanseries)
:   ​

`min` [`MinSeries`](https://dev.nominal.io/api/rest/compute-service.md#minseries)
:   ​

`sum` [`SumSeries`](https://dev.nominal.io/api/rest/compute-service.md#sumseries)
:   ​

`union` [`NumericUnionSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericunionseries)
:   ​

`product` [`ProductSeries`](https://dev.nominal.io/api/rest/compute-service.md#productseries)
:   ​

`constant` [`ConstantNumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#constantnumericseries)
:   ​

`selectNewestPoints` [`SelectNewestPointsSeries`](https://dev.nominal.io/api/rest/compute-service.md#selectnewestpointsseries)
:   ​

`selectNumeric` [`SelectSeries`](https://dev.nominal.io/api/rest/compute-service.md#selectseries)
:   ​

`selectNumericProperty` [`SelectProperty`](https://dev.nominal.io/api/rest/compute-service.md#selectproperty)
:   ​

`selectOldestPoints` [`SelectOldestPointsSeries`](https://dev.nominal.io/api/rest/compute-service.md#selectoldestpointsseries)
:   ​

`bitAnd` [`BitAnd`](https://dev.nominal.io/api/rest/compute-service.md#bitand)
:   ​

`bitOr` [`BitOr`](https://dev.nominal.io/api/rest/compute-service.md#bitor)
:   ​

`bitXor` [`BitXor`](https://dev.nominal.io/api/rest/compute-service.md#bitxor)
:   ​

`bitShiftRight` [`BitShiftRight`](https://dev.nominal.io/api/rest/compute-service.md#bitshiftright)
:   ​

`bitShiftLeft` [`BitShiftLeft`](https://dev.nominal.io/api/rest/compute-service.md#bitshiftleft)
:   ​

`bitTest` [`BitTest`](https://dev.nominal.io/api/rest/compute-service.md#bittest)
:   ​

`ifElse` [`NumericIfElseSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericifelseseries)
:   ​

`numericAggregation` [`NumericAggregation`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregation)
:   ​

`countDuplicate` [`EnumCountDuplicateSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumcountduplicateseries)
:   ​

`cumulativeSum` [`CumulativeSumSeries`](https://dev.nominal.io/api/rest/compute-service.md#cumulativesumseries)
:   ​

`derivative` [`DerivativeSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivativeseries)
:   ​

`integral` [`IntegralSeries`](https://dev.nominal.io/api/rest/compute-service.md#integralseries)
:   ​

`zScore` [`ZscoreSeries`](https://dev.nominal.io/api/rest/compute-service.md#zscoreseries)
:   ​

`raw` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

`derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
:   ​

`resample` [`NumericResampleSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericresampleseries)
:   ​

`resampleV2` [`NumericResampleSeriesV2`](https://dev.nominal.io/api/rest/compute-service.md#numericresampleseriesv2)
:   ​

`nthPointDownsample` [`NumericNthPointDownsampleSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericnthpointdownsampleseries)
:   ​

`largestTriangleThreeBuckets` [`NumericLargestTriangleThreeBucketsSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericlargesttrianglethreebucketsseries)
:   ​

`signalFilter` [`SignalFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#signalfilterseries)
:   ​

`timeDifference` [`TimeDifferenceSeries`](https://dev.nominal.io/api/rest/compute-service.md#timedifferenceseries)
:   ​

`absoluteTimestamp` [`AbsoluteTimestampSeries`](https://dev.nominal.io/api/rest/compute-service.md#absolutetimestampseries)
:   ​

`timeRangeFilter` [`NumericTimeRangeFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#numerictimerangefilterseries)
:   ​

`timeShift` [`NumericTimeShiftSeries`](https://dev.nominal.io/api/rest/compute-service.md#numerictimeshiftseries)
:   ​

`timeShiftV2` [`NumericTimeShiftSeriesV2`](https://dev.nominal.io/api/rest/compute-service.md#numerictimeshiftseriesv2)
:   ​

`unitConversion` [`UnitConversionSeries`](https://dev.nominal.io/api/rest/compute-service.md#unitconversionseries)
:   ​

`unitOverride` [`UnitOverrideSeries`](https://dev.nominal.io/api/rest/compute-service.md#unitoverrideseries)
:   ​

`valueDifference` [`ValueDifferenceSeries`](https://dev.nominal.io/api/rest/compute-service.md#valuedifferenceseries)
:   ​

`filterTransformation` [`NumericFilterTransformationSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericfiltertransformationseries)
:   ​

`filterWhere` [`NumericFilterWhereSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericfilterwhereseries)
:   ​

`thresholdFilter` [`NumericThresholdFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericthresholdfilterseries)
:   ​

`approximateFilter` [`NumericApproximateFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericapproximatefilterseries)
:   ​

`dropNan` [`NumericNanFilter`](https://dev.nominal.io/api/rest/compute-service.md#numericnanfilter)
:   ​

`select1dArrayIndex` [`SelectIndexFrom1dNumericArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#selectindexfrom1dnumericarrayseries)
:   ​

`aggregateUnderRanges` [`AggregateUnderRangesSeries`](https://dev.nominal.io/api/rest/compute-service.md#aggregateunderrangesseries)
:   ​

`rangeDuration` [`RangeDurationSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangedurationseries)
:   ​

`groupWithinRangesV2` [`GroupWithinRangesSeriesV2`](https://dev.nominal.io/api/rest/compute-service.md#groupwithinrangesseriesv2)
:   ​

`filterByExpression` [`FilterByExpressionSeries`](https://dev.nominal.io/api/rest/compute-service.md#filterbyexpressionseries)
:   ​

`scalarUdf` [`ScalarUdfSeries`](https://dev.nominal.io/api/rest/compute-service.md#scalarudfseries)
:   ​

`enumToNumeric` [`EnumToNumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumtonumericseries)
:   ​

`contains` [`ContainsSeries`](https://dev.nominal.io/api/rest/compute-service.md#containsseries)
:   ​

`refprop` [`RefpropSeries`](https://dev.nominal.io/api/rest/compute-service.md#refpropseries)
:   ​

`refpropV2` [`RefpropSeriesV2`](https://dev.nominal.io/api/rest/compute-service.md#refpropseriesv2)
:   ​

`extractFromStruct` [`ExtractNumericFromStructSeries`](https://dev.nominal.io/api/rest/compute-service.md#extractnumericfromstructseries)
:   ​

`tagByIntervals` [`TagByIntervalsSeries`](https://dev.nominal.io/api/rest/compute-service.md#tagbyintervalsseries)
:   ​

`filterByTag` [`NumericTagFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#numerictagfilterseries)
:   ​

`selectTags` [`NumericSelectTagsSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericselecttagsseries)
:   ​

`toStartOfInterval` [`NumericToStartOfIntervalSeries`](https://dev.nominal.io/api/rest/compute-service.md#numerictostartofintervalseries)
:   ​

`phaseUnwrap` [`PhaseUnwrapSeries`](https://dev.nominal.io/api/rest/compute-service.md#phaseunwrapseries)
:   ​

`aggregate` [`AggregateNumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#aggregatenumericseries) deprecated
:   **Deprecated:** AggregateNumericSeries is deprecated. Use `numericAggregation` with `aggregation.GroupByAggregationBuilder` instead.

`rollingOperation` [`RollingOperationSeries`](https://dev.nominal.io/api/rest/compute-service.md#rollingoperationseries) deprecated
:   **Deprecated:** RollingOperationSeries is deprecated. Use `numericAggregation` with `aggregation.RollingTimeAggregationBuilder` instead.

`bitOperation` [`BitOperationSeries`](https://dev.nominal.io/api/rest/compute-service.md#bitoperationseries) deprecated
:   **Deprecated:** BitOperationSeries is deprecated in favor of individual nodes for each operation.

`channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries) deprecated
:   **Deprecated:** Deprecated in favor of the SelectSeries node

`offset` [`OffsetSeries`](https://dev.nominal.io/api/rest/compute-service.md#offsetseries) deprecated
:   **Deprecated:** OffsetSeries is deprecated in favor of add with a constant.

`scale` [`ScaleSeries`](https://dev.nominal.io/api/rest/compute-service.md#scaleseries) deprecated
:   **Deprecated:** ScaleSeries is deprecated in favor of multiply with a constant.

`arithmetic` [`ArithmeticSeries`](https://dev.nominal.io/api/rest/compute-service.md#arithmeticseries) deprecated
:   **Deprecated:** ArithmeticSeries is deprecated in favor of individual nodes for each operation.

`unaryArithmetic` [`UnaryArithmeticSeries`](https://dev.nominal.io/api/rest/compute-service.md#unaryarithmeticseries) deprecated
:   **Deprecated:** UnaryArithmeticSeries is deprecated in favor of individual nodes for each operation.

`binaryArithmetic` [`BinaryArithmeticSeries`](https://dev.nominal.io/api/rest/compute-service.md#binaryarithmeticseries) deprecated
:   **Deprecated:** BinaryArithmeticSeries is deprecated in favor of individual nodes for each operation.

### NumericStaleRangesV2

Produces ranges where a numeric input has no data for at least a duration.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`threshold` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Minimum gap without data that produces an output range.

### NumericTagFilterSeries

Applies a tag predicate to the numeric series produced by input.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`predicate` [`TagPredicate`](https://dev.nominal.io/api/rest/compute-service.md#tagpredicate) required
:   ​

### NumericThresholdFilterSeries

Outputs only the values of the numeric plot value that satisfy the threshold condition.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`threshold` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`operator` [`ThresholdOperator`](https://dev.nominal.io/api/rest/compute-service.md#thresholdoperator) required
:   ​

### NumericTimeRangeFilterSeries

Filters the series to points within the specified time range.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`startTime` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant)
:   Represents the start time (inclusive) of the time range.

`endTime` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant)
:   Represents the end time (inclusive) of the time range.

### NumericTimeShiftSeries

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`duration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

### NumericTimeShiftSeriesV2

Shifts the timestamps in the input series by the resolved duration.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`duration` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Duration to shift the input series by.

### NumericToStartOfIntervalSeries

Snaps each point’s timestamp to the start of its enclosing fixed-size time bucket. Buckets are epoch-aligned: a point at timestamp `t` (nanoseconds) is rewritten to `floor(t / window) * window`. Values and tag groupings are preserved; aggregation of points that collide on the snapped timestamp is the responsibility of downstream nodes.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`window` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   ​

### NumericUnionOperation

DEPRECATED: apply aggregations as a separate step over the unioned output.

`MIN`
:   Combines multiple points by taking the minimum value

`MAX`
:   Combines multiple points by taking the maximum value

`MEAN`
:   Combines multiple points by taking the mean of the values

`SUM`
:   Combines multiple points by taking the sum of the values

`COUNT`
:   Combines multiple points by taking the count of the values

`STANDARD_DEVIATION`
:   Combines multiple points by taking the standard deviation of the values

`ROOT_MEAN_SQUARE`
:   Combines multiple points by taking the root mean square of the values

`THROW`
:   Throws a DuplicateTimestamp error if two series contain points with a duplicate timestamp.

### NumericUnionSeries

Combines multiple numeric series together and outputs a single series. By default, points from the inputs are concatenated (SQL {@code UNION ALL}) and duplicate timestamps across inputs are preserved. To aggregate values that share a timestamp, do a separate aggregation step next.

`input` array of [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   Input series to union

`operation` [`NumericUnionOperation`](https://dev.nominal.io/api/rest/compute-service.md#numericunionoperation) deprecated
:   The strategy to merge points with duplicate timestamps. **Deprecated:** Apply aggregations as a separate step over the unioned output.

### Nyquist

Returns a complex-valued frequency response, H(f), of the input series to the output series.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`output` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`stftOptions` [`StftOptions`](https://dev.nominal.io/api/rest/compute-service.md#stftoptions)
:   ​

### OffsetSeries

For every timestamp specified in the input series, offset it by a constant factor.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`scalar` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   The constant to add to each point

### OnChangeRanges

Produces a list of ranges for each point that has a different value to the previous point. A range will have identical start and end times.

`input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
:   ​

### OrSeries

Combines two boolean series point-wise using logical OR, producing true where either input is true and false otherwise.

`left` [`BooleanSeries`](https://dev.nominal.io/api/rest/compute-service.md#booleanseries) required
:   ​

`right` [`BooleanSeries`](https://dev.nominal.io/api/rest/compute-service.md#booleanseries) required
:   ​

### OutputFormat

`ARROW_V4`
:   ​

`ARROW_V3`
:   ​

`LEGACY`
:   ​

### OutputFrequencyType

`LINEAR`
:   Frequency in Hertz.

`ANGULAR`
:   Frequency in radians per second.

`NORMALIZED_LINEAR`
:   Normalized frequency, in the range [0, 0.5] for real-valued signals.

`NORMALIZED_ANGULAR`
:   Normalized angular frequency, in the range [0, π] for real-valued signals.

### OutputPhaseUnit

`RADIANS`
:   ​

`DEGREES`
:   ​

### OutputRangeStart

Set `type` to the name of one of the other fields, and set only that field.

`firstPointMatchingCondition` [`FirstPointMatchingCondition`](https://dev.nominal.io/api/rest/compute-service.md#firstpointmatchingcondition)
:   The first point in the output range will be the first point where the condition evaluates to true.

`afterPersistenceWindow` [`AfterPersistenceWindow`](https://dev.nominal.io/api/rest/compute-service.md#afterpersistencewindow)
:   The output range will contain points where the condition has been true for at least the min duration and min points.

### PaddedRanges

Expands ranges durations by adding temporal padding to the start, end, or both sides. Note that if the input ranges contain a RangeValue, it will be dropped.

`input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`padding` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

`paddingConfiguration` [`RangePaddingConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#rangepaddingconfiguration)
:   Configuration for how to apply padding to the ranges. Defaults to PAD_START_AND_END if not specified.

### PaddedRangesV2

Expands ranges using an authored Duration expression and a selected padding direction.

`input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`duration` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   How far to extend each range on every padded side.

`paddingConfiguration` [`RangePaddingConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#rangepaddingconfiguration) required
:   ​

### PagedLogPlot

`timestamps` array of [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   ​

`values` array of [`LogValue`](https://dev.nominal.io/api/rest/compute-service.md#logvalue)
:   ​

`nextPageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
:   Continuation token for this paged result. Can only be returned if paging was requested. To retrieve the next page, repeat the same request with this value as `pageToken` and keep the pageSize sign unchanged. Returned only when this response contains exactly `abs(pageSize)` points; the next response may still be empty if this page ended exactly at the result-set boundary. Empty means this response was short and there are no further points in the requested direction.

### PageInfo

Specification of a page for a series. Returns full resolution points beginning nearest to the given page token, advancing pageSize points in the time direction specified by the sign of the page size. Throws if the absolute pageSize is greater than 5,000. Paging cursors are not guaranteed to distinguish exact duplicate non-log points with the same timestamp, tags, and value. If those duplicates straddle a page boundary, later duplicates may be skipped.

`pageToken` [`PageToken`](https://dev.nominal.io/api/rest/compute-service.md#pagetoken)
:   ​

`pageSize` integer required
:   ​

### PageStrategy

Set `type` to the name of one of the other fields, and set only that field.

`pageInfo` [`PageInfo`](https://dev.nominal.io/api/rest/compute-service.md#pageinfo)
:   ​

### PageToken

Set `type` to the name of one of the other fields, and set only that field.

`timestampAndId` [`TimestampAndId`](https://dev.nominal.io/api/rest/compute-service.md#timestampandid)
:   ​

### ParameterInput

`variables` map of `VariableName` to [`VariableValue`](https://dev.nominal.io/api/rest/compute-service.md#variablevalue)
:   ​

`timeRange` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range)
:   Overrides the start and end time of the compute request. If either the start or end are not present, we default back to the start/end specified in the request.

### ParameterizedContext

`parameterInputs` array of [`ParameterInput`](https://dev.nominal.io/api/rest/compute-service.md#parameterinput)
:   Each parameter input provides a satisfying set of values for the parameterized compute node.

### PeakRanges

Produces a list of ranges for each point that is greater than its neighbors. Peaks at edges are discarded, and continuous, multivalue, flat peaks will return all values.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`returnsPeaks` boolean deprecated
:   True if returning peaks, else troughs. **Deprecated:** No longer used, use returnType instead

`returnType` [`PeakType`](https://dev.nominal.io/api/rest/compute-service.md#peaktype)
:   Optional for backcompatibility.

`minimumProminence` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   The minimum topographic prominence for an extrema to be returned. Prominence is the minimum vertical distance needed to travel from an extrema to one of greater magnitude.

### PeakType

`PEAK`
:   ​

`TROUGH`
:   ​

`BOTH`
:   ​

### PercentageThreshold

Threshold defined as the percentage of a given value.

`value` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   Allowed spread, as a percentage of the window’s mean value.

### Percentile

The value at the specified percentile.

`percentile` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   Percentile to compute, in range [0, 1]. E.g. 0.5 for median, 0.95 for p95.

### Periodogram

Returns the spectral density estimate (i.e. PSD) of the input series.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`method` [`PeriodogramMethod`](https://dev.nominal.io/api/rest/compute-service.md#periodogrammethod) required
:   ​

### PeriodogramMethod

`WELCH_BLACKMAN`
:   ​

`WELCH_HANN`
:   ​

`WELCH_HAMMING`
:   ​

`WELCH_RECT`
:   ​

### PersistenceWindowConfiguration

Configures how long a condition has to be true for to output a time range, and what to use as the start of the output range. For a point to be included in the output time range, both the minPoints and minDuration conditions must be satisfied.

`minPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   The minimum number of points for which this condition be must satisfied to include the time range in the output. Must be non-negative. If not present, will default to 1.

`minDuration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant)
:   The minimum number of points for which this condition must be satisfied to include the time range in the output. Must be non-negative. If not present, will default to 1 nanosecond.

`outputRangeStart` [`OutputRangeStart`](https://dev.nominal.io/api/rest/compute-service.md#outputrangestart) required
:   Which point to use as the start of the output range. Defaults to firstPointMatchingCondition if not specified.

### PhaseUnwrapSeries

Removes discontinuities from a wrapping signal (e.g. phase or heading) by adding whole multiples of `period` whenever the step between consecutive samples exceeds half the period. Output length equals input length.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`period` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   The wrapping period of the signal (e.g. 2*pi for radians, 360 for degrees). A jump between consecutive samples greater than `period/2` in magnitude is corrected by adding/subtracting a whole multiple of `period`.

### PhysicalConstant

Physical constants referenceable by name. The server resolves the symbol to its numeric value in SI units.

`SPEED_OF_LIGHT`
:   Speed of light in vacuum, 299792458 m/s (exact).

`AVOGADRO`
:   Avogadro constant, 6.02214076e23 mol^-1 (exact).

`BOLTZMANN`
:   Boltzmann constant, 1.380649e-23 J/K (exact).

`PLANCK`
:   Planck constant, 6.62607015e-34 J*s (exact).

`ELEMENTARY_CHARGE`
:   Elementary charge, 1.602176634e-19 C (exact).

`GAS_CONSTANT`
:   Molar gas constant, 8.31446261815324 J/(mol*K) (exact, Avogadro times Boltzmann).

`STANDARD_GRAVITY`
:   Standard acceleration of gravity, 9.80665 m/s^2 (exact by convention).

`STANDARD_ATMOSPHERE`
:   Standard atmosphere, 101325 Pa (exact by convention).

`ABSOLUTE_ZERO_CELSIUS`
:   Absolute zero expressed in degrees Celsius, -273.15 (exact).

`GRAVITATIONAL_CONSTANT`
:   Newtonian constant of gravitation, 6.67430e-11 m^3/(kg*s^2) (CODATA 2022, measured).

`STEFAN_BOLTZMANN`
:   Stefan-Boltzmann constant, 5.670374419e-8 W/(m^2*K^4) (exact derived).

### PinnedModuleVersionReference

`version` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

### Point3d

`x` number required
:   ​

`y` number required
:   ​

`z` number required
:   ​

`timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

### PolynomialCurve

`degree` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The highest allowable degree of the fit polynomial.

`intercept` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   The y-value at the point x (or t) = 0. If omitted, the y-intercept will also be fit to the data.

### PolynomialCurveFit

A polynomial fit of the enclosing target (`y`) against the chosen independent variable (`x`).

`independentVariable` [`CurveFitVariable`](https://dev.nominal.io/api/rest/compute-service.md#curvefitvariable) required
:   The `x` axis the target is fit against — either relative sample time or another series.

`degree` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The highest allowable degree of the fit polynomial.

`intercept` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   The y-value at the point x (or t) = 0. If omitted, the y-intercept will also be fit to the data.

### PolynomialResultDetails

y = sum( a_i * x^i ) for i in 0…len(a)

`a` array of number
:   ​

### Power

Raises base to the power of exponent pointwise.

`base` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Base values.

`exponent` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Exponent values.

### PowerCurve

An empty JSON object, `{}`.

### PowerResultDetails

y = a * x^b

`a` number required
:   ​

`b` number required
:   ​

### ProductSeries

For every timestamp specified in the input series, outputs a value that is the product for that timestamp across all input series. Only outputs timestamps where all input series have an entry for that timestamp, subject to interpolation.

`inputs` array of [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   Input series across which to take the pointwise product

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### PropertiesFilter

`name` string required
:   ​

`values` array of string
:   ​

### Property

`name` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`value` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

### PropertyComparisonOperator

`EQ`
:   ​

`NEQ`
:   ​

`GT`
:   ​

`GTE`
:   ​

`LT`
:   ​

`LTE`
:   ​

### Psd

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`stftOptions` [`StftOptions`](https://dev.nominal.io/api/rest/compute-service.md#stftoptions)
:   ​

`magnitudeScaling` [`MagnitudeScaling`](https://dev.nominal.io/api/rest/compute-service.md#magnitudescaling)
:   The scaling to apply to the output magnitude. Defaults to MAGNITUDE_DB_10 if not specified.

`outputFrequencyType` [`OutputFrequencyType`](https://dev.nominal.io/api/rest/compute-service.md#outputfrequencytype)
:   The type of the output frequency. Defaults to LINEAR if not specified. Changing the output frequency unit may also rescale the magnitude of the output in order to ensure the density of the output is consistent.

`summarizationStrategy` [`FrequencySummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#frequencysummarizationstrategy)
:   Strategy to downsample the output frequency spectrum.

### QuotaIntervalUsage

`durationSeconds` integer (int64) required
:   Length of the quota window in seconds.

`currentWindow` [`QuotaWindow`](https://dev.nominal.io/api/rest/compute-service.md#quotawindow)
:   Bounds of the current quota window. Usage counters reset at the window’s end.

`resources` array of [`QuotaResourceUsage`](https://dev.nominal.io/api/rest/compute-service.md#quotaresourceusage)
:   Usage per limited resource. Resources without a configured limit are not reported.

### QuotaResourceType

Resource types that can be limited by the per-user compute quota.

`READ_ROWS`
:   ​

`READ_BYTES`
:   ​

`QUERIES`
:   ​

`ERRORS`
:   ​

`EXECUTION_TIME`
:   ​

### QuotaResourceUsage

`resource` [`QuotaResourceType`](https://dev.nominal.io/api/rest/compute-service.md#quotaresourcetype) required
:   ​

`used` number required
:   Amount consumed within the current window, in the resource’s native unit (rows, bytes, query count, or seconds for EXECUTION_TIME).

`limit` number required
:   The cap for this resource in this window.

### QuotaWindow

`startTime` string (date-time) required
:   ​

`endTime` string (date-time) required
:   ​

### Range

The end represents the first timestamp that does not belong to the range. If absent, there is no known end to the range.

`start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   ​

`end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   ​

`value` [`RangeValue`](https://dev.nominal.io/api/rest/compute-service.md#rangevalue)
:   ​

### RangeAggregation

An aggregation value representing combined aggregation metrics for data over a range.

`average` number required
:   ​

`min` number required
:   ​

`max` number required
:   ​

`standardDeviation` number required
:   ​

`count` number required
:   ​

`sum` number required
:   ​

`rootMeanSquare` number
:   ​

### RangeAggregationOperation

Set `type` to the name of one of the other fields, and set only that field.

`sum` [`Summation`](https://dev.nominal.io/api/rest/compute-service.md#summation)
:   ​

`rootMeanSquare` [`RootMeanSquare`](https://dev.nominal.io/api/rest/compute-service.md#rootmeansquare)
:   ​

`average` [`Average`](https://dev.nominal.io/api/rest/compute-service.md#average)
:   ​

`min` [`Minimum`](https://dev.nominal.io/api/rest/compute-service.md#minimum)
:   ​

`max` [`Maximum`](https://dev.nominal.io/api/rest/compute-service.md#maximum)
:   ​

`standardDeviation` [`StandardDeviation`](https://dev.nominal.io/api/rest/compute-service.md#standarddeviation)
:   ​

`count` [`Count`](https://dev.nominal.io/api/rest/compute-service.md#count)
:   ​

`all` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   ​

### RangeDurationSeries

Outputs a numeric series with one point per range: timestamp = range start, value = range duration.

`input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`unboundedRangeBehavior` [`UnboundedRangeBehavior`](https://dev.nominal.io/api/rest/compute-service.md#unboundedrangebehavior) required
:   How to handle ranges with a missing start or end.

`timeUnit` [`TimeUnit`](https://dev.nominal.io/api/rest/compute-service.md#timeunit)
:   The time unit of the duration. Defaults to seconds if not specified.

### RangeIntervalSource

Intervals come from a range series. Must resolve to literal ranges.

`ranges` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`tagBy` array of [`RangeTagSource`](https://dev.nominal.io/api/rest/compute-service.md#rangetagsource)
:   Non-empty ordered list of tag sources. Each contributes a tag key-value pair per range interval.

### RangeMap

`start` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Inclusive start value. If not specified, the start is the prior range’s end value, or negative infinity.

`end` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Exclusive end value. If not specified, the end value is the next range’s start value, or positive infinity.

`output` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   The value to map to if the input value is within the range.

### RangePaddingConfiguration

`PAD_START`
:   ​

`PAD_END`
:   ​

`PAD_START_AND_END`
:   ​

### RangesAnchor

Uses the start timestamp of the range at the configured zero-based index from `ranges` evaluated over each interval, considering only ranges whose start lies in the anchor window [start, end), or [start, +infinity) when the end is absent. The window is the run bounds for a run anchor. A range already in progress when the window opens anchors at the window start. Series in `ranges` that select no explicit dataset resolve against the aligned input dataset, and the computed range groups must carry the aligned runs’ `runRid` grouping tags.

`ranges` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   The range series evaluated per interval to locate the anchor range.

`index` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   Zero-based range index after sorting. Defaults to zero and must be non-negative.

`sortOrder` [`RangeSortOrder`](https://dev.nominal.io/api/rest/compute-service.md#rangesortorder)
:   Ordering by range start timestamp before selecting the index. Defaults to ASC.

### RangeSeries

Set `type` to the name of one of the other fields, and set only that field.

`approximateThreshold` [`ApproximateThresholdRanges`](https://dev.nominal.io/api/rest/compute-service.md#approximatethresholdranges)
:   ​

`booleanRanges` [`BooleanRanges`](https://dev.nominal.io/api/rest/compute-service.md#booleanranges)
:   ​

`thresholdRangesV2` [`ThresholdRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#thresholdrangesv2)
:   ​

`durationFilter` [`DurationFilterRanges`](https://dev.nominal.io/api/rest/compute-service.md#durationfilterranges)
:   ​

`durationFilterV2` [`DurationFilterRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#durationfilterrangesv2)
:   ​

`enumFilter` [`EnumFilterRanges`](https://dev.nominal.io/api/rest/compute-service.md#enumfilterranges)
:   ​

`categoryFilterRangesV2` [`CategoryFilterRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#categoryfilterrangesv2)
:   ​

`categoricalOnChangeRangesV2` [`CategoricalOnChangeRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#categoricalonchangerangesv2)
:   ​

`categoricalStaleRangesV2` [`CategoricalStaleRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#categoricalstalerangesv2)
:   ​

`categoricalEqualityRangesV2` [`CategoricalEqualityRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#categoricalequalityrangesv2)
:   ​

`enumSeriesEqualityRangesNode` [`EnumSeriesEqualityRanges`](https://dev.nominal.io/api/rest/compute-service.md#enumseriesequalityranges)
:   ​

`eventsSearch` [`EventsSearchRanges`](https://dev.nominal.io/api/rest/compute-service.md#eventssearchranges)
:   ​

`intersectRange` [`IntersectRanges`](https://dev.nominal.io/api/rest/compute-service.md#intersectranges)
:   ​

`literalRanges` [`LiteralRanges`](https://dev.nominal.io/api/rest/compute-service.md#literalranges)
:   ​

`minMaxThreshold` [`MinMaxThresholdRanges`](https://dev.nominal.io/api/rest/compute-service.md#minmaxthresholdranges)
:   Computes ranges where the input time series matches a filter defined by lower and upper bounds, and an operator.

`not` [`NotRanges`](https://dev.nominal.io/api/rest/compute-service.md#notranges)
:   ​

`onChange` [`OnChangeRanges`](https://dev.nominal.io/api/rest/compute-service.md#onchangeranges)
:   ​

`peak` [`PeakRanges`](https://dev.nominal.io/api/rest/compute-service.md#peakranges)
:   ​

`extremaRangesV2` [`ExtremaRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#extremarangesv2)
:   ​

`rangeNumericAggregation` [`RangesNumericAggregation`](https://dev.nominal.io/api/rest/compute-service.md#rangesnumericaggregation)
:   ​

`raw` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

`derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
:   ​

`seriesCrossoverRangesNode` [`SeriesCrossoverRanges`](https://dev.nominal.io/api/rest/compute-service.md#seriescrossoverranges)
:   ​

`seriesEqualityRangesNode` [`SeriesEqualityRanges`](https://dev.nominal.io/api/rest/compute-service.md#seriesequalityranges)
:   ​

`numericEqualityRangesV2` [`NumericEqualityRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#numericequalityrangesv2)
:   ​

`stabilityDetection` [`StabilityDetectionRanges`](https://dev.nominal.io/api/rest/compute-service.md#stabilitydetectionranges)
:   ​

`stabilityDetectionV2` [`StabilityDetectionRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#stabilitydetectionrangesv2)
:   ​

`staleRange` [`StaleRanges`](https://dev.nominal.io/api/rest/compute-service.md#staleranges)
:   ​

`numericStaleRangesV2` [`NumericStaleRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#numericstalerangesv2)
:   ​

`threshold` [`ThresholdingRanges`](https://dev.nominal.io/api/rest/compute-service.md#thresholdingranges)
:   Computes ranges where the input time series matches a filter defined by a single threshold and an operator.

`unionRange` [`UnionRanges`](https://dev.nominal.io/api/rest/compute-service.md#unionranges)
:   ​

`paddedRanges` [`PaddedRanges`](https://dev.nominal.io/api/rest/compute-service.md#paddedranges)
:   ​

`paddedRangesV2` [`PaddedRangesV2`](https://dev.nominal.io/api/rest/compute-service.md#paddedrangesv2)
:   ​

### RangesNumericAggregation

Aggregates the values of a numeric series at each range specified by the input ranges.

`ranges` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`operation` [`RangeAggregationOperation`](https://dev.nominal.io/api/rest/compute-service.md#rangeaggregationoperation) required
:   ​

### RangeSortOrder

Sort order for selecting ranges. ASC selects from earliest to latest, DESC selects from latest to earliest.

`ASC`
:   ​

`DESC`
:   ​

### RangesSummary

A summary of the ranges returned from a SummarizeRanges request. Returned when the number of ranges found is above a threshold.

`rangesSummary` array of [`RangeSummary`](https://dev.nominal.io/api/rest/compute-service.md#rangesummary)
:   ​

### RangeStart

Selects which point of a satisfied condition begins the output range.

`CONDITION_START`
:   ​

`PERSISTENCE_START`
:   ​

### RangeSummary

Summary of a set of ranges

`range` [`Range`](https://dev.nominal.io/api/rest/compute-service.md#range) required
:   The range representing the minimum start and maximum end times of the ranges.

`subRangeCount` integer required
:   The number of ranges found within this time range.

### RangeTagSource

A dimension contributing a tag key-value pair per range interval.

Set `type` to the name of one of the other fields, and set only that field.

`intervalIndex` [`IntervalIndexTag`](https://dev.nominal.io/api/rest/compute-service.md#intervalindextag)
:   ​

`rangeStartTimestamp` [`IntervalStartTimestampTag`](https://dev.nominal.io/api/rest/compute-service.md#intervalstarttimestamptag)
:   ​

### RangeValue

A value attached to a range. If there are no relevant data points in the range, this will be noPointsInRange for the range; otherwise, an Aggregation will be returned if this is produced by getting multiple aggregation values over a range (i.e. aggregating for all metrics over a range), and will be a double otherwise for singular values (i.e. aggregating for just the sum of data values over a range).

Set `type` to the name of one of the other fields, and set only that field.

`double` number
:   ​

`aggregation` [`RangeAggregation`](https://dev.nominal.io/api/rest/compute-service.md#rangeaggregation)
:   ​

`noPointsInRange` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   ​

### Reference

`name` string required
:   A reference to a value not defined in the current compute scope.

### RefpropProperty

Supported properties for REFPROP calculations.

`TEMPERATURE`
:   ​

`PRESSURE`
:   ​

`MASS_DENSITY`
:   ​

`MASS_SPECIFIC_ENTHALPY`
:   ​

`MASS_SPECIFIC_INTERNAL_ENERGY`
:   ​

`MASS_SPECIFIC_ENTROPY`
:   ​

`VISCOSITY`
:   ​

### RefpropSeries

Computes the output property given input properties for the substance using REFPROP. Initial implementation only expects two input properties.

`inputs` map of string to [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   A map that maps a REFPROP property to its numeric series.

`outputProperty` [`RefpropProperty`](https://dev.nominal.io/api/rest/compute-service.md#refpropproperty) required
:   The desired output property. This should not be one of the input properties.

`substance` [`RefpropSubstance`](https://dev.nominal.io/api/rest/compute-service.md#refpropsubstance) required
:   The substance for REFPROP calculations.

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   **Deprecated:** Setting interpolation on this node is deprecated.

### RefpropSeriesV2

Computes a REFPROP output property from the supplied substance and output property.

`inputs` map of string to [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   Map of REFPROP property to its numeric series.

`substance` [`RefpropSubstance`](https://dev.nominal.io/api/rest/compute-service.md#refpropsubstance) required
:   The substance for REFPROP calculations.

`outputProperty` [`RefpropProperty`](https://dev.nominal.io/api/rest/compute-service.md#refpropproperty) required
:   The desired output property. This must not be one of the input properties.

### RefpropSubstance

Supported substances for REFPROP calculations

`NITROGEN`
:   ​

`OXYGEN`
:   ​

`HELIUM`
:   ​

`HYDROGEN`
:   ​

`METHANE`
:   ​

`PROPANE`
:   ​

`BUTANE`
:   ​

`WATER`
:   ​

`XENON`
:   ​

`AIR`
:   ​

`CARBON_DIOXIDE`
:   ​

`ARGON`
:   ​

`CARBON_MONOXIDE`
:   ​

`JET_A_4658`
:   ​

`JET_A_3638`
:   ​

### RequestInactive

No query for this request was running at sample time; not necessarily finished.

An empty JSON object, `{}`.

### RequestInProgress

Summed across the request’s active queries when it fans out into more than one.

`readRows` integer (int64) required
:   ​

`totalRowsApprox` integer (int64) required
:   May grow while a query runs as new sources to process become known.

### RequestProgress

Set `type` to the name of one of the other fields, and set only that field.

`inProgress` [`RequestInProgress`](https://dev.nominal.io/api/rest/compute-service.md#requestinprogress)
:   ​

`inactive` [`RequestInactive`](https://dev.nominal.io/api/rest/compute-service.md#requestinactive)
:   ​

### ResourceSearchQuery

Predicate tree for filtering.

Set `type` to the name of one of the other fields, and set only that field.

`properties` [`PropertiesFilter`](https://dev.nominal.io/api/rest/compute-service.md#propertiesfilter)
:   ​

`numericProperty` [`NumericPropertyPredicate`](https://dev.nominal.io/api/rest/compute-service.md#numericpropertypredicate)
:   ​

`numericPropertyRange` [`NumericPropertyRangePredicate`](https://dev.nominal.io/api/rest/compute-service.md#numericpropertyrangepredicate)
:   Matches resources using an inclusive numeric property range.

`labels` [`LabelsFilter`](https://dev.nominal.io/api/rest/compute-service.md#labelsfilter)
:   ​

`workspace` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`and` array of [`ResourceSearchQuery`](https://dev.nominal.io/api/rest/compute-service.md#resourcesearchquery)
:   ​

`or` array of [`ResourceSearchQuery`](https://dev.nominal.io/api/rest/compute-service.md#resourcesearchquery)
:   ​

`not` [`ResourceSearchQuery`](https://dev.nominal.io/api/rest/compute-service.md#resourcesearchquery)
:   ​

### RollingOperationSeries

DEPRECATED. Use `numericAggregation` with `aggregation.RollingTimeAggregationBuilder` instead.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`window` [`Window`](https://dev.nominal.io/api/rest/compute-service.md#window) required
:   ​

`operator` [`NumericAggregationOperator`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationoperator) required
:   ​

### RollingPointsAggregationBuilder

Rolling point-count aggregation: for each point in the input, aggregate the current point and the preceding N - 1 points within the same tag grouping.

`input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
:   ​

`points` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   ​

### RollingTimeAggregationBuilder

Rolling time-window aggregation: for each point in the input, aggregate the values within the preceding time window.

`input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
:   ​

`window` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   ​

### RootMeanSquare

The root mean square of points inside the time window.

An empty JSON object, `{}`.

### Run

Run reference for `Dataset.run`. The `rid` field accepts either a literal run RID or a `StringConstant` reference resolved from `Context`.

`rid` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Resource identifier of a run

### run.api.Duration

`seconds` integer (int64) required
:   ​

`nanos` integer (int64) required
:   ​

### RunChannel

`runRid` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`assetRid` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Used to disambiguate when multiple assets within this run contain data scopes with the same name. If not specified for a run with multiple assets, an error will be thrown.

`dataScopeName` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Used to disambiguate when multiple data scopes within this run contain channels with the same name.

`channel` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`additionalTags` map of string to [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) deprecated
:   **Deprecated:** Use additionalTagFilters

`additionalTagFilters` [`TagFilters`](https://dev.nominal.io/api/rest/compute-service.md#tagfilters)
:   Tags to filter the channel by, in addition to tag filters defined for a given Run data scope. Throws on collisions with tag keys already defined for the given Run data scope. Only returns points that match both sets of tag filters. For log series, include arg filters here in addition to tag filters.

`tagsToGroupBy` array of string deprecated
:   **Deprecated:** Use groupByTags instead. Throws if both tagsToGroupBy and groupByTags are specified.

`groupByTags` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Tags that the channel should be grouped by. If this is non-empty a grouped result will be returned with an entry for each grouping. Only one of tagsToGroupBy and groupByTags should be specified.

### RunsSearchTarget

Search runs. Each matched run expands to one grouping per data source attached to the run: asset-typed data sources contribute one grouping per data scope on the asset; dataset-typed data sources contribute one grouping per dataset. Every grouping is tagged by `runRid` and `dataScope` (the asset’s data scope name for asset-typed sources, or the run-local data source ref name for dataset-typed sources); asset-typed groupings additionally carry `assetRid`.

`query` [`ResourceSearchQuery`](https://dev.nominal.io/api/rest/compute-service.md#resourcesearchquery) required
:   Predicate tree used to filter matching runs.

### RustUdfSource

Rust source code defining the UDF entrypoint and any helper functions.

`sourceCode` string required
:   Rust source code to transpile into WASM. The operation consuming this source defines the entrypoint signature: scalar UDFs receive one scalar per input series, while aggregation UDFs receive grouped value vectors. If several functions appear at the top level, annotate the entrypoint with `#[main]`.

### Sampling

Options for returning a sampled subset of raw series points.

Set `type` to the name of one of the other fields, and set only that field.

`everyNthPerSeries` [`EveryNthPerSeriesSampling`](https://dev.nominal.io/api/rest/compute-service.md#everynthperseriessampling)
:   ​

`hashSubsample` [`HashSubsampleSampling`](https://dev.nominal.io/api/rest/compute-service.md#hashsubsamplesampling)
:   ​

### SavedDataset

A persisted source of data, named by its RID. Can be a catalog dataset, pipeline, connection, etc.

`rid` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   A data source RID, given as a literal or as a variable resolved from `Context`. A pipeline’s logic only accepts catalog datasets/pipelines, since it is persisted without context.

### ScalarUdfSeries

Executes user-provided scalar UDF code over aligned inputs. The function must return one output for each aligned input row, with the return type matching the series type that contains this node.

`inputs` array of [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
:   Input series passed to the UDF in argument order.

`source` [`UdfSource`](https://dev.nominal.io/api/rest/compute-service.md#udfsource) required
:   Language-specific source definition for the UDF.

### ScaleSeries

For every timestamp specified in the input series, multiply it by a constant factor.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`scalar` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   The constant to multiply each point by

`scalarUnit` string
:   The units of the scalar to multiply by. If empty, the scalar is considered unit-less.

### Scatter

A scatter plot comprised of the values from one input series on the x-axis and values from another input series on the y-axis, for all points within a requested time range.

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`y` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

### Scatter3d

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`y` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`z` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`driverSeries` [`DriverSeries3d`](https://dev.nominal.io/api/rest/compute-service.md#driverseries3d)
:   ​

### ScatterCurveFit

Fits a curve to the scatter between two series.

`scatter` [`Scatter`](https://dev.nominal.io/api/rest/compute-service.md#scatter) required
:   The x and y series to fit to.

`options` [`ScatterFitOptions`](https://dev.nominal.io/api/rest/compute-service.md#scatterfitoptions) required
:   ​

### ScatterFitOptions

`minX` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Inclusive lower bound on the x values to fit to. If omitted, does not set a bound (equivalent to setting this to the minimum x value among all points in the time range).

`maxX` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Inclusive upper bound on the x values to fit to. If omitted, does not set a bound (equivalent to setting this to the maximum x value among all points in the time range).

`minY` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Inclusive lower bound on the y values to fit to. If omitted, does not set a bound (equivalent to setting this to the minimum y value among all points in the time range).

`maxY` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Inclusive upper bound on the y values to fit to. If omitted, does not set a bound (equivalent to setting this to the maximum y value among all points in the time range).

### ScatterSummarizationStrategy

Set `type` to the name of one of the other fields, and set only that field.

`spatial` [`SpatialDecimateStrategy`](https://dev.nominal.io/api/rest/compute-service.md#spatialdecimatestrategy)
:   ​

`temporal` [`TemporalDecimateStrategy`](https://dev.nominal.io/api/rest/compute-service.md#temporaldecimatestrategy)
:   ​

### ScatterTemporalAggregation

`MEAN`
:   ​

`MIN`
:   ​

`MAX`
:   ​

`FIRST`
:   ​

`LAST`
:   ​

### SearchDataset

Resolves matching assets or runs from search, creating a combined dataset tagged by source rid and data scope.

`target` [`SearchTarget`](https://dev.nominal.io/api/rest/compute-service.md#searchtarget) required
:   Whether to search assets or runs and with which query.

`maxResults` integer
:   Maximum number of assets or runs returned from search. Defaults to 10000 when omitted.

### SearchEventOriginType

`WORKBOOK`
:   ​

`TEMPLATE`
:   ​

`API`
:   ​

`DATA_REVIEW`
:   ​

`PROCEDURE`
:   ​

### SearchTarget

Set `type` to the name of one of the other fields, and set only that field.

`assets` [`AssetsSearchTarget`](https://dev.nominal.io/api/rest/compute-service.md#assetssearchtarget)
:   ​

`runs` [`RunsSearchTarget`](https://dev.nominal.io/api/rest/compute-service.md#runssearchtarget)
:   ​

### SelectIndexFrom1dEnumArraySeries

For each timestamp, selects a single enum value from the 1D enum array at the specified index. If the index is out of bounds for an array at a given timestamp, it is omitted.

`input` [`Enum1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#enum1darrayseries) required
:   ​

`index` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   ​

### SelectIndexFrom1dNumericArraySeries

For each timestamp, selects a single numeric value from the 1D numeric array at the specified index. If the index is out of bounds for an array at a given timestamp, it is omitted.

`input` [`Numeric1dArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#numeric1darrayseries) required
:   ​

`index` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   ​

### SelectNewestPointsSeries

Select the most recent N points from the input series by timestamp.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   The input series to select the newest points from.

`numPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The number of points to select.

### SelectOldestPointsSeries

Select the earliest N points from the input series by timestamp.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   The input series to select the oldest points from.

`numPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   The number of points to select.

### SelectProperty

Selects a typed property value from every asset or run branch resolved from `dataset`. Inside a `WithSeriesDataset` definition, `dataset` may be omitted to use that node’s wrapping input; it is required everywhere else. Asset branches read properties directly from their asset. Run branches read properties directly from their run, never from a backing asset or dataset. Direct saved-dataset branches are unsupported.

`propertyName` string required
:   ​

`dataset` [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
:   ​

### SelectSeries

Selects series from a dataset (might contain multiple tag groupings). When `name` is provided, selects that single channel. When `name` is omitted, selection starts from all channels in the dataset scope; callers narrow the selection with a `filterByTag` predicate on the reserved `NOMINAL_CHANNEL` tag key and preserve per-channel identity in the response with `selectTags`. Providing both `name` and a `NOMINAL_CHANNEL` filter is rejected as an invalid request. Raw and derived channels can both be selected through the reserved tag filter.

`name` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   The identifying series name to query

`dataset` [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset)
:   The dataset providing the data to query. May be omitted inside a `WithSeriesDataset` series definition, in which case it defaults to that node’s wrapping `input`; required everywhere else.

`sampling` [`Sampling`](https://dev.nominal.io/api/rest/compute-service.md#sampling)
:   Raw-series sampling options. Supported for numeric and enum raw series.

### SelectValue

Set `type` to the name of one of the other fields, and set only that field.

`firstPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
:   ​

`firstValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
:   ​

`firstRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
:   ​

`lastPoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
:   ​

`lastValuePoint` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series)
:   ​

`lastRange` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
:   ​

`nthRange` [`NthRange`](https://dev.nominal.io/api/rest/compute-service.md#nthrange)
:   ​

### SerializableError

A SerializableError is a representation of a ServiceException that exists to send error results to clients as part of a response object when directly throwing an exception is undesirable.

`name` string required
:   ​

`message` string
:   ​

`errorInstanceId` string required
:   ​

`statusCode` integer required
:   ​

`params` map of string to string
:   ​

### Series

Set `type` to the name of one of the other fields, and set only that field.

`raw` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference) deprecated
:   **Deprecated:** use typed value of series instead.

`enum` [`EnumSeries`](https://dev.nominal.io/api/rest/compute-service.md#enumseries)
:   ​

`numeric` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   ​

`log` [`LogSeries`](https://dev.nominal.io/api/rest/compute-service.md#logseries)
:   ​

`array` [`ArraySeries`](https://dev.nominal.io/api/rest/compute-service.md#arrayseries)
:   ​

`struct` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries)
:   ​

`video` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

### SeriesCrossoverRanges

Produces a list of zero-duration ranges at the first point where two series cross over one another

`inputA` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`inputB` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   The series `inputA` is compared against.

### SeriesEqualityRanges

Produces a list of ranges for which provided series are all equal (or are not all equal).

`input` array of [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   ​

`equalityOperator` [`EqualityOperator`](https://dev.nominal.io/api/rest/compute-service.md#equalityoperator) required
:   ​

`tolerance` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   ​

`persistenceWindowConfiguration` [`PersistenceWindowConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#persistencewindowconfiguration)
:   ​

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### SeriesVariable

A series selected from a dataset, bound to a variable. The series type (numeric, enum, …) is decided lazily by the node consuming the variable, matching the behaviour of channel variables.

`select` [`SelectSeries`](https://dev.nominal.io/api/rest/compute-service.md#selectseries) required
:   ​

`groupByTags` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Tags that the series should be grouped by. If this is non-empty a grouped result will be returned with an entry for each grouping; otherwise all matching series are merged.

### SetNegativeValuesToZero

An empty JSON object, `{}`.

### SetOperator

`AND`
:   ​

`OR`
:   ​

### SignalFilterConfiguration

Set `type` to the name of one of the other fields, and set only that field.

`lowPass` [`LowPassConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#lowpassconfiguration)
:   ​

`highPass` [`HighPassConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#highpassconfiguration)
:   ​

`bandPass` [`BandPassConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#bandpassconfiguration)
:   ​

`bandStop` [`BandStopConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#bandstopconfiguration)
:   ​

### SignalFilterSeries

Applies IIR-based signal filtering to input series. Includes low-pass, high-pass, band-pass, and band-stop filters. Currently supports variable-order bidirectional Butterworth filters, with fixed-size padding based on SciPy output.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`signalFilterConfiguration` [`SignalFilterConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#signalfilterconfiguration) required
:   Filter type and cutoff frequencies.

`order` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant) required
:   Order of filter. Must be a positive integer, and is effectively doubled for bidirectional filters.

`samplingFrequency` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   The sampling frequency of the input series. Used to calculate normalized frequency for cutoff frequencies.

### Sin

Computes the trigonometric sine of each value (input in radians).

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (radians).

### SinglePoint

Return type representing a single point value.

`timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`value` [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value) required
:   ​

`precisionLoss` boolean required
:   Returns true if the result required downcasting to a type with less precision, for example if the input series was Int64 and the result is a Float64.

### SpatialDecimateStrategy

Decimate by spatial trees. Creates buckets by bisecting on each dimension, creating quadrants for 2d scatter and octants for 3d scatter. Continues subdividing by prioritizing larger undivided buckets until reaching the max amount of buckets.

An empty JSON object, `{}`.

### Spectrogram

The PSD or amplitude of the input over time, from a short-time Fourier transform of overlapping windows.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   A numeric series from a single data source. Series grouped by tags are not supported.

`stftOptions` [`StftOptions`](https://dev.nominal.io/api/rest/compute-service.md#stftoptions)
:   Window and FFT parameters.

`quantity` [`SpectrogramQuantity`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramquantity)
:   What each cell measures. Defaults to PSD.

`magnitudeScaling` [`MagnitudeScaling`](https://dev.nominal.io/api/rest/compute-service.md#magnitudescaling)
:   How each cell’s value is scaled. Defaults to decibels: 10·log10 of the PSD, or 20·log10 of the amplitude.

`bucketing` [`SpectrogramBucketing`](https://dev.nominal.io/api/rest/compute-service.md#spectrogrambucketing)
:   The output’s time and frequency buckets, frequency band and reductions.

### SpectrogramBucketing

The output’s time and frequency buckets: at most `maxTimeBuckets` rows and `maxFrequencyBuckets` columns over the frequency band, with the values that share a row or column combined by `timeReduction` and `frequencyReduction`. Invalid values fail with `InvalidExpression`.

`maxTimeBuckets` integer
:   Maximum number of rows, further lowered so that rows × columns is at most 262,144. Defaults to 256.

`maxFrequencyBuckets` integer
:   Maximum number of columns. Defaults to 512.

`minFrequency` number
:   Inclusive lower bound of the band in Hz. Defaults to 0.

`maxFrequency` number
:   Exclusive upper bound of the band in Hz. Defaults to including the Nyquist frequency.

`timeReduction` [`SpectrogramReduction`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramreduction)
:   Combines the windows that share a row. Defaults to MEAN.

`frequencyReduction` [`SpectrogramReduction`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramreduction)
:   Combines the frequency bins that share a column. Defaults to MEAN.

### SpectrogramPlot

Values on a time-frequency grid. Columns are frequency buckets and rows are the time buckets that hold data, in ascending time.

`frequencyCenters` array of number
:   Center frequency in Hz of each column.

`frequencyEdges` array of number
:   Column boundaries in Hz, one more than `frequencyCenters`: column `c` spans `frequencyEdges[c]` to `frequencyEdges[c + 1]`. Columns may differ in width.

`rows` array of [`SpectrogramRow`](https://dev.nominal.io/api/rest/compute-service.md#spectrogramrow)
:   ​

### SpectrogramQuantity

What a spectrogram cell measures.

`PSD`
:   Power spectral density, in the input unit squared per Hz.

`AMPLITUDE`
:   Peak amplitude, in the input unit.

### SpectrogramReduction

How the values that share one output row or column are combined, before scaling.

`MEAN`
:   Arithmetic mean.

`MAX`
:   Maximum, which keeps short transients visible.

`GEOMETRIC_MEAN`
:   Geometric mean, which suits decibel displays with a wide dynamic range.

### SpectrogramRow

`start` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   Start of the time span this row covers.

`end` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   End of the time span this row covers.

`values` array of number
:   One value per column

### Sqrt

Computes the square root of each value.

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (non-negative values).

### StabilityDetectionRanges

Outputs a set of ranges where the input series is stable. For each point, the min and max are calculated over the specified lookback window, including the current point. A point is considered stable if its value does not deviate from the calculated min and the max by more than the threshold and the total number of points within the window is at least the specified amount. The threshold can be either fixed values or percentages of the value. The lookback window must be strictly positive. The minimum points threshold defaults to 2.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`windowConfiguration` [`StabilityWindowConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#stabilitywindowconfiguration) required
:   ​

`threshold` [`Threshold`](https://dev.nominal.io/api/rest/compute-service.md#threshold) required
:   ​

### StabilityDetectionRangesV2

Produces ranges where a numeric input is stable within a modern duration window.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`window` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   Lookback window over which the input’s spread is measured.

`minPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   Minimum number of points in the window. Defaults to 2.

`threshold` [`Threshold`](https://dev.nominal.io/api/rest/compute-service.md#threshold) required
:   ​

### StabilityWindowConfiguration

`minPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   The minimum number of points within the window to create a stable range. Must be non-negative. If not present, will default to 2.

`duration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

### StaleRanges

Produces a list of ranges for which data does not exist for the specified duration or longer. Increases window size by the specified staleness threshold on both ends to capture edge cases of data not currently in view.

`input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
:   ​

`threshold` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

`startTimestamp` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant)
:   The start timestamp of the range. If not specified, staleness will automatically use view range start.

`endTimestamp` [`TimestampConstant`](https://dev.nominal.io/api/rest/compute-service.md#timestampconstant) deprecated
:   **Deprecated:** No longer used and will be removed

### StandardDeviation

The standard deviation of points inside the time window.

An empty JSON object, `{}`.

### StftOptions

Options for frequency analyses that are backed by short-time Fourier transforms.

`window` [`FftWindow`](https://dev.nominal.io/api/rest/compute-service.md#fftwindow)
:   Window function type to use

`windowSymmetry` [`WindowSymmetry`](https://dev.nominal.io/api/rest/compute-service.md#windowsymmetry)
:   Either DFT_EVEN or SYMMETRIC

`samplingFrequency` number
:   Sampling frequency of the series in Hz. If absent, will calculate using the input series.

`nperseg` integer
:   Number of points per window segment.

`noverlap` integer
:   Number of points of overlap between windows. Must be less than nperseg.

`nfft` integer
:   Number of points to use in the FFT. Must be greater than or equal to nperseg.

`detrend` [`DetrendType`](https://dev.nominal.io/api/rest/compute-service.md#detrendtype)
:   Detrend the points in each window segment. If absent, will use the default detrend for that function.

### StringConstant

A string constant that can be a literal value or a named variable reference.

Set `type` to the name of one of the other fields, and set only that field.

`literal` string
:   Create from a literal string value.

`variable` string
:   Create from a named reference.

### StringPropertyDimension

Injects the value of a string property, under a tag key equal to the property name by default. Only supported on asset and run branches: asset branches read the asset’s properties, and run branches, including run branches backed by an asset, read the run’s properties, matching `SelectProperty`. Values are injected as is. A branch without the property, or whose property holds a numeric value, gets the reserved value `NOMINAL_ABSENT`.

`propertyName` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Name of the property whose value to inject. Also the default tag key.

### StringSetConstant

Set `type` to the name of one of the other fields, and set only that field.

`literal` array of string
:   ​

`variable` string
:   ​

### StringSetConstantV2

A set of string constants that can be a literal set or a named variable reference.

Set `type` to the name of one of the other fields, and set only that field.

`literal` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Create from a literal set of string constants.

`variable` string
:   Create from a named reference.

### StructSelectTagsSeries

Subsets the tag dimensions of the input struct series to the given tag keys. Preserves the input series’ cardinality: points that share the selected keys but differ on dropped keys remain distinct.

`input` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries) required
:   ​

`tagKeys` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

### StructSeries

Set `type` to the name of one of the other fields, and set only that field.

`channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries)
:   ​

`raw` [`Reference`](https://dev.nominal.io/api/rest/compute-service.md#reference)
:   ​

`derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
:   ​

`combine` [`CombineStructSeries`](https://dev.nominal.io/api/rest/compute-service.md#combinestructseries)
:   ​

`selectStruct` [`SelectSeries`](https://dev.nominal.io/api/rest/compute-service.md#selectseries)
:   ​

`extractFromStruct` [`ExtractStructFromStructSeries`](https://dev.nominal.io/api/rest/compute-service.md#extractstructfromstructseries)
:   ​

`toStartOfInterval` [`StructToStartOfIntervalSeries`](https://dev.nominal.io/api/rest/compute-service.md#structtostartofintervalseries)
:   ​

`timeShift` [`StructTimeShiftSeries`](https://dev.nominal.io/api/rest/compute-service.md#structtimeshiftseries)
:   ​

`filterByTag` [`StructTagFilterSeries`](https://dev.nominal.io/api/rest/compute-service.md#structtagfilterseries)
:   ​

`selectTags` [`StructSelectTagsSeries`](https://dev.nominal.io/api/rest/compute-service.md#structselecttagsseries)
:   ​

### StructTagFilterSeries

Applies a tag predicate to the struct series produced by input.

`input` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries) required
:   ​

`predicate` [`TagPredicate`](https://dev.nominal.io/api/rest/compute-service.md#tagpredicate) required
:   ​

### StructTimeShiftSeries

`input` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries) required
:   ​

`duration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant) required
:   ​

### StructToStartOfIntervalSeries

Snaps each point’s timestamp to the start of its enclosing fixed-size time bucket. Buckets are epoch-aligned: a point at timestamp `t` (nanoseconds) is rewritten to `floor(t / window) * window`. Values and tag groupings are preserved; aggregation of points that collide on the snapped timestamp is the responsibility of downstream nodes.

`input` [`StructSeries`](https://dev.nominal.io/api/rest/compute-service.md#structseries) required
:   ​

`window` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   ​

### Subtract

Subtracts right from left pointwise.

`left` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Left-hand operand (minuend).

`right` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Right-hand operand (subtrahend).

### SummarizationStrategy

Set `type` to the name of one of the other fields, and set only that field.

`decimate` [`DecimateStrategy`](https://dev.nominal.io/api/rest/compute-service.md#decimatestrategy)
:   ​

`largestTriangleThreeBuckets` [`LttbStrategy`](https://dev.nominal.io/api/rest/compute-service.md#lttbstrategy)
:   Largest-Triangle-Three-Buckets downsampling returns selected numeric timestamp/value points that preserve the visual shape of each group. It is distinct from fixed-width bucket aggregation.

`page` [`PageStrategy`](https://dev.nominal.io/api/rest/compute-service.md#pagestrategy)
:   Paging returns full resolution points for supported series types. Results include a continuation token when another request may be needed to continue in the requested direction.

`truncate` [`TruncateStrategy`](https://dev.nominal.io/api/rest/compute-service.md#truncatestrategy)
:   Truncation returns a bounded set of full-resolution points. For compute requests, it is supported for array and struct series. To retrieve full-resolution numeric series, use paging.

### SummarizeCartesian

`input` [`Cartesian`](https://dev.nominal.io/api/rest/compute-service.md#cartesian) required
:   ​

`bounds` [`CartesianBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesianbounds)
:   ​

`summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
:   The summarization strategy to use when there are more than `maxPoints`. Defaults to spatial.

`maxPoints` integer
:   The maximum number of points to return in the response. If more points are found, a BucketedCartesianPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

### SummarizeCartesian3d

`input` [`Cartesian3d`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3d) required
:   ​

`bounds` [`Cartesian3dBounds`](https://dev.nominal.io/api/rest/compute-service.md#cartesian3dbounds)
:   ​

`maxPoints` integer
:   The maximum number of points to return in the response. If more points are found, a BucketedCartesian3dPlot will be returned. Maximum is 10,000. Defaults to 2,000 if not specified.

`summarizationStrategy` [`ScatterSummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#scattersummarizationstrategy)
:   The strategy to use when summarizing the series. Only spatial decimation is supported.

### SummarizeMultivariate

`inputs` array of [`MultivariateInput`](https://dev.nominal.io/api/rest/compute-service.md#multivariateinput)
:   List of input series to temporally align at the raw point level, then bucket the aligned tuples together. The series with the largest tag group acts as the “driver” that determines which raw timestamps are included in the alignment. All subsequent series are aligned to the driver’s raw timestamps using the interpolation configuration. After alignment, the resulting (x, y, z, …) tuples are bucketed into time windows and aggregated.

`outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
:   The output format of the response. Defaults to LEGACY (JSON).

`bucketCount` integer
:   The number of buckets to return in the response. Maximum is 10,000. Defaults to 1,000 if not specified.

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration)
:   Controls how the N input series are aligned at the raw point level when producing multivariate buckets. When present, the server may fill forward a series value from the most recent prior raw point (bounded by the interpolation radius). This alignment happens BEFORE bucketing, ensuring that aggregated values in each bucket are computed from temporally aligned raw tuples. When absent, the default interpolation configuration is used.

### SummarizeRanges

`input` [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries) required
:   ​

`maxRanges` integer
:   The maximum number of ranges to return in the response. If more ranges are found, a RangesSummary will be returned. Defaults to 2000 if not specified.

### SummarizeSeries

Summarizes the output of a series node. The output can be a numeric, enum, log, or cartesian series. Summarization strategy should be specified.

`input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
:   ​

`outputFormat` [`OutputFormat`](https://dev.nominal.io/api/rest/compute-service.md#outputformat)
:   The output format of the response. Defaults to LEGACY.

`numericOutputFields` array of [`NumericOutputField`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfield) deprecated
:   The fields to output from the summarization. Applies only to Arrow format numeric series. **Deprecated:** Use numericOutputFieldsV2 instead.

`numericAggregations` map of string to [`NumericAggregationOperator`](https://dev.nominal.io/api/rest/compute-service.md#numericaggregationoperator)
:   Additional numeric aggregations per decimation bucket (e.g. percentiles). Map key is the name of the column in the result.

`numericOutputFieldsV2` array of [`NumericOutputFieldV2`](https://dev.nominal.io/api/rest/compute-service.md#numericoutputfieldv2)
:   Numeric bucket output fields to return. Applies only to Arrow format numeric series. Defaults to MEAN when no numeric output selector is specified. Mutually exclusive with numericOutputFields and numericAggregations.

`resolution` integer (int64) deprecated
:   Resolution of the output series specifying time interval between decimated points, in nanoseconds. **Deprecated:** Use summarizationStrategy instead.

`buckets` integer deprecated
:   Number of points to generate in the output series. **Deprecated:** Use summarizationStrategy instead.

`summarizationStrategy` [`SummarizationStrategy`](https://dev.nominal.io/api/rest/compute-service.md#summarizationstrategy)
:   The strategy to use when summarizing the series.

### Summation

The sum of points inside the time window.

An empty JSON object, `{}`.

### SumSeries

For every timestamp specified in the input series, outputs a value that is the sum for that timestamp across all input series. Only outputs timestamps where all input series have an entry for that timestamp, subject to interpolation.

`inputs` array of [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries)
:   Input series across which to take the pointwise sum

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Defaults to forward fill interpolation with a 1s interpolation radius **Deprecated:** Setting interpolation on this node is deprecated.

### TagAnd

Conjunction of two tag predicates (both must hold).

`left` [`TagPredicate`](https://dev.nominal.io/api/rest/compute-service.md#tagpredicate) required
:   ​

`right` [`TagPredicate`](https://dev.nominal.io/api/rest/compute-service.md#tagpredicate) required
:   ​

### TagByIntervalsSeries

Injects tags derived from interval boundaries onto a numeric series. Points within an interval get tagged; points outside all intervals are dropped. Intervals come from either events or ranges. If intervals with different tag map overlap, a data point falling in multiple intervals is duplicated into each matching output group. Overlapping intervals with equal tag maps are not allowed. Optional time shift subtracts a per-interval anchor from timestamps after matching.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`intervals` [`IntervalSource`](https://dev.nominal.io/api/rest/compute-service.md#intervalsource) required
:   ​

`timeShift` [`TagByIntervalsTimeShift`](https://dev.nominal.io/api/rest/compute-service.md#tagbyintervalstimeshift)
:   When set, shift each matched point’s timestamp by the chosen anchor for that interval.

### TagByIntervalsTimeShift

How to shift timestamps after tagging (subtract anchor from each point in the interval slice).

Set `type` to the name of one of the other fields, and set only that field.

`intervalStart` [`IntervalStartTimeShift`](https://dev.nominal.io/api/rest/compute-service.md#intervalstarttimeshift)
:   ​

`intervalEnd` [`IntervalEndTimeShift`](https://dev.nominal.io/api/rest/compute-service.md#intervalendtimeshift)
:   ​

`eventTimeShift` [`EventTimeShift`](https://dev.nominal.io/api/rest/compute-service.md#eventtimeshift)
:   ​

### TagFilter

A filter on a single tag key and set of values. For an IN operator, the tag key must match at least one of the values in the set. For a NOT_IN operator, it must not match any of the values in the set.

`key` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`values` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   ​

`operator` [`TagFilterOperator`](https://dev.nominal.io/api/rest/compute-service.md#tagfilteroperator) required
:   ​

### TagFilterOperator

`IN`
:   ​

`NOT_IN`
:   ​

### TagFilters

A set of tag filters to apply to a channel. Allows for combining filters on multiple tag keys, but throws if any one tag key is specified in more than one filter.

Set `type` to the name of one of the other fields, and set only that field.

`single` [`TagFilter`](https://dev.nominal.io/api/rest/compute-service.md#tagfilter)
:   ​

`and` array of [`TagFilters`](https://dev.nominal.io/api/rest/compute-service.md#tagfilters)
:   ​

### TaggedDataset

Injects one ephemeral tag (key and value) onto the underlying dataset.

`input` [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset) required
:   The underlying dataset to tag.

`key` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Tag key to inject onto each series in the dataset.

`value` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   Tag value to assign to the injected key.

### TagIn

Constrains a tag key to be in the given set of values.

`key` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`values` [`StringSetConstantV2`](https://dev.nominal.io/api/rest/compute-service.md#stringsetconstantv2) required
:   ​

### TagNotIn

Constrains a tag key to not be in the given set of values.

`key` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant) required
:   ​

`values` [`StringSetConstantV2`](https://dev.nominal.io/api/rest/compute-service.md#stringsetconstantv2) required
:   ​

### TagPredicate

Conjunctive tag predicate for dataset filtering. Compiles to resolved TagFilters for storage and resolution-time folding against known tag assignments (e.g. TaggedDataset, search branches).

Set `type` to the name of one of the other fields, and set only that field.

`in` [`TagIn`](https://dev.nominal.io/api/rest/compute-service.md#tagin)
:   ​

`notIn` [`TagNotIn`](https://dev.nominal.io/api/rest/compute-service.md#tagnotin)
:   ​

`and` [`TagAnd`](https://dev.nominal.io/api/rest/compute-service.md#tagand)
:   ​

### Tan

Computes the trigonometric tangent of each value (input in radians).

`x` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   Input numeric series (radians).

### TemporalDecimateStrategy

Buckets the input by time range into equally sized buckets. The number of buckets is determined by the maxPoints parameter. Returns a CartesianPlot.

`xAggregation` [`ScatterTemporalAggregation`](https://dev.nominal.io/api/rest/compute-service.md#scattertemporalaggregation) required
:   The strategy to use for aggregating the x values in each bucket.

`yAggregation` [`ScatterTemporalAggregation`](https://dev.nominal.io/api/rest/compute-service.md#scattertemporalaggregation) required
:   The strategy to use for aggregating the y values in each bucket.

### Threshold

Set `type` to the name of one of the other fields, and set only that field.

`absolute` [`AbsoluteThreshold`](https://dev.nominal.io/api/rest/compute-service.md#absolutethreshold)
:   ​

`percentage` [`PercentageThreshold`](https://dev.nominal.io/api/rest/compute-service.md#percentagethreshold)
:   ​

### ThresholdingRanges

Produces a list of ranges for which the threshold condition is satisfied.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`threshold` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   ​

`operator` [`ThresholdOperator`](https://dev.nominal.io/api/rest/compute-service.md#thresholdoperator) required
:   ​

`persistenceWindowConfiguration` [`PersistenceWindowConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#persistencewindowconfiguration)
:   ​

### ThresholdOperator

`GREATER_THAN`
:   ​

`GREATER_THAN_OR_EQUAL_TO`
:   ​

`LESS_THAN`
:   ​

`LESS_THAN_OR_EQUAL_TO`
:   ​

`EQUAL_TO`
:   ​

`NOT_EQUAL_TO`
:   ​

### ThresholdRangesComparison

Selects the comparison applied to a numeric threshold.

Set `type` to the name of one of the other fields, and set only that field.

`gt` [`ThresholdRangesOrderedComparison`](https://dev.nominal.io/api/rest/compute-service.md#thresholdrangesorderedcomparison)
:   ​

`ge` [`ThresholdRangesOrderedComparison`](https://dev.nominal.io/api/rest/compute-service.md#thresholdrangesorderedcomparison)
:   ​

`lt` [`ThresholdRangesOrderedComparison`](https://dev.nominal.io/api/rest/compute-service.md#thresholdrangesorderedcomparison)
:   ​

`le` [`ThresholdRangesOrderedComparison`](https://dev.nominal.io/api/rest/compute-service.md#thresholdrangesorderedcomparison)
:   ​

`eq` [`ThresholdRangesEqualityComparison`](https://dev.nominal.io/api/rest/compute-service.md#thresholdrangesequalitycomparison)
:   ​

`ne` [`ThresholdRangesEqualityComparison`](https://dev.nominal.io/api/rest/compute-service.md#thresholdrangesequalitycomparison)
:   ​

### ThresholdRangesEqualityComparison

An equality comparison against a numeric threshold, within an optional tolerance.

`threshold` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   The value each input point is compared against.

`tolerance` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant)
:   Maximum absolute difference from the threshold still counted as equal. Defaults to zero, i.e. exact equality.

### ThresholdRangesOrderedComparison

An ordering comparison against a single numeric threshold.

`threshold` [`DoubleConstant`](https://dev.nominal.io/api/rest/compute-service.md#doubleconstant) required
:   The value each input point is compared against.

### ThresholdRangesV2

Produces ranges where a numeric input satisfies a threshold comparison.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`minPoints` [`IntegerConstant`](https://dev.nominal.io/api/rest/compute-service.md#integerconstant)
:   Minimum number of matching points. Defaults to 1.

`minDuration` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration)
:   Minimum matching duration. Defaults to one nanosecond.

`rangeStart` [`RangeStart`](https://dev.nominal.io/api/rest/compute-service.md#rangestart)
:   Selects whether the output begins at the first match or after persistence is satisfied.

`comparison` [`ThresholdRangesComparison`](https://dev.nominal.io/api/rest/compute-service.md#thresholdrangescomparison) required
:   ​

### TimeDifferenceSeries

Outputs a new series where each value is the difference between the time of the current and previous points.

`input` [`Series`](https://dev.nominal.io/api/rest/compute-service.md#series) required
:   ​

`timeUnit` [`TimeUnit`](https://dev.nominal.io/api/rest/compute-service.md#timeunit)
:   The time unit used to define the output values. Defaults to seconds if not specified.

### TimeSeriesCurveFit

Fits a curve to a series vs its timestamps.

`series` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   The series to fit. Timestamps will be used as x values and data as y values. The leftmost (earliest) timestamp will be used as the value of 0, and all other timestamps will be relative to that.

`options` [`TimeSeriesFitOptions`](https://dev.nominal.io/api/rest/compute-service.md#timeseriesfitoptions) required
:   ​

### TimeSeriesFitOptions

`timeUnit` [`TimeUnit`](https://dev.nominal.io/api/rest/compute-service.md#timeunit)
:   Time unit used for the timestamps to fit against. Defaults to seconds if not specified.

### TimeShiftedDataset

Transforms a dataset by adding a time offset to all its data.

`input` [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset) required
:   The underlying dataset to time-shift.

`offset` [`compute.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#compute-api-duration) required
:   The time shift to apply. Positive values shift data forward in time, negative values shift backward.

### Timestamp

Deprecated for new APIs. Use google.protobuf.Timestamp for absolute instants in proto APIs.

This legacy nanosecond precision timestamp type is represented by an epoch time in seconds and a nanosecond offset. The nanosecond offset is from the start of the epoch second, so must be less than 1 billion.

`seconds` integer (int64) required
:   ​

`nanos` integer (int64) required
:   ​

### TimestampAndId

`timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp) required
:   ​

`id` string (UUID)
:   ​

### TimestampConstant

A timestamp constant that can be a literal value or a named variable reference.

Set `type` to the name of one of the other fields, and set only that field.

`literal` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   Create from a literal timestamp value.

`variable` string
:   Create from a named reference.

### TimeUnit

`DAYS`
:   ​

`HOURS`
:   ​

`MINUTES`
:   ​

`SECONDS`
:   ​

`MILLISECONDS`
:   ​

`MICROSECONDS`
:   ​

`NANOSECONDS`
:   ​

### TruncateStrategy

Set `type` to the name of one of the other fields, and set only that field.

`maxPointsToReturn` integer
:   Maximum number of points to return before truncating, ordered by timestamp. Throws if greater than 10,000

### UdfSource

Source provider for a user-defined function.

Set `type` to the name of one of the other fields, and set only that field.

`rust` [`RustUdfSource`](https://dev.nominal.io/api/rest/compute-service.md#rustudfsource)
:   ​

### UnaryArithmeticOperation

`COS`
:   Calculates the trigonometric cosine (input in radians)

`SIN`
:   Calculates the trigonometric sine (input in radians)

`TAN`
:   Calculates the trigonometric tangent (input in radians)

`ABS`
:   Calculates the absolute value

`ASIN`
:   Calculates the arcsine, returning radians

`ACOS`
:   Calculates the arccosine, returning radians

`LOG`
:   Calculates the base 10 logarithm

`LN`
:   Calculates the natural logarithm (base e)

`SQRT`
:   Calculates the square root

### UnaryArithmeticSeries

Applies a point-wise transformation to a series. The transformation function is applied to every individual data point.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`operation` [`UnaryArithmeticOperation`](https://dev.nominal.io/api/rest/compute-service.md#unaryarithmeticoperation) required
:   ​

### UnboundedBehavior

Dictates how empty range bounds should be handled by the compute node. Defaults to INFINITY.

`INFINITY`
:   ​

`WINDOW_BOUND`
:   ​

### UnboundedRangeBehavior

How to handle ranges with a missing start or end.

Set `type` to the name of one of the other fields, and set only that field.

`clampToWindow` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   Clamp a missing range start to the compute request window start and a missing range end to the compute request window end.

`drop` [`Empty`](https://dev.nominal.io/api/rest/compute-service.md#empty)
:   Drop the range if it has a missing start or end.

### Union

Uses the union of all input timestamps as the alignment grid.

An empty JSON object, `{}`.

### UnionRanges

`inputs` array of [`RangeSeries`](https://dev.nominal.io/api/rest/compute-service.md#rangeseries)
:   The ranges to union.

### UnitComputationError

Set `type` to the name of one of the other fields, and set only that field.

`incompatibleUnitsOperation` [`IncompatibleUnitOperation`](https://dev.nominal.io/api/rest/compute-service.md#incompatibleunitoperation)
:   ​

`unitsMissing` [`UnitsMissing`](https://dev.nominal.io/api/rest/compute-service.md#unitsmissing)
:   ​

`error` [`SerializableError`](https://dev.nominal.io/api/rest/compute-service.md#serializableerror)
:   ​

### UnitConversionSeries

Convert the given series to a different unit.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`outputUnit` string required
:   ​

### UnitOperation

`UNIT_AS_EXPONENT`
:   ​

`NON_INTEGER_AS_EXPONENT`
:   ​

`FLOOR_DIVISION`
:   ​

`MODULO`
:   ​

`CROSSOVER_COMPARISON`
:   ​

`MAX`
:   ​

`MIN`
:   ​

`MEAN`
:   ​

`UNION`
:   ​

`ADDITION`
:   ​

`SUBTRACTION`
:   ​

`UNIT_CONVERSION`
:   ​

`COMPARISON`
:   ​

`TERNARY_OPERATOR`
:   ​

### UnitOverrideSeries

Override the unit of the given series without changing its values. Unlike unit conversion, no compatibility with the input’s current unit is required.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`unit` string
:   The unit to report for the input series. If absent, the input’s unit is cleared.

### UnitResult

Set `type` to the name of one of the other fields, and set only that field.

`success` string
:   ​

`noUnitAvailable` array of [`UnitComputationError`](https://dev.nominal.io/api/rest/compute-service.md#unitcomputationerror)
:   The resulting values have no units associated. If this is because of an error, it is listed here.

### UnitsMissing

At least one input is missing a unit.

`seriesRids` array of string (RID) deprecated
:   **Deprecated:** Use channels instead.

`channels` array of [`DataSourceAndChannel`](https://dev.nominal.io/api/rest/compute-service.md#datasourceandchannel)
:   ​

### Value

A single value. The type is dictated by the returned variant

Set `type` to the name of one of the other fields, and set only that field.

`stringValue` string
:   ​

`float64Value` number
:   ​

`int64Value` string
:   ​

`arrayValue` array of [`Value`](https://dev.nominal.io/api/rest/compute-service.md#value)
:   ​

`structValue` any JSON value
:   A JSON representation of the struct

### ValueDifferenceSeries

Calculates the first discrete difference of the input series. For each point, computes the difference between the current value and the previous value (current - previous). The first point in the input series is omitted from the output since it has no previous point to compare against.

This is equivalent to pandas DataFrame.diff() with period=1. Useful for analyzing changes between consecutive data points in time series data, such as detecting value increases or decreases.

Example: For input values [1.0, 1.0, 2.0, 2.5, 1.8], the output would be [0.0, 1.0, 0.5, -0.7] at the corresponding timestamps (the first timestamp is omitted).

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`negativeValuesConfiguration` [`NegativeValueConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#negativevalueconfiguration)
:   Defines the strategy for handling negative output values. Defaults to allowNegativeValues if not specified.

### ValueMapSeries

Maps a continuous numeric series to a discrete enum series using the specified value ranges.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   The input series to map to an enumerated series

`mapping` array of [`RangeMap`](https://dev.nominal.io/api/rest/compute-service.md#rangemap)
:   The output of the first capturing range will be used. Ranges are start inclusive, end exclusive, must not overlap, and increasing from lowest to highest. Ranges can be open ended to the edge of the next or prior range. The first range can be open ended to negative infinity, and the last range can be open ended to positive infinity.

`default` [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   The default value if not captured by any range. If not specified, points will be filtered.

### VariableValue

Set `type` to the name of one of the other fields, and set only that field.

`double` number
:   ​

`computeNode` [`ComputeNodeWithContext`](https://dev.nominal.io/api/rest/compute-service.md#computenodewithcontext)
:   ​

`duration` [`run.api.Duration`](https://dev.nominal.io/api/rest/compute-service.md#run-api-duration)
:   ​

`integer` integer
:   ​

`channel` [`ChannelSeries`](https://dev.nominal.io/api/rest/compute-service.md#channelseries) deprecated
:   **Deprecated:** use series instead.

`derived` [`DerivedSeries`](https://dev.nominal.io/api/rest/compute-service.md#derivedseries)
:   ​

`series` [`SeriesVariable`](https://dev.nominal.io/api/rest/compute-service.md#seriesvariable)
:   ​

`string` string
:   ​

`stringSet` array of string
:   ​

`timestamp` [`Timestamp`](https://dev.nominal.io/api/rest/compute-service.md#timestamp)
:   ​

### Window

Set `type` to the name of one of the other fields, and set only that field.

`duration` [`DurationConstant`](https://dev.nominal.io/api/rest/compute-service.md#durationconstant)
:   ​

### WindowSymmetry

`DFT_EVEN`
:   Generates dft-even/periodic window values.

`SYMMETRIC`
:   Generates symmetric window values.

### WithSeriesDataset

Adds one or more derived series to the base dataset. Each entry’s definition must reference only the wrapping `input`. Series names must be unique within the request; a derived name replaces a same-named series from `input`.

`input` [`Dataset`](https://dev.nominal.io/api/rest/compute-service.md#dataset) required
:   The base dataset to which the new series will be added.

`series` array of [`NamedSeries`](https://dev.nominal.io/api/rest/compute-service.md#namedseries)
:   The named derived series to add.

### ZscoreSeries

Computes the z-score for each series within a group-by family. For each group at each timestamp, the output is (value - mean) / stddev, where mean and stddev are computed across all groups in the family at that timestamp, using the interpolation configuration to align values across groups. When stddev is zero at a timestamp (e.g., all groups have the same value), that data point is excluded from the output. If groupByTags is empty, all groups in the input series will be considered as a single family. This node only produces meaningful results when the input has a group by.

`input` [`NumericSeries`](https://dev.nominal.io/api/rest/compute-service.md#numericseries) required
:   ​

`groupByTags` array of [`StringConstant`](https://dev.nominal.io/api/rest/compute-service.md#stringconstant)
:   Tags to group by for the normalization. If left empty, all groups in the input will be considered as a single family. Otherwise, inputs will be normalized separately across the groups specified by the tags.

`interpolationConfiguration` [`InterpolationConfiguration`](https://dev.nominal.io/api/rest/compute-service.md#interpolationconfiguration) deprecated
:   Configuration for aligning values across groups at each timestamp. Defaults to forward fill interpolation with a 1s interpolation radius. **Deprecated:** Setting interpolation on this node is deprecated.

Page design based on [Scalar](https://scalar.com), MIT License.
