@grepr/cli 1.6.30-551accf → 1.6.42-91f3e80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/build/dist/commands/backfill-command.d.ts +17 -0
  2. package/build/dist/commands/backfill-command.d.ts.map +1 -0
  3. package/build/dist/commands/backfill-command.js +115 -0
  4. package/build/dist/commands/backfill-command.js.map +1 -0
  5. package/build/dist/commands/job-draft-command.js +5 -6
  6. package/build/dist/commands/job-draft-command.js.map +1 -1
  7. package/build/dist/commands/query-command.d.ts +4 -18
  8. package/build/dist/commands/query-command.d.ts.map +1 -1
  9. package/build/dist/commands/query-command.js +5 -49
  10. package/build/dist/commands/query-command.js.map +1 -1
  11. package/build/dist/commands/sql-validate-command.d.ts +7 -0
  12. package/build/dist/commands/sql-validate-command.d.ts.map +1 -0
  13. package/build/dist/commands/sql-validate-command.js +29 -0
  14. package/build/dist/commands/sql-validate-command.js.map +1 -0
  15. package/build/dist/grepr.d.ts +1 -1
  16. package/build/dist/grepr.d.ts.map +1 -1
  17. package/build/dist/grepr.js +6 -0
  18. package/build/dist/grepr.js.map +1 -1
  19. package/build/dist/lib/backfill-grepr-link.d.ts +9 -0
  20. package/build/dist/lib/backfill-grepr-link.d.ts.map +1 -0
  21. package/build/dist/lib/backfill-grepr-link.js +31 -0
  22. package/build/dist/lib/backfill-grepr-link.js.map +1 -0
  23. package/build/dist/lib/backfill-vendor-links.d.ts +15 -0
  24. package/build/dist/lib/backfill-vendor-links.d.ts.map +1 -0
  25. package/build/dist/lib/backfill-vendor-links.js +181 -0
  26. package/build/dist/lib/backfill-vendor-links.js.map +1 -0
  27. package/build/dist/lib/backfill-vendors.d.ts +45 -0
  28. package/build/dist/lib/backfill-vendors.d.ts.map +1 -0
  29. package/build/dist/lib/backfill-vendors.js +43 -0
  30. package/build/dist/lib/backfill-vendors.js.map +1 -0
  31. package/build/dist/lib/backfill.d.ts +51 -0
  32. package/build/dist/lib/backfill.d.ts.map +1 -0
  33. package/build/dist/lib/backfill.js +343 -0
  34. package/build/dist/lib/backfill.js.map +1 -0
  35. package/build/dist/lib/grepr-api-client.d.ts +2 -1
  36. package/build/dist/lib/grepr-api-client.d.ts.map +1 -1
  37. package/build/dist/lib/grepr-api-client.js +13 -0
  38. package/build/dist/lib/grepr-api-client.js.map +1 -1
  39. package/build/dist/lib/job-patch.d.ts +34 -2
  40. package/build/dist/lib/job-patch.d.ts.map +1 -1
  41. package/build/dist/lib/job-patch.js +257 -60
  42. package/build/dist/lib/job-patch.js.map +1 -1
  43. package/build/dist/lib/job-plan.d.ts.map +1 -1
  44. package/build/dist/lib/job-plan.js +8 -8
  45. package/build/dist/lib/job-plan.js.map +1 -1
  46. package/build/dist/lib/query-predicate.d.ts +28 -0
  47. package/build/dist/lib/query-predicate.d.ts.map +1 -0
  48. package/build/dist/lib/query-predicate.js +66 -0
  49. package/build/dist/lib/query-predicate.js.map +1 -0
  50. package/build/dist/lib/time-utils.d.ts +25 -0
  51. package/build/dist/lib/time-utils.d.ts.map +1 -1
  52. package/build/dist/lib/time-utils.js +71 -0
  53. package/build/dist/lib/time-utils.js.map +1 -1
  54. package/build/dist/lib/transformers-embeddings.d.ts.map +1 -1
  55. package/build/dist/lib/transformers-embeddings.js +14 -1
  56. package/build/dist/lib/transformers-embeddings.js.map +1 -1
  57. package/build/dist/openapi/openApiTypes.d.ts +438 -18
  58. package/build/dist/openapi/openApiTypes.d.ts.map +1 -1
  59. package/build/dist/openapi/openApiTypes.js +19 -1
  60. package/build/dist/openapi/openApiTypes.js.map +1 -1
  61. package/build/dist/types.d.ts +3 -7
  62. package/build/dist/types.d.ts.map +1 -1
  63. package/build/dist/types.js +1 -1
  64. package/build/dist/types.js.map +1 -1
  65. package/package.json +15 -16
@@ -1707,6 +1707,66 @@ export interface paths {
1707
1707
  patch?: never;
1708
1708
  trace?: never;
1709
1709
  };
