@mastra/server 1.18.0-alpha.2 → 1.18.0-alpha.4

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 (164) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/_types/@internal_core/dist/index.d.ts +521 -172
  3. package/dist/{chunk-NCCK5NVX.cjs → chunk-2HOVE4YF.cjs} +4 -4
  4. package/dist/{chunk-NCCK5NVX.cjs.map → chunk-2HOVE4YF.cjs.map} +1 -1
  5. package/dist/{chunk-E56FRMZY.js → chunk-3PYG4YYL.js} +3 -3
  6. package/dist/{chunk-E56FRMZY.js.map → chunk-3PYG4YYL.js.map} +1 -1
  7. package/dist/{chunk-YKS5HCGB.js → chunk-3XXKCBEU.js} +4 -4
  8. package/dist/{chunk-YKS5HCGB.js.map → chunk-3XXKCBEU.js.map} +1 -1
  9. package/dist/{chunk-FGZC4JP7.js → chunk-42OVSPQK.js} +575 -34
  10. package/dist/chunk-42OVSPQK.js.map +1 -0
  11. package/dist/{chunk-ULLR3RN3.cjs → chunk-42UIDILO.cjs} +4 -4
  12. package/dist/{chunk-ULLR3RN3.cjs.map → chunk-42UIDILO.cjs.map} +1 -1
  13. package/dist/{chunk-NOBDUHIG.cjs → chunk-4LOHS62D.cjs} +3 -3
  14. package/dist/{chunk-NOBDUHIG.cjs.map → chunk-4LOHS62D.cjs.map} +1 -1
  15. package/dist/{chunk-WIQDQTKG.cjs → chunk-4NTRDFFE.cjs} +6 -6
  16. package/dist/{chunk-WIQDQTKG.cjs.map → chunk-4NTRDFFE.cjs.map} +1 -1
  17. package/dist/{chunk-JL6JURL5.js → chunk-6M5HZQQV.js} +4 -4
  18. package/dist/{chunk-JL6JURL5.js.map → chunk-6M5HZQQV.js.map} +1 -1
  19. package/dist/{chunk-NTZOZIKF.cjs → chunk-7EOHGXMP.cjs} +603 -62
  20. package/dist/chunk-7EOHGXMP.cjs.map +1 -0
  21. package/dist/{chunk-4NRXB7VI.js → chunk-AUSQGJ52.js} +3 -3
  22. package/dist/{chunk-4NRXB7VI.js.map → chunk-AUSQGJ52.js.map} +1 -1
  23. package/dist/{chunk-G2ZZKKQI.js → chunk-B5DA5QVZ.js} +4 -4
  24. package/dist/{chunk-G2ZZKKQI.js.map → chunk-B5DA5QVZ.js.map} +1 -1
  25. package/dist/{chunk-AHOZXQZ5.js → chunk-BX372Y6T.js} +100 -38
  26. package/dist/chunk-BX372Y6T.js.map +1 -0
  27. package/dist/{chunk-6H7FQ4CY.cjs → chunk-CHQVMEZ3.cjs} +7 -4
  28. package/dist/chunk-CHQVMEZ3.cjs.map +1 -0
  29. package/dist/{chunk-4Q2QV27C.js → chunk-CMTOQQZD.js} +7 -4
  30. package/dist/chunk-CMTOQQZD.js.map +1 -0
  31. package/dist/{chunk-SCHPGBMK.js → chunk-DTJJFVTS.js} +5 -5
  32. package/dist/{chunk-SCHPGBMK.js.map → chunk-DTJJFVTS.js.map} +1 -1
  33. package/dist/{chunk-CL24HN6K.cjs → chunk-FQHTXKF6.cjs} +21 -21
  34. package/dist/{chunk-CL24HN6K.cjs.map → chunk-FQHTXKF6.cjs.map} +1 -1
  35. package/dist/{chunk-K7S4XDX6.js → chunk-GIRVVQTS.js} +3 -3
  36. package/dist/{chunk-K7S4XDX6.js.map → chunk-GIRVVQTS.js.map} +1 -1
  37. package/dist/{chunk-ZKXIAID6.js → chunk-HEJ53V64.js} +4 -4
  38. package/dist/{chunk-ZKXIAID6.js.map → chunk-HEJ53V64.js.map} +1 -1
  39. package/dist/{chunk-DJQT32SV.cjs → chunk-HUAXEKGI.cjs} +353 -105
  40. package/dist/chunk-HUAXEKGI.cjs.map +1 -0
  41. package/dist/{chunk-ATZ7V3XS.js → chunk-IFSINB5S.js} +3 -3
  42. package/dist/{chunk-ATZ7V3XS.js.map → chunk-IFSINB5S.js.map} +1 -1
  43. package/dist/{chunk-Z36FXNDQ.cjs → chunk-IOCKHUAA.cjs} +72 -68
  44. package/dist/chunk-IOCKHUAA.cjs.map +1 -0
  45. package/dist/{chunk-HBMIUVV4.cjs → chunk-JD5ZGRBN.cjs} +3 -3
  46. package/dist/{chunk-HBMIUVV4.cjs.map → chunk-JD5ZGRBN.cjs.map} +1 -1
  47. package/dist/{chunk-WUCJRGTK.cjs → chunk-LCA2MLVR.cjs} +3 -3
  48. package/dist/{chunk-WUCJRGTK.cjs.map → chunk-LCA2MLVR.cjs.map} +1 -1
  49. package/dist/{chunk-M6AQTASN.js → chunk-LDIPV66L.js} +3 -3
  50. package/dist/{chunk-M6AQTASN.js.map → chunk-LDIPV66L.js.map} +1 -1
  51. package/dist/{chunk-UFK5THVP.cjs → chunk-N4PIAZEA.cjs} +4 -4
  52. package/dist/{chunk-UFK5THVP.cjs.map → chunk-N4PIAZEA.cjs.map} +1 -1
  53. package/dist/{chunk-HI5EDX3F.js → chunk-NCHR6DGR.js} +3 -3
  54. package/dist/{chunk-HI5EDX3F.js.map → chunk-NCHR6DGR.js.map} +1 -1
  55. package/dist/{chunk-JH576GTI.cjs → chunk-NEB3TPME.cjs} +3 -3
  56. package/dist/{chunk-JH576GTI.cjs.map → chunk-NEB3TPME.cjs.map} +1 -1
  57. package/dist/{chunk-FB5NRM2M.js → chunk-NS5TM6YM.js} +3 -3
  58. package/dist/{chunk-FB5NRM2M.js.map → chunk-NS5TM6YM.js.map} +1 -1
  59. package/dist/{chunk-TYYGY4H4.cjs → chunk-OFI7WQSK.cjs} +4 -4
  60. package/dist/{chunk-TYYGY4H4.cjs.map → chunk-OFI7WQSK.cjs.map} +1 -1
  61. package/dist/{chunk-YEYWCSMW.cjs → chunk-PGPTFBZ3.cjs} +7 -7
  62. package/dist/{chunk-YEYWCSMW.cjs.map → chunk-PGPTFBZ3.cjs.map} +1 -1
  63. package/dist/{chunk-QJZOWORS.js → chunk-PV7IUA6N.js} +3 -3
  64. package/dist/{chunk-QJZOWORS.js.map → chunk-PV7IUA6N.js.map} +1 -1
  65. package/dist/{chunk-YV7FX2SA.cjs → chunk-S5PRNKVT.cjs} +3 -3
  66. package/dist/{chunk-YV7FX2SA.cjs.map → chunk-S5PRNKVT.cjs.map} +1 -1
  67. package/dist/{chunk-6MYRF6QR.js → chunk-SECEXHY4.js} +12 -8
  68. package/dist/chunk-SECEXHY4.js.map +1 -0
  69. package/dist/{chunk-MH2WUZWZ.js → chunk-SEPFGGZQ.js} +4 -4
  70. package/dist/{chunk-MH2WUZWZ.js.map → chunk-SEPFGGZQ.js.map} +1 -1
  71. package/dist/{chunk-4G5KVXN6.cjs → chunk-SIPQHHIE.cjs} +7 -7
  72. package/dist/{chunk-4G5KVXN6.cjs.map → chunk-SIPQHHIE.cjs.map} +1 -1
  73. package/dist/{chunk-3W54ZNYP.cjs → chunk-SUZOB46P.cjs} +4 -4
  74. package/dist/{chunk-3W54ZNYP.cjs.map → chunk-SUZOB46P.cjs.map} +1 -1
  75. package/dist/{chunk-PTTPRMT3.cjs → chunk-TEAYHLYJ.cjs} +100 -38
  76. package/dist/chunk-TEAYHLYJ.cjs.map +1 -0
  77. package/dist/{chunk-MKW43AJ3.js → chunk-TWILU7Q5.js} +4 -4
  78. package/dist/{chunk-MKW43AJ3.js.map → chunk-TWILU7Q5.js.map} +1 -1
  79. package/dist/{chunk-A5J2TY2W.cjs → chunk-U4GMLJ6B.cjs} +3 -3
  80. package/dist/{chunk-A5J2TY2W.cjs.map → chunk-U4GMLJ6B.cjs.map} +1 -1
  81. package/dist/{chunk-3BRCE7JC.cjs → chunk-VDAG64VF.cjs} +5 -5
  82. package/dist/{chunk-3BRCE7JC.cjs.map → chunk-VDAG64VF.cjs.map} +1 -1
  83. package/dist/{chunk-K6RNBFGH.js → chunk-VOCUA2P2.js} +4 -4
  84. package/dist/{chunk-K6RNBFGH.js.map → chunk-VOCUA2P2.js.map} +1 -1
  85. package/dist/{chunk-PVUR75AM.js → chunk-YUTITKH2.js} +353 -105
  86. package/dist/chunk-YUTITKH2.js.map +1 -0
  87. package/dist/{chunk-FPEX6KOJ.cjs → chunk-ZEQ3ZL2T.cjs} +4 -4
  88. package/dist/{chunk-FPEX6KOJ.cjs.map → chunk-ZEQ3ZL2T.cjs.map} +1 -1
  89. package/dist/{chunk-4D7KSU4X.js → chunk-ZL4KCUCN.js} +4 -4
  90. package/dist/{chunk-4D7KSU4X.js.map → chunk-ZL4KCUCN.js.map} +1 -1
  91. package/dist/docs/SKILL.md +1 -1
  92. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  93. package/dist/{observational-memory-UGDENJPE-NVMIXNI4.js → observational-memory-SN7GKMHZ-IWVBFBS6.js} +3 -3
  94. package/dist/{observational-memory-UGDENJPE-NVMIXNI4.js.map → observational-memory-SN7GKMHZ-IWVBFBS6.js.map} +1 -1
  95. package/dist/{observational-memory-UGDENJPE-DM3C7ZXI.cjs → observational-memory-SN7GKMHZ-WOK4TGDH.cjs} +26 -26
  96. package/dist/{observational-memory-UGDENJPE-DM3C7ZXI.cjs.map → observational-memory-SN7GKMHZ-WOK4TGDH.cjs.map} +1 -1
  97. package/dist/server/handlers/a2a.cjs +9 -9
  98. package/dist/server/handlers/a2a.js +1 -1
  99. package/dist/server/handlers/agent-builder.cjs +16 -16
  100. package/dist/server/handlers/agent-builder.js +1 -1
  101. package/dist/server/handlers/agent-versions.cjs +8 -8
  102. package/dist/server/handlers/agent-versions.js +1 -1
  103. package/dist/server/handlers/agents.cjs +33 -33
  104. package/dist/server/handlers/agents.js +1 -1
  105. package/dist/server/handlers/datasets.cjs +26 -26
  106. package/dist/server/handlers/datasets.d.ts +12 -0
  107. package/dist/server/handlers/datasets.d.ts.map +1 -1
  108. package/dist/server/handlers/datasets.js +1 -1
  109. package/dist/server/handlers/logs.cjs +4 -4
  110. package/dist/server/handlers/logs.js +1 -1
  111. package/dist/server/handlers/mcp-client-versions.cjs +8 -8
  112. package/dist/server/handlers/mcp-client-versions.js +1 -1
  113. package/dist/server/handlers/observability-new-endpoints.cjs +19 -19
  114. package/dist/server/handlers/observability-new-endpoints.d.ts +596 -224
  115. package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
  116. package/dist/server/handlers/observability-new-endpoints.js +1 -1
  117. package/dist/server/handlers/observability.cjs +24 -24
  118. package/dist/server/handlers/observability.d.ts +4 -4
  119. package/dist/server/handlers/observability.js +2 -2
  120. package/dist/server/handlers/prompt-block-versions.cjs +8 -8
  121. package/dist/server/handlers/prompt-block-versions.js +1 -1
  122. package/dist/server/handlers/scorer-versions.cjs +8 -8
  123. package/dist/server/handlers/scorer-versions.js +1 -1
  124. package/dist/server/handlers/scores.cjs +7 -7
  125. package/dist/server/handlers/scores.js +1 -1
  126. package/dist/server/handlers/stored-agents.cjs +7 -7
  127. package/dist/server/handlers/stored-agents.js +1 -1
  128. package/dist/server/handlers/stored-mcp-clients.cjs +6 -6
  129. package/dist/server/handlers/stored-mcp-clients.js +1 -1
  130. package/dist/server/handlers/stored-prompt-blocks.cjs +6 -6
  131. package/dist/server/handlers/stored-prompt-blocks.js +1 -1
  132. package/dist/server/handlers/stored-scorers.cjs +6 -6
  133. package/dist/server/handlers/stored-scorers.js +1 -1
  134. package/dist/server/handlers/stored-workspaces.cjs +6 -6
  135. package/dist/server/handlers/stored-workspaces.js +1 -1
  136. package/dist/server/handlers/tools.cjs +6 -6
  137. package/dist/server/handlers/tools.js +1 -1
  138. package/dist/server/handlers/voice.cjs +8 -8
  139. package/dist/server/handlers/voice.js +1 -1
  140. package/dist/server/handlers/workflows.cjs +24 -24
  141. package/dist/server/handlers/workflows.js +1 -1
  142. package/dist/server/handlers.cjs +30 -30
  143. package/dist/server/handlers.js +11 -11
  144. package/dist/server/schemas/datasets.d.ts +4 -0
  145. package/dist/server/schemas/datasets.d.ts.map +1 -1
  146. package/dist/server/schemas/index.cjs +419 -419
  147. package/dist/server/schemas/index.js +8 -8
  148. package/dist/server/server-adapter/index.cjs +205 -205
  149. package/dist/server/server-adapter/index.js +23 -23
  150. package/dist/server/server-adapter/routes/datasets.d.ts +12 -0
  151. package/dist/server/server-adapter/routes/datasets.d.ts.map +1 -1
  152. package/dist/server/server-adapter/routes/observability.d.ts +302 -116
  153. package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
  154. package/package.json +3 -3
  155. package/dist/chunk-4Q2QV27C.js.map +0 -1
  156. package/dist/chunk-6H7FQ4CY.cjs.map +0 -1
  157. package/dist/chunk-6MYRF6QR.js.map +0 -1
  158. package/dist/chunk-AHOZXQZ5.js.map +0 -1
  159. package/dist/chunk-DJQT32SV.cjs.map +0 -1
  160. package/dist/chunk-FGZC4JP7.js.map +0 -1
  161. package/dist/chunk-NTZOZIKF.cjs.map +0 -1
  162. package/dist/chunk-PTTPRMT3.cjs.map +0 -1
  163. package/dist/chunk-PVUR75AM.js.map +0 -1
  164. package/dist/chunk-Z36FXNDQ.cjs.map +0 -1
