@grepr/cli 1.8.3-e6f7381 → 1.8.5-ca825ac
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.
|
@@ -2124,6 +2124,26 @@ export interface paths {
|
|
|
2124
2124
|
patch?: never;
|
|
2125
2125
|
trace?: never;
|
|
2126
2126
|
};
|
|
2127
|
+
"/v1/jobs/backfills": {
|
|
2128
|
+
parameters: {
|
|
2129
|
+
query?: never;
|
|
2130
|
+
header?: never;
|
|
2131
|
+
path?: never;
|
|
2132
|
+
cookie?: never;
|
|
2133
|
+
};
|
|
2134
|
+
get?: never;
|
|
2135
|
+
put?: never;
|
|
2136
|
+
/**
|
|
2137
|
+
* Create a logs backfill job
|
|
2138
|
+
* @description Creates a logs backfill batch job from backfill parameters (time window, query, vendor sinks, and optional limit, variables, and tags). This is an asynchronous batch job: the response returns an identifier (field: `id`) that can be used to query the status of the job using the `GET` jobs endpoint. The server builds the backfill job graph from the parameters, so callers do not assemble it themselves.
|
|
2139
|
+
*/
|
|
2140
|
+
post: operations["submitBackfillJob"];
|
|
2141
|
+
delete?: never;
|
|
2142
|
+
options?: never;
|
|
2143
|
+
head?: never;
|
|
2144
|
+
patch?: never;
|
|
2145
|
+
trace?: never;
|
|
2146
|
+
};
|
|
2127
2147
|
"/v1/jobs/query": {
|
|
2128
2148
|
parameters: {
|
|
2129
2149
|
query?: never;
|
|
@@ -3140,6 +3160,8 @@ export interface components {
|
|
|
3140
3160
|
enabledSkills: string[];
|
|
3141
3161
|
enabledTools: string[];
|
|
3142
3162
|
/** Format: int32 */
|
|
3163
|
+
maxTokens?: number;
|
|
3164
|
+
/** Format: int32 */
|
|
3143
3165
|
maxTurns?: number;
|
|
3144
3166
|
modelConfiguration: components["schemas"]["ModelConfiguration"];
|
|
3145
3167
|
name: string;
|
|
@@ -3150,6 +3172,8 @@ export interface components {
|
|
|
3150
3172
|
enabledSkills: string[];
|
|
3151
3173
|
enabledTools: string[];
|
|
3152
3174
|
/** Format: int32 */
|
|
3175
|
+
maxTokens?: number;
|
|
3176
|
+
/** Format: int32 */
|
|
3153
3177
|
maxTurns?: number;
|
|
3154
3178
|
modelConfiguration: components["schemas"]["ModelConfiguration"];
|
|
3155
3179
|
systemPrompt: string;
|
|
@@ -3159,6 +3183,8 @@ export interface components {
|
|
|
3159
3183
|
enabledSkills: string[];
|
|
3160
3184
|
enabledTools: string[];
|
|
3161
3185
|
/** Format: int32 */
|
|
3186
|
+
maxTokens?: number;
|
|
3187
|
+
/** Format: int32 */
|
|
3162
3188
|
maxTurns?: number;
|
|
3163
3189
|
modelConfiguration: components["schemas"]["ModelConfiguration"];
|
|
3164
3190
|
name: string;
|
|
@@ -3996,6 +4022,60 @@ export interface components {
|
|
|
3996
4022
|
*/
|
|
3997
4023
|
startDate: string;
|
|
3998
4024
|
};
|
|
4025
|
+
/** @description Parameters for creating a logs backfill batch job. */
|
|
4026
|
+
CreateBackfillJob: {
|
|
4027
|
+
/** @description The dataset the backfill reads from and the dedup sinks track delivery in. */
|
|
4028
|
+
datasetId: string;
|
|
4029
|
+
/**
|
|
4030
|
+
* Format: date-time
|
|
4031
|
+
* @description End of the time interval to backfill.
|
|
4032
|
+
* @example 2023-01-01T01:00:00Z
|
|
4033
|
+
*/
|
|
4034
|
+
end: string;
|
|
4035
|
+
/**
|
|
4036
|
+
* Format: int32
|
|
4037
|
+
* @description Maximum number of rows to backfill. Default and max is 500,000. A negative value means no limit.
|
|
4038
|
+
* @default 500000
|
|
4039
|
+
* @example 100000
|
|
4040
|
+
*/
|
|
4041
|
+
limit?: number;
|
|
4042
|
+
/**
|
|
4043
|
+
* @description Name of the backfill job. Must match the job name pattern [a-z0-9_]{1,128}.
|
|
4044
|
+
* @example manual_backfill_1
|
|
4045
|
+
*/
|
|
4046
|
+
name: string;
|
|
4047
|
+
query: components["schemas"]["EventPredicate"];
|
|
4048
|
+
/** @description The vendor sink operations that deliver the backfilled events. Passed through verbatim, matching the sinks a rule action would carry. */
|
|
4049
|
+
sinks: components["schemas"]["Operation"][];
|
|
4050
|
+
/**
|
|
4051
|
+
* Format: date-time
|
|
4052
|
+
* @description Start of the time interval to backfill, inclusive.
|
|
4053
|
+
* @example 2023-01-01T00:00:00Z
|
|
4054
|
+
*/
|
|
4055
|
+
start: string;
|
|
4056
|
+
/**
|
|
4057
|
+
* @description Custom tags added to the backfill job for ease of search.
|
|
4058
|
+
* @default {}
|
|
4059
|
+
* @example {
|
|
4060
|
+
* "source": "manual"
|
|
4061
|
+
* }
|
|
4062
|
+
*/
|
|
4063
|
+
tags?: {
|
|
4064
|
+
[key: string]: string;
|
|
4065
|
+
};
|
|
4066
|
+
/**
|
|
4067
|
+
* @description Variables used to modify the query while it is parsed.
|
|
4068
|
+
* @default {}
|
|
4069
|
+
*/
|
|
4070
|
+
variables?: {
|
|
4071
|
+
[key: string]: components["schemas"]["Any"];
|
|
4072
|
+
};
|
|
4073
|
+
/**
|
|
4074
|
+
* @description Vendor integration IDs, if any, whose prior delivery the backfill skips. Also gates concurrent overlapping backfills. Empty (the default) does no per-vendor dedup join and never blocks on other backfills.
|
|
4075
|
+
* @default []
|
|
4076
|
+
*/
|
|
4077
|
+
vendorSinkIntegrationIds?: string[];
|
|
4078
|
+
};
|
|
3999
4079
|
/** @description Attributes of the Grepr Job to create */
|
|
4000
4080
|
CreateJob: {
|
|
4001
4081
|
/**
|
|
@@ -6501,6 +6581,45 @@ export interface components {
|
|
|
6501
6581
|
/** @default [] */
|
|
6502
6582
|
vendorSinkIntegrationIds?: string[];
|
|
6503
6583
|
};
|
|
6584
|
+
/**
|
|
6585
|
+
* Inputs Schema
|
|
6586
|
+
* @description Schema for the logs backfill job graph.
|
|
6587
|
+
*/
|
|
6588
|
+
LogsBackfillTemplateInput: {
|
|
6589
|
+
/**
|
|
6590
|
+
* @description ISO-8601 value stamped onto backfilled events as the grepr.backfilled.timestamp tag. Computed by the builder so the template stays free of time logic.
|
|
6591
|
+
* @example 2023-01-01t01:00:00z
|
|
6592
|
+
*/
|
|
6593
|
+
backfillTimestampTag: string;
|
|
6594
|
+
/** @description The dataset the backfill reads from and the dedup sinks track delivery in. */
|
|
6595
|
+
datasetId: string;
|
|
6596
|
+
/**
|
|
6597
|
+
* Format: date-time
|
|
6598
|
+
* @description End of the time interval to backfill.
|
|
6599
|
+
* @example 2023-01-01T01:00:00Z
|
|
6600
|
+
*/
|
|
6601
|
+
end: string;
|
|
6602
|
+
/**
|
|
6603
|
+
* Format: int32
|
|
6604
|
+
* @description The maximum number of rows to backfill. A negative value means no limit.
|
|
6605
|
+
*/
|
|
6606
|
+
limit: number;
|
|
6607
|
+
query: components["schemas"]["EventPredicate"];
|
|
6608
|
+
/** @description The vendor sink operations to deliver the backfilled events to. */
|
|
6609
|
+
sinks: components["schemas"]["Operation"][];
|
|
6610
|
+
/**
|
|
6611
|
+
* Format: date-time
|
|
6612
|
+
* @description Start of the time interval to backfill.
|
|
6613
|
+
* @example 2023-01-01T00:00:00Z
|
|
6614
|
+
*/
|
|
6615
|
+
start: string;
|
|
6616
|
+
/** @description Variables used to modify the query while it is parsed. */
|
|
6617
|
+
variables?: {
|
|
6618
|
+
[key: string]: components["schemas"]["Any"];
|
|
6619
|
+
};
|
|
6620
|
+
/** @description Vendor integration IDs, if any, whose prior delivery the backfill source skips. Empty when the source does no per-vendor dedup join (e.g. trace backfills). */
|
|
6621
|
+
vendorSinkIntegrationIds?: string[];
|
|
6622
|
+
};
|
|
6504
6623
|
LogsBranch: {
|
|
6505
6624
|
/** @example operation_name */
|
|
6506
6625
|
name: string;
|
|
@@ -10978,6 +11097,8 @@ export interface components {
|
|
|
10978
11097
|
/** @enum {string} */
|
|
10979
11098
|
role?: TranscriptMessageRole;
|
|
10980
11099
|
text?: string;
|
|
11100
|
+
/** Format: date-time */
|
|
11101
|
+
timestamp?: string;
|
|
10981
11102
|
toolCallId?: string;
|
|
10982
11103
|
toolCalls?: components["schemas"]["TranscriptToolCall"][];
|
|
10983
11104
|
toolName?: string;
|
|
@@ -11805,6 +11926,7 @@ export type SchemaConditionalDataLakeConfig = components["schemas"]["Conditional
|
|
|
11805
11926
|
export type SchemaConsoleSetupInfo = components["schemas"]["ConsoleSetupInfo"];
|
|
11806
11927
|
export type SchemaConstantSampling = components["schemas"]["ConstantSampling"];
|
|
11807
11928
|
export type SchemaContract = components["schemas"]["Contract"];
|
|
11929
|
+
export type SchemaCreateBackfillJob = components["schemas"]["CreateBackfillJob"];
|
|
11808
11930
|
export type SchemaCreateJob = components["schemas"]["CreateJob"];
|
|
11809
11931
|
export type SchemaCreateRole = components["schemas"]["CreateRole"];
|
|
11810
11932
|
export type SchemaCreateServiceAccount = components["schemas"]["CreateServiceAccount"];
|
|
@@ -11935,6 +12057,7 @@ export type SchemaLogReducerTemplateInput = components["schemas"]["LogReducerTem
|
|
|
11935
12057
|
export type SchemaLogRulesApplication = components["schemas"]["LogRulesApplication"];
|
|
11936
12058
|
export type SchemaLogTransformAction = components["schemas"]["LogTransformAction"];
|
|
11937
12059
|
export type SchemaLogsBackfillFlinkSource = components["schemas"]["LogsBackfillFlinkSource"];
|
|
12060
|
+
export type SchemaLogsBackfillTemplateInput = components["schemas"]["LogsBackfillTemplateInput"];
|
|
11938
12061
|
export type SchemaLogsBranch = components["schemas"]["LogsBranch"];
|
|
11939
12062
|
export type SchemaLogsEventSampler = components["schemas"]["LogsEventSampler"];
|
|
11940
12063
|
export type SchemaLogsFilter = components["schemas"]["LogsFilter"];
|
|
@@ -17965,6 +18088,44 @@ export interface operations {
|
|
|
17965
18088
|
};
|
|
17966
18089
|
};
|
|
17967
18090
|
};
|
|
18091
|
+
submitBackfillJob: {
|
|
18092
|
+
parameters: {
|
|
18093
|
+
query?: never;
|
|
18094
|
+
header?: never;
|
|
18095
|
+
path?: never;
|
|
18096
|
+
cookie?: never;
|
|
18097
|
+
};
|
|
18098
|
+
requestBody?: {
|
|
18099
|
+
content: {
|
|
18100
|
+
"application/json": components["schemas"]["CreateBackfillJob"];
|
|
18101
|
+
};
|
|
18102
|
+
};
|
|
18103
|
+
responses: {
|
|
18104
|
+
/** @description Backfill job submitted successfully */
|
|
18105
|
+
201: {
|
|
18106
|
+
headers: {
|
|
18107
|
+
[name: string]: unknown;
|
|
18108
|
+
};
|
|
18109
|
+
content: {
|
|
18110
|
+
"application/json": components["schemas"]["ReadJob"];
|
|
18111
|
+
};
|
|
18112
|
+
};
|
|
18113
|
+
/** @description Bad Request */
|
|
18114
|
+
400: {
|
|
18115
|
+
headers: {
|
|
18116
|
+
[name: string]: unknown;
|
|
18117
|
+
};
|
|
18118
|
+
content?: never;
|
|
18119
|
+
};
|
|
18120
|
+
/** @description Unauthorized */
|
|
18121
|
+
401: {
|
|
18122
|
+
headers: {
|
|
18123
|
+
[name: string]: unknown;
|
|
18124
|
+
};
|
|
18125
|
+
content?: never;
|
|
18126
|
+
};
|
|
18127
|
+
};
|
|
18128
|
+
};
|
|
17968
18129
|
query: {
|
|
17969
18130
|
parameters: {
|
|
17970
18131
|
query?: never;
|