# TraceReducerTemplateInput

Schema for the trace reducer job graph.

**Type**: `object`

## Properties

- name: datasetId (optional)
  type: string
  description: The unique identifier for the dataset persisted by the trace reducer. When absent, no raw spans will be stored and no dedup sinks will be wired. At least one of `datasetId` or `sinks` must be provided for non-draft pipelines.

- name: reducer (optional)
  type: `TraceReducer`

- name: sinks (optional)
  type: array of `TemplateTraceSink`
  description: A list of template trace sinks, each wrapping a vendor sink operation. When absent, reduced spans will not be forwarded to any vendor. At least one of `sinks` or `datasetId` must be provided for non-draft pipelines.

- name: sources (required)
  type: array of `Operation`
  description: A list of trace sources, each conforming to one of the defined source types.

- name: sqlOperations (optional)
  type: `TraceSqlOperations`
