@grepr/cli 1.6.30-551accf → 1.6.43-1a54abd

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 +491 -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
@@ -47,6 +47,26 @@ export interface paths {
47
47
  patch?: never;
48
48
  trace?: never;
49
49
  };
50
+ "/v1/agents/skills": {
51
+ parameters: {
52
+ query?: never;
53
+ header?: never;
54
+ path?: never;
55
+ cookie?: never;
56
+ };
57
+ /**
58
+ * List available agent skills
59
+ * @description Returns the catalog of skills that can be enabled on an agent.
60
+ */
61
+ get: operations["skills"];
62
+ put?: never;
63
+ post?: never;
64
+ delete?: never;
65
+ options?: never;
66
+ head?: never;
67
+ patch?: never;
68
+ trace?: never;
69
+ };
50
70
  "/v1/agents/tools": {
51
71
  parameters: {
52
72
  query?: never;
@@ -1707,6 +1727,66 @@ export interface paths {
1707
1727
  patch?: never;
1708
1728
  trace?: never;
1709
1729
  };
1730
+ "/v1/investigations/{investigationId}/cancel": {
1731
+ parameters: {
1732
+ query?: never;
1733
+ header?: never;
1734
+ path?: never;
1735
+ cookie?: never;
1736
+ };
1737
+ get?: never;
1738
+ put?: never;
1739
+ /**
1740
+ * Cancel an investigation
1741
+ * @description Aborts an investigation for good (running or paused). It pauses at the next turn boundary if running, then finalizes as CANCELLED.
1742
+ */
1743
+ post: operations["cancel"];
1744
+ delete?: never;
1745
+ options?: never;
1746
+ head?: never;
1747
+ patch?: never;
1748
+ trace?: never;
1749
+ };
1750
+ "/v1/investigations/{investigationId}/resume": {
1751
+ parameters: {
1752
+ query?: never;
1753
+ header?: never;
1754
+ path?: never;
1755
+ cookie?: never;
1756
+ };
1757
+ get?: never;
1758
+ put?: never;
1759
+ /**
1760
+ * Resume a stopped investigation
1761
+ * @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.
1762
+ */
1763
+ post: operations["resume"];
1764
+ delete?: never;
1765
+ options?: never;
1766
+ head?: never;
1767
+ patch?: never;
1768
+ trace?: never;
1769
+ };
1770
+ "/v1/investigations/{investigationId}/stop": {
1771
+ parameters: {
1772
+ query?: never;
1773
+ header?: never;
1774
+ path?: never;
1775
+ cookie?: never;
1776
+ };
1777
+ get?: never;
1778
+ put?: never;
1779
+ /**
1780
+ * Stop a running investigation
1781
+ * @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.
1782
+ */
1783
+ post: operations["stop"];
1784
+ delete?: never;
1785
+ options?: never;
1786
+ head?: never;
1787
+ patch?: never;
1788
+ trace?: never;
1789
+ };
1710
1790
  "/v1/investigations/{investigationId}/transcript": {
1711
1791
  parameters: {
1712
1792
  query?: never;
@@ -1727,6 +1807,26 @@ export interface paths {
1727
1807
  patch?: never;
1728
1808
  trace?: never;
1729
1809
  };
1810
+ "/v1/investigations/{investigationId}/turns": {
1811
+ parameters: {
1812
+ query?: never;
1813
+ header?: never;
1814
+ path?: never;
1815
+ cookie?: never;
1816
+ };
1817
+ /**
1818
+ * Stream an investigation's transcript turns by sequence cursor
1819
+ * @description Returns journalled turns after the given sequence, oldest first.
1820
+ */
1821
+ get: operations["turns"];
1822
+ put?: never;
1823
+ post?: never;
1824
+ delete?: never;
1825
+ options?: never;
1826
+ head?: never;
1827
+ patch?: never;
1828
+ trace?: never;
1829
+ };
1730
1830
  "/v1/invitations": {
1731
1831
  parameters: {
1732
1832
  query?: never;
@@ -2897,7 +2997,7 @@ export interface components {
2897
2997
  /** @description One aggregation function declaration. */
2898
2998
  AggregationDecl: {
2899
2999
  /**
2900
- * @description Function arguments. Heterogeneous; validated at pipeline construction.
3000
+ * @description Function arguments. Heterogeneous; validated at pipeline construction. PERCENTILE accepts [rank], [rank, relativeAccuracy], or [rank, relativeAccuracy, maxNumBins].
2901
3001
  * @default []
2902
3002
  */
2903
3003
  args?: Record<string, never>[];
@@ -3116,6 +3216,39 @@ export interface components {
3116
3216
  */
3117
3217
  type: AttributeKeyTermNodeType;
3118
3218
  };
3219
+ /**
3220
+ * @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.
3221
+ * @example [
3222
+ * {
3223
+ * "masks": {
3224
+ * "email": "\\S+@\\S+"
3225
+ * },
3226
+ * "path": [
3227
+ * "user",
3228
+ * "contact"
3229
+ * ]
3230
+ * }
3231
+ * ]
3232
+ */
3233
+ AttributeMask: {
3234
+ /**
3235
+ * @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.
3236
+ * @example {
3237
+ * "email": "\\S+@\\S+"
3238
+ * }
3239
+ */
3240
+ masks: {
3241
+ [key: string]: string;
3242
+ };
3243
+ /**
3244
+ * @description Attribute path to mask, as a list of segments.
3245
+ * @example [
3246
+ * "user",
3247
+ * "contact"
3248
+ * ]
3249
+ */
3250
+ path: string[];
3251
+ };
3119
3252
  AttributeNode: {
3120
3253
  /**
3121
3254
  * @description The attribute name
@@ -3483,6 +3616,11 @@ export interface components {
3483
3616
  */
3484
3617
  aggregations?: components["schemas"]["AggregationDecl"][];
3485
3618
  selectors?: components["schemas"]["FilterPrimitive"];
3619
+ /**
3620
+ * @description When false, emit per-series time-only aggregation (no space/cohort collapse); aggregations apply as time-window folds. Default true keeps cohort aggregation.
3621
+ * @default true
3622
+ */
3623
+ spaceAggregation?: boolean;
3486
3624
  };
3487
3625
  /** @description Cohort-identity + space-aggregation configuration. */
3488
3626
  CohortsConfig: {
@@ -3817,12 +3955,6 @@ export interface components {
3817
3955
  * @example datadoghq.com
3818
3956
  */
3819
3957
  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
3958
  /**
3827
3959
  * @description Indicates whether to validate the API and App keys when saving the keys.
3828
3960
  * @default true
@@ -4470,6 +4602,13 @@ export interface components {
4470
4602
  };
4471
4603
  metricName?: components["schemas"]["MetricNameFilter"];
4472
4604
  };
4605
+ FrontendConfig: {
4606
+ appBaseUrl?: string;
4607
+ flinkBaseUrl?: string;
4608
+ gtmContainerId?: string;
4609
+ kafkaToolkitClusterName?: string;
4610
+ region?: string;
4611
+ };
4473
4612
  /** @description The payload containing integration data. */
4474
4613
  Gemini: {
4475
4614
  /**
@@ -5030,8 +5169,10 @@ export interface components {
5030
5169
  /** Format: int32 */
5031
5170
  inputTokens?: number;
5032
5171
  investigationId?: string;
5172
+ live?: boolean;
5033
5173
  /** Format: int32 */
5034
5174
  outputTokens?: number;
5175
+ resumable?: boolean;
5035
5176
  /** @enum {string} */
5036
5177
  status?: InvestigationSummaryStatus;
5037
5178
  summary?: string;
@@ -5048,7 +5189,14 @@ export interface components {
5048
5189
  /** @enum {string} */
5049
5190
  status?: InvestigationSummaryStatus;
5050
5191
  summary?: string;
5051
- turns?: components["schemas"]["TranscriptTurn"][];
5192
+ };
5193
+ InvestigationsList: {
5194
+ hasMore?: boolean;
5195
+ investigations?: components["schemas"]["ItemsCollectionInvestigationSummary"];
5196
+ /** Format: int32 */
5197
+ limit?: number;
5198
+ /** Format: int32 */
5199
+ start?: number;
5052
5200
  };
5053
5201
  InvitationsList: {
5054
5202
  invitations?: components["schemas"]["ItemsCollectionReadInvitation"];
@@ -5070,6 +5218,10 @@ export interface components {
5070
5218
  */
5071
5219
  teamAssignments?: components["schemas"]["TeamAssignment"][];
5072
5220
  };
5221
+ ItemsCollectionInvestigationSummary: {
5222
+ /** @default [] */
5223
+ items?: components["schemas"]["InvestigationSummary"][];
5224
+ };
5073
5225
  ItemsCollectionLogEvent: {
5074
5226
  /** @default [] */
5075
5227
  items?: components["schemas"]["LogEvent"][];
@@ -5935,6 +6087,11 @@ export interface components {
5935
6087
  LogReducerTemplateInput: {
5936
6088
  /** @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
6089
  conditionalDatasets?: components["schemas"]["ConditionalDataLakeConfig"][];
6090
+ /**
6091
+ * @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.
6092
+ * @default false
6093
+ */
6094
+ confirmedDeliveryEnabled?: boolean;
5938
6095
  /** @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
6096
  datasetId?: string;
5940
6097
  /** @description A list of template-specific exceptions to apply in log reducer. */
@@ -6252,12 +6409,48 @@ export interface components {
6252
6409
  };
6253
6410
  Manifest: {
6254
6411
  auth: components["schemas"]["AuthConfig"];
6412
+ frontend?: components["schemas"]["FrontendConfig"];
6255
6413
  };
6256
6414
  MaskEntry: {
6257
6415
  name: string;
6258
6416
  pattern: string;
6259
6417
  replacement: string;
6260
6418
  };
6419
+ MaskingOperator: {
6420
+ /**
6421
+ * @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.
6422
+ * @default []
6423
+ * @example [
6424
+ * {
6425
+ * "masks": {
6426
+ * "email": "\\S+@\\S+"
6427
+ * },
6428
+ * "path": [
6429
+ * "user",
6430
+ * "contact"
6431
+ * ]
6432
+ * }
6433
+ * ]
6434
+ */
6435
+ attributeMasks: components["schemas"]["AttributeMask"][];
6436
+ /**
6437
+ * @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).
6438
+ * @default {}
6439
+ * @example {
6440
+ * "email": "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}"
6441
+ * }
6442
+ */
6443
+ messageMasks: {
6444
+ [key: string]: string;
6445
+ };
6446
+ /** @example operation_name */
6447
+ name: string;
6448
+ /**
6449
+ * @description Masks sensitive substrings in log events by replacing regex matches with decorated labels. (enum property replaced by openapi-typescript)
6450
+ * @enum {string}
6451
+ */
6452
+ type: MaskingOperatorType;
6453
+ };
6261
6454
  /** @description Masking rule that scrubs PII from log messages using regex patterns. */
6262
6455
  MaskingRuleConfig: Omit<components["schemas"]["PatternRuleConfig"], "type"> & {
6263
6456
  /** @default true */
@@ -6743,12 +6936,6 @@ export interface components {
6743
6936
  * @example newrelic.com
6744
6937
  */
6745
6938
  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
6939
  };
6753
6940
  NewRelicLogAgentSource: {
6754
6941
  /** @description The integration id for the observability vendor. */
@@ -6901,7 +7088,7 @@ export interface components {
6901
7088
  /** @example operation_name */
6902
7089
  name: string;
6903
7090
  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"]);
7091
+ } & (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
7092
  OrQueryNode: {
6906
7093
  /**
6907
7094
  * @description This is a list of expressions that are combined with an OR operator.
@@ -8402,6 +8589,9 @@ export interface components {
8402
8589
  */
8403
8590
  resourceType: ResourceFilterResourceType;
8404
8591
  };
8592
+ ResumeInvestigationRequest: {
8593
+ text?: string;
8594
+ };
8405
8595
  Role: {
8406
8596
  /**
8407
8597
  * @description Whether this is a built-in role
@@ -8608,6 +8798,11 @@ export interface components {
8608
8798
  */
8609
8799
  type: SimpleType;
8610
8800
  };
8801
+ SkillDescriptor: {
8802
+ description?: string;
8803
+ name?: string;
8804
+ tools?: components["schemas"]["ToolDescriptor"][];
8805
+ };
8611
8806
  SocialUserInfo: {
8612
8807
  idToken: string;
8613
8808
  /**
@@ -8767,6 +8962,23 @@ export interface components {
8767
8962
  */
8768
8963
  traceState?: string;
8769
8964
  };
8965
+ /** @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. */
8966
+ SpanTagger: {
8967
+ /**
8968
+ * Attributes
8969
+ * @description Attributes to overlay onto each span's attributes map.
8970
+ */
8971
+ attributes: {
8972
+ [key: string]: string;
8973
+ };
8974
+ /** @example operation_name */
8975
+ name: string;
8976
+ /**
8977
+ * @description Overlays a fixed set of attributes onto every span passing through. (enum property replaced by openapi-typescript)
8978
+ * @enum {string}
8979
+ */
8980
+ type: SpanTaggerType;
8981
+ };
8770
8982
  SpansBackfillIcebergTableSource: {
8771
8983
  /** @description The ID of the dataset to read data from. */
8772
8984
  datasetId: string;
@@ -9182,6 +9394,7 @@ export interface components {
9182
9394
  };
9183
9395
  StartInvestigationRequest: {
9184
9396
  agentId: string;
9397
+ parentInvestigationId?: string;
9185
9398
  userProvidedContext?: string;
9186
9399
  };
9187
9400
  StartInvestigationResponse: {
@@ -9920,6 +10133,10 @@ export interface components {
9920
10133
  */
9921
10134
  type: TemplateTraceSamplerExceptionType;
9922
10135
  };
10136
+ /** @description Template trace sink configuration */
10137
+ TemplateTraceSink: {
10138
+ sink?: components["schemas"]["Operation"];
10139
+ };
9923
10140
  /** @description Time-aggregation window and per-metric agg-fn overrides. */
9924
10141
  TimeGranularity: {
9925
10142
  /**
@@ -10090,6 +10307,20 @@ export interface components {
10090
10307
  */
10091
10308
  type: TraceReducerType;
10092
10309
  };
10310
+ /**
10311
+ * Inputs Schema
10312
+ * @description Schema for the trace reducer job graph.
10313
+ */
10314
+ TraceReducerTemplateInput: {
10315
+ /** @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. */
10316
+ datasetId?: string;
10317
+ reducer?: components["schemas"]["TraceReducer"];
10318
+ /** @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. */
10319
+ sinks?: components["schemas"]["TemplateTraceSink"][];
10320
+ /** @description A list of trace sources, each conforming to one of the defined source types. */
10321
+ sources: components["schemas"]["Operation"][];
10322
+ sqlOperations?: components["schemas"]["TraceSqlOperations"];
10323
+ };
10093
10324
  TraceSampler: {
10094
10325
  /** @example operation_name */
10095
10326
  name: string;
@@ -10155,6 +10386,11 @@ export interface components {
10155
10386
  */
10156
10387
  type: TraceSamplerType;
10157
10388
  };
10389
+ /** @description SQL operations applied at various stages of trace processing. */
10390
+ TraceSqlOperations: {
10391
+ postReducer?: components["schemas"]["TemplateSqlOperation"];
10392
+ preReducer?: components["schemas"]["TemplateSqlOperation"];
10393
+ };
10158
10394
  TracesIcebergTableSource: {
10159
10395
  /** @description The ID of the dataset to read data from. */
10160
10396
  datasetId: string;
@@ -10284,6 +10520,10 @@ export interface components {
10284
10520
  /** Format: int32 */
10285
10521
  seq?: number;
10286
10522
  };
10523
+ TranscriptTurnsList: {
10524
+ hasMore?: boolean;
10525
+ turns?: components["schemas"]["TranscriptTurn"][];
10526
+ };
10287
10527
  /** @description Per-stage tree-shape chains applied during log processing. */
10288
10528
  Transforms: {
10289
10529
  preExceptions?: components["schemas"]["ChainNode"];
@@ -10539,6 +10779,18 @@ export interface components {
10539
10779
  vendorResourceId: string;
10540
10780
  vendorResourceName?: string;
10541
10781
  };
10782
+ VendorLogEventDedupIcebergTableSink: {
10783
+ /** @description The id of the dataset to write to */
10784
+ datasetId: string;
10785
+ /** @example operation_name */
10786
+ name: string;
10787
+ /**
10788
+ * @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)
10789
+ * @enum {string}
10790
+ */
10791
+ type: VendorLogEventDedupIcebergTableSinkType;
10792
+ vendorSinkId: string;
10793
+ };
10542
10794
  WindowBasedLogarithmicSampling: {
10543
10795
  /**
10544
10796
  * Format: int32
@@ -10968,6 +11220,7 @@ export type SchemaAny = components["schemas"]["Any"];
10968
11220
  export type SchemaArrayData = components["schemas"]["ArrayData"];
10969
11221
  export type SchemaAttributeHeaderMapping = components["schemas"]["AttributeHeaderMapping"];
10970
11222
  export type SchemaAttributeKeyTermNode = components["schemas"]["AttributeKeyTermNode"];
11223
+ export type SchemaAttributeMask = components["schemas"]["AttributeMask"];
10971
11224
  export type SchemaAttributeNode = components["schemas"]["AttributeNode"];
10972
11225
  export type SchemaAttributePrefixNode = components["schemas"]["AttributePrefixNode"];
10973
11226
  export type SchemaAttributeRe2Node = components["schemas"]["AttributeRe2Node"];
@@ -11047,6 +11300,7 @@ export type SchemaExternalTriggerPayload = components["schemas"]["ExternalTrigge
11047
11300
  export type SchemaFileFormat = components["schemas"]["FileFormat"];
11048
11301
  export type SchemaFileReadingStrategy = components["schemas"]["FileReadingStrategy"];
11049
11302
  export type SchemaFilterPrimitive = components["schemas"]["FilterPrimitive"];
11303
+ export type SchemaFrontendConfig = components["schemas"]["FrontendConfig"];
11050
11304
  export type SchemaGemini = components["schemas"]["Gemini"];
11051
11305
  export type SchemaGreprApiKey = components["schemas"]["GreprApiKey"];
11052
11306
  export type SchemaGreprJobGraph = components["schemas"]["GreprJobGraph"];
@@ -11074,8 +11328,10 @@ export type SchemaIntegrationExceptionsList = components["schemas"]["Integration
11074
11328
  export type SchemaInvestigationAction = components["schemas"]["InvestigationAction"];
11075
11329
  export type SchemaInvestigationSummary = components["schemas"]["InvestigationSummary"];
11076
11330
  export type SchemaInvestigationTranscript = components["schemas"]["InvestigationTranscript"];
11331
+ export type SchemaInvestigationsList = components["schemas"]["InvestigationsList"];
11077
11332
  export type SchemaInvitationsList = components["schemas"]["InvitationsList"];
11078
11333
  export type SchemaInvitee = components["schemas"]["Invitee"];
11334
+ export type SchemaItemsCollectionInvestigationSummary = components["schemas"]["ItemsCollectionInvestigationSummary"];
11079
11335
  export type SchemaItemsCollectionLogEvent = components["schemas"]["ItemsCollectionLogEvent"];
11080
11336
  export type SchemaItemsCollectionReadAnthropic = components["schemas"]["ItemsCollectionReadAnthropic"];
11081
11337
  export type SchemaItemsCollectionReadDataWarehouse = components["schemas"]["ItemsCollectionReadDataWarehouse"];
@@ -11131,6 +11387,7 @@ export type SchemaLogsSynchronousSink = components["schemas"]["LogsSynchronousSi
11131
11387
  export type SchemaLogsValuesSource = components["schemas"]["LogsValuesSource"];
11132
11388
  export type SchemaManifest = components["schemas"]["Manifest"];
11133
11389
  export type SchemaMaskEntry = components["schemas"]["MaskEntry"];
11390
+ export type SchemaMaskingOperator = components["schemas"]["MaskingOperator"];
11134
11391
  export type SchemaMaskingRuleConfig = components["schemas"]["MaskingRuleConfig"];
11135
11392
  export type SchemaMatrixData = components["schemas"]["MatrixData"];
11136
11393
  export type SchemaMatrixResult = components["schemas"]["MatrixResult"];
@@ -11231,6 +11488,7 @@ export type SchemaRemoveKeyAttributeAction = components["schemas"]["RemoveKeyAtt
11231
11488
  export type SchemaResetImpactEstimationResponse = components["schemas"]["ResetImpactEstimationResponse"];
11232
11489
  export type SchemaResource = components["schemas"]["Resource"];
11233
11490
  export type SchemaResourceFilter = components["schemas"]["ResourceFilter"];
11491
+ export type SchemaResumeInvestigationRequest = components["schemas"]["ResumeInvestigationRequest"];
11234
11492
  export type SchemaRole = components["schemas"]["Role"];
11235
11493
  export type SchemaRoleIds = components["schemas"]["RoleIds"];
11236
11494
  export type SchemaRoleUpdate = components["schemas"]["RoleUpdate"];
@@ -11248,12 +11506,14 @@ export type SchemaSeverityNode = components["schemas"]["SeverityNode"];
11248
11506
  export type SchemaShardingConfig = components["schemas"]["ShardingConfig"];
11249
11507
  export type SchemaSignupRequest = components["schemas"]["SignupRequest"];
11250
11508
  export type SchemaSimple = components["schemas"]["Simple"];
11509
+ export type SchemaSkillDescriptor = components["schemas"]["SkillDescriptor"];
11251
11510
  export type SchemaSocialUserInfo = components["schemas"]["SocialUserInfo"];
11252
11511
  export type SchemaSpan = components["schemas"]["Span"];
11253
11512
  export type SchemaSpanDedupIcebergTableSink = components["schemas"]["SpanDedupIcebergTableSink"];
11254
11513
  export type SchemaSpanEvent = components["schemas"]["SpanEvent"];
11255
11514
  export type SchemaSpanHeadSamplingRule = components["schemas"]["SpanHeadSamplingRule"];
11256
11515
  export type SchemaSpanLink = components["schemas"]["SpanLink"];
11516
+ export type SchemaSpanTagger = components["schemas"]["SpanTagger"];
11257
11517
  export type SchemaSpansBackfillIcebergTableSource = components["schemas"]["SpansBackfillIcebergTableSource"];
11258
11518
  export type SchemaSpansSynchronousSink = components["schemas"]["SpansSynchronousSink"];
11259
11519
  export type SchemaSplunk = components["schemas"]["Splunk"];
@@ -11305,6 +11565,7 @@ export type SchemaTemplateQueryActionRuleException = components["schemas"]["Temp
11305
11565
  export type SchemaTemplateQueryException = components["schemas"]["TemplateQueryException"];
11306
11566
  export type SchemaTemplateSqlOperation = components["schemas"]["TemplateSqlOperation"];
11307
11567
  export type SchemaTemplateTraceSamplerException = components["schemas"]["TemplateTraceSamplerException"];
11568
+ export type SchemaTemplateTraceSink = components["schemas"]["TemplateTraceSink"];
11308
11569
  export type SchemaTimeGranularity = components["schemas"]["TimeGranularity"];
11309
11570
  export type SchemaTimePartitionTransform = components["schemas"]["TimePartitionTransform"];
11310
11571
  export type SchemaTimeSeriesRuleConfig = components["schemas"]["TimeSeriesRuleConfig"];
@@ -11314,11 +11575,14 @@ export type SchemaTraceAction = components["schemas"]["TraceAction"];
11314
11575
  export type SchemaTraceHeadSamplingRule = components["schemas"]["TraceHeadSamplingRule"];
11315
11576
  export type SchemaTraceIdLogsBackfillAction = components["schemas"]["TraceIdLogsBackfillAction"];
11316
11577
  export type SchemaTraceReducer = components["schemas"]["TraceReducer"];
11578
+ export type SchemaTraceReducerTemplateInput = components["schemas"]["TraceReducerTemplateInput"];
11317
11579
  export type SchemaTraceSampler = components["schemas"]["TraceSampler"];
11580
+ export type SchemaTraceSqlOperations = components["schemas"]["TraceSqlOperations"];
11318
11581
  export type SchemaTracesIcebergTableSource = components["schemas"]["TracesIcebergTableSource"];
11319
11582
  export type SchemaTranscriptMessage = components["schemas"]["TranscriptMessage"];
11320
11583
  export type SchemaTranscriptToolCall = components["schemas"]["TranscriptToolCall"];
11321
11584
  export type SchemaTranscriptTurn = components["schemas"]["TranscriptTurn"];
11585
+ export type SchemaTranscriptTurnsList = components["schemas"]["TranscriptTurnsList"];
11322
11586
  export type SchemaTransforms = components["schemas"]["Transforms"];
11323
11587
  export type SchemaTrigger = components["schemas"]["Trigger"];
11324
11588
  export type SchemaTriggerActionConfig = components["schemas"]["TriggerActionConfig"];
@@ -11340,6 +11604,7 @@ export type SchemaVariantSynchronousSink = components["schemas"]["VariantSynchro
11340
11604
  export type SchemaVectorData = components["schemas"]["VectorData"];
11341
11605
  export type SchemaVectorResult = components["schemas"]["VectorResult"];
11342
11606
  export type SchemaVendorImportedException = components["schemas"]["VendorImportedException"];
11607
+ export type SchemaVendorLogEventDedupIcebergTableSink = components["schemas"]["VendorLogEventDedupIcebergTableSink"];
11343
11608
  export type SchemaWindowBasedLogarithmicSampling = components["schemas"]["WindowBasedLogarithmicSampling"];
11344
11609
  export type SchemaWriteAnthropic = components["schemas"]["WriteAnthropic"];
11345
11610
  export type SchemaWriteDataWarehouse = components["schemas"]["WriteDataWarehouse"];
@@ -11458,6 +11723,33 @@ export interface operations {
11458
11723
  };
11459
11724
  };
11460
11725
  };
11726
+ skills: {
11727
+ parameters: {
11728
+ query?: never;
11729
+ header?: never;
11730
+ path?: never;
11731
+ cookie?: never;
11732
+ };
11733
+ requestBody?: never;
11734
+ responses: {
11735
+ /** @description Skills retrieved successfully */
11736
+ 200: {
11737
+ headers: {
11738
+ [name: string]: unknown;
11739
+ };
11740
+ content: {
11741
+ "application/json": components["schemas"]["SkillDescriptor"][];
11742
+ };
11743
+ };
11744
+ /** @description Unauthorized */
11745
+ 401: {
11746
+ headers: {
11747
+ [name: string]: unknown;
11748
+ };
11749
+ content?: never;
11750
+ };
11751
+ };
11752
+ };
11461
11753
  tools: {
11462
11754
  parameters: {
11463
11755
  query?: never;
@@ -11611,7 +11903,10 @@ export interface operations {
11611
11903
  };
11612
11904
  investigations: {
11613
11905
  parameters: {
11614
- query?: never;
11906
+ query?: {
11907
+ page?: number;
11908
+ pageSize?: number;
11909
+ };
11615
11910
  header?: never;
11616
11911
  path: {
11617
11912
  id: string;
@@ -11626,7 +11921,7 @@ export interface operations {
11626
11921
  [name: string]: unknown;
11627
11922
  };
11628
11923
  content: {
11629
- "application/json": components["schemas"]["InvestigationSummary"][];
11924
+ "application/json": components["schemas"]["InvestigationsList"];
11630
11925
  };
11631
11926
  };
11632
11927
  /** @description Unauthorized */
@@ -16044,6 +16339,133 @@ export interface operations {
16044
16339
  };
16045
16340
  };
16046
16341
  };
16342
+ cancel: {
16343
+ parameters: {
16344
+ query?: never;
16345
+ header?: never;
16346
+ path: {
16347
+ investigationId: string;
16348
+ };
16349
+ cookie?: never;
16350
+ };
16351
+ requestBody?: never;
16352
+ responses: {
16353
+ /** @description Cancel requested */
16354
+ 202: {
16355
+ headers: {
16356
+ [name: string]: unknown;
16357
+ };
16358
+ content?: never;
16359
+ };
16360
+ /** @description Unauthorized */
16361
+ 401: {
16362
+ headers: {
16363
+ [name: string]: unknown;
16364
+ };
16365
+ content?: never;
16366
+ };
16367
+ /** @description Investigation not found */
16368
+ 404: {
16369
+ headers: {
16370
+ [name: string]: unknown;
16371
+ };
16372
+ content?: never;
16373
+ };
16374
+ /** @description Investigation is already finished */
16375
+ 409: {
16376
+ headers: {
16377
+ [name: string]: unknown;
16378
+ };
16379
+ content?: never;
16380
+ };
16381
+ };
16382
+ };
16383
+ resume: {
16384
+ parameters: {
16385
+ query?: never;
16386
+ header?: never;
16387
+ path: {
16388
+ investigationId: string;
16389
+ };
16390
+ cookie?: never;
16391
+ };
16392
+ requestBody?: {
16393
+ content: {
16394
+ "application/json": components["schemas"]["ResumeInvestigationRequest"];
16395
+ };
16396
+ };
16397
+ responses: {
16398
+ /** @description Resume requested */
16399
+ 202: {
16400
+ headers: {
16401
+ [name: string]: unknown;
16402
+ };
16403
+ content?: never;
16404
+ };
16405
+ /** @description Unauthorized */
16406
+ 401: {
16407
+ headers: {
16408
+ [name: string]: unknown;
16409
+ };
16410
+ content?: never;
16411
+ };
16412
+ /** @description Investigation not found */
16413
+ 404: {
16414
+ headers: {
16415
+ [name: string]: unknown;
16416
+ };
16417
+ content?: never;
16418
+ };
16419
+ /** @description Investigation is not resumable */
16420
+ 409: {
16421
+ headers: {
16422
+ [name: string]: unknown;
16423
+ };
16424
+ content?: never;
16425
+ };
16426
+ };
16427
+ };
16428
+ stop: {
16429
+ parameters: {
16430
+ query?: never;
16431
+ header?: never;
16432
+ path: {
16433
+ investigationId: string;
16434
+ };
16435
+ cookie?: never;
16436
+ };
16437
+ requestBody?: never;
16438
+ responses: {
16439
+ /** @description Stop requested */
16440
+ 202: {
16441
+ headers: {
16442
+ [name: string]: unknown;
16443
+ };
16444
+ content?: never;
16445
+ };
16446
+ /** @description Unauthorized */
16447
+ 401: {
16448
+ headers: {
16449
+ [name: string]: unknown;
16450
+ };
16451
+ content?: never;
16452
+ };
16453
+ /** @description Investigation not found */
16454
+ 404: {
16455
+ headers: {
16456
+ [name: string]: unknown;
16457
+ };
16458
+ content?: never;
16459
+ };
16460
+ /** @description Investigation is not running */
16461
+ 409: {
16462
+ headers: {
16463
+ [name: string]: unknown;
16464
+ };
16465
+ content?: never;
16466
+ };
16467
+ };
16468
+ };
16047
16469
  transcript: {
16048
16470
  parameters: {
16049
16471
  query?: never;
@@ -16080,6 +16502,45 @@ export interface operations {
16080
16502
  };
16081
16503
  };
16082
16504
  };
16505
+ turns: {
16506
+ parameters: {
16507
+ query?: {
16508
+ afterSeq?: number;
16509
+ pageSize?: number;
16510
+ };
16511
+ header?: never;
16512
+ path: {
16513
+ investigationId: string;
16514
+ };
16515
+ cookie?: never;
16516
+ };
16517
+ requestBody?: never;
16518
+ responses: {
16519
+ /** @description Turns retrieved successfully */
16520
+ 200: {
16521
+ headers: {
16522
+ [name: string]: unknown;
16523
+ };
16524
+ content: {
16525
+ "application/json": components["schemas"]["TranscriptTurnsList"];
16526
+ };
16527
+ };
16528
+ /** @description Unauthorized */
16529
+ 401: {
16530
+ headers: {
16531
+ [name: string]: unknown;
16532
+ };
16533
+ content?: never;
16534
+ };
16535
+ /** @description Investigation not found */
16536
+ 404: {
16537
+ headers: {
16538
+ [name: string]: unknown;
16539
+ };
16540
+ content?: never;
16541
+ };
16542
+ };
16543
+ };
16083
16544
  listInvitations: {
16084
16545
  parameters: {
16085
16546
  query?: {
@@ -18946,8 +19407,10 @@ export declare enum IgnoreAttributesMergeStrategyType {
18946
19407
  }
18947
19408
  export declare enum InvestigationSummaryStatus {
18948
19409
  RUNNING = "RUNNING",
19410
+ STOPPED = "STOPPED",
18949
19411
  COMPLETED = "COMPLETED",
18950
- FAILED = "FAILED"
19412
+ FAILED = "FAILED",
19413
+ CANCELLED = "CANCELLED"
18951
19414
  }
18952
19415
  export declare enum JobActionRuleType {
18953
19416
  job_rule = "job-rule"
@@ -19013,6 +19476,9 @@ export declare enum LogsSynchronousSinkType {
19013
19476
  export declare enum LogsValuesSourceType {
19014
19477
  logs_values_source = "logs-values-source"
19015
19478
  }
19479
+ export declare enum MaskingOperatorType {
19480
+ masking_operator = "masking-operator"
19481
+ }
19016
19482
  export declare enum MaskingRuleConfigType {
19017
19483
  masking = "masking"
19018
19484
  }
@@ -19250,6 +19716,9 @@ export declare enum SpanSpanKind {
19250
19716
  export declare enum SpanDedupIcebergTableSinkType {
19251
19717
  spans_dedup_iceberg_table_sink = "spans-dedup-iceberg-table-sink"
19252
19718
  }
19719
+ export declare enum SpanTaggerType {
19720
+ span_tagger = "span-tagger"
19721
+ }
19253
19722
  export declare enum SpansBackfillIcebergTableSourceType {
19254
19723
  spans_backfill_iceberg_table_source = "spans-backfill-iceberg-table-source"
19255
19724
  }
@@ -19394,6 +19863,7 @@ export declare enum TracesIcebergTableSourceType {
19394
19863
  }
19395
19864
  export declare enum TranscriptMessageRole {
19396
19865
  SYSTEM = "SYSTEM",
19866
+ TRIGGER_SIGNAL = "TRIGGER_SIGNAL",
19397
19867
  USER = "USER",
19398
19868
  ASSISTANT = "ASSISTANT",
19399
19869
  TOOL_RESULT = "TOOL_RESULT"
@@ -19430,6 +19900,9 @@ export declare enum VendorImportedExceptionExceptionType {
19430
19900
  NEW_RELIC_MONITOR = "NEW_RELIC_MONITOR",
19431
19901
  NEW_RELIC_DASHBOARD = "NEW_RELIC_DASHBOARD"
19432
19902
  }
19903
+ export declare enum VendorLogEventDedupIcebergTableSinkType {
19904
+ vendorlog_event_dedup_iceberg_table_sink = "vendorlog-event-dedup-iceberg-table-sink"
19905
+ }
19433
19906
  export declare enum WindowBasedLogarithmicSamplingType {
19434
19907
  window_based_logarithmic_sampling = "window-based-logarithmic-sampling"
19435
19908
  }