@grepr/cli 1.4.5-a0440af → 1.4.6-89f48f6

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.
@@ -119,7 +119,7 @@ export interface paths {
119
119
  };
120
120
  /**
121
121
  * Get dataset impact estimation configuration
122
- * @description Returns the impact-estimation configuration for the dataset. The presence of a configuration is the per-dataset opt-in for impact estimation.
122
+ * @description Returns the impact-estimation configuration for the dataset, or null when the dataset is not opted in for estimation. The presence of a configuration is the per-dataset opt-in for impact estimation.
123
123
  */
124
124
  get: operations["getDatasetEstimationConfig"];
125
125
  /**
@@ -1403,7 +1403,7 @@ export interface paths {
1403
1403
  patch?: never;
1404
1404
  trace?: never;
1405
1405
  };
1406
- "/v1/integrations/{integrationId}/exceptions/impact-estimation-config": {
1406
+ "/v1/integrations/{integrationId}/exceptions/estimation-datasets": {
1407
1407
  parameters: {
1408
1408
  query?: never;
1409
1409
  header?: never;
@@ -1411,24 +1411,13 @@ export interface paths {
1411
1411
  cookie?: never;
1412
1412
  };
1413
1413
  /**
1414
- * Get exception impact estimation configuration
1415
- * @deprecated
1416
- * @description Get the exception impact estimation configuration for the specified integration. This configuration controls how exception impact percentages are calculated.
1414
+ * List estimation-eligible datasets for an integration
1415
+ * @description Returns datasets that are sinks of the integration's non-deleted pipelines, each with the pipelines that wire the integration to that dataset and the dataset's current estimation configuration (or null when not opted in). The estimation configuration is per-dataset and shared across every integration whose pipelines target the same dataset.
1417
1416
  */
1418
- get: operations["getExceptionImpactEstimationConfig"];
1419
- /**
1420
- * Create or update exception impact estimation configuration
1421
- * @deprecated
1422
- * @description Create or update the exception impact estimation configuration for the specified integration. If a configuration already exists, it will be updated with the provided values.
1423
- */
1424
- put: operations["upsertExceptionImpactEstimationConfig"];
1417
+ get: operations["getEstimationDatasets"];
1418
+ put?: never;
1425
1419
  post?: never;
1426
- /**
1427
- * Delete exception impact estimation configuration
1428
- * @deprecated
1429
- * @description Delete the exception impact estimation configuration for the specified integration.
1430
- */
1431
- delete: operations["deleteExceptionImpactEstimationConfig"];
1420
+ delete?: never;
1432
1421
  options?: never;
1433
1422
  head?: never;
1434
1423
  patch?: never;
@@ -1838,6 +1827,66 @@ export interface paths {
1838
1827
  patch?: never;
1839
1828
  trace?: never;
1840
1829
  };