@@ -10,8 +10,10 @@ export declare const LIST_LOGS: import("../server-adapter").ServerRoute<Record<s
10
10
  timestamp: Date;
11
11
  level: "debug" | "info" | "warn" | "error" | "fatal";
12
12
  message: string;
13
- tags?: string[] | null | undefined;
13
+ source?: string | null | undefined;
14
14
  metadata?: Record<string, unknown> | null | undefined;
15
+ executionSource?: string | null | undefined;
16
+ tags?: string[] | null | undefined;
15
17
  entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
16
18
  entityId?: string | null | undefined;
17
19
  entityName?: string | null | undefined;
@@ -29,7 +31,6 @@ export declare const LIST_LOGS: import("../server-adapter").ServerRoute<Record<s
29
31
  threadId?: string | null | undefined;
30
32
  requestId?: string | null | undefined;
31
33
  environment?: string | null | undefined;
32
- source?: string | null | undefined;
33
34
  serviceName?: string | null | undefined;
34
35
  scope?: Record<string, unknown> | null | undefined;
35
36
  experimentId?: string | null | undefined;
@@ -47,8 +48,10 @@ export declare const LIST_LOGS: import("../server-adapter").ServerRoute<Record<s
47
48
  hasMore: z.ZodBoolean;
48
49
  }, z.core.$strip>;
