@mastra/server 1.13.3-alpha.1 → 1.14.0-alpha.3

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/CHANGELOG.md +18 -0
  2. package/dist/_types/@internal_core/dist/index.d.ts +1333 -0
  3. package/dist/chunk-2UVJD67W.cjs +136 -0
  4. package/dist/chunk-2UVJD67W.cjs.map +1 -0
  5. package/dist/chunk-4VGZOVOI.js +656 -0
  6. package/dist/chunk-4VGZOVOI.js.map +1 -0
  7. package/dist/{chunk-A2443FGH.js → chunk-55AD3MAT.js} +24 -18
  8. package/dist/chunk-55AD3MAT.js.map +1 -0
  9. package/dist/{observational-memory-XXD6E2SO-RTIRYSYO.cjs → chunk-A6HL3JRC.cjs} +306 -130
  10. package/dist/chunk-A6HL3JRC.cjs.map +1 -0
  11. package/dist/{observational-memory-XXD6E2SO-TGAG7QCA.js → chunk-KZAB4IB3.js} +305 -131
  12. package/dist/chunk-KZAB4IB3.js.map +1 -0
  13. package/dist/{chunk-4AR4SH3H.cjs → chunk-L6ANZUEK.cjs} +7 -7
  14. package/dist/{chunk-4AR4SH3H.cjs.map → chunk-L6ANZUEK.cjs.map} +1 -1
  15. package/dist/{chunk-SFC2UJ2C.js → chunk-LE6IX2DD.js} +6 -6
  16. package/dist/{chunk-SFC2UJ2C.js.map → chunk-LE6IX2DD.js.map} +1 -1
  17. package/dist/chunk-LUHJDABR.cjs +675 -0
  18. package/dist/chunk-LUHJDABR.cjs.map +1 -0
  19. package/dist/{chunk-7P6XT5WB.cjs → chunk-OXZCCCIJ.cjs} +28 -22
  20. package/dist/chunk-OXZCCCIJ.cjs.map +1 -0
  21. package/dist/chunk-RSIZIEPW.js +131 -0
  22. package/dist/chunk-RSIZIEPW.js.map +1 -0
  23. package/dist/docs/SKILL.md +1 -1
  24. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  25. package/dist/observational-memory-UEDVTWS2-COV6JJZK.js +3 -0
  26. package/dist/observational-memory-UEDVTWS2-COV6JJZK.js.map +1 -0
  27. package/dist/observational-memory-UEDVTWS2-TU3KK4ZG.cjs +68 -0
  28. package/dist/observational-memory-UEDVTWS2-TU3KK4ZG.cjs.map +1 -0
  29. package/dist/server/handlers/agent-builder.cjs +16 -16
  30. package/dist/server/handlers/agent-builder.js +1 -1
  31. package/dist/server/handlers/observability-new-endpoints.cjs +80 -0
  32. package/dist/server/handlers/observability-new-endpoints.cjs.map +1 -0
  33. package/dist/server/handlers/observability-new-endpoints.d.ts +1212 -0
  34. package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -0
  35. package/dist/server/handlers/observability-new-endpoints.js +3 -0
  36. package/dist/server/handlers/observability-new-endpoints.js.map +1 -0
  37. package/dist/server/handlers/observability-shared.cjs +24 -0
  38. package/dist/server/handlers/observability-shared.cjs.map +1 -0
  39. package/dist/server/handlers/observability-shared.d.ts +126 -0
  40. package/dist/server/handlers/observability-shared.d.ts.map +1 -0
  41. package/dist/server/handlers/observability-shared.js +3 -0
  42. package/dist/server/handlers/observability-shared.js.map +1 -0
  43. package/dist/server/handlers/observability.cjs +78 -5
  44. package/dist/server/handlers/observability.d.ts +22 -20
  45. package/dist/server/handlers/observability.d.ts.map +1 -1
  46. package/dist/server/handlers/observability.js +2 -1
  47. package/dist/server/handlers.cjs +10 -10
  48. package/dist/server/handlers.js +3 -3
  49. package/dist/server/schemas/index.cjs +82 -82
  50. package/dist/server/schemas/index.js +2 -2
  51. package/dist/server/server-adapter/index.cjs +43 -24
  52. package/dist/server/server-adapter/index.cjs.map +1 -1
  53. package/dist/server/server-adapter/index.js +25 -6
  54. package/dist/server/server-adapter/index.js.map +1 -1
  55. package/dist/server/server-adapter/routes/observability.d.ts +531 -21
  56. package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
  57. package/package.json +6 -5
  58. package/dist/chunk-3NG2FRSI.js +0 -41
  59. package/dist/chunk-3NG2FRSI.js.map +0 -1
  60. package/dist/chunk-5ZBS3CWT.cjs +0 -43
  61. package/dist/chunk-5ZBS3CWT.cjs.map +0 -1
  62. package/dist/chunk-7P6XT5WB.cjs.map +0 -1
  63. package/dist/chunk-A2443FGH.js.map +0 -1
  64. package/dist/observational-memory-XXD6E2SO-RTIRYSYO.cjs.map +0 -1
  65. package/dist/observational-memory-XXD6E2SO-TGAG7QCA.js.map +0 -1
