@grepr/cli 1.14.13-7f3738f → 1.15.0-48d68ee
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.
- package/build/dist/commands/job-draft-command.d.ts.map +1 -1
- package/build/dist/commands/job-draft-command.js +6 -71
- package/build/dist/commands/job-draft-command.js.map +1 -1
- package/build/dist/docs-index/index.json +1 -1
- package/build/dist/grepr.d.ts.map +1 -1
- package/build/dist/grepr.js +0 -2
- package/build/dist/grepr.js.map +1 -1
- package/build/dist/lib/backfill.js +4 -8
- package/build/dist/lib/backfill.js.map +1 -1
- package/build/dist/lib/job-patch.d.ts +15 -31
- package/build/dist/lib/job-patch.d.ts.map +1 -1
- package/build/dist/lib/job-patch.js +39 -709
- package/build/dist/lib/job-patch.js.map +1 -1
- package/build/dist/lib/job-plan.d.ts +3 -6
- package/build/dist/lib/job-plan.d.ts.map +1 -1
- package/build/dist/lib/job-plan.js +5 -55
- package/build/dist/lib/job-plan.js.map +1 -1
- package/build/dist/lib/option-parsers.d.ts +0 -5
- package/build/dist/lib/option-parsers.d.ts.map +1 -1
- package/build/dist/lib/option-parsers.js +0 -7
- package/build/dist/lib/option-parsers.js.map +1 -1
- package/build/dist/lib/signal-source.d.ts +1 -1
- package/build/dist/lib/signal-source.d.ts.map +1 -1
- package/build/dist/lib/signal-source.js +10 -69
- package/build/dist/lib/signal-source.js.map +1 -1
- package/build/dist/openapi/openApiTypes.d.ts +238 -16
- package/build/dist/openapi/openApiTypes.d.ts.map +1 -1
- package/build/dist/openapi/openApiTypes.js +26 -0
- package/build/dist/openapi/openApiTypes.js.map +1 -1
- package/build/dist/openapi-docs/api/Agents/create_2.md +1 -1
- package/build/dist/openapi-docs/api/Agents/investigations.md +1 -1
- package/build/dist/openapi-docs/api/Agents/update.md +1 -1
- package/build/dist/openapi-docs/api/Datasets/getDatasetDataTypes.md +25 -0
- package/build/dist/openapi-docs/schemas/AgentConfigCreate.md +6 -0
- package/build/dist/openapi-docs/schemas/AgentConfigPayload.md +6 -0
- package/build/dist/openapi-docs/schemas/AgentConfigUpdate.md +6 -0
- package/build/dist/openapi-docs/schemas/AgentDecisionConfiguration.md +19 -0
- package/build/dist/openapi-docs/schemas/AgentSchedule.md +16 -0
- package/build/dist/openapi-docs/schemas/AnalyticsDiagnostic.md +4 -1
- package/build/dist/openapi-docs/schemas/AnalyticsDiagnosticRange.md +19 -0
- package/build/dist/openapi-docs/schemas/AnalyticsDraftRequest.md +2 -2
- package/build/dist/openapi-docs/schemas/AnalyticsField.md +6 -0
- package/build/dist/openapi-docs/schemas/AnalyticsQuery.md +3 -0
- package/build/dist/openapi-docs/schemas/AnalyticsResultGrouping.md +23 -0
- package/build/dist/openapi-docs/schemas/AnalyticsResultShape.md +22 -0
- package/build/dist/openapi-docs/schemas/AnalyticsTableBinding.md +1 -1
- package/build/dist/openapi-docs/schemas/AnalyticsVocabularyResponse.md +4 -0
- package/build/dist/openapi-docs/schemas/AthenaAgentSessionsSource.md +1 -1
- package/build/dist/openapi-docs/schemas/AthenaAnalyticsSource.md +3 -3
- package/build/dist/openapi-docs/schemas/ChangeFinding.md +1 -1
- package/build/dist/openapi-docs/schemas/DatasetDataTypes.md +9 -0
- package/build/dist/openapi-docs/schemas/DecisionOutcome.md +11 -0
- package/build/dist/openapi-docs/schemas/EventRecord.md +11 -0
- package/build/dist/openapi-docs/schemas/InvestigationSummary.md +1 -1
- package/build/dist/openapi-docs/schemas/InvestigationTranscript.md +4 -1
- package/build/dist/openapi-docs/schemas/IssueRun.md +1 -1
- package/build/dist/openapi-docs/schemas/PipelineChangeRequest.md +4 -0
- package/build/dist/openapi-docs/schemas/SignalDecision.md +14 -0
- package/build/dist/openapi-docs/schemas/SqlAnalyticsQuery.md +29 -0
- package/build/dist/openapi-docs/schemas/SqlAnalyticsTable.md +16 -0
- package/build/dist/openapi-docs/schemas/TrinoAnalyticsSource.md +3 -3
- package/build/dist/openapi-docs/schemas/TrinoRawLogsSource.md +1 -1
- package/build/dist/openapi-docs/schemas/TrinoRawSpanSource.md +1 -1
- package/build/dist/openapi-docs/schemas/TrinoReducerLogSource.md +1 -1
- package/build/dist/types.d.ts +8 -37
- package/build/dist/types.d.ts.map +1 -1
- package/build/dist/types.js +0 -69
- package/build/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/build/dist/commands/job-to-test-command.d.ts +0 -74
- package/build/dist/commands/job-to-test-command.d.ts.map +0 -1
- package/build/dist/commands/job-to-test-command.js +0 -161
- package/build/dist/commands/job-to-test-command.js.map +0 -1
- package/build/dist/lib/job-graph-log-pipeline-constants.d.ts +0 -12
- package/build/dist/lib/job-graph-log-pipeline-constants.d.ts.map +0 -1
- package/build/dist/lib/job-graph-log-pipeline-constants.js +0 -16
- package/build/dist/lib/job-graph-log-pipeline-constants.js.map +0 -1
- package/build/dist/lib/job-graph-transformer.d.ts +0 -119
- package/build/dist/lib/job-graph-transformer.d.ts.map +0 -1
- package/build/dist/lib/job-graph-transformer.js +0 -767
- package/build/dist/lib/job-graph-transformer.js.map +0 -1
- package/build/dist/lib/job-graph-utils.d.ts +0 -50
- package/build/dist/lib/job-graph-utils.d.ts.map +0 -1
- package/build/dist/lib/job-graph-utils.js +0 -90
- package/build/dist/lib/job-graph-utils.js.map +0 -1
|
@@ -956,6 +956,26 @@ export interface paths {
|
|
|
956
956
|
patch?: never;
|
|
957
957
|
trace?: never;
|
|
958
958
|
};
|
|
959
|
+
"/v1/datasets/{id}/data-types": {
|
|
960
|
+
parameters: {
|
|
961
|
+
query?: never;
|
|
962
|
+
header?: never;
|
|
963
|
+
path?: never;
|
|
964
|
+
cookie?: never;
|
|
965
|
+
};
|
|
966
|
+
/**
|
|
967
|
+
* Get the data types a dataset holds
|
|
968
|
+
* @description Returns the data types the dataset holds, of logs_raw (logs) and spans_raw (traces). A type is held once a pipeline that writes it to the dataset is created or updated, and then stays held, even after the pipeline stops or retention empties the table.
|
|
969
|
+
*/
|
|
970
|
+
get: operations["getDatasetDataTypes"];
|
|
971
|
+
put?: never;
|
|
972
|
+
post?: never;
|
|
973
|
+
delete?: never;
|
|
974
|
+
options?: never;
|
|
975
|
+
head?: never;
|
|
976
|
+
patch?: never;
|
|
977
|
+
trace?: never;
|
|
978
|
+
};
|
|
959
979
|
"/v1/datasets/{id}/estimation-config": {
|
|
960
980
|
parameters: {
|
|
961
981
|
query?: never;
|
|
@@ -4874,6 +4894,12 @@ export interface components {
|
|
|
4874
4894
|
* @default 3
|
|
4875
4895
|
*/
|
|
4876
4896
|
maxConcurrentInvestigations?: number;
|
|
4897
|
+
/**
|
|
4898
|
+
* Format: int32
|
|
4899
|
+
* @description How many of the agent's signal-triggered investigations may wait in the queue; past it, intake drops the agent's new signals without recording an investigation. Scheduled and manual runs do not count. Null falls back to 1000, and an update that leaves it out keeps it.
|
|
4900
|
+
* @default 1000
|
|
4901
|
+
*/
|
|
4902
|
+
maxQueuedInvestigations?: number;
|
|
4877
4903
|
/**
|
|
4878
4904
|
* Format: int32
|
|
4879
4905
|
* @default 3000000
|
|
@@ -4893,6 +4919,11 @@ export interface components {
|
|
|
4893
4919
|
AgentConfigPayload: {
|
|
4894
4920
|
/** Format: int64 */
|
|
4895
4921
|
agentMaxTokens?: number;
|
|
4922
|
+
/**
|
|
4923
|
+
* @description What the agent is for; null for a triage agent.
|
|
4924
|
+
* @enum {string}
|
|
4925
|
+
*/
|
|
4926
|
+
agentType?: AgentConfigPayloadAgentType;
|
|
4896
4927
|
/** Format: int32 */
|
|
4897
4928
|
automaticSignalMaxQueueAgeMinutes?: number;
|
|
4898
4929
|
/** @enum {string} */
|
|
@@ -4915,12 +4946,19 @@ export interface components {
|
|
|
4915
4946
|
issuePickup?: components["schemas"]["AgentIssuePickup"];
|
|
4916
4947
|
/** Format: int32 */
|
|
4917
4948
|
maxConcurrentInvestigations?: number;
|
|
4949
|
+
/**
|
|
4950
|
+
* Format: int32
|
|
4951
|
+
* @description How many of the agent's signal-triggered investigations may wait in the queue; past it, intake drops the agent's new signals without recording an investigation. Scheduled and manual runs do not count. Null falls back to 1000, and an update that leaves it out keeps it.
|
|
4952
|
+
*/
|
|
4953
|
+
maxQueuedInvestigations?: number;
|
|
4918
4954
|
/** Format: int32 */
|
|
4919
4955
|
maxTokens?: number;
|
|
4920
4956
|
/** Format: int32 */
|
|
4921
4957
|
maxTurns?: number;
|
|
4922
4958
|
memoryConfiguration?: components["schemas"]["AgentMemoryConfiguration"];
|
|
4923
4959
|
modelConfiguration: components["schemas"]["ModelConfiguration"];
|
|
4960
|
+
/** @description For the churn specialist only: whether it also runs on a pipeline that is not in churn mode. Grepr creates it with true, and unset means true; an update that leaves it out keeps it, and other agents have none. */
|
|
4961
|
+
runOutsideChurnMode?: boolean;
|
|
4924
4962
|
schedule?: components["schemas"]["AgentSchedule"];
|
|
4925
4963
|
serviceAccountId: string;
|
|
4926
4964
|
systemPrompt: string;
|
|
@@ -4952,6 +4990,11 @@ export interface components {
|
|
|
4952
4990
|
issuePickup: components["schemas"]["AgentIssuePickup"];
|
|
4953
4991
|
/** Format: int32 */
|
|
4954
4992
|
maxConcurrentInvestigations?: number;
|
|
4993
|
+
/**
|
|
4994
|
+
* Format: int32
|
|
4995
|
+
* @description How many of the agent's signal-triggered investigations may wait in the queue; past it, intake drops the agent's new signals without recording an investigation. Scheduled and manual runs do not count. Null falls back to 1000, and an update that leaves it out keeps it.
|
|
4996
|
+
*/
|
|
4997
|
+
maxQueuedInvestigations?: number;
|
|
4955
4998
|
/** Format: int32 */
|
|
4956
4999
|
maxTokens?: number;
|
|
4957
5000
|
/** Format: int32 */
|
|
@@ -4959,6 +5002,8 @@ export interface components {
|
|
|
4959
5002
|
memoryConfiguration?: components["schemas"]["AgentMemoryConfiguration"];
|
|
4960
5003
|
modelConfiguration: components["schemas"]["ModelConfiguration"];
|
|
4961
5004
|
name: string;
|
|
5005
|
+
/** @description For the churn specialist only: whether it also runs on a pipeline that is not in churn mode. Grepr creates it with true, and unset means true; an update that leaves it out keeps it, and other agents have none. */
|
|
5006
|
+
runOutsideChurnMode?: boolean;
|
|
4962
5007
|
schedule?: components["schemas"]["AgentSchedule"];
|
|
4963
5008
|
serviceAccountId: string;
|
|
4964
5009
|
systemPrompt: string;
|
|
@@ -5099,6 +5144,8 @@ export interface components {
|
|
|
5099
5144
|
recordPolicy?: AgentMemoryPolicyRecordPolicy;
|
|
5100
5145
|
};
|
|
5101
5146
|
AgentPipelineSubscription: {
|
|
5147
|
+
/** Format: date-time */
|
|
5148
|
+
churnModeSince?: string;
|
|
5102
5149
|
jobId: string;
|
|
5103
5150
|
/** Format: date-time */
|
|
5104
5151
|
pausedAt?: string;
|
|
@@ -5549,10 +5596,11 @@ export interface components {
|
|
|
5549
5596
|
*/
|
|
5550
5597
|
message: string;
|
|
5551
5598
|
/**
|
|
5552
|
-
* @description Where the rule was broken, as a path into the request: 'select', 'select[1].expression', 'select[1].alias', 'groupBy[0]', 'window.size', 'window.slide', 'having', 'orderBy[2].expression', 'limit', 'scanBudgetBytes', 'predicate', or 'query' for a failure that names no single item.
|
|
5599
|
+
* @description Where the rule was broken, as a path into the request: 'select', 'select[1].expression', 'select[1].alias', 'groupBy[0]', 'window.size', 'window.slide', 'having', 'orderBy[2].expression', 'sql', 'limit', 'scanBudgetBytes', 'predicate', or 'query' for a failure that names no single item.
|
|
5553
5600
|
* @example select[1].alias
|
|
5554
5601
|
*/
|
|
5555
5602
|
path: string;
|
|
5603
|
+
range?: components["schemas"]["AnalyticsDiagnosticRange"];
|
|
5556
5604
|
};
|
|
5557
5605
|
/** @description A change that resolves this diagnostic, when the server has verified one: today, the GROUP BY entry that makes an ungrouped SELECT expression valid. */
|
|
5558
5606
|
AnalyticsDiagnosticFix: {
|
|
@@ -5562,10 +5610,33 @@ export interface components {
|
|
|
5562
5610
|
*/
|
|
5563
5611
|
addGroupBy: string;
|
|
5564
5612
|
};
|
|
5613
|
+
/** @description For a diagnostic on 'sql', the part of the query's text it is about, when the server can tell. */
|
|
5614
|
+
AnalyticsDiagnosticRange: {
|
|
5615
|
+
/**
|
|
5616
|
+
* Format: int32
|
|
5617
|
+
* @example 19
|
|
5618
|
+
*/
|
|
5619
|
+
endColumn: number;
|
|
5620
|
+
/**
|
|
5621
|
+
* Format: int32
|
|
5622
|
+
* @example 3
|
|
5623
|
+
*/
|
|
5624
|
+
endLine: number;
|
|
5625
|
+
/**
|
|
5626
|
+
* Format: int32
|
|
5627
|
+
* @example 7
|
|
5628
|
+
*/
|
|
5629
|
+
startColumn: number;
|
|
5630
|
+
/**
|
|
5631
|
+
* Format: int32
|
|
5632
|
+
* @example 3
|
|
5633
|
+
*/
|
|
5634
|
+
startLine: number;
|
|
5635
|
+
};
|
|
5565
5636
|
AnalyticsDraftRequest: {
|
|
5566
|
-
/** @description Dataset
|
|
5637
|
+
/** @description Dataset a builder query reads. Supplying it checks the scan budget against that dataset's ceiling and requires VIEW permission on it. A Grepr SQL query names its own dataset, which this must match when given. */
|
|
5567
5638
|
datasetId?: string;
|
|
5568
|
-
query: components["schemas"]["
|
|
5639
|
+
query: components["schemas"]["AnalyticsQuery"];
|
|
5569
5640
|
/**
|
|
5570
5641
|
* Format: int64
|
|
5571
5642
|
* @description Bytes the run may scan, checked against the organization's ceiling. Zero stands for a budget field left empty and is reported as a diagnostic.
|
|
@@ -5584,9 +5655,12 @@ export interface components {
|
|
|
5584
5655
|
/** @description The call, in the analytics source language. */
|
|
5585
5656
|
expression: string;
|
|
5586
5657
|
};
|
|
5658
|
+
/** @description A column a query reads: its name, its type and, for a struct, its fields. */
|
|
5587
5659
|
AnalyticsField: {
|
|
5588
5660
|
/** @description Format string for a nested key accessor, when applicable. */
|
|
5589
5661
|
accessorTemplate?: string;
|
|
5662
|
+
/** @description A struct column's fields, in order, each with its own fields when it is a struct. */
|
|
5663
|
+
fields?: components["schemas"]["AnalyticsField"][];
|
|
5590
5664
|
name: string;
|
|
5591
5665
|
type: string;
|
|
5592
5666
|
};
|
|
@@ -5658,8 +5732,32 @@ export interface components {
|
|
|
5658
5732
|
/** @description Complete analytical query to execute. */
|
|
5659
5733
|
AnalyticsQuery: {
|
|
5660
5734
|
type: string;
|
|
5661
|
-
} & components["schemas"]["StructuredAnalyticsQuery"];
|
|
5662
|
-
/** @description
|
|
5735
|
+
} & (components["schemas"]["StructuredAnalyticsQuery"] | components["schemas"]["SqlAnalyticsQuery"]);
|
|
5736
|
+
/** @description The outermost SELECT's GROUP BY, by result column name. */
|
|
5737
|
+
AnalyticsResultGrouping: {
|
|
5738
|
+
/** @description Whether every GROUP BY entry names a selected column. */
|
|
5739
|
+
allSelected?: boolean;
|
|
5740
|
+
/** @description The other GROUP BY keys' columns, in GROUP BY order. */
|
|
5741
|
+
keys: string[];
|
|
5742
|
+
/** @description The column of the first GROUP BY key that buckets a time, FLOOR(ts TO unit); null when none does. */
|
|
5743
|
+
time?: string;
|
|
5744
|
+
/**
|
|
5745
|
+
* @description The time bucket's unit; null with no time column.
|
|
5746
|
+
* @enum {string}
|
|
5747
|
+
*/
|
|
5748
|
+
unit?: AnalyticsResultGroupingUnit;
|
|
5749
|
+
};
|
|
5750
|
+
/** @description What a Grepr SQL run's result columns are. Each column's kind comes from the type the engine reports for it; whether the rows are ordered and the grouping come from the query's outermost SELECT. */
|
|
5751
|
+
AnalyticsResultShape: {
|
|
5752
|
+
grouping?: components["schemas"]["AnalyticsResultGrouping"];
|
|
5753
|
+
/** @description Each column's kind, in the order of the record's columns. */
|
|
5754
|
+
kinds: AnalyticsResultShapeKinds[];
|
|
5755
|
+
/** @description Whether the outermost query has an ORDER BY, so the rows come in its order. */
|
|
5756
|
+
ordered?: boolean;
|
|
5757
|
+
/** @description Whether the query uses ROLLUP, CUBE or GROUPING SETS anywhere, so its rows may include subtotals that share keys with the rows they add up. */
|
|
5758
|
+
subtotals?: boolean;
|
|
5759
|
+
};
|
|
5760
|
+
/** @description Dataset tables a builder query reads, under logical aliases. A Grepr SQL query names its own dataset and tables, so its source has none. */
|
|
5663
5761
|
AnalyticsTableBinding: {
|
|
5664
5762
|
/** @description Logical table name used by the analytical query. */
|
|
5665
5763
|
alias: string;
|
|
@@ -5714,6 +5812,10 @@ export interface components {
|
|
|
5714
5812
|
promotedTagKeys?: string[];
|
|
5715
5813
|
/** @description Words the analytics SQL grammar reserves; they cannot be used as result aliases. */
|
|
5716
5814
|
reservedWords?: string[];
|
|
5815
|
+
/** @description The columns a Grepr SQL query reads from each table type it can read, by table key (logs_raw, spans_raw), in the order * returns them. */
|
|
5816
|
+
tableFields?: {
|
|
5817
|
+
[key: string]: components["schemas"]["AnalyticsField"][];
|
|
5818
|
+
};
|
|
5717
5819
|
};
|
|
5718
5820
|
AndEventPredicate: {
|
|
5719
5821
|
/**
|
|
@@ -5933,7 +6035,7 @@ export interface components {
|
|
|
5933
6035
|
*/
|
|
5934
6036
|
start: string;
|
|
5935
6037
|
/**
|
|
5936
|
-
* @description Returns grouped agent session summaries
|
|
6038
|
+
* @description Returns grouped agent session summaries. The server runs it on the organization's engine; the type name doesn't choose Athena. (enum property replaced by openapi-typescript)
|
|
5937
6039
|
* @enum {string}
|
|
5938
6040
|
*/
|
|
5939
6041
|
type: AthenaAgentSessionsSourceType;
|
|
@@ -5959,10 +6061,10 @@ export interface components {
|
|
|
5959
6061
|
* @default 107374182400
|
|
5960
6062
|
*/
|
|
5961
6063
|
scanBudgetBytes?: number;
|
|
5962
|
-
/** @description Dataset tables
|
|
5963
|
-
tables
|
|
6064
|
+
/** @description Dataset tables a builder query reads, under logical aliases. A Grepr SQL query names its own dataset and tables, so its source has none. */
|
|
6065
|
+
tables?: components["schemas"]["AnalyticsTableBinding"][];
|
|
5964
6066
|
/**
|
|
5965
|
-
* @description Executes an analytical query against dataset tables
|
|
6067
|
+
* @description Executes an analytical query against dataset tables. The server runs it on the organization's engine; the type name doesn't choose Athena. (enum property replaced by openapi-typescript)
|
|
5966
6068
|
* @enum {string}
|
|
5967
6069
|
*/
|
|
5968
6070
|
type: AthenaAnalyticsSourceType;
|
|
@@ -6725,6 +6827,11 @@ export interface components {
|
|
|
6725
6827
|
*/
|
|
6726
6828
|
startDate: string;
|
|
6727
6829
|
};
|
|
6830
|
+
CoveredSignal: {
|
|
6831
|
+
fix?: string;
|
|
6832
|
+
maskedMessage?: string;
|
|
6833
|
+
message?: string;
|
|
6834
|
+
};
|
|
6728
6835
|
CreateAgentSessionAnalyticsJob: {
|
|
6729
6836
|
datasetId: string;
|
|
6730
6837
|
/** Format: date-time */
|
|
@@ -7425,6 +7532,13 @@ export interface components {
|
|
|
7425
7532
|
*/
|
|
7426
7533
|
teamIds?: string[];
|
|
7427
7534
|
};
|
|
7535
|
+
DatasetDataTypes: {
|
|
7536
|
+
/**
|
|
7537
|
+
* @description The data types the dataset holds, by table key: logs_raw (logs) and spans_raw (traces). A type is held once a pipeline that writes it to the dataset is created or updated, and then stays held, even after the pipeline stops or retention empties the table.
|
|
7538
|
+
* @default []
|
|
7539
|
+
*/
|
|
7540
|
+
types: AnalyticsTableBindingTable[];
|
|
7541
|
+
};
|
|
7428
7542
|
DatasetEstimationConfig: {
|
|
7429
7543
|
/** Format: date-time */
|
|
7430
7544
|
readonly createdAt?: string;
|
|
@@ -7695,6 +7809,8 @@ export interface components {
|
|
|
7695
7809
|
};
|
|
7696
7810
|
/** @description A streaming event record. Records are newline-separated as per the chunked output standard. Each record will contain a 'state' field and potentially a 'data' field. When the state is 'RUNNING', the 'data' field will be valid. In all other states, the 'data' field will be null. */
|
|
7697
7811
|
EventRecord: {
|
|
7812
|
+
/** @description An analytics run's result column names, in the query's order. Sent once: on the first row's record, or on the terminal record when there are no rows. Null on every other record. */
|
|
7813
|
+
columns?: string[];
|
|
7698
7814
|
data?: components["schemas"]["ReadableData"];
|
|
7699
7815
|
/** @description The token that should be used by the client to send a heartbeat back to the server. This will usually only be set for the 'HEARTBEAT' state. Heartbeats back from the client are only required when heartbeatToken is not null. */
|
|
7700
7816
|
heartbeatToken?: string;
|
|
@@ -7703,6 +7819,9 @@ export interface components {
|
|
|
7703
7819
|
* @enum {string}
|
|
7704
7820
|
*/
|
|
7705
7821
|
jobState: EventRecordJobState;
|
|
7822
|
+
/** @description Why a Grepr SQL run failed, in a sentence of the server's own, never the query engine's text. Set on that run's failed terminal record. Null on every other record. */
|
|
7823
|
+
message?: string;
|
|
7824
|
+
resultShape?: components["schemas"]["AnalyticsResultShape"];
|
|
7706
7825
|
};
|
|
7707
7826
|
ExactAttributesMergeStrategy: {
|
|
7708
7827
|
/**
|
|
@@ -8597,6 +8716,7 @@ export interface components {
|
|
|
8597
8716
|
InvestigationTranscript: {
|
|
8598
8717
|
actions?: components["schemas"]["InvestigationAction"][];
|
|
8599
8718
|
agentId?: string;
|
|
8719
|
+
coveredSignals?: components["schemas"]["CoveredSignal"][];
|
|
8600
8720
|
/** Format: date-time */
|
|
8601
8721
|
createdAt?: string;
|
|
8602
8722
|
decision?: components["schemas"]["DecisionOutcome"];
|
|
@@ -11799,6 +11919,11 @@ export interface components {
|
|
|
11799
11919
|
PipelineChangeRequest: {
|
|
11800
11920
|
/** @description Whether to apply the change directly (true) or record it as a suggestion for a human to review (false). This expresses intent only: the server enforces the proposing agent's approval mode, so a suggest-only agent's change is always recorded as a suggestion no matter what is passed here. */
|
|
11801
11921
|
autoApply?: boolean;
|
|
11922
|
+
/**
|
|
11923
|
+
* Format: int64
|
|
11924
|
+
* @description The pipeline version the change was computed from, as get_pipeline returned it. A change that replaces a signal mask or drop rule another investigation's fix changed in a later version is refused. Without it, fixes applied since the proposing investigation started count as later.
|
|
11925
|
+
*/
|
|
11926
|
+
baseVersion?: number;
|
|
11802
11927
|
/** @description One or two sentences a human reviewer reads first: what the change does and why. Required when the change is recorded as a suggestion. */
|
|
11803
11928
|
changeDescription?: string;
|
|
11804
11929
|
/** @description A caller-chosen idempotency key for this change, unique within the investigation. Resending the same changeId records one suggestion rather than a duplicate, so a retried call is safe. Required when the change is recorded as a suggestion. */
|
|
@@ -14021,6 +14146,45 @@ export interface components {
|
|
|
14021
14146
|
*/
|
|
14022
14147
|
type: SplunkLogSinkType;
|
|
14023
14148
|
};
|
|
14149
|
+
SqlAnalyticsQuery: {
|
|
14150
|
+
/** @description ID of the dataset whose tables the query reads. */
|
|
14151
|
+
datasetId: string;
|
|
14152
|
+
/**
|
|
14153
|
+
* Format: date-time
|
|
14154
|
+
* @description End of the time interval every table covers.
|
|
14155
|
+
*/
|
|
14156
|
+
end: string;
|
|
14157
|
+
/**
|
|
14158
|
+
* Format: int32
|
|
14159
|
+
* @description The most rows returned. A LIMIT in the query can only lower it.
|
|
14160
|
+
* @default 2500
|
|
14161
|
+
*/
|
|
14162
|
+
limit?: number;
|
|
14163
|
+
/** @description One read-only Grepr SQL query. It reads only the tables' aliases, each bounded by the time range and its filter everywhere the query names it. */
|
|
14164
|
+
sql: string;
|
|
14165
|
+
/**
|
|
14166
|
+
* Format: date-time
|
|
14167
|
+
* @description Start of the time interval every table covers.
|
|
14168
|
+
*/
|
|
14169
|
+
start: string;
|
|
14170
|
+
/** @description The tables the query reads, each under its own alias. */
|
|
14171
|
+
tables: components["schemas"]["SqlAnalyticsTable"][];
|
|
14172
|
+
/**
|
|
14173
|
+
* @description discriminator enum property added by openapi-typescript
|
|
14174
|
+
* @enum {string}
|
|
14175
|
+
*/
|
|
14176
|
+
type: SqlAnalyticsQueryType;
|
|
14177
|
+
};
|
|
14178
|
+
SqlAnalyticsTable: {
|
|
14179
|
+
/** @description The name the SQL reads the table by. Unique within the query, ignoring case. */
|
|
14180
|
+
alias: string;
|
|
14181
|
+
filter: components["schemas"]["EventPredicate"];
|
|
14182
|
+
/**
|
|
14183
|
+
* @description The dataset's table the alias reads: `logs_raw` for logs, `spans_raw` for traces.
|
|
14184
|
+
* @enum {string}
|
|
14185
|
+
*/
|
|
14186
|
+
table: AnalyticsTableBindingTable;
|
|
14187
|
+
};
|
|
14024
14188
|
/** @description Base class for SQL statements */
|
|
14025
14189
|
SqlExecutable: {
|
|
14026
14190
|
eventTimeAttribute?: string;
|
|
@@ -15652,10 +15816,10 @@ export interface components {
|
|
|
15652
15816
|
* @default 107374182400
|
|
15653
15817
|
*/
|
|
15654
15818
|
scanBudgetBytes?: number;
|
|
15655
|
-
/** @description Dataset tables
|
|
15656
|
-
tables
|
|
15819
|
+
/** @description Dataset tables a builder query reads, under logical aliases. A Grepr SQL query names its own dataset and tables, so its source has none. */
|
|
15820
|
+
tables?: components["schemas"]["AnalyticsTableBinding"][];
|
|
15657
15821
|
/**
|
|
15658
|
-
* @description Executes an analytical query
|
|
15822
|
+
* @description Executes an analytical query against dataset tables. The server runs it on the organization's engine; the type name doesn't choose Trino. (enum property replaced by openapi-typescript)
|
|
15659
15823
|
* @enum {string}
|
|
15660
15824
|
*/
|
|
15661
15825
|
type: TrinoAnalyticsSourceType;
|
|
@@ -15697,7 +15861,7 @@ export interface components {
|
|
|
15697
15861
|
*/
|
|
15698
15862
|
start: string;
|
|
15699
15863
|
/**
|
|
15700
|
-
* @description Reads raw log events out of an Iceberg Table without pattern enrichment
|
|
15864
|
+
* @description Reads raw log events out of an Iceberg Table without pattern enrichment. The server runs it on the organization's engine; the type name doesn't choose Trino. (enum property replaced by openapi-typescript)
|
|
15701
15865
|
* @enum {string}
|
|
15702
15866
|
*/
|
|
15703
15867
|
type: TrinoRawLogsSourceType;
|
|
@@ -15750,7 +15914,7 @@ export interface components {
|
|
|
15750
15914
|
*/
|
|
15751
15915
|
start: string;
|
|
15752
15916
|
/**
|
|
15753
|
-
* @description Reads spans using Grepr's internal query system out of an Iceberg Table for processing
|
|
15917
|
+
* @description Reads spans using Grepr's internal query system out of an Iceberg Table for processing. The server runs it on the organization's engine; the type name doesn't choose Trino. (enum property replaced by openapi-typescript)
|
|
15754
15918
|
* @enum {string}
|
|
15755
15919
|
*/
|
|
15756
15920
|
type: TrinoRawSpanSourceType;
|
|
@@ -15815,7 +15979,7 @@ export interface components {
|
|
|
15815
15979
|
*/
|
|
15816
15980
|
start: string;
|
|
15817
15981
|
/**
|
|
15818
|
-
* @description Reads events using Grepr's internal query system out of an Iceberg Table for processing
|
|
15982
|
+
* @description Reads events using Grepr's internal query system out of an Iceberg Table for processing. The server runs it on the organization's engine; the type name doesn't choose Trino. (enum property replaced by openapi-typescript)
|
|
15819
15983
|
* @enum {string}
|
|
15820
15984
|
*/
|
|
15821
15985
|
type: TrinoReducerLogSourceType;
|
|
@@ -16863,6 +17027,7 @@ export type SchemaAllQueryNode = components["schemas"]["AllQueryNode"];
|
|
|
16863
17027
|
export type SchemaAnalyticsCompletion = components["schemas"]["AnalyticsCompletion"];
|
|
16864
17028
|
export type SchemaAnalyticsDiagnostic = components["schemas"]["AnalyticsDiagnostic"];
|
|
16865
17029
|
export type SchemaAnalyticsDiagnosticFix = components["schemas"]["AnalyticsDiagnosticFix"];
|
|
17030
|
+
export type SchemaAnalyticsDiagnosticRange = components["schemas"]["AnalyticsDiagnosticRange"];
|
|
16866
17031
|
export type SchemaAnalyticsDraftRequest = components["schemas"]["AnalyticsDraftRequest"];
|
|
16867
17032
|
export type SchemaAnalyticsDraftResponse = components["schemas"]["AnalyticsDraftResponse"];
|
|
16868
17033
|
export type SchemaAnalyticsExample = components["schemas"]["AnalyticsExample"];
|
|
@@ -16873,6 +17038,8 @@ export type SchemaAnalyticsOrderBy = components["schemas"]["AnalyticsOrderBy"];
|
|
|
16873
17038
|
export type SchemaAnalyticsParameter = components["schemas"]["AnalyticsParameter"];
|
|
16874
17039
|
export type SchemaAnalyticsProjection = components["schemas"]["AnalyticsProjection"];
|
|
16875
17040
|
export type SchemaAnalyticsQuery = components["schemas"]["AnalyticsQuery"];
|
|
17041
|
+
export type SchemaAnalyticsResultGrouping = components["schemas"]["AnalyticsResultGrouping"];
|
|
17042
|
+
export type SchemaAnalyticsResultShape = components["schemas"]["AnalyticsResultShape"];
|
|
16876
17043
|
export type SchemaAnalyticsTableBinding = components["schemas"]["AnalyticsTableBinding"];
|
|
16877
17044
|
export type SchemaAnalyticsTimeWindow = components["schemas"]["AnalyticsTimeWindow"];
|
|
16878
17045
|
export type SchemaAnalyticsVocabularyResponse = components["schemas"]["AnalyticsVocabularyResponse"];
|
|
@@ -16941,6 +17108,7 @@ export type SchemaConsoleSetupInfo = components["schemas"]["ConsoleSetupInfo"];
|
|
|
16941
17108
|
export type SchemaConstantSampling = components["schemas"]["ConstantSampling"];
|
|
16942
17109
|
export type SchemaContextPart = components["schemas"]["ContextPart"];
|
|
16943
17110
|
export type SchemaContract = components["schemas"]["Contract"];
|
|
17111
|
+
export type SchemaCoveredSignal = components["schemas"]["CoveredSignal"];
|
|
16944
17112
|
export type SchemaCreateAgentSessionAnalyticsJob = components["schemas"]["CreateAgentSessionAnalyticsJob"];
|
|
16945
17113
|
export type SchemaCreateBackfillJob = components["schemas"]["CreateBackfillJob"];
|
|
16946
17114
|
export type SchemaCreateChatRequest = components["schemas"]["CreateChatRequest"];
|
|
@@ -16972,6 +17140,7 @@ export type SchemaDatadogStatsSink = components["schemas"]["DatadogStatsSink"];
|
|
|
16972
17140
|
export type SchemaDatadogTraceAgentSource = components["schemas"]["DatadogTraceAgentSource"];
|
|
16973
17141
|
export type SchemaDatadogTraceSink = components["schemas"]["DatadogTraceSink"];
|
|
16974
17142
|
export type SchemaDatasetCreate = components["schemas"]["DatasetCreate"];
|
|
17143
|
+
export type SchemaDatasetDataTypes = components["schemas"]["DatasetDataTypes"];
|
|
16975
17144
|
export type SchemaDatasetEstimationConfig = components["schemas"]["DatasetEstimationConfig"];
|
|
16976
17145
|
export type SchemaDatasetRead = components["schemas"]["DatasetRead"];
|
|
16977
17146
|
export type SchemaDatasetUpdate = components["schemas"]["DatasetUpdate"];
|
|
@@ -17320,6 +17489,8 @@ export type SchemaSplunk = components["schemas"]["Splunk"];
|
|
|
17320
17489
|
export type SchemaSplunkLogAgentSource = components["schemas"]["SplunkLogAgentSource"];
|
|
17321
17490
|
export type SchemaSplunkLogHttpSource = components["schemas"]["SplunkLogHttpSource"];
|
|
17322
17491
|
export type SchemaSplunkLogSink = components["schemas"]["SplunkLogSink"];
|
|
17492
|
+
export type SchemaSqlAnalyticsQuery = components["schemas"]["SqlAnalyticsQuery"];
|
|
17493
|
+
export type SchemaSqlAnalyticsTable = components["schemas"]["SqlAnalyticsTable"];
|
|
17323
17494
|
export type SchemaSqlExecutable = components["schemas"]["SqlExecutable"];
|
|
17324
17495
|
export type SchemaSqlIoStatement = components["schemas"]["SqlIoStatement"];
|
|
17325
17496
|
export type SchemaSqlNode = components["schemas"]["SqlNode"];
|
|
@@ -19655,6 +19826,35 @@ export interface operations {
|
|
|
19655
19826
|
};
|
|
19656
19827
|
};
|
|
19657
19828
|
};
|
|
19829
|
+
getDatasetDataTypes: {
|
|
19830
|
+
parameters: {
|
|
19831
|
+
query?: never;
|
|
19832
|
+
header?: never;
|
|
19833
|
+
path: {
|
|
19834
|
+
id: string;
|
|
19835
|
+
};
|
|
19836
|
+
cookie?: never;
|
|
19837
|
+
};
|
|
19838
|
+
requestBody?: never;
|
|
19839
|
+
responses: {
|
|
19840
|
+
/** @description The types the dataset holds. */
|
|
19841
|
+
200: {
|
|
19842
|
+
headers: {
|
|
19843
|
+
[name: string]: unknown;
|
|
19844
|
+
};
|
|
19845
|
+
content: {
|
|
19846
|
+
"application/json": components["schemas"]["DatasetDataTypes"];
|
|
19847
|
+
};
|
|
19848
|
+
};
|
|
19849
|
+
/** @description Dataset not found. */
|
|
19850
|
+
404: {
|
|
19851
|
+
headers: {
|
|
19852
|
+
[name: string]: unknown;
|
|
19853
|
+
};
|
|
19854
|
+
content?: never;
|
|
19855
|
+
};
|
|
19856
|
+
};
|
|
19857
|
+
};
|
|
19658
19858
|
getDatasetEstimationConfig: {
|
|
19659
19859
|
parameters: {
|
|
19660
19860
|
query?: never;
|
|
@@ -30235,6 +30435,9 @@ export declare enum AgentConfigCreateIssueHandoffMode {
|
|
|
30235
30435
|
REQUIRE_TRIAGE = "REQUIRE_TRIAGE",
|
|
30236
30436
|
ALLOW_READY = "ALLOW_READY"
|
|
30237
30437
|
}
|
|
30438
|
+
export declare enum AgentConfigPayloadAgentType {
|
|
30439
|
+
CHURN_SPECIALIST = "CHURN_SPECIALIST"
|
|
30440
|
+
}
|
|
30238
30441
|
export declare enum AgentLogProcessorType {
|
|
30239
30442
|
agent_log_processor = "agent-log-processor"
|
|
30240
30443
|
}
|
|
@@ -30314,6 +30517,21 @@ export declare enum AnalyticsParameterType {
|
|
|
30314
30517
|
TIME_UNIT = "TIME_UNIT",
|
|
30315
30518
|
LITERAL = "LITERAL"
|
|
30316
30519
|
}
|
|
30520
|
+
export declare enum AnalyticsResultGroupingUnit {
|
|
30521
|
+
SECOND = "SECOND",
|
|
30522
|
+
MINUTE = "MINUTE",
|
|
30523
|
+
HOUR = "HOUR",
|
|
30524
|
+
DAY = "DAY",
|
|
30525
|
+
WEEK = "WEEK",
|
|
30526
|
+
MONTH = "MONTH",
|
|
30527
|
+
QUARTER = "QUARTER",
|
|
30528
|
+
YEAR = "YEAR"
|
|
30529
|
+
}
|
|
30530
|
+
export declare enum AnalyticsResultShapeKinds {
|
|
30531
|
+
TIME = "TIME",
|
|
30532
|
+
NUMBER = "NUMBER",
|
|
30533
|
+
OTHER = "OTHER"
|
|
30534
|
+
}
|
|
30317
30535
|
export declare enum AnalyticsTableBindingTable {
|
|
30318
30536
|
logs_raw = "logs_raw",
|
|
30319
30537
|
logs_dedup = "logs_dedup",
|
|
@@ -30421,7 +30639,8 @@ export declare enum ChangeFindingCode {
|
|
|
30421
30639
|
DISALLOWED_INPUT_CHANGE = "DISALLOWED_INPUT_CHANGE",
|
|
30422
30640
|
INVALID_SIGNAL_CONFIG = "INVALID_SIGNAL_CONFIG",
|
|
30423
30641
|
UNVERIFIABLE_CHANGE = "UNVERIFIABLE_CHANGE",
|
|
30424
|
-
NO_EFFECTIVE_CHANGE = "NO_EFFECTIVE_CHANGE"
|
|
30642
|
+
NO_EFFECTIVE_CHANGE = "NO_EFFECTIVE_CHANGE",
|
|
30643
|
+
STALE_SIGNAL_ENTRY = "STALE_SIGNAL_ENTRY"
|
|
30425
30644
|
}
|
|
30426
30645
|
export declare enum ChatActionCategory {
|
|
30427
30646
|
CHANGE_PIPELINES = "CHANGE_PIPELINES",
|
|
@@ -31083,6 +31302,9 @@ export declare enum SplunkLogHttpSourceType {
|
|
|
31083
31302
|
export declare enum SplunkLogSinkType {
|
|
31084
31303
|
splunk_log_sink = "splunk-log-sink"
|
|
31085
31304
|
}
|
|
31305
|
+
export declare enum SqlAnalyticsQueryType {
|
|
31306
|
+
sql_analytics_query = "sql-analytics-query"
|
|
31307
|
+
}
|
|
31086
31308
|
export declare enum SqlIoStatementType {
|
|
31087
31309
|
sql_io = "sql_io"
|
|
31088
31310
|
}
|