49
50
  logs: z.ZodArray<z.ZodObject<{
50
- tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
51
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
52
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
53
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
52
55
  entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
53
56
  entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
57
  entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -66,7 +69,6 @@ export declare const LIST_LOGS: import("../server-adapter").ServerRoute<Record<s
66
69
  threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
70
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
71
  environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
72
  serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
73
  scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
72
74
  experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -96,13 +98,35 @@ export declare const LIST_SCORES: import("../server-adapter").ServerRoute<Record
96
98
  traceId: string;
97
99
  scorerId: string;
98
100
  score: number;
101
+ scoreTraceId?: string | null | undefined;
102
+ metadata?: Record<string, unknown> | null | undefined;
103
+ executionSource?: string | null | undefined;
104
+ tags?: string[] | null | undefined;
105
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
106
+ entityId?: string | null | undefined;
107
+ entityName?: string | null | undefined;
108
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
109
+ parentEntityId?: string | null | undefined;
110
+ parentEntityName?: string | null | undefined;
111
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
112
+ rootEntityId?: string | null | undefined;
113
+ rootEntityName?: string | null | undefined;
114
+ userId?: string | null | undefined;
115
+ organizationId?: string | null | undefined;
116
+ resourceId?: string | null | undefined;
117
+ runId?: string | null | undefined;
118
+ sessionId?: string | null | undefined;
119
+ threadId?: string | null | undefined;
120
+ requestId?: string | null | undefined;
121
+ environment?: string | null | undefined;
122
+ serviceName?: string | null | undefined;
123
+ scope?: Record<string, unknown> | null | undefined;
124
+ experimentId?: string | null | undefined;
99
125
  spanId?: string | null | undefined;
100
126
  scorerVersion?: string | null | undefined;
127
+ scoreSource?: string | null | undefined;
101
128
  source?: string | null | undefined;
102
129
  reason?: string | null | undefined;
103
- experimentId?: string | null | undefined;
104
- scoreTraceId?: string | null | undefined;
105
- metadata?: Record<string, unknown> | null | undefined;
106
130
  }[];
107
131
  }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
108
132
  [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
@@ -114,17 +138,39 @@ export declare const LIST_SCORES: import("../server-adapter").ServerRoute<Record
114
138
  hasMore: z.ZodBoolean;
115
139
  }, z.core.$strip>;
116
140
  scores: z.ZodArray<z.ZodObject<{
141
+ scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
142
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
143
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
144
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
145
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
146
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
147
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
148
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
149
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
152
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
164
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
165
  timestamp: z.ZodDate;
118
166
  traceId: z.ZodString;
119
167
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
168
  scorerId: z.ZodString;
121
169
  scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
+ scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
171
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
172
  score: z.ZodNumber;
124
173
  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
174
  }, z.core.$strip>>;
129
175
  }, z.core.$strip>>, string, `/${string}`>;
130
176
  export declare const CREATE_SCORE: import("../server-adapter").ServerRoute<{
@@ -133,10 +179,32 @@ export declare const CREATE_SCORE: import("../server-adapter").ServerRoute<{
133
179
  scorerId: string;
134
180
  score: number;
135
181
  spanId?: string | null | undefined;
136
- metadata?: Record<string, unknown> | null | undefined;
137
182
  source?: string | null | undefined;
183
+ metadata?: Record<string, unknown> | null | undefined;
184
+ executionSource?: string | null | undefined;
185
+ tags?: string[] | null | undefined;
186
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
187
+ entityId?: string | null | undefined;
188
+ entityName?: string | null | undefined;
189
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
190
+ parentEntityId?: string | null | undefined;
191
+ parentEntityName?: string | null | undefined;
192
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
193
+ rootEntityId?: string | null | undefined;
194
+ rootEntityName?: string | null | undefined;
195
+ userId?: string | null | undefined;
196
+ organizationId?: string | null | undefined;
197
+ resourceId?: string | null | undefined;
198
+ runId?: string | null | undefined;
199
+ sessionId?: string | null | undefined;
200
+ threadId?: string | null | undefined;
201
+ requestId?: string | null | undefined;
202
+ environment?: string | null | undefined;
203
+ serviceName?: string | null | undefined;
204
+ scope?: Record<string, unknown> | null | undefined;
138
205
  experimentId?: string | null | undefined;
139
206
  scorerVersion?: string | null | undefined;
207
+ scoreSource?: string | null | undefined;
140
208
  reason?: string | null | undefined;
141
209
  scoreTraceId?: string | null | undefined;
142
210
  };
@@ -146,12 +214,34 @@ export declare const CREATE_SCORE: import("../server-adapter").ServerRoute<{
146
214
  score: z.ZodObject<{
147
215
  traceId: z.ZodString;
148
216
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
149
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
150
217
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
219
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
220
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
221
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
222
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
225
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
228
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
229
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
235
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
236
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
151
240
  experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
241
  scorerId: z.ZodString;
153
242
  score: z.ZodNumber;
154
243
  scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
245
  reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
246
  scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
247
  }, z.core.$strip>;
@@ -168,15 +258,37 @@ export declare const LIST_FEEDBACK: import("../server-adapter").ServerRoute<Reco
168
258
  feedback: {
169
259
  timestamp: Date;
170
260
  traceId: string;
171
- source: string;
172
261
  feedbackType: string;
173
262
  value: string | number;
174
- spanId?: string | null | undefined;
175
- comment?: string | null | undefined;
176
- experimentId?: string | null | undefined;
177
- userId?: string | null | undefined;
178
263
  sourceId?: string | null | undefined;
179
264
  metadata?: Record<string, unknown> | null | undefined;
265
+ executionSource?: string | null | undefined;
266
+ tags?: string[] | null | undefined;
267
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
268
+ entityId?: string | null | undefined;
269
+ entityName?: string | null | undefined;
270
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
271
+ parentEntityId?: string | null | undefined;
272
+ parentEntityName?: string | null | undefined;
273
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
274
+ rootEntityId?: string | null | undefined;
275
+ rootEntityName?: string | null | undefined;
276
+ userId?: string | null | undefined;
277
+ organizationId?: string | null | undefined;
278
+ resourceId?: string | null | undefined;
279
+ runId?: string | null | undefined;
280
+ sessionId?: string | null | undefined;
281
+ threadId?: string | null | undefined;
282
+ requestId?: string | null | undefined;
283
+ environment?: string | null | undefined;
284
+ serviceName?: string | null | undefined;
285
+ scope?: Record<string, unknown> | null | undefined;
286
+ experimentId?: string | null | undefined;
287
+ spanId?: string | null | undefined;
288
+ feedbackSource?: string | null | undefined;
289
+ source?: string | null | undefined;
290
+ comment?: string | null | undefined;
291
+ feedbackUserId?: string | null | undefined;
180
292
  }[];
181
293
  }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
182
294
  [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
@@ -188,29 +300,73 @@ export declare const LIST_FEEDBACK: import("../server-adapter").ServerRoute<Reco
188
300
  hasMore: z.ZodBoolean;
189
301
  }, z.core.$strip>;
190
302
  feedback: z.ZodArray<z.ZodObject<{
303
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
305
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
306
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
307
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
308
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
310
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
311
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
312
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
313
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
314
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
315
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
322
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
323
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
325
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
326
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
327
  timestamp: z.ZodDate;
192
328
  traceId: z.ZodString;
193
329
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
- source: z.ZodString;
330
+ feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
332
  feedbackType: z.ZodString;
196
333
  value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
197
334
  comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
- experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
- sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
335
+ feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
336
  }, z.core.$strip>>;
203
337
  }, z.core.$strip>>, string, `/${string}`>;