@@ -0,0 +1,1212 @@
1
+ import type { z } from 'zod';
2
+ export declare const LIST_LOGS: import("../server-adapter").ServerRoute<Record<string, unknown>, {
3
+ pagination: {
4
+ total: number;
5
+ page: number;
6
+ perPage: number | false;
7
+ hasMore: boolean;
8
+ };
9
+ logs: {
10
+ timestamp: Date;
11
+ level: "debug" | "info" | "warn" | "error" | "fatal";
12
+ message: string;
13
+ tags?: string[] | null | undefined;
14
+ metadata?: Record<string, unknown> | null | undefined;
15
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
16
+ entityId?: string | null | undefined;
17
+ entityName?: string | null | undefined;
18
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
19
+ parentEntityId?: string | null | undefined;
20
+ parentEntityName?: string | null | undefined;
21
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
22
+ rootEntityId?: string | null | undefined;
23
+ rootEntityName?: string | null | undefined;
24
+ userId?: string | null | undefined;
25
+ organizationId?: string | null | undefined;
26
+ resourceId?: string | null | undefined;
27
+ runId?: string | null | undefined;
28
+ sessionId?: string | null | undefined;
29
+ threadId?: string | null | undefined;
30
+ requestId?: string | null | undefined;
31
+ environment?: string | null | undefined;
32
+ source?: string | null | undefined;
33
+ serviceName?: string | null | undefined;
34
+ scope?: Record<string, unknown> | null | undefined;
35
+ experimentId?: string | null | undefined;
36
+ data?: Record<string, unknown> | null | undefined;
37
+ traceId?: string | null | undefined;
38
+ spanId?: string | null | undefined;
39
+ }[];
40
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
41
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
42
+ }>, z.core.$strip>, undefined, z.ZodObject<{
43
+ pagination: z.ZodObject<{
44
+ total: z.ZodNumber;
45
+ page: z.ZodNumber;
46
+ perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
47
+ hasMore: z.ZodBoolean;
48
+ }, z.core.$strip>;
49
+ logs: z.ZodArray<z.ZodObject<{
50
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
51
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
52
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
53
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
56
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
59
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
72
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ timestamp: z.ZodDate;
74
+ level: z.ZodEnum<{
75
+ error: "error";
76
+ debug: "debug";
77
+ info: "info";
78
+ warn: "warn";
79
+ fatal: "fatal";
80
+ }>;
81
+ message: z.ZodString;
82
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
83
+ traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
+ }, z.core.$strip>>;
86
+ }, z.core.$strip>>, string, `/${string}`>;
87
+ export declare const LIST_SCORES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
88
+ pagination: {
89
+ total: number;
90
+ page: number;
91
+ perPage: number | false;
92
+ hasMore: boolean;
93
+ };
94
+ scores: {
95
+ timestamp: Date;
96
+ traceId: string;
97
+ scorerId: string;
98
+ score: number;
99
+ spanId?: string | null | undefined;
100
+ scorerVersion?: string | null | undefined;
101
+ source?: string | null | undefined;
102
+ reason?: string | null | undefined;
103
+ experimentId?: string | null | undefined;
104
+ scoreTraceId?: string | null | undefined;
105
+ metadata?: Record<string, unknown> | null | undefined;
106
+ }[];
107
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
108
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
109
+ }>, z.core.$strip>, undefined, z.ZodObject<{
110
+ pagination: z.ZodObject<{
111
+ total: z.ZodNumber;
112
+ page: z.ZodNumber;
113
+ perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
114
+ hasMore: z.ZodBoolean;
115
+ }, z.core.$strip>;
116
+ scores: z.ZodArray<z.ZodObject<{
117
+ timestamp: z.ZodDate;
118
+ traceId: z.ZodString;
119
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
+ scorerId: z.ZodString;
121
+ scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ score: z.ZodNumber;
124
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
128
+ }, z.core.$strip>>;
129
+ }, z.core.$strip>>, string, `/${string}`>;
130
+ export declare const CREATE_SCORE: import("../server-adapter").ServerRoute<{
131
+ score: {
132
+ traceId: string;
133
+ scorerId: string;
134
+ score: number;
135
+ spanId?: string | null | undefined;
136
+ metadata?: Record<string, unknown> | null | undefined;
137
+ source?: string | null | undefined;
138
+ experimentId?: string | null | undefined;
139
+ scorerVersion?: string | null | undefined;
140
+ reason?: string | null | undefined;
141
+ scoreTraceId?: string | null | undefined;
142
+ };
143
+ }, {
144
+ success: boolean;
145
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
146
+ score: z.ZodObject<{
147
+ traceId: z.ZodString;
148
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
149
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
150
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
+ scorerId: z.ZodString;
153
+ score: z.ZodNumber;
154
+ scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
+ scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
+ }, z.core.$strip>;
158
+ }, z.core.$strip>, z.ZodObject<{
159
+ success: z.ZodBoolean;
160
+ }, z.core.$strip>>, string, `/${string}`>;
161
+ export declare const LIST_FEEDBACK: import("../server-adapter").ServerRoute<Record<string, unknown>, {
162
+ pagination: {
163
+ total: number;
164
+ page: number;
165
+ perPage: number | false;
166
+ hasMore: boolean;
167
+ };
168
+ feedback: {
169
+ timestamp: Date;
170
+ traceId: string;
171
+ source: string;
172
+ feedbackType: string;
173
+ value: string | number;
174
+ spanId?: string | null | undefined;
175
+ comment?: string | null | undefined;
176
+ experimentId?: string | null | undefined;
177
+ userId?: string | null | undefined;
178
+ metadata?: Record<string, unknown> | null | undefined;
179
+ }[];
180
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
181
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
182
+ }>, z.core.$strip>, undefined, z.ZodObject<{
183
+ pagination: z.ZodObject<{
184
+ total: z.ZodNumber;
185
+ page: z.ZodNumber;
186
+ perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
187
+ hasMore: z.ZodBoolean;
188
+ }, z.core.$strip>;
189
+ feedback: z.ZodArray<z.ZodObject<{
190
+ timestamp: z.ZodDate;
191
+ traceId: z.ZodString;
192
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
+ source: z.ZodString;
194
+ feedbackType: z.ZodString;
195
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
196
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
200
+ }, z.core.$strip>>;
201
+ }, z.core.$strip>>, string, `/${string}`>;
202
+ export declare const CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{
203
+ feedback: {
204
+ value: string | number;
205
+ traceId: string;
206
+ source: string;
207
+ feedbackType: string;
208
+ spanId?: string | null | undefined;
209
+ metadata?: Record<string, unknown> | null | undefined;
210
+ userId?: string | null | undefined;
211
+ experimentId?: string | null | undefined;
212
+ comment?: string | null | undefined;
213
+ };
214
+ }, {
215
+ success: boolean;
216
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
217
+ feedback: z.ZodObject<{
218
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
219
+ traceId: z.ZodString;
220
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
221
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
222
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ source: z.ZodString;
224
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ feedbackType: z.ZodString;
226
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
+ }, z.core.$strip>;
228
+ }, z.core.$strip>, z.ZodObject<{
229
+ success: z.ZodBoolean;
230
+ }, z.core.$strip>>, string, `/${string}`>;
231
+ export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRoute<{
232
+ name: string[];
233
+ aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
234
+ filters?: {
235
+ name?: string[] | undefined;
236
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
237
+ parentEntityName?: string | undefined;
238
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
239
+ rootEntityName?: string | undefined;
240
+ runId?: string | undefined;
241
+ sessionId?: string | undefined;
242
+ labels?: Record<string, string> | undefined;
243
+ timestamp?: {
244
+ start?: Date | undefined;
245
+ end?: Date | undefined;
246
+ startExclusive?: boolean | undefined;
247
+ endExclusive?: boolean | undefined;
248
+ } | undefined;
249
+ traceId?: string | undefined;
250
+ spanId?: string | undefined;
251
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
252
+ entityName?: string | undefined;
253
+ userId?: string | undefined;
254
+ organizationId?: string | undefined;
255
+ experimentId?: string | undefined;
256
+ serviceName?: string | undefined;
257
+ environment?: string | undefined;
258
+ } | undefined;
259
+ comparePeriod?: "previous_period" | "previous_day" | "previous_week" | undefined;
260
+ }, {
261
+ value: number | null;
262
+ previousValue?: number | null | undefined;
263
+ changePercent?: number | null | undefined;
264
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
265
+ name: z.ZodArray<z.ZodString>;
266
+ aggregation: z.ZodEnum<{
267
+ sum: "sum";
268
+ avg: "avg";
269
+ min: "min";
270
+ max: "max";
271
+ count: "count";
272
+ last: "last";
273
+ }>;
274
+ filters: z.ZodOptional<z.ZodObject<{
275
+ name: z.ZodOptional<z.ZodArray<z.ZodString>>;
276
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
277
+ parentEntityName: z.ZodOptional<z.ZodString>;
278
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
279
+ rootEntityName: z.ZodOptional<z.ZodString>;
280
+ runId: z.ZodOptional<z.ZodString>;
281
+ sessionId: z.ZodOptional<z.ZodString>;
282
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
283
+ timestamp: z.ZodOptional<z.ZodObject<{
284
+ start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
285
+ end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
286
+ startExclusive: z.ZodOptional<z.ZodBoolean>;
287
+ endExclusive: z.ZodOptional<z.ZodBoolean>;
288
+ }, z.core.$strip>>;
289
+ traceId: z.ZodOptional<z.ZodString>;
290
+ spanId: z.ZodOptional<z.ZodString>;
291
+ entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
292
+ entityName: z.ZodOptional<z.ZodString>;
293
+ userId: z.ZodOptional<z.ZodString>;
294
+ organizationId: z.ZodOptional<z.ZodString>;
295
+ experimentId: z.ZodOptional<z.ZodString>;
296
+ serviceName: z.ZodOptional<z.ZodString>;
297
+ environment: z.ZodOptional<z.ZodString>;
298
+ }, z.core.$strip>>;
299
+ comparePeriod: z.ZodOptional<z.ZodEnum<{
300
+ previous_period: "previous_period";
301
+ previous_day: "previous_day";
302
+ previous_week: "previous_week";
303
+ }>>;
304
+ }, z.core.$strip>, z.ZodObject<{
305
+ value: z.ZodNullable<z.ZodNumber>;
306
+ previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
307
+ changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
308
+ }, z.core.$strip>>, string, `/${string}`>;
309
+ export declare const GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRoute<{
310
+ name: string[];
311
+ groupBy: string[];
312
+ aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
313
+ filters?: {
314
+ name?: string[] | undefined;
315
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
316
+ parentEntityName?: string | undefined;
317
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
318
+ rootEntityName?: string | undefined;
319
+ runId?: string | undefined;
320
+ sessionId?: string | undefined;
321
+ labels?: Record<string, string> | undefined;
322
+ timestamp?: {
323
+ start?: Date | undefined;
324
+ end?: Date | undefined;
325
+ startExclusive?: boolean | undefined;
326
+ endExclusive?: boolean | undefined;
327
+ } | undefined;
328
+ traceId?: string | undefined;
329
+ spanId?: string | undefined;
330
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
331
+ entityName?: string | undefined;
332
+ userId?: string | undefined;
333
+ organizationId?: string | undefined;
334
+ experimentId?: string | undefined;
335
+ serviceName?: string | undefined;
336
+ environment?: string | undefined;
337
+ } | undefined;
338
+ }, {
339
+ groups: {
340
+ dimensions: Record<string, string | null>;
341
+ value: number;
342
+ }[];
343
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
344
+ name: z.ZodArray<z.ZodString>;
345
+ groupBy: z.ZodArray<z.ZodString>;
346
+ aggregation: z.ZodEnum<{
347
+ sum: "sum";
348
+ avg: "avg";
349
+ min: "min";
350
+ max: "max";
351
+ count: "count";
352
+ last: "last";
353
+ }>;
354
+ filters: z.ZodOptional<z.ZodObject<{
355
+ name: z.ZodOptional<z.ZodArray<z.ZodString>>;
356
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
357
+ parentEntityName: z.ZodOptional<z.ZodString>;
358
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
359
+ rootEntityName: z.ZodOptional<z.ZodString>;
360
+ runId: z.ZodOptional<z.ZodString>;
361
+ sessionId: z.ZodOptional<z.ZodString>;
362
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
363
+ timestamp: z.ZodOptional<z.ZodObject<{
364
+ start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
365
+ end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
366
+ startExclusive: z.ZodOptional<z.ZodBoolean>;
367
+ endExclusive: z.ZodOptional<z.ZodBoolean>;
368
+ }, z.core.$strip>>;
369
+ traceId: z.ZodOptional<z.ZodString>;
370
+ spanId: z.ZodOptional<z.ZodString>;
371
+ entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
372
+ entityName: z.ZodOptional<z.ZodString>;
373
+ userId: z.ZodOptional<z.ZodString>;
374
+ organizationId: z.ZodOptional<z.ZodString>;
375
+ experimentId: z.ZodOptional<z.ZodString>;
376
+ serviceName: z.ZodOptional<z.ZodString>;
377
+ environment: z.ZodOptional<z.ZodString>;
378
+ }, z.core.$strip>>;
379
+ }, z.core.$strip>, z.ZodObject<{
380
+ groups: z.ZodArray<z.ZodObject<{
381
+ dimensions: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
382
+ value: z.ZodNumber;
383
+ }, z.core.$strip>>;
384
+ }, z.core.$strip>>, string, `/${string}`>;
385
+ export declare const GET_METRIC_TIME_SERIES: import("../server-adapter").ServerRoute<{
386
+ name: string[];
387
+ interval: "5m" | "1h" | "1m" | "15m" | "1d";
388
+ aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
389
+ filters?: {
390
+ name?: string[] | undefined;
391
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
392
+ parentEntityName?: string | undefined;
393
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
394
+ rootEntityName?: string | undefined;
395
+ runId?: string | undefined;
396
+ sessionId?: string | undefined;
397
+ labels?: Record<string, string> | undefined;
398
+ timestamp?: {
399
+ start?: Date | undefined;
400
+ end?: Date | undefined;
401
+ startExclusive?: boolean | undefined;
402
+ endExclusive?: boolean | undefined;
403
+ } | undefined;
404
+ traceId?: string | undefined;
405
+ spanId?: string | undefined;
406
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
407
+ entityName?: string | undefined;
408
+ userId?: string | undefined;
409
+ organizationId?: string | undefined;
410
+ experimentId?: string | undefined;
411
+ serviceName?: string | undefined;
412
+ environment?: string | undefined;
413
+ } | undefined;
414
+ groupBy?: string[] | undefined;
415
+ }, {
416
+ series: {
417
+ name: string;
418
+ points: {
419
+ timestamp: Date;
420
+ value: number;
421
+ }[];
422
+ }[];
423
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
424
+ name: z.ZodArray<z.ZodString>;
425
+ interval: z.ZodEnum<{
426
+ "1m": "1m";
427
+ "5m": "5m";
428
+ "15m": "15m";
429
+ "1h": "1h";
430
+ "1d": "1d";
431
+ }>;
432
+ aggregation: z.ZodEnum<{
433
+ sum: "sum";
434
+ avg: "avg";
435
+ min: "min";
436
+ max: "max";
437
+ count: "count";
438
+ last: "last";
439
+ }>;
440
+ filters: z.ZodOptional<z.ZodObject<{
441
+ name: z.ZodOptional<z.ZodArray<z.ZodString>>;
442
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
443
+ parentEntityName: z.ZodOptional<z.ZodString>;
444
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
445
+ rootEntityName: z.ZodOptional<z.ZodString>;
446
+ runId: z.ZodOptional<z.ZodString>;
447
+ sessionId: z.ZodOptional<z.ZodString>;
448
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
449
+ timestamp: z.ZodOptional<z.ZodObject<{
450
+ start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
451
+ end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
452
+ startExclusive: z.ZodOptional<z.ZodBoolean>;
453
+ endExclusive: z.ZodOptional<z.ZodBoolean>;
454
+ }, z.core.$strip>>;
455
+ traceId: z.ZodOptional<z.ZodString>;
456
+ spanId: z.ZodOptional<z.ZodString>;
457
+ entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
458
+ entityName: z.ZodOptional<z.ZodString>;
459
+ userId: z.ZodOptional<z.ZodString>;
460
+ organizationId: z.ZodOptional<z.ZodString>;
461
+ experimentId: z.ZodOptional<z.ZodString>;
462
+ serviceName: z.ZodOptional<z.ZodString>;
463
+ environment: z.ZodOptional<z.ZodString>;
464
+ }, z.core.$strip>>;
465
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
466
+ }, z.core.$strip>, z.ZodObject<{
467
+ series: z.ZodArray<z.ZodObject<{
468
+ name: z.ZodString;
469
+ points: z.ZodArray<z.ZodObject<{
470
+ timestamp: z.ZodDate;
471
+ value: z.ZodNumber;
472
+ }, z.core.$strip>>;
473
+ }, z.core.$strip>>;
474
+ }, z.core.$strip>>, string, `/${string}`>;
475
+ export declare const GET_METRIC_PERCENTILES: import("../server-adapter").ServerRoute<{
476
+ name: string;
477
+ percentiles: number[];
478
+ interval: "5m" | "1h" | "1m" | "15m" | "1d";
479
+ filters?: {
480
+ name?: string[] | undefined;
481
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
482
+ parentEntityName?: string | undefined;
483
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
484
+ rootEntityName?: string | undefined;
485
+ runId?: string | undefined;
486
+ sessionId?: string | undefined;
487
+ labels?: Record<string, string> | undefined;
488
+ timestamp?: {
489
+ start?: Date | undefined;
490
+ end?: Date | undefined;
491
+ startExclusive?: boolean | undefined;
492
+ endExclusive?: boolean | undefined;
493
+ } | undefined;
494
+ traceId?: string | undefined;
495
+ spanId?: string | undefined;
496
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
497
+ entityName?: string | undefined;
498
+ userId?: string | undefined;
499
+ organizationId?: string | undefined;
500
+ experimentId?: string | undefined;
501
+ serviceName?: string | undefined;
502
+ environment?: string | undefined;
503
+ } | undefined;
504
+ }, {
505
+ series: {
506
+ percentile: number;
507
+ points: {
508
+ timestamp: Date;
509
+ value: number;
510
+ }[];
511
+ }[];
512
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
513
+ name: z.ZodString;
514
+ percentiles: z.ZodArray<z.ZodNumber>;
515
+ interval: z.ZodEnum<{
516
+ "1m": "1m";
517
+ "5m": "5m";
518
+ "15m": "15m";
519
+ "1h": "1h";
520
+ "1d": "1d";
521
+ }>;
522
+ filters: z.ZodOptional<z.ZodObject<{
523
+ name: z.ZodOptional<z.ZodArray<z.ZodString>>;
524
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
525
+ parentEntityName: z.ZodOptional<z.ZodString>;
526
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
527
+ rootEntityName: z.ZodOptional<z.ZodString>;
528
+ runId: z.ZodOptional<z.ZodString>;
529
+ sessionId: z.ZodOptional<z.ZodString>;
530
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
531
+ timestamp: z.ZodOptional<z.ZodObject<{
532
+ start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
533
+ end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
534
+ startExclusive: z.ZodOptional<z.ZodBoolean>;
535
+ endExclusive: z.ZodOptional<z.ZodBoolean>;
536
+ }, z.core.$strip>>;
537
+ traceId: z.ZodOptional<z.ZodString>;
538
+ spanId: z.ZodOptional<z.ZodString>;
539
+ entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
540
+ entityName: z.ZodOptional<z.ZodString>;
541
+ userId: z.ZodOptional<z.ZodString>;
542
+ organizationId: z.ZodOptional<z.ZodString>;
543
+ experimentId: z.ZodOptional<z.ZodString>;
544
+ serviceName: z.ZodOptional<z.ZodString>;
545
+ environment: z.ZodOptional<z.ZodString>;
546
+ }, z.core.$strip>>;
547
+ }, z.core.$strip>, z.ZodObject<{
548
+ series: z.ZodArray<z.ZodObject<{
549
+ percentile: z.ZodNumber;
550
+ points: z.ZodArray<z.ZodObject<{
551
+ timestamp: z.ZodDate;
552
+ value: z.ZodNumber;
553
+ }, z.core.$strip>>;
554
+ }, z.core.$strip>>;
555
+ }, z.core.$strip>>, string, `/${string}`>;
556
+ export declare const GET_METRIC_NAMES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
557
+ names: string[];
558
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
559
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
560
+ }>, z.core.$strip>, undefined, z.ZodObject<{
561
+ names: z.ZodArray<z.ZodString>;
562
+ }, z.core.$strip>>, string, `/${string}`>;
563
+ export declare const GET_METRIC_LABEL_KEYS: import("../server-adapter").ServerRoute<Record<string, unknown>, {
564
+ keys: string[];
565
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
566
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
567
+ }>, z.core.$strip>, undefined, z.ZodObject<{
568
+ keys: z.ZodArray<z.ZodString>;
569
+ }, z.core.$strip>>, string, `/${string}`>;
570
+ export declare const GET_METRIC_LABEL_VALUES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
571
+ values: string[];
572
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
573
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
574
+ }>, z.core.$strip>, undefined, z.ZodObject<{
575
+ values: z.ZodArray<z.ZodString>;
576
+ }, z.core.$strip>>, string, `/${string}`>;
577
+ export declare const GET_ENTITY_TYPES: import("../server-adapter").ServerRoute<{}, {
578
+ entityTypes: import("../../_types/@internal_core/dist/index.js").EntityType[];
579
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, undefined, z.ZodObject<{
580
+ entityTypes: z.ZodArray<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
581
+ }, z.core.$strip>>, string, `/${string}`>;
582
+ export declare const GET_ENTITY_NAMES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
583
+ names: string[];
584
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
585
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
586
+ }>, z.core.$strip>, undefined, z.ZodObject<{
587
+ names: z.ZodArray<z.ZodString>;
588
+ }, z.core.$strip>>, string, `/${string}`>;
589
+ export declare const GET_SERVICE_NAMES: import("../server-adapter").ServerRoute<{}, {
590
+ serviceNames: string[];
591
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, undefined, z.ZodObject<{
592
+ serviceNames: z.ZodArray<z.ZodString>;
593
+ }, z.core.$strip>>, string, `/${string}`>;
594
+ export declare const GET_ENVIRONMENTS: import("../server-adapter").ServerRoute<{}, {
595
+ environments: string[];
596
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, undefined, z.ZodObject<{
597
+ environments: z.ZodArray<z.ZodString>;
598
+ }, z.core.$strip>>, string, `/${string}`>;
599
+ export declare const GET_TAGS: import("../server-adapter").ServerRoute<Record<string, unknown>, {
600
+ tags: string[];
601
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
602
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
603
+ }>, z.core.$strip>, undefined, z.ZodObject<{
604
+ tags: z.ZodArray<z.ZodString>;
605
+ }, z.core.$strip>>, string, `/${string}`>;
606
+ export declare const NEW_ROUTES: {
607
+ LIST_LOGS: import("../server-adapter").ServerRoute<Record<string, unknown>, {
608
+ pagination: {
609
+ total: number;
610
+ page: number;
611
+ perPage: number | false;
612
+ hasMore: boolean;
613
+ };
614
+ logs: {
615
+ timestamp: Date;
616
+ level: "debug" | "info" | "warn" | "error" | "fatal";
617
+ message: string;
618
+ tags?: string[] | null | undefined;
619
+ metadata?: Record<string, unknown> | null | undefined;
620
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
621
+ entityId?: string | null | undefined;
622
+ entityName?: string | null | undefined;
623
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
624
+ parentEntityId?: string | null | undefined;
625
+ parentEntityName?: string | null | undefined;
626
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
627
+ rootEntityId?: string | null | undefined;
628
+ rootEntityName?: string | null | undefined;
629
+ userId?: string | null | undefined;
630
+ organizationId?: string | null | undefined;
631
+ resourceId?: string | null | undefined;
632
+ runId?: string | null | undefined;
633
+ sessionId?: string | null | undefined;
634
+ threadId?: string | null | undefined;
635
+ requestId?: string | null | undefined;
636
+ environment?: string | null | undefined;
637
+ source?: string | null | undefined;
638
+ serviceName?: string | null | undefined;
639
+ scope?: Record<string, unknown> | null | undefined;
640
+ experimentId?: string | null | undefined;
641
+ data?: Record<string, unknown> | null | undefined;
642
+ traceId?: string | null | undefined;
643
+ spanId?: string | null | undefined;
644
+ }[];
645
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
646
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
647
+ }>, z.core.$strip>, undefined, z.ZodObject<{
648
+ pagination: z.ZodObject<{
649
+ total: z.ZodNumber;
650
+ page: z.ZodNumber;
651
+ perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
652
+ hasMore: z.ZodBoolean;
653
+ }, z.core.$strip>;
654
+ logs: z.ZodArray<z.ZodObject<{
655
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
656
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
657
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
658
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
659
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
661
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
662
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
663
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
664
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
665
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
666
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
667
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
668
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
669
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
670
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
671
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
672
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
673
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
674
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
675
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
676
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
677
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
678
+ timestamp: z.ZodDate;
679
+ level: z.ZodEnum<{
680
+ error: "error";
681
+ debug: "debug";
682
+ info: "info";
683
+ warn: "warn";
684
+ fatal: "fatal";
685
+ }>;
686
+ message: z.ZodString;
687
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
688
+ traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
689
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
690
+ }, z.core.$strip>>;
691
+ }, z.core.$strip>>, string, `/${string}`>;
692
+ LIST_SCORES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
693
+ pagination: {
694
+ total: number;
695
+ page: number;
696
+ perPage: number | false;
697
+ hasMore: boolean;
698
+ };
699
+ scores: {
700
+ timestamp: Date;
701
+ traceId: string;
702
+ scorerId: string;
703
+ score: number;
704
+ spanId?: string | null | undefined;
705
+ scorerVersion?: string | null | undefined;
706
+ source?: string | null | undefined;
707
+ reason?: string | null | undefined;
708
+ experimentId?: string | null | undefined;
709
+ scoreTraceId?: string | null | undefined;
710
+ metadata?: Record<string, unknown> | null | undefined;
711
+ }[];
712
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
713
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
714
+ }>, z.core.$strip>, undefined, z.ZodObject<{
715
+ pagination: z.ZodObject<{
716
+ total: z.ZodNumber;
717
+ page: z.ZodNumber;
718
+ perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
719
+ hasMore: z.ZodBoolean;
720
+ }, z.core.$strip>;
721
+ scores: z.ZodArray<z.ZodObject<{
722
+ timestamp: z.ZodDate;
723
+ traceId: z.ZodString;
724
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
725
+ scorerId: z.ZodString;
726
+ scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
727
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
728
+ score: z.ZodNumber;
729
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
730
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
731
+ scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
732
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
733
+ }, z.core.$strip>>;
734
+ }, z.core.$strip>>, string, `/${string}`>;
735
+ CREATE_SCORE: import("../server-adapter").ServerRoute<{
736
+ score: {
737
+ traceId: string;
738
+ scorerId: string;
739
+ score: number;
740
+ spanId?: string | null | undefined;
741
+ metadata?: Record<string, unknown> | null | undefined;
742
+ source?: string | null | undefined;
743
+ experimentId?: string | null | undefined;
744
+ scorerVersion?: string | null | undefined;
745
+ reason?: string | null | undefined;
746
+ scoreTraceId?: string | null | undefined;
747
+ };
748
+ }, {
749
+ success: boolean;
750
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
751
+ score: z.ZodObject<{
752
+ traceId: z.ZodString;
753
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
754
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
755
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
756
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
757
+ scorerId: z.ZodString;
758
+ score: z.ZodNumber;
759
+ scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
760
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
761
+ scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
762
+ }, z.core.$strip>;
763
+ }, z.core.$strip>, z.ZodObject<{
764
+ success: z.ZodBoolean;
765
+ }, z.core.$strip>>, string, `/${string}`>;
766
+ LIST_FEEDBACK: import("../server-adapter").ServerRoute<Record<string, unknown>, {
767
+ pagination: {
768
+ total: number;
769
+ page: number;
770
+ perPage: number | false;
771
+ hasMore: boolean;
772
+ };
773
+ feedback: {
774
+ timestamp: Date;
775
+ traceId: string;
776
+ source: string;
777
+ feedbackType: string;
778
+ value: string | number;
779
+ spanId?: string | null | undefined;
780
+ comment?: string | null | undefined;
781
+ experimentId?: string | null | undefined;
782
+ userId?: string | null | undefined;
783
+ metadata?: Record<string, unknown> | null | undefined;
784
+ }[];
785
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
786
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
787
+ }>, z.core.$strip>, undefined, z.ZodObject<{
788
+ pagination: z.ZodObject<{
789
+ total: z.ZodNumber;
790
+ page: z.ZodNumber;
791
+ perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
792
+ hasMore: z.ZodBoolean;
793
+ }, z.core.$strip>;
794
+ feedback: z.ZodArray<z.ZodObject<{
795
+ timestamp: z.ZodDate;
796
+ traceId: z.ZodString;
797
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
798
+ source: z.ZodString;
799
+ feedbackType: z.ZodString;
800
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
801
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
802
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
803
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
804
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
805
+ }, z.core.$strip>>;
806
+ }, z.core.$strip>>, string, `/${string}`>;
807
+ CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{
808
+ feedback: {
809
+ value: string | number;
810
+ traceId: string;
811
+ source: string;
812
+ feedbackType: string;
813
+ spanId?: string | null | undefined;
814
+ metadata?: Record<string, unknown> | null | undefined;
815
+ userId?: string | null | undefined;
816
+ experimentId?: string | null | undefined;
817
+ comment?: string | null | undefined;
818
+ };
819
+ }, {
820
+ success: boolean;
821
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
822
+ feedback: z.ZodObject<{
823
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
824
+ traceId: z.ZodString;
825
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
826
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
827
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
828
+ source: z.ZodString;
829
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
830
+ feedbackType: z.ZodString;
831
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
832
+ }, z.core.$strip>;
833
+ }, z.core.$strip>, z.ZodObject<{
834
+ success: z.ZodBoolean;
835
+ }, z.core.$strip>>, string, `/${string}`>;
836
+ GET_METRIC_AGGREGATE: import("../server-adapter").ServerRoute<{
837
+ name: string[];
838
+ aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
839
+ filters?: {
840
+ name?: string[] | undefined;
841
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
842
+ parentEntityName?: string | undefined;
843
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
844
+ rootEntityName?: string | undefined;
845
+ runId?: string | undefined;
846
+ sessionId?: string | undefined;
847
+ labels?: Record<string, string> | undefined;
848
+ timestamp?: {
849
+ start?: Date | undefined;
850
+ end?: Date | undefined;
851
+ startExclusive?: boolean | undefined;
852
+ endExclusive?: boolean | undefined;
853
+ } | undefined;
854
+ traceId?: string | undefined;
855
+ spanId?: string | undefined;
856
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
857
+ entityName?: string | undefined;
858
+ userId?: string | undefined;
859
+ organizationId?: string | undefined;
860
+ experimentId?: string | undefined;
861
+ serviceName?: string | undefined;
862
+ environment?: string | undefined;
863
+ } | undefined;
864
+ comparePeriod?: "previous_period" | "previous_day" | "previous_week" | undefined;
865
+ }, {
866
+ value: number | null;
867
+ previousValue?: number | null | undefined;
868
+ changePercent?: number | null | undefined;
869
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
870
+ name: z.ZodArray<z.ZodString>;
871
+ aggregation: z.ZodEnum<{
872
+ sum: "sum";
873
+ avg: "avg";
874
+ min: "min";
875
+ max: "max";
876
+ count: "count";
877
+ last: "last";
878
+ }>;
879
+ filters: z.ZodOptional<z.ZodObject<{
880
+ name: z.ZodOptional<z.ZodArray<z.ZodString>>;
881
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
882
+ parentEntityName: z.ZodOptional<z.ZodString>;
883
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
884
+ rootEntityName: z.ZodOptional<z.ZodString>;
885
+ runId: z.ZodOptional<z.ZodString>;
886
+ sessionId: z.ZodOptional<z.ZodString>;
887
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
888
+ timestamp: z.ZodOptional<z.ZodObject<{
889
+ start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
890
+ end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
891
+ startExclusive: z.ZodOptional<z.ZodBoolean>;
892
+ endExclusive: z.ZodOptional<z.ZodBoolean>;
893
+ }, z.core.$strip>>;
894
+ traceId: z.ZodOptional<z.ZodString>;
895
+ spanId: z.ZodOptional<z.ZodString>;
896
+ entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
897
+ entityName: z.ZodOptional<z.ZodString>;
898
+ userId: z.ZodOptional<z.ZodString>;
899
+ organizationId: z.ZodOptional<z.ZodString>;
900
+ experimentId: z.ZodOptional<z.ZodString>;
901
+ serviceName: z.ZodOptional<z.ZodString>;
902
+ environment: z.ZodOptional<z.ZodString>;
903
+ }, z.core.$strip>>;
904
+ comparePeriod: z.ZodOptional<z.ZodEnum<{
905
+ previous_period: "previous_period";
906
+ previous_day: "previous_day";
907
+ previous_week: "previous_week";
908
+ }>>;
909
+ }, z.core.$strip>, z.ZodObject<{
910
+ value: z.ZodNullable<z.ZodNumber>;
911
+ previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
912
+ changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
913
+ }, z.core.$strip>>, string, `/${string}`>;
914
+ GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRoute<{
915
+ name: string[];
916
+ groupBy: string[];
917
+ aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
918
+ filters?: {
919
+ name?: string[] | undefined;
920
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
921
+ parentEntityName?: string | undefined;
922
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
923
+ rootEntityName?: string | undefined;
924
+ runId?: string | undefined;
925
+ sessionId?: string | undefined;
926
+ labels?: Record<string, string> | undefined;
927
+ timestamp?: {
928
+ start?: Date | undefined;
929
+ end?: Date | undefined;
930
+ startExclusive?: boolean | undefined;
931
+ endExclusive?: boolean | undefined;
932
+ } | undefined;
933
+ traceId?: string | undefined;
934
+ spanId?: string | undefined;
935
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
936
+ entityName?: string | undefined;
937
+ userId?: string | undefined;
938
+ organizationId?: string | undefined;
939
+ experimentId?: string | undefined;
940
+ serviceName?: string | undefined;
941
+ environment?: string | undefined;
942
+ } | undefined;
943
+ }, {
944
+ groups: {
945
+ dimensions: Record<string, string | null>;
946
+ value: number;
947
+ }[];
948
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
949
+ name: z.ZodArray<z.ZodString>;
950
+ groupBy: z.ZodArray<z.ZodString>;
951
+ aggregation: z.ZodEnum<{
952
+ sum: "sum";
953
+ avg: "avg";
954
+ min: "min";
955
+ max: "max";
956
+ count: "count";
957
+ last: "last";
958
+ }>;
959
+ filters: z.ZodOptional<z.ZodObject<{
960
+ name: z.ZodOptional<z.ZodArray<z.ZodString>>;
961
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
962
+ parentEntityName: z.ZodOptional<z.ZodString>;
963
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
964
+ rootEntityName: z.ZodOptional<z.ZodString>;
965
+ runId: z.ZodOptional<z.ZodString>;
966
+ sessionId: z.ZodOptional<z.ZodString>;
967
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
968
+ timestamp: z.ZodOptional<z.ZodObject<{
969
+ start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
970
+ end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
971
+ startExclusive: z.ZodOptional<z.ZodBoolean>;
972
+ endExclusive: z.ZodOptional<z.ZodBoolean>;
973
+ }, z.core.$strip>>;
974
+ traceId: z.ZodOptional<z.ZodString>;
975
+ spanId: z.ZodOptional<z.ZodString>;
976
+ entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
977
+ entityName: z.ZodOptional<z.ZodString>;
978
+ userId: z.ZodOptional<z.ZodString>;
979
+ organizationId: z.ZodOptional<z.ZodString>;
980
+ experimentId: z.ZodOptional<z.ZodString>;
981
+ serviceName: z.ZodOptional<z.ZodString>;
982
+ environment: z.ZodOptional<z.ZodString>;
983
+ }, z.core.$strip>>;
984
+ }, z.core.$strip>, z.ZodObject<{
985
+ groups: z.ZodArray<z.ZodObject<{
986
+ dimensions: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
987
+ value: z.ZodNumber;
988
+ }, z.core.$strip>>;
989
+ }, z.core.$strip>>, string, `/${string}`>;
990
+ GET_METRIC_TIME_SERIES: import("../server-adapter").ServerRoute<{
991
+ name: string[];
992
+ interval: "5m" | "1h" | "1m" | "15m" | "1d";
993
+ aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
994
+ filters?: {
995
+ name?: string[] | undefined;
996
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
997
+ parentEntityName?: string | undefined;
998
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
999
+ rootEntityName?: string | undefined;
1000
+ runId?: string | undefined;
1001
+ sessionId?: string | undefined;
1002
+ labels?: Record<string, string> | undefined;
1003
+ timestamp?: {
1004
+ start?: Date | undefined;
1005
+ end?: Date | undefined;
1006
+ startExclusive?: boolean | undefined;
1007
+ endExclusive?: boolean | undefined;
1008
+ } | undefined;
1009
+ traceId?: string | undefined;
1010
+ spanId?: string | undefined;
1011
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1012
+ entityName?: string | undefined;
1013
+ userId?: string | undefined;
1014
+ organizationId?: string | undefined;
1015
+ experimentId?: string | undefined;
1016
+ serviceName?: string | undefined;
1017
+ environment?: string | undefined;
1018
+ } | undefined;
1019
+ groupBy?: string[] | undefined;
1020
+ }, {
1021
+ series: {
1022
+ name: string;
1023
+ points: {
1024
+ timestamp: Date;
1025
+ value: number;
1026
+ }[];
1027
+ }[];
1028
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
1029
+ name: z.ZodArray<z.ZodString>;
1030
+ interval: z.ZodEnum<{
1031
+ "1m": "1m";
1032
+ "5m": "5m";
1033
+ "15m": "15m";
1034
+ "1h": "1h";
1035
+ "1d": "1d";
1036
+ }>;
1037
+ aggregation: z.ZodEnum<{
1038
+ sum: "sum";
1039
+ avg: "avg";
1040
+ min: "min";
1041
+ max: "max";
1042
+ count: "count";
1043
+ last: "last";
1044
+ }>;
1045
+ filters: z.ZodOptional<z.ZodObject<{
1046
+ name: z.ZodOptional<z.ZodArray<z.ZodString>>;
1047
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1048
+ parentEntityName: z.ZodOptional<z.ZodString>;
1049
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1050
+ rootEntityName: z.ZodOptional<z.ZodString>;
1051
+ runId: z.ZodOptional<z.ZodString>;
1052
+ sessionId: z.ZodOptional<z.ZodString>;
1053
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1054
+ timestamp: z.ZodOptional<z.ZodObject<{
1055
+ start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1056
+ end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1057
+ startExclusive: z.ZodOptional<z.ZodBoolean>;
1058
+ endExclusive: z.ZodOptional<z.ZodBoolean>;
1059
+ }, z.core.$strip>>;
1060
+ traceId: z.ZodOptional<z.ZodString>;
1061
+ spanId: z.ZodOptional<z.ZodString>;
1062
+ entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1063
+ entityName: z.ZodOptional<z.ZodString>;
1064
+ userId: z.ZodOptional<z.ZodString>;
1065
+ organizationId: z.ZodOptional<z.ZodString>;
1066
+ experimentId: z.ZodOptional<z.ZodString>;
1067
+ serviceName: z.ZodOptional<z.ZodString>;
1068
+ environment: z.ZodOptional<z.ZodString>;
1069
+ }, z.core.$strip>>;
1070
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1071
+ }, z.core.$strip>, z.ZodObject<{
1072
+ series: z.ZodArray<z.ZodObject<{
1073
+ name: z.ZodString;
1074
+ points: z.ZodArray<z.ZodObject<{
1075
+ timestamp: z.ZodDate;
1076
+ value: z.ZodNumber;
1077
+ }, z.core.$strip>>;
1078
+ }, z.core.$strip>>;
1079
+ }, z.core.$strip>>, string, `/${string}`>;
1080
+ GET_METRIC_PERCENTILES: import("../server-adapter").ServerRoute<{
1081
+ name: string;
1082
+ percentiles: number[];
1083
+ interval: "5m" | "1h" | "1m" | "15m" | "1d";
1084
+ filters?: {
1085
+ name?: string[] | undefined;
1086
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1087
+ parentEntityName?: string | undefined;
1088
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1089
+ rootEntityName?: string | undefined;
1090
+ runId?: string | undefined;
1091
+ sessionId?: string | undefined;
1092
+ labels?: Record<string, string> | undefined;
1093
+ timestamp?: {
1094
+ start?: Date | undefined;
1095
+ end?: Date | undefined;
1096
+ startExclusive?: boolean | undefined;
1097
+ endExclusive?: boolean | undefined;
1098
+ } | undefined;
1099
+ traceId?: string | undefined;
1100
+ spanId?: string | undefined;
1101
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1102
+ entityName?: string | undefined;
1103
+ userId?: string | undefined;
1104
+ organizationId?: string | undefined;
1105
+ experimentId?: string | undefined;
1106
+ serviceName?: string | undefined;
1107
+ environment?: string | undefined;
1108
+ } | undefined;
1109
+ }, {
1110
+ series: {
1111
+ percentile: number;
1112
+ points: {
1113
+ timestamp: Date;
1114
+ value: number;
1115
+ }[];
1116
+ }[];
1117
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
1118
+ name: z.ZodString;
1119
+ percentiles: z.ZodArray<z.ZodNumber>;
1120
+ interval: z.ZodEnum<{
1121
+ "1m": "1m";
1122
+ "5m": "5m";
1123
+ "15m": "15m";
1124
+ "1h": "1h";
1125
+ "1d": "1d";
1126
+ }>;
1127
+ filters: z.ZodOptional<z.ZodObject<{
1128
+ name: z.ZodOptional<z.ZodArray<z.ZodString>>;
1129
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1130
+ parentEntityName: z.ZodOptional<z.ZodString>;
1131
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1132
+ rootEntityName: z.ZodOptional<z.ZodString>;
1133
+ runId: z.ZodOptional<z.ZodString>;
1134
+ sessionId: z.ZodOptional<z.ZodString>;
1135
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1136
+ timestamp: z.ZodOptional<z.ZodObject<{
1137
+ start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1138
+ end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1139
+ startExclusive: z.ZodOptional<z.ZodBoolean>;
1140
+ endExclusive: z.ZodOptional<z.ZodBoolean>;
1141
+ }, z.core.$strip>>;
1142
+ traceId: z.ZodOptional<z.ZodString>;
1143
+ spanId: z.ZodOptional<z.ZodString>;
1144
+ entityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1145
+ entityName: z.ZodOptional<z.ZodString>;
1146
+ userId: z.ZodOptional<z.ZodString>;
1147
+ organizationId: z.ZodOptional<z.ZodString>;
1148
+ experimentId: z.ZodOptional<z.ZodString>;
1149
+ serviceName: z.ZodOptional<z.ZodString>;
1150
+ environment: z.ZodOptional<z.ZodString>;
1151
+ }, z.core.$strip>>;
1152
+ }, z.core.$strip>, z.ZodObject<{
1153
+ series: z.ZodArray<z.ZodObject<{
1154
+ percentile: z.ZodNumber;
1155
+ points: z.ZodArray<z.ZodObject<{
1156
+ timestamp: z.ZodDate;
1157
+ value: z.ZodNumber;
1158
+ }, z.core.$strip>>;
1159
+ }, z.core.$strip>>;
1160
+ }, z.core.$strip>>, string, `/${string}`>;
1161
+ GET_METRIC_NAMES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
1162
+ names: string[];
1163
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
1164
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1165
+ }>, z.core.$strip>, undefined, z.ZodObject<{
1166
+ names: z.ZodArray<z.ZodString>;
1167
+ }, z.core.$strip>>, string, `/${string}`>;
1168
+ GET_METRIC_LABEL_KEYS: import("../server-adapter").ServerRoute<Record<string, unknown>, {
1169
+ keys: string[];
1170
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
1171
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1172
+ }>, z.core.$strip>, undefined, z.ZodObject<{
1173
+ keys: z.ZodArray<z.ZodString>;
1174
+ }, z.core.$strip>>, string, `/${string}`>;
1175
+ GET_METRIC_LABEL_VALUES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
1176
+ values: string[];
1177
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
1178
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1179
+ }>, z.core.$strip>, undefined, z.ZodObject<{
1180
+ values: z.ZodArray<z.ZodString>;
1181
+ }, z.core.$strip>>, string, `/${string}`>;
1182
+ GET_ENTITY_TYPES: import("../server-adapter").ServerRoute<{}, {
1183
+ entityTypes: import("../../_types/@internal_core/dist/index.js").EntityType[];
1184
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, undefined, z.ZodObject<{
1185
+ entityTypes: z.ZodArray<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1186
+ }, z.core.$strip>>, string, `/${string}`>;
1187
+ GET_ENTITY_NAMES: import("../server-adapter").ServerRoute<Record<string, unknown>, {
1188
+ names: string[];
1189
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
1190
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1191
+ }>, z.core.$strip>, undefined, z.ZodObject<{
1192
+ names: z.ZodArray<z.ZodString>;
1193
+ }, z.core.$strip>>, string, `/${string}`>;
1194
+ GET_SERVICE_NAMES: import("../server-adapter").ServerRoute<{}, {
1195
+ serviceNames: string[];
1196
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, undefined, z.ZodObject<{
1197
+ serviceNames: z.ZodArray<z.ZodString>;
1198
+ }, z.core.$strip>>, string, `/${string}`>;
1199
+ GET_ENVIRONMENTS: import("../server-adapter").ServerRoute<{}, {
1200
+ environments: string[];
1201
+ }, "json", import("../server-adapter").RouteSchemas<undefined, undefined, undefined, z.ZodObject<{
1202
+ environments: z.ZodArray<z.ZodString>;
1203
+ }, z.core.$strip>>, string, `/${string}`>;
1204
+ GET_TAGS: import("../server-adapter").ServerRoute<Record<string, unknown>, {
1205
+ tags: string[];
1206
+ }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
1207
+ [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1208
+ }>, z.core.$strip>, undefined, z.ZodObject<{
1209
+ tags: z.ZodArray<z.ZodString>;
1210
+ }, z.core.$strip>>, string, `/${string}`>;
1211
+ };
1212
+ //# sourceMappingURL=observability-new-endpoints.d.ts.map