1830
+ "/v1/pipelines/{pipelineId}/exceptions/estimation-datasets": {
1831
+ parameters: {
1832
+ query?: never;
1833
+ header?: never;
1834
+ path?: never;
1835
+ cookie?: never;
1836
+ };
1837
+ /**
1838
+ * List estimation-eligible datasets for a pipeline
1839
+ * @description Returns the pipeline's sink datasets, each joined with the dataset's current estimation configuration (or null when the dataset is not opted in). The estimation configuration is per-dataset and shared across every pipeline whose sink targets the same dataset.
1840
+ */
1841
+ get: operations["getEstimationDatasets_1"];
1842
+ put?: never;
1843
+ post?: never;
1844
+ delete?: never;
1845
+ options?: never;
1846
+ head?: never;
1847
+ patch?: never;
1848
+ trace?: never;
1849
+ };
1850
+ "/v1/pipelines/{pipelineId}/exceptions/impact-estimation-reset": {
1851
+ parameters: {
1852
+ query?: never;
1853
+ header?: never;
1854
+ path?: never;
1855
+ cookie?: never;
1856
+ };
1857
+ get?: never;
1858
+ put?: never;
1859
+ /**
1860
+ * Reset impact estimations for a pipeline
1861
+ * @description Clears the cached impact percentage and last-updated timestamp on estimation rows in the pipeline's scope. The hourly impact-estimation cycle picks up the cleared rows on its next tick; fresh values appear on a later poll. Rows currently being processed by an active estimation job are skipped and retain their values until that job completes. Returns the number of rows cleared; zero indicates a no-op (no opted-in sink datasets, or no estimation-capable source integrations).
1862
+ */
1863
+ post: operations["resetImpactEstimation"];
1864
+ delete?: never;
1865
+ options?: never;
1866
+ head?: never;
1867
+ patch?: never;
1868
+ trace?: never;
1869
+ };
1870
+ "/v1/pipelines/{pipelineId}/exceptions/integrations/{integrationId}/impacts": {
1871
+ parameters: {
1872
+ query?: never;
1873
+ header?: never;
1874
+ path?: never;
1875
+ cookie?: never;
1876
+ };
1877
+ /**
1878
+ * Get integration exception impacts for a pipeline
1879
+ * @description Returns the per-exception impact percentages the runtime auto-sync threshold filter would compare against for this pipeline/integration pair. The pipeline's sink dataset scopes the lookup; exceptions without an estimation row are absent from the response.
1880
+ */
1881
+ get: operations["getIntegrationExceptionImpacts"];
1882
+ put?: never;
1883
+ post?: never;
1884
+ delete?: never;
1885
+ options?: never;
1886
+ head?: never;
1887
+ patch?: never;
1888
+ trace?: never;
1889
+ };
1841
1890
  "/v1/query/parse": {
1842
1891
  parameters: {
1843
1892
  query?: never;
@@ -3529,6 +3578,20 @@ export interface components {
3529
3578
  exception?: string;
3530
3579
  message?: string;
3531
3580
  };
3581
+ EstimationDatasetSummary: {
3582
+ config?: components["schemas"]["DatasetEstimationConfig"];
3583
+ /**
3584
+ * @description Dataset this summary describes
3585
+ * @example ds-prod-1
3586
+ */
3587
+ datasetId: string;
3588
+ /**
3589
+ * @description Display name of the dataset
3590
+ * @example logs-prod
3591
+ */
3592
+ datasetName: string;
3593
+ pipelines: components["schemas"]["PipelineRef"][];
3594
+ };
3532
3595
  /** @description Base class of all Event Actions */
3533
3596
  EventAction: {
3534
3597
  /** Format: int32 */
@@ -4212,44 +4275,6 @@ export interface components {
4212
4275
  */
4213
4276
  integrationId: string;
4214
4277
  };
4215
- IntegrationExceptionImpactEstimationConfig: {
4216
- /**
4217
- * Format: date-time
4218
- * @description Creation timestamp
4219
- */
4220
- readonly createdAt?: string;
4221
- /** @description ID of the dataset that contains raw data to be queried to calculate how many logs match exceptions loaded by a vendor integration. */
4222
- datasetId: string;
4223
- /** @description Integration ID */
4224
- readonly integrationId?: string;
4225
- /**
4226
- * Format: int32
4227
- * @description Maximum number of log messages to match.
4228
- */
4229
- logLimit?: number;
4230
- /**
4231
- * Format: ISO-8601
4232
- * @description Lookback duration for which to calculate exception impact. Uses ISO-8601 duration format.
4233
- * @default PT1H
4234
- * @example PT20.345S
4235
- */
4236
- lookbackDuration?: string;
4237
- /** @description Organization ID */
4238
- readonly organizationId?: string;
4239
- query?: components["schemas"]["EventPredicate"];
4240
- /**
4241
- * Format: ISO-8601
4242
- * @description How often to refresh exception impact percentages. Uses ISO-8601 duration format.
4243
- * @default P7D
4244
- * @example PT20.345S
4245
- */
4246
- refreshPeriod?: string;
4247
- /**
4248
- * Format: date-time
4249
- * @description Last update timestamp
4250
- */
4251
- readonly updatedAt?: string;
4252
- };
4253
4278
  /** @description Paginated list of vendor imported exceptions for an integration */
4254
4279
  IntegrationExceptionsList: {
4255
4280
  exceptions?: components["schemas"]["ItemsCollectionVendorImportedException"];
@@ -6222,6 +6247,18 @@ export interface components {
6222
6247
  */
6223
6248
  type: PhraseNodeType;
6224
6249
  };
6250
+ PipelineRef: {
6251
+ /**
6252
+ * @description Pipeline id
6253
+ * @example pipe-prod-1
6254
+ */
6255
+ id: string;
6256
+ /**
6257
+ * @description Pipeline display name
6258
+ * @example prod
6259
+ */
6260
+ name: string;
6261
+ };
6225
6262
  /** @description Current operational status and health of the pipeline */
6226
6263
  PipelineStatus: {
6227
6264
  error?: components["schemas"]["ErrorDetails"];
@@ -7165,6 +7202,14 @@ export interface components {
7165
7202
  */
7166
7203
  values: string[];
7167
7204
  };
7205
+ ResetImpactEstimationResponse: {
7206
+ /**
7207
+ * Format: int32
7208
+ * @description Number of estimation rows whose cached impact percentage was cleared. Zero when nothing was in scope (no opted-in sink datasets, or no estimation-capable integrations).
7209
+ * @example 12
7210
+ */
7211
+ rowsCleared: number;
7212
+ };
7168
7213
  /** @description Resource information describing the entity that produced the telemetry data. */
7169
7214
  Resource: {
7170
7215
  attributes?: components["schemas"]["Variant"];
@@ -9410,6 +9455,7 @@ export type SchemaEmbeddingConfig = components["schemas"]["EmbeddingConfig"];
9410
9455
  export type SchemaEntityContextAggregation = components["schemas"]["EntityContextAggregation"];
9411
9456
  export type SchemaEntityRef = components["schemas"]["EntityRef"];
9412
9457
  export type SchemaErrorDetails = components["schemas"]["ErrorDetails"];
9458
+ export type SchemaEstimationDatasetSummary = components["schemas"]["EstimationDatasetSummary"];
9413
9459
  export type SchemaEventAction = components["schemas"]["EventAction"];
9414
9460
  export type SchemaEventActionRule = components["schemas"]["EventActionRule"];
9415
9461
  export type SchemaEventDedupIcebergTableSink = components["schemas"]["EventDedupIcebergTableSink"];
@@ -9445,7 +9491,6 @@ export type SchemaIcebergLogsReplaySource = components["schemas"]["IcebergLogsRe
9445
9491
  export type SchemaIgnoreAttributesMergeStrategy = components["schemas"]["IgnoreAttributesMergeStrategy"];
9446
9492
  export type SchemaInstrumentationScope = components["schemas"]["InstrumentationScope"];
9447
9493
  export type SchemaIntegrationExceptionConfig = components["schemas"]["IntegrationExceptionConfig"];
9448
- export type SchemaIntegrationExceptionImpactEstimationConfig = components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
9449
9494
  export type SchemaIntegrationExceptionsList = components["schemas"]["IntegrationExceptionsList"];
9450
9495
  export type SchemaInvitationsList = components["schemas"]["InvitationsList"];
9451
9496
  export type SchemaInvitee = components["schemas"]["Invitee"];
@@ -9549,6 +9594,7 @@ export type SchemaPatternLookupIcebergTableSink = components["schemas"]["Pattern
9549
9594
  export type SchemaPatternMatcher = components["schemas"]["PatternMatcher"];
9550
9595
  export type SchemaPatternRuleConfig = components["schemas"]["PatternRuleConfig"];
9551
9596
  export type SchemaPhraseNode = components["schemas"]["PhraseNode"];
9597
+ export type SchemaPipelineRef = components["schemas"]["PipelineRef"];
9552
9598
  export type SchemaPipelineStatus = components["schemas"]["PipelineStatus"];
9553
9599
  export type SchemaPlan = components["schemas"]["Plan"];
9554
9600
  export type SchemaPlanChangeRequest = components["schemas"]["PlanChangeRequest"];
@@ -9586,6 +9632,7 @@ export type SchemaReadUser = components["schemas"]["ReadUser"];
9586
9632
  export type SchemaReadableData = components["schemas"]["ReadableData"];
9587
9633
  export type SchemaReducerLogsQuerySource = components["schemas"]["ReducerLogsQuerySource"];
9588
9634
  export type SchemaRemoveKeyAttributeAction = components["schemas"]["RemoveKeyAttributeAction"];
9635
+ export type SchemaResetImpactEstimationResponse = components["schemas"]["ResetImpactEstimationResponse"];
9589
9636
  export type SchemaResource = components["schemas"]["Resource"];
9590
9637
  export type SchemaResourceFilter = components["schemas"]["ResourceFilter"];
9591
9638
  export type SchemaRole = components["schemas"]["Role"];
@@ -10019,7 +10066,7 @@ export interface operations {
10019
10066
  };
10020
10067
  requestBody?: never;
10021
10068
  responses: {
10022
- /** @description Configuration retrieved successfully */
10069
+ /** @description Configuration retrieved, or null if the dataset is not opted in */
10023
10070
  200: {
10024
10071
  headers: {
10025
10072
  [name: string]: unknown;
@@ -10028,7 +10075,7 @@ export interface operations {
10028
10075
  "application/json": components["schemas"]["DatasetEstimationConfig"];
10029
10076
  };
10030
10077
  };
10031
- /** @description No configuration found for this dataset. */
10078
+ /** @description Dataset not found. */
10032
10079
  404: {
10033
10080
  headers: {
10034
10081
  [name: string]: unknown;
@@ -13632,14 +13679,14 @@ export interface operations {
13632
13679
  };
13633
13680
  };
13634
13681
  };
13635
- getExceptionImpactEstimationConfig: {
13682
+ getEstimationDatasets: {
13636
13683
  parameters: {
13637
13684
  query?: never;
13638
13685
  header?: never;
13639
13686
  path: {
13640
13687
  /**
13641
- * @description Integration ID to get configuration for
13642
- * @example datadog-prod-123
13688
+ * @description Integration id
13689
+ * @example 0q841q0j81m2q
13643
13690
  */
13644
13691
  integrationId: string;
13645
13692
  };
@@ -13647,97 +13694,15 @@ export interface operations {
13647
13694
  };
13648
13695
  requestBody?: never;
13649
13696
  responses: {
13650
- /** @description Configuration retrieved successfully */
13651
- 200: {
13652
- headers: {
13653
- [name: string]: unknown;
13654
- };
13655
- content: {
13656
- "application/json": components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
13657
- };
13658
- };
13659
- /** @description Unauthorized */
13660
- 401: {
13661
- headers: {
13662
- [name: string]: unknown;
13663
- };
13664
- content?: never;
13665
- };
13666
- /** @description Not Found - No configuration found for this integration. */
13667
- 404: {
13668
- headers: {
13669
- [name: string]: unknown;
13670
- };
13671
- content?: never;
13672
- };
13673
- };
13674
- };
13675
- upsertExceptionImpactEstimationConfig: {
13676
- parameters: {
13677
- query?: never;
13678
- header?: never;
13679
- path: {
13680
- /**
13681
- * @description Integration ID to create/update configuration for
13682
- * @example datadog-prod-123
13683
- */
13684
- integrationId: string;
13685
- };
13686
- cookie?: never;
13687
- };
13688
- requestBody?: {
13689
- content: {
13690
- "application/json": components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
13691
- };
13692
- };
13693
- responses: {
13694
- /** @description Configuration created or updated successfully */
13697
+ /** @description Estimation dataset summaries retrieved */
13695
13698
  200: {
13696
13699
  headers: {
13697
13700
  [name: string]: unknown;
13698
13701
  };
13699
13702
  content: {
13700
- "application/json": components["schemas"]["IntegrationExceptionImpactEstimationConfig"];
13703
+ "application/json": components["schemas"]["EstimationDatasetSummary"][];
13701
13704
  };
13702
13705
  };
13703
- /** @description Bad Request - Invalid configuration data. */
13704
- 400: {
13705
- headers: {
13706
- [name: string]: unknown;
13707
- };
13708
- content?: never;
13709
- };
13710
- /** @description Unauthorized */
13711
- 401: {
13712
- headers: {
13713
- [name: string]: unknown;
13714
- };
13715
- content?: never;
13716
- };
13717
- };
13718
- };
13719
- deleteExceptionImpactEstimationConfig: {
13720
- parameters: {
13721
- query?: never;
13722
- header?: never;
13723
- path: {
13724
- /**
13725
- * @description Integration ID to delete configuration for
13726
- * @example datadog-prod-123
13727
- */
13728
- integrationId: string;
13729
- };
13730
- cookie?: never;
13731
- };
13732
- requestBody?: never;
13733
- responses: {
13734
- /** @description Configuration deleted successfully */
13735
- 200: {
13736
- headers: {
13737
- [name: string]: unknown;
13738
- };
13739
- content?: never;
13740
- };
13741
13706
  /** @description Unauthorized */
13742
13707
  401: {
13743
13708
  headers: {
@@ -13745,7 +13710,7 @@ export interface operations {
13745
13710
  };
13746
13711
  content?: never;
13747
13712
  };
13748
- /** @description Not Found - No configuration found for this integration. */
13713
+ /** @description Not Found - Integration not found. */
13749
13714
  404: {
13750
13715
  headers: {
13751
13716
  [name: string]: unknown;
@@ -14645,6 +14610,133 @@ export interface operations {
14645
14610
  };
14646
14611
  };
14647
14612
  };
14613
+ getEstimationDatasets_1: {
14614
+ parameters: {
14615
+ query?: never;
14616
+ header?: never;
14617
+ path: {
14618
+ /**
14619
+ * @description Pipeline ID to list estimation datasets for
14620
+ * @example pipe-prod-1
14621
+ */
14622
+ pipelineId: string;
14623
+ };
14624
+ cookie?: never;
14625
+ };
14626
+ requestBody?: never;
14627
+ responses: {
14628
+ /** @description Estimation dataset summaries retrieved */
14629
+ 200: {
14630
+ headers: {
14631
+ [name: string]: unknown;
14632
+ };
14633
+ content: {
14634
+ "application/json": components["schemas"]["EstimationDatasetSummary"][];
14635
+ };
14636
+ };
14637
+ /** @description Unauthorized */
14638
+ 401: {
14639
+ headers: {
14640
+ [name: string]: unknown;
14641
+ };
14642
+ content?: never;
14643
+ };
14644
+ /** @description Not Found - Pipeline not found. */
14645
+ 404: {
14646
+ headers: {
14647
+ [name: string]: unknown;
14648
+ };
14649
+ content?: never;
14650
+ };
14651
+ };
14652
+ };
14653
+ resetImpactEstimation: {
14654
+ parameters: {
14655
+ query?: never;
14656
+ header?: never;
14657
+ path: {
14658
+ /**
14659
+ * @description Pipeline ID to reset estimations for
14660
+ * @example pipe-prod-1
14661
+ */
14662
+ pipelineId: string;
14663
+ };
14664
+ cookie?: never;
14665
+ };
14666
+ requestBody?: never;
14667
+ responses: {
14668
+ /** @description Reset complete */
14669
+ 200: {
14670
+ headers: {
14671
+ [name: string]: unknown;
14672
+ };
14673
+ content: {
14674
+ "application/json": components["schemas"]["ResetImpactEstimationResponse"];
14675
+ };
14676
+ };
14677
+ /** @description Unauthorized */
14678
+ 401: {
14679
+ headers: {
14680
+ [name: string]: unknown;
14681
+ };
14682
+ content?: never;
14683
+ };
14684
+ /** @description Not Found - Pipeline not found. */
14685
+ 404: {
14686
+ headers: {
14687
+ [name: string]: unknown;
14688
+ };
14689
+ content?: never;
14690
+ };
14691
+ };
14692
+ };
14693
+ getIntegrationExceptionImpacts: {
14694
+ parameters: {
14695
+ query?: never;
14696
+ header?: never;
14697
+ path: {
14698
+ /**
14699
+ * @description Pipeline ID providing the dataset scope
14700
+ * @example pipe-prod-1
14701
+ */
14702
+ pipelineId: string;
14703
+ /**
14704
+ * @description Integration whose exceptions to look up impacts for
14705
+ * @example int-dd-1
14706
+ */
14707
+ integrationId: string;
14708
+ };
14709
+ cookie?: never;
14710
+ };
14711
+ requestBody?: never;
14712
+ responses: {
14713
+ /** @description Impact percentages retrieved */
14714
+ 200: {
14715
+ headers: {
14716
+ [name: string]: unknown;
14717
+ };
14718
+ content: {
14719
+ "application/json": {
14720
+ [key: string]: number;
14721
+ };
14722
+ };
14723
+ };
14724
+ /** @description Unauthorized */
14725
+ 401: {
14726
+ headers: {
14727
+ [name: string]: unknown;
14728
+ };
14729
+ content?: never;
14730
+ };
14731
+ /** @description Not Found - Pipeline not found. */
14732
+ 404: {
14733
+ headers: {
14734
+ [name: string]: unknown;
14735
+ };
14736
+ content?: never;
14737
+ };
14738
+ };
14739
+ };
14648
14740
  parse_2: {
14649
14741
  parameters: {
14650
14742
  query?: never;