204
338
  export declare const CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{
205
339
  feedback: {
206
340
  value: string | number;
207
341
  traceId: string;
208
- source: string;
209
342
  feedbackType: string;
210
343
  spanId?: string | null | undefined;
344
+ source?: string | null | undefined;
211
345
  metadata?: Record<string, unknown> | null | undefined;
346
+ executionSource?: string | null | undefined;
347
+ tags?: string[] | null | undefined;
348
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
349
+ entityId?: string | null | undefined;
350
+ entityName?: string | null | undefined;
351
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
352
+ parentEntityId?: string | null | undefined;
353
+ parentEntityName?: string | null | undefined;
354
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
355
+ rootEntityId?: string | null | undefined;
356
+ rootEntityName?: string | null | undefined;
212
357
  userId?: string | null | undefined;
358
+ organizationId?: string | null | undefined;
359
+ resourceId?: string | null | undefined;
360
+ runId?: string | null | undefined;
361
+ sessionId?: string | null | undefined;
362
+ threadId?: string | null | undefined;
363
+ requestId?: string | null | undefined;
364
+ environment?: string | null | undefined;
365
+ serviceName?: string | null | undefined;
366
+ scope?: Record<string, unknown> | null | undefined;
213
367
  experimentId?: string | null | undefined;
368
+ feedbackUserId?: string | null | undefined;
369
+ feedbackSource?: string | null | undefined;
214
370
  comment?: string | null | undefined;
215
371
  sourceId?: string | null | undefined;
216
372
  };
@@ -221,11 +377,33 @@ export declare const CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{
221
377
  value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
222
378
  traceId: z.ZodString;
223
379
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
380
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
381
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
382
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
383
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
384
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
385
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
386
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
387
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
388
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
389
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
390
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
391
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
392
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
393
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
- source: z.ZodString;
394
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
395
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
396
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
397
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
398
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
399
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
402
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
227
403
  experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
+ feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
405
  feedbackType: z.ZodString;
406
+ feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
229
407
  comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
408
  sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
409
  }, z.core.$strip>;
@@ -237,21 +415,11 @@ export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRou
237
415
  aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
238
416
  filters?: {
239
417
  name?: string[] | undefined;
418
+ source?: string | undefined;
240
419
  provider?: string | undefined;
241
420
  model?: string | undefined;
242
421
  costUnit?: string | undefined;
243
422
  labels?: Record<string, string> | undefined;
244
- parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
245
- parentEntityName?: string | undefined;
246
- rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
247
- rootEntityName?: string | undefined;
248
- resourceId?: string | undefined;
249
- runId?: string | undefined;
250
- sessionId?: string | undefined;
251
- threadId?: string | undefined;
252
- requestId?: string | undefined;
253
- source?: string | undefined;
254
- tags?: string[] | undefined;
255
423
  timestamp?: {
256
424
  start?: Date | undefined;
257
425
  end?: Date | undefined;
@@ -267,6 +435,17 @@ export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRou
267
435
  experimentId?: string | undefined;
268
436
  serviceName?: string | undefined;
269
437
  environment?: string | undefined;
438
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
439
+ parentEntityName?: string | undefined;
440
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
441
+ rootEntityName?: string | undefined;
442
+ resourceId?: string | undefined;
443
+ runId?: string | undefined;
444
+ sessionId?: string | undefined;
445
+ threadId?: string | undefined;
446
+ requestId?: string | undefined;
447
+ executionSource?: string | undefined;
448
+ tags?: string[] | undefined;
270
449
  } | undefined;
271
450
  comparePeriod?: "previous_period" | "previous_day" | "previous_week" | undefined;
272
451
  }, {
@@ -289,21 +468,11 @@ export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRou
289
468
  }>;
290
469
  filters: z.ZodOptional<z.ZodObject<{
291
470
  name: z.ZodOptional<z.ZodArray<z.ZodString>>;
471
+ source: z.ZodOptional<z.ZodString>;
292
472
  provider: z.ZodOptional<z.ZodString>;
293
473
  model: z.ZodOptional<z.ZodString>;
294
474
  costUnit: z.ZodOptional<z.ZodString>;
295
475
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
296
- parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
297
- parentEntityName: z.ZodOptional<z.ZodString>;
298
- rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
299
- rootEntityName: z.ZodOptional<z.ZodString>;
300
- resourceId: z.ZodOptional<z.ZodString>;
301
- runId: z.ZodOptional<z.ZodString>;
302
- sessionId: z.ZodOptional<z.ZodString>;
303
- threadId: z.ZodOptional<z.ZodString>;
304
- requestId: z.ZodOptional<z.ZodString>;
305
- source: z.ZodOptional<z.ZodString>;
306
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
307
476
  timestamp: z.ZodOptional<z.ZodObject<{
308
477
  start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
309
478
  end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -319,6 +488,17 @@ export declare const GET_METRIC_AGGREGATE: import("../server-adapter").ServerRou
319
488
  experimentId: z.ZodOptional<z.ZodString>;
320
489
  serviceName: z.ZodOptional<z.ZodString>;
321
490
  environment: z.ZodOptional<z.ZodString>;
491
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
492
+ parentEntityName: z.ZodOptional<z.ZodString>;
493
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
494
+ rootEntityName: z.ZodOptional<z.ZodString>;
495
+ resourceId: z.ZodOptional<z.ZodString>;
496
+ runId: z.ZodOptional<z.ZodString>;
497
+ sessionId: z.ZodOptional<z.ZodString>;
498
+ threadId: z.ZodOptional<z.ZodString>;
499
+ requestId: z.ZodOptional<z.ZodString>;
500
+ executionSource: z.ZodOptional<z.ZodString>;
501
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
322
502
  }, z.core.$strip>>;
323
503
  comparePeriod: z.ZodOptional<z.ZodEnum<{
324
504
  previous_period: "previous_period";
@@ -340,21 +520,11 @@ export declare const GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRou
340
520
  aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
341
521
  filters?: {
342
522
  name?: string[] | undefined;
523
+ source?: string | undefined;
343
524
  provider?: string | undefined;
344
525
  model?: string | undefined;
345
526
  costUnit?: string | undefined;
346
527
  labels?: Record<string, string> | undefined;
347
- parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
348
- parentEntityName?: string | undefined;
349
- rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
350
- rootEntityName?: string | undefined;
351
- resourceId?: string | undefined;
352
- runId?: string | undefined;
353
- sessionId?: string | undefined;
354
- threadId?: string | undefined;
355
- requestId?: string | undefined;
356
- source?: string | undefined;
357
- tags?: string[] | undefined;
358
528
  timestamp?: {
359
529
  start?: Date | undefined;
360
530
  end?: Date | undefined;
@@ -370,6 +540,17 @@ export declare const GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRou
370
540
  experimentId?: string | undefined;
371
541
  serviceName?: string | undefined;
372
542
  environment?: string | undefined;
543
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
544
+ parentEntityName?: string | undefined;
545
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
546
+ rootEntityName?: string | undefined;
547
+ resourceId?: string | undefined;
548
+ runId?: string | undefined;
549
+ sessionId?: string | undefined;
550
+ threadId?: string | undefined;
551
+ requestId?: string | undefined;
552
+ executionSource?: string | undefined;
553
+ tags?: string[] | undefined;
373
554
  } | undefined;
374
555
  }, {
375
556
  groups: {
@@ -391,21 +572,11 @@ export declare const GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRou
391
572
  }>;
392
573
  filters: z.ZodOptional<z.ZodObject<{
393
574
  name: z.ZodOptional<z.ZodArray<z.ZodString>>;
575
+ source: z.ZodOptional<z.ZodString>;
394
576
  provider: z.ZodOptional<z.ZodString>;
395
577
  model: z.ZodOptional<z.ZodString>;
396
578
  costUnit: z.ZodOptional<z.ZodString>;
397
579
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
398
- parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
399
- parentEntityName: z.ZodOptional<z.ZodString>;
400
- rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
401
- rootEntityName: z.ZodOptional<z.ZodString>;
402
- resourceId: z.ZodOptional<z.ZodString>;
403
- runId: z.ZodOptional<z.ZodString>;
404
- sessionId: z.ZodOptional<z.ZodString>;
405
- threadId: z.ZodOptional<z.ZodString>;
406
- requestId: z.ZodOptional<z.ZodString>;
407
- source: z.ZodOptional<z.ZodString>;
408
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
409
580
  timestamp: z.ZodOptional<z.ZodObject<{
410
581
  start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
411
582
  end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -421,6 +592,17 @@ export declare const GET_METRIC_BREAKDOWN: import("../server-adapter").ServerRou
421
592
  experimentId: z.ZodOptional<z.ZodString>;
422
593
  serviceName: z.ZodOptional<z.ZodString>;
423
594
  environment: z.ZodOptional<z.ZodString>;
595
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
596
+ parentEntityName: z.ZodOptional<z.ZodString>;
597
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
598
+ rootEntityName: z.ZodOptional<z.ZodString>;
599
+ resourceId: z.ZodOptional<z.ZodString>;
600
+ runId: z.ZodOptional<z.ZodString>;
601
+ sessionId: z.ZodOptional<z.ZodString>;
602
+ threadId: z.ZodOptional<z.ZodString>;
603
+ requestId: z.ZodOptional<z.ZodString>;
604
+ executionSource: z.ZodOptional<z.ZodString>;
605
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
424
606
  }, z.core.$strip>>;
425
607
  }, z.core.$strip>, z.ZodObject<{
426
608
  groups: z.ZodArray<z.ZodObject<{
@@ -436,21 +618,11 @@ export declare const GET_METRIC_TIME_SERIES: import("../server-adapter").ServerR
436
618
  aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
437
619
  filters?: {
438
620
  name?: string[] | undefined;
621
+ source?: string | undefined;
439
622
  provider?: string | undefined;
440
623
  model?: string | undefined;
441
624
  costUnit?: string | undefined;
442
625
  labels?: Record<string, string> | undefined;
443
- parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
444
- parentEntityName?: string | undefined;
445
- rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
446
- rootEntityName?: string | undefined;
447
- resourceId?: string | undefined;
448
- runId?: string | undefined;
449
- sessionId?: string | undefined;
450
- threadId?: string | undefined;
451
- requestId?: string | undefined;
452
- source?: string | undefined;
453
- tags?: string[] | undefined;
454
626
  timestamp?: {
455
627
  start?: Date | undefined;
456
628
  end?: Date | undefined;
@@ -466,6 +638,17 @@ export declare const GET_METRIC_TIME_SERIES: import("../server-adapter").ServerR
466
638
  experimentId?: string | undefined;
467
639
  serviceName?: string | undefined;
468
640
  environment?: string | undefined;
641
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
642
+ parentEntityName?: string | undefined;
643
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
644
+ rootEntityName?: string | undefined;
645
+ resourceId?: string | undefined;
646
+ runId?: string | undefined;
647
+ sessionId?: string | undefined;
648
+ threadId?: string | undefined;
649
+ requestId?: string | undefined;
650
+ executionSource?: string | undefined;
651
+ tags?: string[] | undefined;
469
652
  } | undefined;
470
653
  groupBy?: string[] | undefined;
471
654
  }, {
@@ -497,21 +680,11 @@ export declare const GET_METRIC_TIME_SERIES: import("../server-adapter").ServerR
497
680
  }>;
498
681
  filters: z.ZodOptional<z.ZodObject<{
499
682
  name: z.ZodOptional<z.ZodArray<z.ZodString>>;
683
+ source: z.ZodOptional<z.ZodString>;
500
684
  provider: z.ZodOptional<z.ZodString>;
501
685
  model: z.ZodOptional<z.ZodString>;
502
686
  costUnit: z.ZodOptional<z.ZodString>;
503
687
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
504
- parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
505
- parentEntityName: z.ZodOptional<z.ZodString>;
506
- rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
507
- rootEntityName: z.ZodOptional<z.ZodString>;
508
- resourceId: z.ZodOptional<z.ZodString>;
509
- runId: z.ZodOptional<z.ZodString>;
510
- sessionId: z.ZodOptional<z.ZodString>;
511
- threadId: z.ZodOptional<z.ZodString>;
512
- requestId: z.ZodOptional<z.ZodString>;
513
- source: z.ZodOptional<z.ZodString>;
514
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
515
688
  timestamp: z.ZodOptional<z.ZodObject<{
516
689
  start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
517
690
  end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -527,6 +700,17 @@ export declare const GET_METRIC_TIME_SERIES: import("../server-adapter").ServerR
527
700
  experimentId: z.ZodOptional<z.ZodString>;
528
701
  serviceName: z.ZodOptional<z.ZodString>;
529
702
  environment: z.ZodOptional<z.ZodString>;
703
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
704
+ parentEntityName: z.ZodOptional<z.ZodString>;
705
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
706
+ rootEntityName: z.ZodOptional<z.ZodString>;
707
+ resourceId: z.ZodOptional<z.ZodString>;
708
+ runId: z.ZodOptional<z.ZodString>;
709
+ sessionId: z.ZodOptional<z.ZodString>;
710
+ threadId: z.ZodOptional<z.ZodString>;
711
+ requestId: z.ZodOptional<z.ZodString>;
712
+ executionSource: z.ZodOptional<z.ZodString>;
713
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
530
714
  }, z.core.$strip>>;
531
715
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
532
716
  }, z.core.$strip>, z.ZodObject<{
@@ -546,21 +730,11 @@ export declare const GET_METRIC_PERCENTILES: import("../server-adapter").ServerR
546
730
  interval: "5m" | "1h" | "1m" | "15m" | "1d";
547
731
  filters?: {
548
732
  name?: string[] | undefined;
733
+ source?: string | undefined;
549
734
  provider?: string | undefined;
550
735
  model?: string | undefined;
551
736
  costUnit?: string | undefined;
552
737
  labels?: Record<string, string> | undefined;
553
- parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
554
- parentEntityName?: string | undefined;
555
- rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
556
- rootEntityName?: string | undefined;
557
- resourceId?: string | undefined;
558
- runId?: string | undefined;
559
- sessionId?: string | undefined;
560
- threadId?: string | undefined;
561
- requestId?: string | undefined;
562
- source?: string | undefined;
563
- tags?: string[] | undefined;
564
738
  timestamp?: {
565
739
  start?: Date | undefined;
566
740
  end?: Date | undefined;
@@ -576,6 +750,17 @@ export declare const GET_METRIC_PERCENTILES: import("../server-adapter").ServerR
576
750
  experimentId?: string | undefined;
577
751
  serviceName?: string | undefined;
578
752
  environment?: string | undefined;
753
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
754
+ parentEntityName?: string | undefined;
755
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
756
+ rootEntityName?: string | undefined;
757
+ resourceId?: string | undefined;
758
+ runId?: string | undefined;
759
+ sessionId?: string | undefined;
760
+ threadId?: string | undefined;
761
+ requestId?: string | undefined;
762
+ executionSource?: string | undefined;
763
+ tags?: string[] | undefined;
579
764
  } | undefined;
580
765
  }, {
581
766
  series: {
@@ -597,21 +782,11 @@ export declare const GET_METRIC_PERCENTILES: import("../server-adapter").ServerR
597
782
  }>;
598
783
  filters: z.ZodOptional<z.ZodObject<{
599
784
  name: z.ZodOptional<z.ZodArray<z.ZodString>>;
785
+ source: z.ZodOptional<z.ZodString>;
600
786
  provider: z.ZodOptional<z.ZodString>;
601
787
  model: z.ZodOptional<z.ZodString>;
602
788
  costUnit: z.ZodOptional<z.ZodString>;
603
789
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
604
- parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
605
- parentEntityName: z.ZodOptional<z.ZodString>;
606
- rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
607
- rootEntityName: z.ZodOptional<z.ZodString>;
608
- resourceId: z.ZodOptional<z.ZodString>;
609
- runId: z.ZodOptional<z.ZodString>;
610
- sessionId: z.ZodOptional<z.ZodString>;
611
- threadId: z.ZodOptional<z.ZodString>;
612
- requestId: z.ZodOptional<z.ZodString>;
613
- source: z.ZodOptional<z.ZodString>;
614
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
615
790
  timestamp: z.ZodOptional<z.ZodObject<{
616
791
  start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
617
792
  end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -627,6 +802,17 @@ export declare const GET_METRIC_PERCENTILES: import("../server-adapter").ServerR
627
802
  experimentId: z.ZodOptional<z.ZodString>;
628
803
  serviceName: z.ZodOptional<z.ZodString>;
629
804
  environment: z.ZodOptional<z.ZodString>;
805
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
806
+ parentEntityName: z.ZodOptional<z.ZodString>;
807
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
808
+ rootEntityName: z.ZodOptional<z.ZodString>;
809
+ resourceId: z.ZodOptional<z.ZodString>;
810
+ runId: z.ZodOptional<z.ZodString>;
811
+ sessionId: z.ZodOptional<z.ZodString>;
812
+ threadId: z.ZodOptional<z.ZodString>;
813
+ requestId: z.ZodOptional<z.ZodString>;
814
+ executionSource: z.ZodOptional<z.ZodString>;
815
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
630
816
  }, z.core.$strip>>;
631
817
  }, z.core.$strip>, z.ZodObject<{
632
818
  series: z.ZodArray<z.ZodObject<{
@@ -699,8 +885,10 @@ export declare const NEW_ROUTES: {
699
885
  timestamp: Date;
700
886
  level: "debug" | "info" | "warn" | "error" | "fatal";
701
887
  message: string;
702
- tags?: string[] | null | undefined;
888
+ source?: string | null | undefined;
703
889
  metadata?: Record<string, unknown> | null | undefined;
890
+ executionSource?: string | null | undefined;
891
+ tags?: string[] | null | undefined;
704
892
  entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
705
893
  entityId?: string | null | undefined;
706
894
  entityName?: string | null | undefined;
@@ -718,7 +906,6 @@ export declare const NEW_ROUTES: {
718
906
  threadId?: string | null | undefined;
719
907
  requestId?: string | null | undefined;
720
908
  environment?: string | null | undefined;
721
- source?: string | null | undefined;
722
909
  serviceName?: string | null | undefined;
723
910
  scope?: Record<string, unknown> | null | undefined;
724
911
  experimentId?: string | null | undefined;
@@ -736,8 +923,10 @@ export declare const NEW_ROUTES: {
736
923
  hasMore: z.ZodBoolean;
737
924
  }, z.core.$strip>;
738
925
  logs: z.ZodArray<z.ZodObject<{
739
- tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
926
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
740
927
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
928
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
741
930
  entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
742
931
  entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
932
  entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -755,7 +944,6 @@ export declare const NEW_ROUTES: {
755
944
  threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
756
945
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
757
946
  environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
758
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
759
947
  serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
760
948
  scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
761
949
  experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -785,13 +973,35 @@ export declare const NEW_ROUTES: {
785
973
  traceId: string;
786
974
  scorerId: string;
787
975
  score: number;
976
+ scoreTraceId?: string | null | undefined;
977
+ metadata?: Record<string, unknown> | null | undefined;
978
+ executionSource?: string | null | undefined;
979
+ tags?: string[] | null | undefined;
980
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
981
+ entityId?: string | null | undefined;
982
+ entityName?: string | null | undefined;
983
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
984
+ parentEntityId?: string | null | undefined;
985
+ parentEntityName?: string | null | undefined;
986
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
987
+ rootEntityId?: string | null | undefined;
988
+ rootEntityName?: string | null | undefined;
989
+ userId?: string | null | undefined;
990
+ organizationId?: string | null | undefined;
991
+ resourceId?: string | null | undefined;
992
+ runId?: string | null | undefined;
993
+ sessionId?: string | null | undefined;
994
+ threadId?: string | null | undefined;
995
+ requestId?: string | null | undefined;
996
+ environment?: string | null | undefined;
997
+ serviceName?: string | null | undefined;
998
+ scope?: Record<string, unknown> | null | undefined;
999
+ experimentId?: string | null | undefined;
788
1000
  spanId?: string | null | undefined;
789
1001
  scorerVersion?: string | null | undefined;
1002
+ scoreSource?: string | null | undefined;
790
1003
  source?: string | null | undefined;
791
1004
  reason?: string | null | undefined;
792
- experimentId?: string | null | undefined;
793
- scoreTraceId?: string | null | undefined;
794
- metadata?: Record<string, unknown> | null | undefined;
795
1005
  }[];
796
1006
  }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
797
1007
  [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
@@ -803,17 +1013,39 @@ export declare const NEW_ROUTES: {
803
1013
  hasMore: z.ZodBoolean;
804
1014
  }, z.core.$strip>;
805
1015
  scores: z.ZodArray<z.ZodObject<{
1016
+ scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1017
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1018
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1019
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1020
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1021
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1022
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1023
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1024
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1025
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1026
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1027
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1028
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1029
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1030
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1031
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1032
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1033
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1034
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1035
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1036
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1037
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1038
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1039
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
806
1040
  timestamp: z.ZodDate;
807
1041
  traceId: z.ZodString;
808
1042
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
809
1043
  scorerId: z.ZodString;
810
1044
  scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
+ scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
811
1046
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
812
1047
  score: z.ZodNumber;
813
1048
  reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
814
- experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
815
- scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
816
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
817
1049
  }, z.core.$strip>>;
818
1050
  }, z.core.$strip>>, string, `/${string}`>;
819
1051
  CREATE_SCORE: import("../server-adapter").ServerRoute<{
@@ -822,10 +1054,32 @@ export declare const NEW_ROUTES: {
822
1054
  scorerId: string;
823
1055
  score: number;
824
1056
  spanId?: string | null | undefined;
825
- metadata?: Record<string, unknown> | null | undefined;
826
1057
  source?: string | null | undefined;
1058
+ metadata?: Record<string, unknown> | null | undefined;
1059
+ executionSource?: string | null | undefined;
1060
+ tags?: string[] | null | undefined;
1061
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
1062
+ entityId?: string | null | undefined;
1063
+ entityName?: string | null | undefined;
1064
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
1065
+ parentEntityId?: string | null | undefined;
1066
+ parentEntityName?: string | null | undefined;
1067
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
1068
+ rootEntityId?: string | null | undefined;
1069
+ rootEntityName?: string | null | undefined;
1070
+ userId?: string | null | undefined;
1071
+ organizationId?: string | null | undefined;
1072
+ resourceId?: string | null | undefined;
1073
+ runId?: string | null | undefined;
1074
+ sessionId?: string | null | undefined;
1075
+ threadId?: string | null | undefined;
1076
+ requestId?: string | null | undefined;
1077
+ environment?: string | null | undefined;
1078
+ serviceName?: string | null | undefined;
1079
+ scope?: Record<string, unknown> | null | undefined;
827
1080
  experimentId?: string | null | undefined;
828
1081
  scorerVersion?: string | null | undefined;
1082
+ scoreSource?: string | null | undefined;
829
1083
  reason?: string | null | undefined;
830
1084
  scoreTraceId?: string | null | undefined;
831
1085
  };
@@ -835,12 +1089,34 @@ export declare const NEW_ROUTES: {
835
1089
  score: z.ZodObject<{
836
1090
  traceId: z.ZodString;
837
1091
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
838
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
839
1092
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1093
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1094
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1095
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1096
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1097
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1098
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1099
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1100
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1101
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1102
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1103
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1104
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1105
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1106
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1107
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1108
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1109
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1110
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1111
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1112
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1113
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1114
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
840
1115
  experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
841
1116
  scorerId: z.ZodString;
842
1117
  score: z.ZodNumber;
843
1118
  scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1119
+ scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
844
1120
  reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
845
1121
  scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
846
1122
  }, z.core.$strip>;
@@ -857,15 +1133,37 @@ export declare const NEW_ROUTES: {
857
1133
  feedback: {
858
1134
  timestamp: Date;
859
1135
  traceId: string;
860
- source: string;
861
1136
  feedbackType: string;
862
1137
  value: string | number;
1138
+ sourceId?: string | null | undefined;
1139
+ metadata?: Record<string, unknown> | null | undefined;
1140
+ executionSource?: string | null | undefined;
1141
+ tags?: string[] | null | undefined;
1142
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
1143
+ entityId?: string | null | undefined;
1144
+ entityName?: string | null | undefined;
1145
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
1146
+ parentEntityId?: string | null | undefined;
1147
+ parentEntityName?: string | null | undefined;
1148
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
1149
+ rootEntityId?: string | null | undefined;
1150
+ rootEntityName?: string | null | undefined;
1151
+ userId?: string | null | undefined;
1152
+ organizationId?: string | null | undefined;
1153
+ resourceId?: string | null | undefined;
1154
+ runId?: string | null | undefined;
1155
+ sessionId?: string | null | undefined;
1156
+ threadId?: string | null | undefined;
1157
+ requestId?: string | null | undefined;
1158
+ environment?: string | null | undefined;
1159
+ serviceName?: string | null | undefined;
1160
+ scope?: Record<string, unknown> | null | undefined;
1161
+ experimentId?: string | null | undefined;
863
1162
  spanId?: string | null | undefined;
1163
+ feedbackSource?: string | null | undefined;
1164
+ source?: string | null | undefined;
864
1165
  comment?: string | null | undefined;
865
- experimentId?: string | null | undefined;
866
- userId?: string | null | undefined;
867
- sourceId?: string | null | undefined;
868
- metadata?: Record<string, unknown> | null | undefined;
1166
+ feedbackUserId?: string | null | undefined;
869
1167
  }[];
870
1168
  }, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
871
1169
  [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
@@ -877,29 +1175,73 @@ export declare const NEW_ROUTES: {
877
1175
  hasMore: z.ZodBoolean;
878
1176
  }, z.core.$strip>;
879
1177
  feedback: z.ZodArray<z.ZodObject<{
1178
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1179
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1180
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1181
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1182
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1183
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1184
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1185
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1186
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1187
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1188
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1189
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1190
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1191
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1192
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1193
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1194
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1195
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1196
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1197
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1198
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1199
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1200
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1201
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
880
1202
  timestamp: z.ZodDate;
881
1203
  traceId: z.ZodString;
882
1204
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
883
- source: z.ZodString;
1205
+ feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1206
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
884
1207
  feedbackType: z.ZodString;
885
1208
  value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
886
1209
  comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
887
- experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
888
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
889
- sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
890
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1210
+ feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
891
1211
  }, z.core.$strip>>;
892
1212
  }, z.core.$strip>>, string, `/${string}`>;
893
1213
  CREATE_FEEDBACK: import("../server-adapter").ServerRoute<{
894
1214
  feedback: {
895
1215
  value: string | number;
896
1216
  traceId: string;
897
- source: string;
898
1217
  feedbackType: string;
899
1218
  spanId?: string | null | undefined;
1219
+ source?: string | null | undefined;
900
1220
  metadata?: Record<string, unknown> | null | undefined;
1221
+ executionSource?: string | null | undefined;
1222
+ tags?: string[] | null | undefined;
1223
+ entityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
1224
+ entityId?: string | null | undefined;
1225
+ entityName?: string | null | undefined;
1226
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
1227
+ parentEntityId?: string | null | undefined;
1228
+ parentEntityName?: string | null | undefined;
1229
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | null | undefined;
1230
+ rootEntityId?: string | null | undefined;
1231
+ rootEntityName?: string | null | undefined;
901
1232
  userId?: string | null | undefined;
1233
+ organizationId?: string | null | undefined;
1234
+ resourceId?: string | null | undefined;
1235
+ runId?: string | null | undefined;
1236
+ sessionId?: string | null | undefined;
1237
+ threadId?: string | null | undefined;
1238
+ requestId?: string | null | undefined;
1239
+ environment?: string | null | undefined;
1240
+ serviceName?: string | null | undefined;
1241
+ scope?: Record<string, unknown> | null | undefined;
902
1242
  experimentId?: string | null | undefined;
1243
+ feedbackUserId?: string | null | undefined;
1244
+ feedbackSource?: string | null | undefined;
903
1245
  comment?: string | null | undefined;
904
1246
  sourceId?: string | null | undefined;
905
1247
  };
@@ -910,11 +1252,33 @@ export declare const NEW_ROUTES: {
910
1252
  value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
911
1253
  traceId: z.ZodString;
912
1254
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1255
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
913
1256
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1257
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1258
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1259
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1260
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1261
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1262
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1263
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1264
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1265
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>>;
1266
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1267
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
914
1268
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
915
- source: z.ZodString;
1269
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1270
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1271
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1272
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1273
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1275
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1276
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1277
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
916
1278
  experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1279
+ feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
917
1280
  feedbackType: z.ZodString;
1281
+ feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
918
1282
  comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
919
1283
  sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
920
1284
  }, z.core.$strip>;
@@ -926,21 +1290,11 @@ export declare const NEW_ROUTES: {
926
1290
  aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
927
1291
  filters?: {
928
1292
  name?: string[] | undefined;
1293
+ source?: string | undefined;
929
1294
  provider?: string | undefined;
930
1295
  model?: string | undefined;
931
1296
  costUnit?: string | undefined;
932
1297
  labels?: Record<string, string> | undefined;
933
- parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
934
- parentEntityName?: string | undefined;
935
- rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
936
- rootEntityName?: string | undefined;
937
- resourceId?: string | undefined;
938
- runId?: string | undefined;
939
- sessionId?: string | undefined;
940
- threadId?: string | undefined;
941
- requestId?: string | undefined;
942
- source?: string | undefined;
943
- tags?: string[] | undefined;
944
1298
  timestamp?: {
945
1299
  start?: Date | undefined;
946
1300
  end?: Date | undefined;
@@ -956,6 +1310,17 @@ export declare const NEW_ROUTES: {
956
1310
  experimentId?: string | undefined;
957
1311
  serviceName?: string | undefined;
958
1312
  environment?: string | undefined;
1313
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1314
+ parentEntityName?: string | undefined;
1315
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1316
+ rootEntityName?: string | undefined;
1317
+ resourceId?: string | undefined;
1318
+ runId?: string | undefined;
1319
+ sessionId?: string | undefined;
1320
+ threadId?: string | undefined;
1321
+ requestId?: string | undefined;
1322
+ executionSource?: string | undefined;
1323
+ tags?: string[] | undefined;
959
1324
  } | undefined;
960
1325
  comparePeriod?: "previous_period" | "previous_day" | "previous_week" | undefined;
961
1326
  }, {
@@ -978,21 +1343,11 @@ export declare const NEW_ROUTES: {
978
1343
  }>;
979
1344
  filters: z.ZodOptional<z.ZodObject<{
980
1345
  name: z.ZodOptional<z.ZodArray<z.ZodString>>;
1346
+ source: z.ZodOptional<z.ZodString>;
981
1347
  provider: z.ZodOptional<z.ZodString>;
982
1348
  model: z.ZodOptional<z.ZodString>;
983
1349
  costUnit: z.ZodOptional<z.ZodString>;
984
1350
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
985
- parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
986
- parentEntityName: z.ZodOptional<z.ZodString>;
987
- rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
988
- rootEntityName: z.ZodOptional<z.ZodString>;
989
- resourceId: z.ZodOptional<z.ZodString>;
990
- runId: z.ZodOptional<z.ZodString>;
991
- sessionId: z.ZodOptional<z.ZodString>;
992
- threadId: z.ZodOptional<z.ZodString>;
993
- requestId: z.ZodOptional<z.ZodString>;
994
- source: z.ZodOptional<z.ZodString>;
995
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
996
1351
  timestamp: z.ZodOptional<z.ZodObject<{
997
1352
  start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
998
1353
  end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -1008,6 +1363,17 @@ export declare const NEW_ROUTES: {
1008
1363
  experimentId: z.ZodOptional<z.ZodString>;
1009
1364
  serviceName: z.ZodOptional<z.ZodString>;
1010
1365
  environment: z.ZodOptional<z.ZodString>;
1366
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1367
+ parentEntityName: z.ZodOptional<z.ZodString>;
1368
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1369
+ rootEntityName: z.ZodOptional<z.ZodString>;
1370
+ resourceId: z.ZodOptional<z.ZodString>;
1371
+ runId: z.ZodOptional<z.ZodString>;
1372
+ sessionId: z.ZodOptional<z.ZodString>;
1373
+ threadId: z.ZodOptional<z.ZodString>;
1374
+ requestId: z.ZodOptional<z.ZodString>;
1375
+ executionSource: z.ZodOptional<z.ZodString>;
1376
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1011
1377
  }, z.core.$strip>>;
1012
1378
  comparePeriod: z.ZodOptional<z.ZodEnum<{
1013
1379
  previous_period: "previous_period";
@@ -1029,21 +1395,11 @@ export declare const NEW_ROUTES: {
1029
1395
  aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
1030
1396
  filters?: {
1031
1397
  name?: string[] | undefined;
1398
+ source?: string | undefined;
1032
1399
  provider?: string | undefined;
1033
1400
  model?: string | undefined;
1034
1401
  costUnit?: string | undefined;
1035
1402
  labels?: Record<string, string> | undefined;
1036
- parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1037
- parentEntityName?: string | undefined;
1038
- rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1039
- rootEntityName?: string | undefined;
1040
- resourceId?: string | undefined;
1041
- runId?: string | undefined;
1042
- sessionId?: string | undefined;
1043
- threadId?: string | undefined;
1044
- requestId?: string | undefined;
1045
- source?: string | undefined;
1046
- tags?: string[] | undefined;
1047
1403
  timestamp?: {
1048
1404
  start?: Date | undefined;
1049
1405
  end?: Date | undefined;
@@ -1059,6 +1415,17 @@ export declare const NEW_ROUTES: {
1059
1415
  experimentId?: string | undefined;
1060
1416
  serviceName?: string | undefined;
1061
1417
  environment?: string | undefined;
1418
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1419
+ parentEntityName?: string | undefined;
1420
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1421
+ rootEntityName?: string | undefined;
1422
+ resourceId?: string | undefined;
1423
+ runId?: string | undefined;
1424
+ sessionId?: string | undefined;
1425
+ threadId?: string | undefined;
1426
+ requestId?: string | undefined;
1427
+ executionSource?: string | undefined;
1428
+ tags?: string[] | undefined;
1062
1429
  } | undefined;
1063
1430
  }, {
1064
1431
  groups: {
@@ -1080,21 +1447,11 @@ export declare const NEW_ROUTES: {
1080
1447
  }>;
1081
1448
  filters: z.ZodOptional<z.ZodObject<{
1082
1449
  name: z.ZodOptional<z.ZodArray<z.ZodString>>;
1450
+ source: z.ZodOptional<z.ZodString>;
1083
1451
  provider: z.ZodOptional<z.ZodString>;
1084
1452
  model: z.ZodOptional<z.ZodString>;
1085
1453
  costUnit: z.ZodOptional<z.ZodString>;
1086
1454
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1087
- parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1088
- parentEntityName: z.ZodOptional<z.ZodString>;
1089
- rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1090
- rootEntityName: z.ZodOptional<z.ZodString>;
1091
- resourceId: z.ZodOptional<z.ZodString>;
1092
- runId: z.ZodOptional<z.ZodString>;
1093
- sessionId: z.ZodOptional<z.ZodString>;
1094
- threadId: z.ZodOptional<z.ZodString>;
1095
- requestId: z.ZodOptional<z.ZodString>;
1096
- source: z.ZodOptional<z.ZodString>;
1097
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1098
1455
  timestamp: z.ZodOptional<z.ZodObject<{
1099
1456
  start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1100
1457
  end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -1110,6 +1467,17 @@ export declare const NEW_ROUTES: {
1110
1467
  experimentId: z.ZodOptional<z.ZodString>;
1111
1468
  serviceName: z.ZodOptional<z.ZodString>;
1112
1469
  environment: z.ZodOptional<z.ZodString>;
1470
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1471
+ parentEntityName: z.ZodOptional<z.ZodString>;
1472
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1473
+ rootEntityName: z.ZodOptional<z.ZodString>;
1474
+ resourceId: z.ZodOptional<z.ZodString>;
1475
+ runId: z.ZodOptional<z.ZodString>;
1476
+ sessionId: z.ZodOptional<z.ZodString>;
1477
+ threadId: z.ZodOptional<z.ZodString>;
1478
+ requestId: z.ZodOptional<z.ZodString>;
1479
+ executionSource: z.ZodOptional<z.ZodString>;
1480
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1113
1481
  }, z.core.$strip>>;
1114
1482
  }, z.core.$strip>, z.ZodObject<{
1115
1483
  groups: z.ZodArray<z.ZodObject<{
@@ -1125,21 +1493,11 @@ export declare const NEW_ROUTES: {
1125
1493
  aggregation: "count" | "max" | "min" | "sum" | "avg" | "last";
1126
1494
  filters?: {
1127
1495
  name?: string[] | undefined;
1496
+ source?: string | undefined;
1128
1497
  provider?: string | undefined;
1129
1498
  model?: string | undefined;
1130
1499
  costUnit?: string | undefined;
1131
1500
  labels?: Record<string, string> | undefined;
1132
- parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1133
- parentEntityName?: string | undefined;
1134
- rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1135
- rootEntityName?: string | undefined;
1136
- resourceId?: string | undefined;
1137
- runId?: string | undefined;
1138
- sessionId?: string | undefined;
1139
- threadId?: string | undefined;
1140
- requestId?: string | undefined;
1141
- source?: string | undefined;
1142
- tags?: string[] | undefined;
1143
1501
  timestamp?: {
1144
1502
  start?: Date | undefined;
1145
1503
  end?: Date | undefined;
@@ -1155,6 +1513,17 @@ export declare const NEW_ROUTES: {
1155
1513
  experimentId?: string | undefined;
1156
1514
  serviceName?: string | undefined;
1157
1515
  environment?: string | undefined;
1516
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1517
+ parentEntityName?: string | undefined;
1518
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1519
+ rootEntityName?: string | undefined;
1520
+ resourceId?: string | undefined;
1521
+ runId?: string | undefined;
1522
+ sessionId?: string | undefined;
1523
+ threadId?: string | undefined;
1524
+ requestId?: string | undefined;
1525
+ executionSource?: string | undefined;
1526
+ tags?: string[] | undefined;
1158
1527
  } | undefined;
1159
1528
  groupBy?: string[] | undefined;
1160
1529
  }, {
@@ -1186,21 +1555,11 @@ export declare const NEW_ROUTES: {
1186
1555
  }>;
1187
1556
  filters: z.ZodOptional<z.ZodObject<{
1188
1557
  name: z.ZodOptional<z.ZodArray<z.ZodString>>;
1558
+ source: z.ZodOptional<z.ZodString>;
1189
1559
  provider: z.ZodOptional<z.ZodString>;
1190
1560
  model: z.ZodOptional<z.ZodString>;
1191
1561
  costUnit: z.ZodOptional<z.ZodString>;
1192
1562
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1193
- parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1194
- parentEntityName: z.ZodOptional<z.ZodString>;
1195
- rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1196
- rootEntityName: z.ZodOptional<z.ZodString>;
1197
- resourceId: z.ZodOptional<z.ZodString>;
1198
- runId: z.ZodOptional<z.ZodString>;
1199
- sessionId: z.ZodOptional<z.ZodString>;
1200
- threadId: z.ZodOptional<z.ZodString>;
1201
- requestId: z.ZodOptional<z.ZodString>;
1202
- source: z.ZodOptional<z.ZodString>;
1203
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1204
1563
  timestamp: z.ZodOptional<z.ZodObject<{
1205
1564
  start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1206
1565
  end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -1216,6 +1575,17 @@ export declare const NEW_ROUTES: {
1216
1575
  experimentId: z.ZodOptional<z.ZodString>;
1217
1576
  serviceName: z.ZodOptional<z.ZodString>;
1218
1577
  environment: z.ZodOptional<z.ZodString>;
1578
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1579
+ parentEntityName: z.ZodOptional<z.ZodString>;
1580
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1581
+ rootEntityName: z.ZodOptional<z.ZodString>;
1582
+ resourceId: z.ZodOptional<z.ZodString>;
1583
+ runId: z.ZodOptional<z.ZodString>;
1584
+ sessionId: z.ZodOptional<z.ZodString>;
1585
+ threadId: z.ZodOptional<z.ZodString>;
1586
+ requestId: z.ZodOptional<z.ZodString>;
1587
+ executionSource: z.ZodOptional<z.ZodString>;
1588
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1219
1589
  }, z.core.$strip>>;
1220
1590
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1221
1591
  }, z.core.$strip>, z.ZodObject<{
@@ -1235,21 +1605,11 @@ export declare const NEW_ROUTES: {
1235
1605
  interval: "5m" | "1h" | "1m" | "15m" | "1d";
1236
1606
  filters?: {
1237
1607
  name?: string[] | undefined;
1608
+ source?: string | undefined;
1238
1609
  provider?: string | undefined;
1239
1610
  model?: string | undefined;
1240
1611
  costUnit?: string | undefined;
1241
1612
  labels?: Record<string, string> | undefined;
1242
- parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1243
- parentEntityName?: string | undefined;
1244
- rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1245
- rootEntityName?: string | undefined;
1246
- resourceId?: string | undefined;
1247
- runId?: string | undefined;
1248
- sessionId?: string | undefined;
1249
- threadId?: string | undefined;
1250
- requestId?: string | undefined;
1251
- source?: string | undefined;
1252
- tags?: string[] | undefined;
1253
1613
  timestamp?: {
1254
1614
  start?: Date | undefined;
1255
1615
  end?: Date | undefined;
@@ -1265,6 +1625,17 @@ export declare const NEW_ROUTES: {
1265
1625
  experimentId?: string | undefined;
1266
1626
  serviceName?: string | undefined;
1267
1627
  environment?: string | undefined;
1628
+ parentEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1629
+ parentEntityName?: string | undefined;
1630
+ rootEntityType?: import("../../_types/@internal_core/dist/index.js").EntityType | undefined;
1631
+ rootEntityName?: string | undefined;
1632
+ resourceId?: string | undefined;
1633
+ runId?: string | undefined;
1634
+ sessionId?: string | undefined;
1635
+ threadId?: string | undefined;
1636
+ requestId?: string | undefined;
1637
+ executionSource?: string | undefined;
1638
+ tags?: string[] | undefined;
1268
1639
  } | undefined;
1269
1640
  }, {
1270
1641
  series: {
@@ -1286,21 +1657,11 @@ export declare const NEW_ROUTES: {
1286
1657
  }>;
1287
1658
  filters: z.ZodOptional<z.ZodObject<{
1288
1659
  name: z.ZodOptional<z.ZodArray<z.ZodString>>;
1660
+ source: z.ZodOptional<z.ZodString>;
1289
1661
  provider: z.ZodOptional<z.ZodString>;
1290
1662
  model: z.ZodOptional<z.ZodString>;
1291
1663
  costUnit: z.ZodOptional<z.ZodString>;
1292
1664
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1293
- parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1294
- parentEntityName: z.ZodOptional<z.ZodString>;
1295
- rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1296
- rootEntityName: z.ZodOptional<z.ZodString>;
1297
- resourceId: z.ZodOptional<z.ZodString>;
1298
- runId: z.ZodOptional<z.ZodString>;
1299
- sessionId: z.ZodOptional<z.ZodString>;
1300
- threadId: z.ZodOptional<z.ZodString>;
1301
- requestId: z.ZodOptional<z.ZodString>;
1302
- source: z.ZodOptional<z.ZodString>;
1303
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1304
1665
  timestamp: z.ZodOptional<z.ZodObject<{
1305
1666
  start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
1306
1667
  end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
@@ -1316,6 +1677,17 @@ export declare const NEW_ROUTES: {
1316
1677
  experimentId: z.ZodOptional<z.ZodString>;
1317
1678
  serviceName: z.ZodOptional<z.ZodString>;
1318
1679
  environment: z.ZodOptional<z.ZodString>;
1680
+ parentEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1681
+ parentEntityName: z.ZodOptional<z.ZodString>;
1682
+ rootEntityType: z.ZodOptional<z.ZodEnum<typeof import("../../_types/@internal_core/dist/index.js").EntityType>>;
1683
+ rootEntityName: z.ZodOptional<z.ZodString>;
1684
+ resourceId: z.ZodOptional<z.ZodString>;
1685
+ runId: z.ZodOptional<z.ZodString>;
1686
+ sessionId: z.ZodOptional<z.ZodString>;
1687
+ threadId: z.ZodOptional<z.ZodString>;
1688
+ requestId: z.ZodOptional<z.ZodString>;
1689
+ executionSource: z.ZodOptional<z.ZodString>;
1690
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1319
1691
  }, z.core.$strip>>;
1320
1692
  }, z.core.$strip>, z.ZodObject<{
1321
1693
  series: z.ZodArray<z.ZodObject<{