1710
+ "/v1/investigations/{investigationId}/cancel": {
1711
+ parameters: {
1712
+ query?: never;
1713
+ header?: never;
1714
+ path?: never;
1715
+ cookie?: never;
1716
+ };
1717
+ get?: never;
1718
+ put?: never;
1719
+ /**
1720
+ * Cancel an investigation
1721
+ * @description Aborts an investigation for good (running or paused). It pauses at the next turn boundary if running, then finalizes as CANCELLED.
1722
+ */
1723
+ post: operations["cancel"];
1724
+ delete?: never;
1725
+ options?: never;
1726
+ head?: never;
1727
+ patch?: never;
1728
+ trace?: never;
1729
+ };
1730
+ "/v1/investigations/{investigationId}/resume": {
1731
+ parameters: {
1732
+ query?: never;
1733
+ header?: never;
1734
+ path?: never;
1735
+ cookie?: never;
1736
+ };
1737
+ get?: never;
1738
+ put?: never;
1739
+ /**
1740
+ * Resume a stopped investigation
1741
+ * @description Resumes a stopped (resumable) investigation in place. A non-blank message is appended as a new user turn; an empty body continues the agent with no added input.
1742
+ */
1743
+ post: operations["resume"];
1744
+ delete?: never;
1745
+ options?: never;
1746
+ head?: never;
1747
+ patch?: never;
1748
+ trace?: never;
1749
+ };
1750
+ "/v1/investigations/{investigationId}/stop": {
1751
+ parameters: {
1752
+ query?: never;
1753
+ header?: never;
1754
+ path?: never;
1755
+ cookie?: never;
1756
+ };
1757
+ get?: never;
1758
+ put?: never;
1759
+ /**
1760
+ * Stop a running investigation
1761
+ * @description Requests a running investigation pause at its next turn boundary. It can then be resumed with a message. Returns 202; the status flips to STOPPED shortly after.
1762
+ */
1763
+ post: operations["stop"];
1764
+ delete?: never;
1765
+ options?: never;
1766
+ head?: never;
1767
+ patch?: never;
1768
+ trace?: never;
1769
+ };
1710
1770
  "/v1/investigations/{investigationId}/transcript": {
1711
1771
  parameters: {
1712
1772
  query?: never;
@@ -1727,6 +1787,26 @@ export interface paths {
1727
1787
  patch?: never;
1728
1788
  trace?: never;
1729
1789
  };
1790
+ "/v1/investigations/{investigationId}/turns": {
1791
+ parameters: {
1792
+ query?: never;
1793
+ header?: never;
1794
+ path?: never;
1795
+ cookie?: never;
1796
+ };
1797
+ /**
1798
+ * Stream an investigation's transcript turns by sequence cursor
1799
+ * @description Returns journalled turns after the given sequence, oldest first.
1800
+ */
1801
+ get: operations["turns"];
1802
+ put?: never;
1803
+ post?: never;
1804
+ delete?: never;
1805
+ options?: never;
1806
+ head?: never;
1807
+ patch?: never;
1808
+ trace?: never;
1809
+ };
1730
1810
  "/v1/invitations": {
1731
1811
  parameters: {
1732
1812
  query?: never;
@@ -2897,7 +2977,7 @@ export interface components {
2897
2977
  /** @description One aggregation function declaration. */
2898
2978
  AggregationDecl: {
2899
2979
  /**
2900
- * @description Function arguments. Heterogeneous; validated at pipeline construction.
2980
+ * @description Function arguments. Heterogeneous; validated at pipeline construction. PERCENTILE accepts [rank], [rank, relativeAccuracy], or [rank, relativeAccuracy, maxNumBins].
2901
2981
  * @default []
2902
2982
  */
2903
2983
  args?: Record<string, never>[];
@@ -3116,6 +3196,39 @@ export interface components {
3116
3196
  */
3117
3197
  type: AttributeKeyTermNodeType;
3118
3198
  };
3199
+ /**
3200
+ * @description Masks to apply to attribute values. Each entry names an attribute path (as a list of segments) and the masks to apply to the value at that path. Only string values at the exact path are masked; missing or non-string attributes are skipped. Paths must be unique. The same matching rules as messageMasks apply.
3201
+ * @example [
3202
+ * {
3203
+ * "masks": {
3204
+ * "email": "\\S+@\\S+"
3205
+ * },
3206
+ * "path": [
3207
+ * "user",
3208
+ * "contact"
3209
+ * ]
3210
+ * }
3211
+ * ]
3212
+ */
3213
+ AttributeMask: {
3214
+ /**
3215
+ * @description Masks to apply to the value at this path, as a map of label to regular expression. The same matching rules as messageMasks apply.
3216
+ * @example {
3217
+ * "email": "\\S+@\\S+"
3218
+ * }
3219
+ */
3220
+ masks: {
3221
+ [key: string]: string;
3222
+ };
3223
+ /**
3224
+ * @description Attribute path to mask, as a list of segments.
3225
+ * @example [
3226
+ * "user",
3227
+ * "contact"
3228
+ * ]
3229
+ */
3230
+ path: string[];
3231
+ };
3119
3232
  AttributeNode: {
3120
3233
  /**
3121
3234
  * @description The attribute name
@@ -3483,6 +3596,11 @@ export interface components {
3483
3596
  */
3484
3597
  aggregations?: components["schemas"]["AggregationDecl"][];
3485
3598
  selectors?: components["schemas"]["FilterPrimitive"];
3599
+ /**
3600
+ * @description When false, emit per-series time-only aggregation (no space/cohort collapse); aggregations apply as time-window folds. Default true keeps cohort aggregation.
3601
+ * @default true
3602
+ */
3603
+ spaceAggregation?: boolean;
3486
3604
  };
3487
3605
  /** @description Cohort-identity + space-aggregation configuration. */
3488
3606
  CohortsConfig: {
@@ -3817,12 +3935,6 @@ export interface components {
3817
3935
  * @example datadoghq.com
3818
3936
  */
3819
3937
  site: string;
3820
- /**
3821
- * @description Whether to process Datadog Lucene queries for this integration through BabelFish. Safe to enable per-integration once verified.
3822
- * @default false
3823
- * @example false
3824
- */
3825
- useBabelFishForLucene?: boolean;
3826
3938
  /**
3827
3939
  * @description Indicates whether to validate the API and App keys when saving the keys.
3828
3940
  * @default true
@@ -4470,6 +4582,13 @@ export interface components {
4470
4582
  };
4471
4583
  metricName?: components["schemas"]["MetricNameFilter"];
4472
4584
  };
4585
+ FrontendConfig: {
4586
+ appBaseUrl?: string;
4587
+ flinkBaseUrl?: string;
4588
+ gtmContainerId?: string;
4589
+ kafkaToolkitClusterName?: string;
4590
+ region?: string;
4591
+ };
4473
4592
  /** @description The payload containing integration data. */
4474
4593
  Gemini: {
4475
4594
  /**
@@ -5030,8 +5149,10 @@ export interface components {
5030
5149
  /** Format: int32 */
5031
5150
  inputTokens?: number;
5032
5151
  investigationId?: string;
5152
+ live?: boolean;
5033
5153
  /** Format: int32 */
5034
5154
  outputTokens?: number;
5155
+ resumable?: boolean;
5035
5156
  /** @enum {string} */
5036
5157
  status?: InvestigationSummaryStatus;
5037
5158
  summary?: string;
@@ -5048,7 +5169,14 @@ export interface components {
5048
5169
  /** @enum {string} */
5049
5170
  status?: InvestigationSummaryStatus;
5050
5171
  summary?: string;
5051
- turns?: components["schemas"]["TranscriptTurn"][];
5172
+ };
5173
+ InvestigationsList: {
5174
+ hasMore?: boolean;
5175
+ investigations?: components["schemas"]["ItemsCollectionInvestigationSummary"];
5176
+ /** Format: int32 */
5177
+ limit?: number;
5178
+ /** Format: int32 */
5179
+ start?: number;
5052
5180
  };
5053
5181
  InvitationsList: {
5054
5182
  invitations?: components["schemas"]["ItemsCollectionReadInvitation"];
@@ -5070,6 +5198,10 @@ export interface components {
5070
5198
  */
5071
5199
  teamAssignments?: components["schemas"]["TeamAssignment"][];
5072
5200
  };
5201
+ ItemsCollectionInvestigationSummary: {
5202
+ /** @default [] */
5203
+ items?: components["schemas"]["InvestigationSummary"][];
5204
+ };
5073
5205
  ItemsCollectionLogEvent: {
5074
5206
  /** @default [] */
5075
5207
  items?: components["schemas"]["LogEvent"][];
@@ -5935,6 +6067,11 @@ export interface components {
5935
6067
  LogReducerTemplateInput: {
5936
6068
  /** @description Conditional routing of raw logs to datasets. Logs will match the filters in order, and once a log matches a filter, it will not attempt to match other filters in the list. If a log matches none of the filters, it is written to the default dataset. A default dataset must be set when conditional routing is configured. */
5937
6069
  conditionalDatasets?: components["schemas"]["ConditionalDataLakeConfig"][];
6070
+ /**
6071
+ * @description When true (ENGT-3898), vendor log sinks are non-terminal: delivered records are written to a confirmed-delivery dedup sink so only logs actually accepted by the vendor are marked sent. Defaults to false during gradual rollout.
6072
+ * @default false
6073
+ */
6074
+ confirmedDeliveryEnabled?: boolean;
5938
6075
  /** @description The unique identifier for the dataset. When absent, no raw logs will be stored. At least one of `datasetId` or `sinks` must be provided for non-draft pipelines. */
5939
6076
  datasetId?: string;
5940
6077
  /** @description A list of template-specific exceptions to apply in log reducer. */
@@ -6252,12 +6389,48 @@ export interface components {
6252
6389
  };
6253
6390
  Manifest: {
6254
6391
  auth: components["schemas"]["AuthConfig"];
6392
+ frontend?: components["schemas"]["FrontendConfig"];
6255
6393
  };
6256
6394
  MaskEntry: {
6257
6395
  name: string;
6258
6396
  pattern: string;
6259
6397
  replacement: string;
6260
6398
  };
6399
+ MaskingOperator: {
6400
+ /**
6401
+ * @description Masks to apply to attribute values. Each entry names an attribute path (as a list of segments) and the masks to apply to the value at that path. Only string values at the exact path are masked; missing or non-string attributes are skipped. Paths must be unique. The same matching rules as messageMasks apply.
6402
+ * @default []
6403
+ * @example [
6404
+ * {
6405
+ * "masks": {
6406
+ * "email": "\\S+@\\S+"
6407
+ * },
6408
+ * "path": [
6409
+ * "user",
6410
+ * "contact"
6411
+ * ]
6412
+ * }
6413
+ * ]
6414
+ */
6415
+ attributeMasks: components["schemas"]["AttributeMask"][];
6416
+ /**
6417
+ * @description Masks to apply to the log message, as a map of label to regular expression. Each match is replaced with the label in square brackets, e.g. a match of the regex labeled "email" becomes "[email]". Labels may be up to 64 characters. Overlapping matches resolve to the leftmost match first, then the longest; declaration order breaks remaining ties, so declare more specific patterns first. Regexes must be compatible with Hyperscan syntax (no lookbehind or backreferences).
6418
+ * @default {}
6419
+ * @example {
6420
+ * "email": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}"
6421
+ * }
6422
+ */
6423
+ messageMasks: {
6424
+ [key: string]: string;
6425
+ };
6426
+ /** @example operation_name */
6427
+ name: string;
6428
+ /**
6429
+ * @description Masks sensitive substrings in log events by replacing regex matches with decorated labels. (enum property replaced by openapi-typescript)
6430
+ * @enum {string}
6431
+ */
6432
+ type: MaskingOperatorType;
6433
+ };
6261
6434
  /** @description Masking rule that scrubs PII from log messages using regex patterns. */
6262
6435
  MaskingRuleConfig: Omit<components["schemas"]["PatternRuleConfig"], "type"> & {
6263
6436
  /** @default true */
@@ -6743,12 +6916,6 @@ export interface components {
6743
6916
  * @example newrelic.com
6744
6917
  */
6745
6918
  site: string;
6746
- /**
6747
- * @description Whether to process New Relic Lucene queries for this integration through BabelFish. Safe to enable per-integration once verified. Does not affect NRQL processing.
6748
- * @default false
6749
- * @example false
6750
- */
6751
- useBabelFishForLucene?: boolean;
6752
6919
  };
6753
6920
  NewRelicLogAgentSource: {
6754
6921
  /** @description The integration id for the observability vendor. */
@@ -6901,7 +7068,7 @@ export interface components {
6901
7068
  /** @example operation_name */
6902
7069
  name: string;
6903
7070
  type: string;
6904
- } & (components["schemas"]["LogsEventSampler"] | components["schemas"]["LogsBranch"] | components["schemas"]["LogsFilter"] | components["schemas"]["GrokParser"] | components["schemas"]["JsonLogProcessor"] | components["schemas"]["LogAttributesRemapper"] | components["schemas"]["LogReducer"] | components["schemas"]["LogTransformAction"] | components["schemas"]["LlmPrompt"] | components["schemas"]["PatternMatcher"] | components["schemas"]["LogsIcebergTableSink"] | components["schemas"]["PatternLookupIcebergTableSink"] | components["schemas"]["EventDedupIcebergTableSink"] | components["schemas"]["SpanDedupIcebergTableSink"] | components["schemas"]["LogsIcebergTableSource"] | components["schemas"]["LlmPromptResultsIcebergTableSource"] | components["schemas"]["MetricsIcebergTableSource"] | components["schemas"]["TracesIcebergTableSource"] | components["schemas"]["SpansBackfillIcebergTableSource"] | components["schemas"]["MetricsIcebergTableSink"] | components["schemas"]["DatadogLogCloudSource"] | components["schemas"]["DatadogLogAgentSource"] | components["schemas"]["DatadogTraceAgentSource"] | components["schemas"]["GreprVendorSource"] | components["schemas"]["GreprMetricsSource"] | components["schemas"]["DatadogLogSink"] | components["schemas"]["DatadogTraceSink"] | components["schemas"]["NewRelicLogSink"] | components["schemas"]["SplunkLogSink"] | components["schemas"]["SumoLogSource"] | components["schemas"]["SumoLogSink"] | components["schemas"]["OtlpLogSink"] | components["schemas"]["OtlpTraceSink"] | components["schemas"]["IcebergLogsReplaySource"] | components["schemas"]["LogsBackfillFlinkSource"] | components["schemas"]["LogsRuleEngine"] | components["schemas"]["ReducerLogsQuerySource"] | components["schemas"]["LogsSynchronousSink"] | components["schemas"]["MetricsSynchronousSink"] | components["schemas"]["VariantSynchronousSink"] | components["schemas"]["SpansSynchronousSink"] | components["schemas"]["DiscardingSink"] | components["schemas"]["DatadogMetricsSink"] | components["schemas"]["LegacyDatadogMetricsSink"] | components["schemas"]["GreprReducerLogSource"] | components["schemas"]["GreprRawLogsSource"] | components["schemas"]["GreprLlmPromptResultsSource"] | components["schemas"]["SplunkLogAgentSource"] | components["schemas"]["SplunkLogHttpSource"] | components["schemas"]["NewRelicLogAgentSource"] | components["schemas"]["OtlpLogAgentSource"] | components["schemas"]["OtlpTraceAgentSource"] | components["schemas"]["TraceSampler"] | components["schemas"]["S3LogsFileSource"] | components["schemas"]["CloudTrailLogsFileSource"] | components["schemas"]["GreprUploadedLogFileSource"] | components["schemas"]["TemplateOperation"] | components["schemas"]["SqlOperation"] | components["schemas"]["TraceReducer"] | components["schemas"]["MetricReducer"] | components["schemas"]["DatadogStatsSink"] | components["schemas"]["LogsValuesSource"] | components["schemas"]["LogRulesApplication"] | components["schemas"]["TriggerActionOp"] | components["schemas"]["EntityContextAggregation"]);
7071
+ } & (components["schemas"]["LogsEventSampler"] | components["schemas"]["LogsBranch"] | components["schemas"]["LogsFilter"] | components["schemas"]["GrokParser"] | components["schemas"]["JsonLogProcessor"] | components["schemas"]["LogAttributesRemapper"] | components["schemas"]["LogReducer"] | components["schemas"]["LogTransformAction"] | components["schemas"]["MaskingOperator"] | components["schemas"]["LlmPrompt"] | components["schemas"]["PatternMatcher"] | components["schemas"]["LogsIcebergTableSink"] | components["schemas"]["PatternLookupIcebergTableSink"] | components["schemas"]["EventDedupIcebergTableSink"] | components["schemas"]["VendorLogEventDedupIcebergTableSink"] | components["schemas"]["SpanDedupIcebergTableSink"] | components["schemas"]["LogsIcebergTableSource"] | components["schemas"]["LlmPromptResultsIcebergTableSource"] | components["schemas"]["MetricsIcebergTableSource"] | components["schemas"]["TracesIcebergTableSource"] | components["schemas"]["SpansBackfillIcebergTableSource"] | components["schemas"]["MetricsIcebergTableSink"] | components["schemas"]["DatadogLogCloudSource"] | components["schemas"]["DatadogLogAgentSource"] | components["schemas"]["DatadogTraceAgentSource"] | components["schemas"]["GreprVendorSource"] | components["schemas"]["GreprMetricsSource"] | components["schemas"]["DatadogLogSink"] | components["schemas"]["DatadogTraceSink"] | components["schemas"]["NewRelicLogSink"] | components["schemas"]["SplunkLogSink"] | components["schemas"]["SumoLogSource"] | components["schemas"]["SumoLogSink"] | components["schemas"]["OtlpLogSink"] | components["schemas"]["OtlpTraceSink"] | components["schemas"]["IcebergLogsReplaySource"] | components["schemas"]["LogsBackfillFlinkSource"] | components["schemas"]["LogsRuleEngine"] | components["schemas"]["ReducerLogsQuerySource"] | components["schemas"]["LogsSynchronousSink"] | components["schemas"]["MetricsSynchronousSink"] | components["schemas"]["VariantSynchronousSink"] | components["schemas"]["SpansSynchronousSink"] | components["schemas"]["DiscardingSink"] | components["schemas"]["DatadogMetricsSink"] | components["schemas"]["LegacyDatadogMetricsSink"] | components["schemas"]["GreprReducerLogSource"] | components["schemas"]["GreprRawLogsSource"] | components["schemas"]["GreprLlmPromptResultsSource"] | components["schemas"]["SplunkLogAgentSource"] | components["schemas"]["SplunkLogHttpSource"] | components["schemas"]["NewRelicLogAgentSource"] | components["schemas"]["OtlpLogAgentSource"] | components["schemas"]["OtlpTraceAgentSource"] | components["schemas"]["TraceSampler"] | components["schemas"]["SpanTagger"] | components["schemas"]["S3LogsFileSource"] | components["schemas"]["CloudTrailLogsFileSource"] | components["schemas"]["GreprUploadedLogFileSource"] | components["schemas"]["TemplateOperation"] | components["schemas"]["SqlOperation"] | components["schemas"]["TraceReducer"] | components["schemas"]["MetricReducer"] | components["schemas"]["DatadogStatsSink"] | components["schemas"]["LogsValuesSource"] | components["schemas"]["LogRulesApplication"] | components["schemas"]["TriggerActionOp"] | components["schemas"]["EntityContextAggregation"]);
6905
7072
  OrQueryNode: {
6906
7073
  /**
6907
7074
  * @description This is a list of expressions that are combined with an OR operator.
@@ -8402,6 +8569,9 @@ export interface components {
8402
8569
  */
8403
8570
  resourceType: ResourceFilterResourceType;
8404
8571
  };
8572
+ ResumeInvestigationRequest: {
8573
+ text?: string;
8574
+ };
8405
8575
  Role: {
8406
8576
  /**
8407
8577
  * @description Whether this is a built-in role
@@ -8767,6 +8937,23 @@ export interface components {
8767
8937
  */
8768
8938
  traceState?: string;
8769
8939
  };
8940
+ /** @description Overlays a fixed set of attributes onto every span passing through this operation. Used by the trace draft pipeline to stamp stage tags on previewed spans. */
8941
+ SpanTagger: {
8942
+ /**
8943
+ * Attributes
8944
+ * @description Attributes to overlay onto each span's attributes map.
8945
+ */
8946
+ attributes: {
8947
+ [key: string]: string;
8948
+ };
8949
+ /** @example operation_name */
8950
+ name: string;
8951
+ /**
8952
+ * @description Overlays a fixed set of attributes onto every span passing through. (enum property replaced by openapi-typescript)
8953
+ * @enum {string}
8954
+ */
8955
+ type: SpanTaggerType;
8956
+ };
8770
8957
  SpansBackfillIcebergTableSource: {
8771
8958
  /** @description The ID of the dataset to read data from. */
8772
8959
  datasetId: string;
@@ -9182,6 +9369,7 @@ export interface components {
9182
9369
  };
9183
9370
  StartInvestigationRequest: {
9184
9371
  agentId: string;
9372
+ parentInvestigationId?: string;
9185
9373
  userProvidedContext?: string;
9186
9374
  };
9187
9375
  StartInvestigationResponse: {
@@ -9920,6 +10108,10 @@ export interface components {
9920
10108
  */
9921
10109
  type: TemplateTraceSamplerExceptionType;
9922
10110
  };
10111
+ /** @description Template trace sink configuration */
10112
+ TemplateTraceSink: {
10113
+ sink?: components["schemas"]["Operation"];
10114
+ };
9923
10115
  /** @description Time-aggregation window and per-metric agg-fn overrides. */
9924
10116
  TimeGranularity: {
9925
10117
  /**
@@ -10090,6 +10282,20 @@ export interface components {
10090
10282
  */
10091
10283
  type: TraceReducerType;
10092
10284
  };
10285
+ /**
10286
+ * Inputs Schema
10287
+ * @description Schema for the trace reducer job graph.
10288
+ */
10289
+ TraceReducerTemplateInput: {
10290
+ /** @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. */
10291
+ datasetId?: string;
10292
+ reducer?: components["schemas"]["TraceReducer"];
10293
+ /** @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. */
10294
+ sinks?: components["schemas"]["TemplateTraceSink"][];
10295
+ /** @description A list of trace sources, each conforming to one of the defined source types. */
10296
+ sources: components["schemas"]["Operation"][];
10297
+ sqlOperations?: components["schemas"]["TraceSqlOperations"];
10298
+ };
10093
10299
  TraceSampler: {
10094
10300
  /** @example operation_name */
10095
10301
  name: string;
@@ -10155,6 +10361,11 @@ export interface components {
10155
10361
  */
10156
10362
  type: TraceSamplerType;
10157
10363
  };
10364
+ /** @description SQL operations applied at various stages of trace processing. */
10365
+ TraceSqlOperations: {
10366
+ postReducer?: components["schemas"]["TemplateSqlOperation"];
10367
+ preReducer?: components["schemas"]["TemplateSqlOperation"];
10368
+ };
10158
10369
  TracesIcebergTableSource: {
10159
10370
  /** @description The ID of the dataset to read data from. */
10160
10371
  datasetId: string;
@@ -10284,6 +10495,10 @@ export interface components {
10284
10495
  /** Format: int32 */
10285
10496
  seq?: number;
10286
10497
  };
10498
+ TranscriptTurnsList: {
10499
+ hasMore?: boolean;
10500
+ turns?: components["schemas"]["TranscriptTurn"][];
10501
+ };
10287
10502
  /** @description Per-stage tree-shape chains applied during log processing. */
10288
10503
  Transforms: {
10289
10504
  preExceptions?: components["schemas"]["ChainNode"];
@@ -10539,6 +10754,18 @@ export interface components {
10539
10754
  vendorResourceId: string;
10540
10755
  vendorResourceName?: string;
10541
10756
  };
10757
+ VendorLogEventDedupIcebergTableSink: {
10758
+ /** @description The id of the dataset to write to */
10759
+ datasetId: string;
10760
+ /** @example operation_name */
10761
+ name: string;
10762
+ /**
10763
+ * @description Writes confirmed-delivered event IDs to an Iceberg table to keep track of which events have actually been sent to a particular sink. (enum property replaced by openapi-typescript)
10764
+ * @enum {string}
10765
+ */
10766
+ type: VendorLogEventDedupIcebergTableSinkType;
10767
+ vendorSinkId: string;
10768
+ };
10542
10769
  WindowBasedLogarithmicSampling: {
10543
10770
  /**
10544
10771
  * Format: int32
@@ -10968,6 +11195,7 @@ export type SchemaAny = components["schemas"]["Any"];
10968
11195
  export type SchemaArrayData = components["schemas"]["ArrayData"];
10969
11196
  export type SchemaAttributeHeaderMapping = components["schemas"]["AttributeHeaderMapping"];
10970
11197
  export type SchemaAttributeKeyTermNode = components["schemas"]["AttributeKeyTermNode"];
11198
+ export type SchemaAttributeMask = components["schemas"]["AttributeMask"];
10971
11199
  export type SchemaAttributeNode = components["schemas"]["AttributeNode"];
10972
11200
  export type SchemaAttributePrefixNode = components["schemas"]["AttributePrefixNode"];
10973
11201
  export type SchemaAttributeRe2Node = components["schemas"]["AttributeRe2Node"];
@@ -11047,6 +11275,7 @@ export type SchemaExternalTriggerPayload = components["schemas"]["ExternalTrigge
11047
11275
  export type SchemaFileFormat = components["schemas"]["FileFormat"];
11048
11276
  export type SchemaFileReadingStrategy = components["schemas"]["FileReadingStrategy"];
11049
11277
  export type SchemaFilterPrimitive = components["schemas"]["FilterPrimitive"];
11278
+ export type SchemaFrontendConfig = components["schemas"]["FrontendConfig"];
11050
11279
  export type SchemaGemini = components["schemas"]["Gemini"];
11051
11280
  export type SchemaGreprApiKey = components["schemas"]["GreprApiKey"];
11052
11281
  export type SchemaGreprJobGraph = components["schemas"]["GreprJobGraph"];
@@ -11074,8 +11303,10 @@ export type SchemaIntegrationExceptionsList = components["schemas"]["Integration
11074
11303
  export type SchemaInvestigationAction = components["schemas"]["InvestigationAction"];
11075
11304
  export type SchemaInvestigationSummary = components["schemas"]["InvestigationSummary"];
11076
11305
  export type SchemaInvestigationTranscript = components["schemas"]["InvestigationTranscript"];
11306
+ export type SchemaInvestigationsList = components["schemas"]["InvestigationsList"];
11077
11307
  export type SchemaInvitationsList = components["schemas"]["InvitationsList"];
11078
11308
  export type SchemaInvitee = components["schemas"]["Invitee"];
11309
+ export type SchemaItemsCollectionInvestigationSummary = components["schemas"]["ItemsCollectionInvestigationSummary"];
11079
11310
  export type SchemaItemsCollectionLogEvent = components["schemas"]["ItemsCollectionLogEvent"];
11080
11311
  export type SchemaItemsCollectionReadAnthropic = components["schemas"]["ItemsCollectionReadAnthropic"];
11081
11312
  export type SchemaItemsCollectionReadDataWarehouse = components["schemas"]["ItemsCollectionReadDataWarehouse"];
@@ -11131,6 +11362,7 @@ export type SchemaLogsSynchronousSink = components["schemas"]["LogsSynchronousSi
11131
11362
  export type SchemaLogsValuesSource = components["schemas"]["LogsValuesSource"];
11132
11363
  export type SchemaManifest = components["schemas"]["Manifest"];
11133
11364
  export type SchemaMaskEntry = components["schemas"]["MaskEntry"];
11365
+ export type SchemaMaskingOperator = components["schemas"]["MaskingOperator"];
11134
11366
  export type SchemaMaskingRuleConfig = components["schemas"]["MaskingRuleConfig"];
11135
11367
  export type SchemaMatrixData = components["schemas"]["MatrixData"];
11136
11368
  export type SchemaMatrixResult = components["schemas"]["MatrixResult"];
@@ -11231,6 +11463,7 @@ export type SchemaRemoveKeyAttributeAction = components["schemas"]["RemoveKeyAtt
11231
11463
  export type SchemaResetImpactEstimationResponse = components["schemas"]["ResetImpactEstimationResponse"];
11232
11464
  export type SchemaResource = components["schemas"]["Resource"];
11233
11465
  export type SchemaResourceFilter = components["schemas"]["ResourceFilter"];
11466
+ export type SchemaResumeInvestigationRequest = components["schemas"]["ResumeInvestigationRequest"];
11234
11467
  export type SchemaRole = components["schemas"]["Role"];
11235
11468
  export type SchemaRoleIds = components["schemas"]["RoleIds"];
11236
11469
  export type SchemaRoleUpdate = components["schemas"]["RoleUpdate"];
@@ -11254,6 +11487,7 @@ export type SchemaSpanDedupIcebergTableSink = components["schemas"]["SpanDedupIc
11254
11487
  export type SchemaSpanEvent = components["schemas"]["SpanEvent"];
11255
11488
  export type SchemaSpanHeadSamplingRule = components["schemas"]["SpanHeadSamplingRule"];
11256
11489
  export type SchemaSpanLink = components["schemas"]["SpanLink"];
11490
+ export type SchemaSpanTagger = components["schemas"]["SpanTagger"];
11257
11491
  export type SchemaSpansBackfillIcebergTableSource = components["schemas"]["SpansBackfillIcebergTableSource"];
11258
11492
  export type SchemaSpansSynchronousSink = components["schemas"]["SpansSynchronousSink"];
11259
11493
  export type SchemaSplunk = components["schemas"]["Splunk"];
@@ -11305,6 +11539,7 @@ export type SchemaTemplateQueryActionRuleException = components["schemas"]["Temp
11305
11539
  export type SchemaTemplateQueryException = components["schemas"]["TemplateQueryException"];
11306
11540
  export type SchemaTemplateSqlOperation = components["schemas"]["TemplateSqlOperation"];
11307
11541
  export type SchemaTemplateTraceSamplerException = components["schemas"]["TemplateTraceSamplerException"];
11542
+ export type SchemaTemplateTraceSink = components["schemas"]["TemplateTraceSink"];
11308
11543
  export type SchemaTimeGranularity = components["schemas"]["TimeGranularity"];
11309
11544
  export type SchemaTimePartitionTransform = components["schemas"]["TimePartitionTransform"];
11310
11545
  export type SchemaTimeSeriesRuleConfig = components["schemas"]["TimeSeriesRuleConfig"];
@@ -11314,11 +11549,14 @@ export type SchemaTraceAction = components["schemas"]["TraceAction"];
11314
11549
  export type SchemaTraceHeadSamplingRule = components["schemas"]["TraceHeadSamplingRule"];
11315
11550
  export type SchemaTraceIdLogsBackfillAction = components["schemas"]["TraceIdLogsBackfillAction"];
11316
11551
  export type SchemaTraceReducer = components["schemas"]["TraceReducer"];
11552
+ export type SchemaTraceReducerTemplateInput = components["schemas"]["TraceReducerTemplateInput"];
11317
11553
  export type SchemaTraceSampler = components["schemas"]["TraceSampler"];
11554
+ export type SchemaTraceSqlOperations = components["schemas"]["TraceSqlOperations"];
11318
11555
  export type SchemaTracesIcebergTableSource = components["schemas"]["TracesIcebergTableSource"];
11319
11556
  export type SchemaTranscriptMessage = components["schemas"]["TranscriptMessage"];
11320
11557
  export type SchemaTranscriptToolCall = components["schemas"]["TranscriptToolCall"];
11321
11558
  export type SchemaTranscriptTurn = components["schemas"]["TranscriptTurn"];
11559
+ export type SchemaTranscriptTurnsList = components["schemas"]["TranscriptTurnsList"];
11322
11560
  export type SchemaTransforms = components["schemas"]["Transforms"];
11323
11561
  export type SchemaTrigger = components["schemas"]["Trigger"];
11324
11562
  export type SchemaTriggerActionConfig = components["schemas"]["TriggerActionConfig"];
@@ -11340,6 +11578,7 @@ export type SchemaVariantSynchronousSink = components["schemas"]["VariantSynchro
11340
11578
  export type SchemaVectorData = components["schemas"]["VectorData"];
11341
11579
  export type SchemaVectorResult = components["schemas"]["VectorResult"];
11342
11580
  export type SchemaVendorImportedException = components["schemas"]["VendorImportedException"];
11581
+ export type SchemaVendorLogEventDedupIcebergTableSink = components["schemas"]["VendorLogEventDedupIcebergTableSink"];
11343
11582
  export type SchemaWindowBasedLogarithmicSampling = components["schemas"]["WindowBasedLogarithmicSampling"];
11344
11583
  export type SchemaWriteAnthropic = components["schemas"]["WriteAnthropic"];
11345
11584
  export type SchemaWriteDataWarehouse = components["schemas"]["WriteDataWarehouse"];
@@ -11611,7 +11850,10 @@ export interface operations {
11611
11850
  };
11612
11851
  investigations: {
11613
11852
  parameters: {
11614
- query?: never;
11853
+ query?: {
11854
+ page?: number;
11855
+ pageSize?: number;
11856
+ };
11615
11857
  header?: never;
11616
11858
  path: {
11617
11859
  id: string;
@@ -11626,7 +11868,7 @@ export interface operations {
11626
11868
  [name: string]: unknown;
11627
11869
  };
11628
11870
  content: {
11629
- "application/json": components["schemas"]["InvestigationSummary"][];
11871
+ "application/json": components["schemas"]["InvestigationsList"];
11630
11872
  };
11631
11873
  };
11632
11874
  /** @description Unauthorized */
@@ -16044,6 +16286,133 @@ export interface operations {
16044
16286
  };
16045
16287
  };
16046
16288
  };
16289
+ cancel: {
16290
+ parameters: {
16291
+ query?: never;
16292
+ header?: never;
16293
+ path: {
16294
+ investigationId: string;
16295
+ };
16296
+ cookie?: never;
16297
+ };
16298
+ requestBody?: never;
16299
+ responses: {
16300
+ /** @description Cancel requested */
16301
+ 202: {
16302
+ headers: {
16303
+ [name: string]: unknown;
16304
+ };
16305
+ content?: never;
16306
+ };
16307
+ /** @description Unauthorized */
16308
+ 401: {
16309
+ headers: {
16310
+ [name: string]: unknown;
16311
+ };
16312
+ content?: never;
16313
+ };
16314
+ /** @description Investigation not found */
16315
+ 404: {
16316
+ headers: {
16317
+ [name: string]: unknown;
16318
+ };
16319
+ content?: never;
16320
+ };
16321
+ /** @description Investigation is already finished */
16322
+ 409: {
16323
+ headers: {
16324
+ [name: string]: unknown;
16325
+ };
16326
+ content?: never;
16327
+ };
16328
+ };
16329
+ };
16330
+ resume: {
16331
+ parameters: {
16332
+ query?: never;
16333
+ header?: never;
16334
+ path: {
16335
+ investigationId: string;
16336
+ };
16337
+ cookie?: never;
16338
+ };
16339
+ requestBody?: {
16340
+ content: {
16341
+ "application/json": components["schemas"]["ResumeInvestigationRequest"];
16342
+ };
16343
+ };
16344
+ responses: {
16345
+ /** @description Resume requested */
16346
+ 202: {
16347
+ headers: {
16348
+ [name: string]: unknown;
16349
+ };
16350
+ content?: never;
16351
+ };
16352
+ /** @description Unauthorized */
16353
+ 401: {
16354
+ headers: {
16355
+ [name: string]: unknown;
16356
+ };
16357
+ content?: never;
16358
+ };
16359
+ /** @description Investigation not found */
16360
+ 404: {
16361
+ headers: {
16362
+ [name: string]: unknown;
16363
+ };
16364
+ content?: never;
16365
+ };
16366
+ /** @description Investigation is not resumable */
16367
+ 409: {
16368
+ headers: {
16369
+ [name: string]: unknown;
16370
+ };
16371
+ content?: never;
16372
+ };
16373
+ };
16374
+ };
16375
+ stop: {
16376
+ parameters: {
16377
+ query?: never;
16378
+ header?: never;
16379
+ path: {
16380
+ investigationId: string;
16381
+ };
16382
+ cookie?: never;
16383
+ };
16384
+ requestBody?: never;
16385
+ responses: {
16386
+ /** @description Stop requested */
16387
+ 202: {
16388
+ headers: {
16389
+ [name: string]: unknown;
16390
+ };
16391
+ content?: never;
16392
+ };
16393
+ /** @description Unauthorized */
16394
+ 401: {
16395
+ headers: {
16396
+ [name: string]: unknown;
16397
+ };
16398
+ content?: never;
16399
+ };
16400
+ /** @description Investigation not found */
16401
+ 404: {
16402
+ headers: {
16403
+ [name: string]: unknown;
16404
+ };
16405
+ content?: never;
16406
+ };
16407
+ /** @description Investigation is not running */
16408
+ 409: {
16409
+ headers: {
16410
+ [name: string]: unknown;
16411
+ };
16412
+ content?: never;
16413
+ };
16414
+ };
16415
+ };
16047
16416
  transcript: {
16048
16417
  parameters: {
16049
16418
  query?: never;
@@ -16080,6 +16449,45 @@ export interface operations {
16080
16449
  };
16081
16450
  };
16082
16451
  };
16452
+ turns: {
16453
+ parameters: {
16454
+ query?: {
16455
+ afterSeq?: number;
16456
+ pageSize?: number;
16457
+ };
16458
+ header?: never;
16459
+ path: {
16460
+ investigationId: string;
16461
+ };
16462
+ cookie?: never;
16463
+ };
16464
+ requestBody?: never;
16465
+ responses: {
16466
+ /** @description Turns retrieved successfully */
16467
+ 200: {
16468
+ headers: {
16469
+ [name: string]: unknown;
16470
+ };
16471
+ content: {
16472
+ "application/json": components["schemas"]["TranscriptTurnsList"];
16473
+ };
16474
+ };
16475
+ /** @description Unauthorized */
16476
+ 401: {
16477
+ headers: {
16478
+ [name: string]: unknown;
16479
+ };
16480
+ content?: never;
16481
+ };
16482
+ /** @description Investigation not found */
16483
+ 404: {
16484
+ headers: {
16485
+ [name: string]: unknown;
16486
+ };
16487
+ content?: never;
16488
+ };
16489
+ };
16490
+ };
16083
16491
  listInvitations: {
16084
16492
  parameters: {
16085
16493
  query?: {
@@ -18946,8 +19354,10 @@ export declare enum IgnoreAttributesMergeStrategyType {
18946
19354
  }
18947
19355
  export declare enum InvestigationSummaryStatus {
18948
19356
  RUNNING = "RUNNING",
19357
+ STOPPED = "STOPPED",
18949
19358
  COMPLETED = "COMPLETED",
18950
- FAILED = "FAILED"
19359
+ FAILED = "FAILED",
19360
+ CANCELLED = "CANCELLED"
18951
19361
  }
18952
19362
  export declare enum JobActionRuleType {
18953
19363
  job_rule = "job-rule"
@@ -19013,6 +19423,9 @@ export declare enum LogsSynchronousSinkType {
19013
19423
  export declare enum LogsValuesSourceType {
19014
19424
  logs_values_source = "logs-values-source"
19015
19425
  }
19426
+ export declare enum MaskingOperatorType {
19427
+ masking_operator = "masking-operator"
19428
+ }
19016
19429
  export declare enum MaskingRuleConfigType {
19017
19430
  masking = "masking"
19018
19431
  }
@@ -19250,6 +19663,9 @@ export declare enum SpanSpanKind {
19250
19663
  export declare enum SpanDedupIcebergTableSinkType {
19251
19664
  spans_dedup_iceberg_table_sink = "spans-dedup-iceberg-table-sink"
19252
19665
  }
19666
+ export declare enum SpanTaggerType {
19667
+ span_tagger = "span-tagger"
19668
+ }
19253
19669
  export declare enum SpansBackfillIcebergTableSourceType {
19254
19670
  spans_backfill_iceberg_table_source = "spans-backfill-iceberg-table-source"
19255
19671
  }
@@ -19394,6 +19810,7 @@ export declare enum TracesIcebergTableSourceType {
19394
19810
  }
19395
19811
  export declare enum TranscriptMessageRole {
19396
19812
  SYSTEM = "SYSTEM",
19813
+ TRIGGER_SIGNAL = "TRIGGER_SIGNAL",
19397
19814
  USER = "USER",
19398
19815
  ASSISTANT = "ASSISTANT",
19399
19816
  TOOL_RESULT = "TOOL_RESULT"
@@ -19430,6 +19847,9 @@ export declare enum VendorImportedExceptionExceptionType {
19430
19847
  NEW_RELIC_MONITOR = "NEW_RELIC_MONITOR",
19431
19848
  NEW_RELIC_DASHBOARD = "NEW_RELIC_DASHBOARD"
19432
19849
  }
19850
+ export declare enum VendorLogEventDedupIcebergTableSinkType {
19851
+ vendorlog_event_dedup_iceberg_table_sink = "vendorlog-event-dedup-iceberg-table-sink"
19852
+ }
19433
19853
  export declare enum WindowBasedLogarithmicSamplingType {
19434
19854
  window_based_logarithmic_sampling = "window-based-logarithmic-sampling"
19435
19855
  }