@orq-ai/node 4.13.0-rc.6 → 4.13.0-rc.8

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 (232) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/evaluatorresponsefunction.js +2 -2
  5. package/models/components/evaluatorresponsehttp.js +2 -2
  6. package/models/components/evaluatorresponsejsonschema.js +2 -2
  7. package/models/components/evaluatorresponsellm.js +2 -2
  8. package/models/components/evaluatorresponsepython.js +2 -2
  9. package/models/components/evaluatorresponseragas.js +2 -2
  10. package/models/components/evaluatorresponsetypescript.js +2 -2
  11. package/models/components/index.d.ts +2 -1
  12. package/models/components/index.d.ts.map +1 -1
  13. package/models/components/index.js +2 -1
  14. package/models/components/index.js.map +1 -1
  15. package/models/components/modeldocument.d.ts +2 -2
  16. package/models/components/modeldocument.d.ts.map +1 -1
  17. package/models/components/modeldocument.js +2 -2
  18. package/models/components/modeldocument.js.map +1 -1
  19. package/models/components/plugin.d.ts +2 -0
  20. package/models/components/plugin.d.ts.map +1 -1
  21. package/models/components/plugin.js +3 -0
  22. package/models/components/plugin.js.map +1 -1
  23. package/models/components/publicplugin.d.ts +75 -0
  24. package/models/components/publicplugin.d.ts.map +1 -0
  25. package/models/components/{publicpiiredactionplugin.js → publicplugin.js} +19 -20
  26. package/models/components/publicplugin.js.map +1 -0
  27. package/models/components/reasoning.d.ts +1 -0
  28. package/models/components/reasoning.d.ts.map +1 -1
  29. package/models/components/reasoning.js +1 -0
  30. package/models/components/reasoning.js.map +1 -1
  31. package/models/components/reasoningparam.d.ts +1 -0
  32. package/models/components/reasoningparam.d.ts.map +1 -1
  33. package/models/components/reasoningparam.js +1 -0
  34. package/models/components/reasoningparam.js.map +1 -1
  35. package/models/components/reasoningpart.js +1 -1
  36. package/models/components/responsehealingplugin.d.ts +35 -0
  37. package/models/components/responsehealingplugin.d.ts.map +1 -0
  38. package/models/components/responsehealingplugin.js +68 -0
  39. package/models/components/responsehealingplugin.js.map +1 -0
  40. package/models/operations/createagentrequest.d.ts +16 -16
  41. package/models/operations/createagentrequest.d.ts.map +1 -1
  42. package/models/operations/createagentrequest.js +8 -0
  43. package/models/operations/createagentrequest.js.map +1 -1
  44. package/models/operations/createchatcompletion.d.ts +5 -5
  45. package/models/operations/createchatcompletion.d.ts.map +1 -1
  46. package/models/operations/createchatcompletion.js +2 -0
  47. package/models/operations/createchatcompletion.js.map +1 -1
  48. package/models/operations/createdataset.js +1 -1
  49. package/models/operations/createdatasetitem.js +5 -5
  50. package/models/operations/createdatasource.js +1 -1
  51. package/models/operations/createprompt.d.ts +12 -11
  52. package/models/operations/createprompt.d.ts.map +1 -1
  53. package/models/operations/createprompt.js +8 -0
  54. package/models/operations/createprompt.js.map +1 -1
  55. package/models/operations/createrouterresponse.d.ts +3 -3
  56. package/models/operations/createrouterresponse.d.ts.map +1 -1
  57. package/models/operations/createrouterresponse.js +2 -1
  58. package/models/operations/createrouterresponse.js.map +1 -1
  59. package/models/operations/createtool.js +6 -6
  60. package/models/operations/deploymentgetconfig.d.ts +2 -0
  61. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  62. package/models/operations/deploymentgetconfig.js +2 -0
  63. package/models/operations/deploymentgetconfig.js.map +1 -1
  64. package/models/operations/deploymentinvoke.d.ts +2 -0
  65. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  66. package/models/operations/deploymentinvoke.js +2 -0
  67. package/models/operations/deploymentinvoke.js.map +1 -1
  68. package/models/operations/deployments.d.ts +4 -0
  69. package/models/operations/deployments.d.ts.map +1 -1
  70. package/models/operations/deployments.js +4 -0
  71. package/models/operations/deployments.js.map +1 -1
  72. package/models/operations/deploymentstream.d.ts +2 -0
  73. package/models/operations/deploymentstream.d.ts.map +1 -1
  74. package/models/operations/deploymentstream.js +2 -0
  75. package/models/operations/deploymentstream.js.map +1 -1
  76. package/models/operations/getallprompts.d.ts +7 -6
  77. package/models/operations/getallprompts.d.ts.map +1 -1
  78. package/models/operations/getallprompts.js +6 -0
  79. package/models/operations/getallprompts.js.map +1 -1
  80. package/models/operations/getalltools.js +6 -6
  81. package/models/operations/getoneprompt.d.ts +7 -6
  82. package/models/operations/getoneprompt.d.ts.map +1 -1
  83. package/models/operations/getoneprompt.js +6 -0
  84. package/models/operations/getoneprompt.js.map +1 -1
  85. package/models/operations/getpromptversion.d.ts +7 -6
  86. package/models/operations/getpromptversion.d.ts.map +1 -1
  87. package/models/operations/getpromptversion.js +6 -0
  88. package/models/operations/getpromptversion.js.map +1 -1
  89. package/models/operations/getv2humanevalsets.js +2 -2
  90. package/models/operations/getv2humanevalsetsid.js +2 -2
  91. package/models/operations/listagents.d.ts +6 -6
  92. package/models/operations/listagents.d.ts.map +1 -1
  93. package/models/operations/listagents.js +4 -0
  94. package/models/operations/listagents.js.map +1 -1
  95. package/models/operations/listdatasetdatapoints.js +5 -5
  96. package/models/operations/listdatasets.js +1 -1
  97. package/models/operations/listdatasources.js +1 -1
  98. package/models/operations/listpromptversions.d.ts +7 -6
  99. package/models/operations/listpromptversions.d.ts.map +1 -1
  100. package/models/operations/listpromptversions.js +6 -0
  101. package/models/operations/listpromptversions.js.map +1 -1
  102. package/models/operations/modelcreate.d.ts +2 -2
  103. package/models/operations/modelcreate.d.ts.map +1 -1
  104. package/models/operations/modelcreate.js +2 -2
  105. package/models/operations/modelcreate.js.map +1 -1
  106. package/models/operations/modelcreateawsbedrock.d.ts +2 -2
  107. package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
  108. package/models/operations/modelcreateawsbedrock.js +2 -2
  109. package/models/operations/modelcreateawsbedrock.js.map +1 -1
  110. package/models/operations/modelcreateopenailike.d.ts +2 -2
  111. package/models/operations/modelcreateopenailike.d.ts.map +1 -1
  112. package/models/operations/modelcreateopenailike.js +2 -2
  113. package/models/operations/modelcreateopenailike.js.map +1 -1
  114. package/models/operations/modelcreatevertex.d.ts +2 -2
  115. package/models/operations/modelcreatevertex.d.ts.map +1 -1
  116. package/models/operations/modelcreatevertex.js +2 -2
  117. package/models/operations/modelcreatevertex.js.map +1 -1
  118. package/models/operations/modelupdate.d.ts +2 -2
  119. package/models/operations/modelupdate.d.ts.map +1 -1
  120. package/models/operations/modelupdate.js +2 -2
  121. package/models/operations/modelupdate.js.map +1 -1
  122. package/models/operations/modelupdateawsbedrock.d.ts +2 -2
  123. package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
  124. package/models/operations/modelupdateawsbedrock.js +2 -2
  125. package/models/operations/modelupdateawsbedrock.js.map +1 -1
  126. package/models/operations/modelupdateopenailike.d.ts +2 -2
  127. package/models/operations/modelupdateopenailike.d.ts.map +1 -1
  128. package/models/operations/modelupdateopenailike.js +2 -2
  129. package/models/operations/modelupdateopenailike.js.map +1 -1
  130. package/models/operations/patchv2humanevalsetsid.js +2 -2
  131. package/models/operations/postv2feedbackevaluation.js +4 -4
  132. package/models/operations/postv2humanevalsets.js +2 -2
  133. package/models/operations/retrieveagentrequest.d.ts +6 -6
  134. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  135. package/models/operations/retrieveagentrequest.js +4 -0
  136. package/models/operations/retrieveagentrequest.js.map +1 -1
  137. package/models/operations/retrievedatapoint.js +5 -5
  138. package/models/operations/retrievedataset.js +1 -1
  139. package/models/operations/retrievedatasource.js +1 -1
  140. package/models/operations/retrievetool.js +6 -6
  141. package/models/operations/runagent.d.ts +10 -10
  142. package/models/operations/runagent.d.ts.map +1 -1
  143. package/models/operations/runagent.js +5 -1
  144. package/models/operations/runagent.js.map +1 -1
  145. package/models/operations/streamrunagent.d.ts +10 -10
  146. package/models/operations/streamrunagent.d.ts.map +1 -1
  147. package/models/operations/streamrunagent.js +5 -1
  148. package/models/operations/streamrunagent.js.map +1 -1
  149. package/models/operations/updateagent.d.ts +16 -16
  150. package/models/operations/updateagent.d.ts.map +1 -1
  151. package/models/operations/updateagent.js +8 -0
  152. package/models/operations/updateagent.js.map +1 -1
  153. package/models/operations/updatedatapoint.js +5 -5
  154. package/models/operations/updatedataset.js +1 -1
  155. package/models/operations/updatedatasource.js +1 -1
  156. package/models/operations/updateprompt.d.ts +12 -11
  157. package/models/operations/updateprompt.d.ts.map +1 -1
  158. package/models/operations/updateprompt.js +8 -0
  159. package/models/operations/updateprompt.js.map +1 -1
  160. package/models/operations/updatetool.js +7 -7
  161. package/package.json +3 -3
  162. package/sdk/feedback.d.ts +4 -1
  163. package/sdk/feedback.d.ts.map +1 -1
  164. package/sdk/feedback.js +4 -1
  165. package/sdk/feedback.js.map +1 -1
  166. package/src/lib/config.ts +2 -2
  167. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  168. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  169. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  170. package/src/models/components/evaluatorresponsellm.ts +2 -2
  171. package/src/models/components/evaluatorresponsepython.ts +2 -2
  172. package/src/models/components/evaluatorresponseragas.ts +2 -2
  173. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  174. package/src/models/components/index.ts +2 -1
  175. package/src/models/components/modeldocument.ts +4 -4
  176. package/src/models/components/plugin.ts +7 -0
  177. package/src/models/components/publicplugin.ts +111 -0
  178. package/src/models/components/reasoning.ts +1 -0
  179. package/src/models/components/reasoningparam.ts +1 -0
  180. package/src/models/components/reasoningpart.ts +1 -1
  181. package/src/models/components/responsehealingplugin.ts +77 -0
  182. package/src/models/operations/createagentrequest.ts +30 -10
  183. package/src/models/operations/createchatcompletion.ts +9 -3
  184. package/src/models/operations/createdataset.ts +1 -1
  185. package/src/models/operations/createdatasetitem.ts +5 -5
  186. package/src/models/operations/createdatasource.ts +1 -1
  187. package/src/models/operations/createprompt.ts +19 -8
  188. package/src/models/operations/createrouterresponse.ts +5 -9
  189. package/src/models/operations/createtool.ts +6 -6
  190. package/src/models/operations/deploymentgetconfig.ts +2 -0
  191. package/src/models/operations/deploymentinvoke.ts +2 -0
  192. package/src/models/operations/deployments.ts +4 -0
  193. package/src/models/operations/deploymentstream.ts +2 -0
  194. package/src/models/operations/getallprompts.ts +10 -5
  195. package/src/models/operations/getalltools.ts +6 -6
  196. package/src/models/operations/getoneprompt.ts +10 -5
  197. package/src/models/operations/getpromptversion.ts +10 -5
  198. package/src/models/operations/getv2humanevalsets.ts +2 -2
  199. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  200. package/src/models/operations/listagents.ts +12 -4
  201. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  202. package/src/models/operations/listdatasets.ts +1 -1
  203. package/src/models/operations/listdatasources.ts +1 -1
  204. package/src/models/operations/listpromptversions.ts +10 -5
  205. package/src/models/operations/modelcreate.ts +4 -4
  206. package/src/models/operations/modelcreateawsbedrock.ts +4 -4
  207. package/src/models/operations/modelcreateopenailike.ts +4 -4
  208. package/src/models/operations/modelcreatevertex.ts +4 -4
  209. package/src/models/operations/modelupdate.ts +4 -4
  210. package/src/models/operations/modelupdateawsbedrock.ts +4 -4
  211. package/src/models/operations/modelupdateopenailike.ts +4 -4
  212. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  213. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  214. package/src/models/operations/postv2humanevalsets.ts +2 -2
  215. package/src/models/operations/retrieveagentrequest.ts +12 -4
  216. package/src/models/operations/retrievedatapoint.ts +5 -5
  217. package/src/models/operations/retrievedataset.ts +1 -1
  218. package/src/models/operations/retrievedatasource.ts +1 -1
  219. package/src/models/operations/retrievetool.ts +6 -6
  220. package/src/models/operations/runagent.ts +19 -7
  221. package/src/models/operations/streamrunagent.ts +19 -7
  222. package/src/models/operations/updateagent.ts +30 -10
  223. package/src/models/operations/updatedatapoint.ts +5 -5
  224. package/src/models/operations/updatedataset.ts +1 -1
  225. package/src/models/operations/updatedatasource.ts +1 -1
  226. package/src/models/operations/updateprompt.ts +19 -8
  227. package/src/models/operations/updatetool.ts +7 -7
  228. package/src/sdk/feedback.ts +4 -1
  229. package/models/components/publicpiiredactionplugin.d.ts +0 -79
  230. package/models/components/publicpiiredactionplugin.d.ts.map +0 -1
  231. package/models/components/publicpiiredactionplugin.js.map +0 -1
  232. package/src/models/components/publicpiiredactionplugin.ts +0 -127
@@ -813,9 +813,9 @@ export type CreateRouterResponseRequestBody = {
813
813
  */
814
814
  parallelToolCalls?: boolean | undefined;
815
815
  /**
816
- * Request-scoped transforms applied to the text exchanged with the model. Currently supports pii_redaction, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
816
+ * Request-scoped transforms applied to the text exchanged with the model. Supports pii_redaction, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and response_healing, which repairs malformed JSON in non-streaming model output.
817
817
  */
818
- plugins?: Array<components.PublicPIIRedactionPlugin> | null | undefined;
818
+ plugins?: Array<components.PublicPlugin> | null | undefined;
819
819
  /**
820
820
  * Penalize new tokens based on their presence in the text so far. Between -2.0 and 2.0.
821
821
  */
@@ -1828,10 +1828,7 @@ export type CreateRouterResponseRequestBody$Outbound = {
1828
1828
  metadata?: { [k: string]: string } | undefined;
1829
1829
  model?: string | undefined;
1830
1830
  parallel_tool_calls?: boolean | undefined;
1831
- plugins?:
1832
- | Array<components.PublicPIIRedactionPlugin$Outbound>
1833
- | null
1834
- | undefined;
1831
+ plugins?: Array<components.PublicPlugin$Outbound> | null | undefined;
1835
1832
  presence_penalty?: number | undefined;
1836
1833
  previous_response_id?: string | undefined;
1837
1834
  prompt_cache_key?: string | undefined;
@@ -1890,9 +1887,8 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
1890
1887
  metadata: z.record(z.string()).optional(),
1891
1888
  model: z.string().optional(),
1892
1889
  parallelToolCalls: z.boolean().optional(),
1893
- plugins: z.nullable(
1894
- z.array(components.PublicPIIRedactionPlugin$outboundSchema),
1895
- ).optional(),
1890
+ plugins: z.nullable(z.array(components.PublicPlugin$outboundSchema))
1891
+ .optional(),
1896
1892
  presencePenalty: z.number().optional(),
1897
1893
  previousResponseId: z.string().optional(),
1898
1894
  promptCacheKey: z.string().optional(),
@@ -1892,7 +1892,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1892
1892
  z.ZodTypeDef,
1893
1893
  unknown
1894
1894
  > = z.object({
1895
- _id: z.string().default("tool_01KYHAQPVWRTH3HFESAQFCB776"),
1895
+ _id: z.string().default("tool_01KYKESHJB765T9JZ0AFZNVRJC"),
1896
1896
  path: z.string(),
1897
1897
  key: z.string(),
1898
1898
  display_name: z.string().optional(),
@@ -1989,7 +1989,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
1989
1989
  z.ZodTypeDef,
1990
1990
  unknown
1991
1991
  > = z.object({
1992
- id: z.string().default("01KYHAQPVTNW6JCHJY0GJY9281"),
1992
+ id: z.string().default("01KYKESHJA46KQ89AWEN7GCA61"),
1993
1993
  name: z.string(),
1994
1994
  description: z.string().optional(),
1995
1995
  schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
@@ -2045,7 +2045,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2045
2045
  z.ZodTypeDef,
2046
2046
  unknown
2047
2047
  > = z.object({
2048
- _id: z.string().default("tool_01KYHAQPVQFGQQ4B1QB7DMSYSX"),
2048
+ _id: z.string().default("tool_01KYKESHJ82SW2RA10CQV8JC43"),
2049
2049
  path: z.string(),
2050
2050
  key: z.string(),
2051
2051
  display_name: z.string().optional(),
@@ -2232,7 +2232,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2232
2232
  z.ZodTypeDef,
2233
2233
  unknown
2234
2234
  > = z.object({
2235
- _id: z.string().default("tool_01KYHAQPVJG8ZQPMG55Z0JFDVC"),
2235
+ _id: z.string().default("tool_01KYKESHJ5WPG7ANQ1SFNNNQ7J"),
2236
2236
  path: z.string(),
2237
2237
  key: z.string(),
2238
2238
  display_name: z.string().optional(),
@@ -2325,7 +2325,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2325
2325
  z.ZodTypeDef,
2326
2326
  unknown
2327
2327
  > = z.object({
2328
- _id: z.string().default("tool_01KYHAQPVF3XCXNRQ4HDCX7XVP"),
2328
+ _id: z.string().default("tool_01KYKESHJ4G7YS9ND2BGDSYJ5S"),
2329
2329
  path: z.string(),
2330
2330
  key: z.string(),
2331
2331
  display_name: z.string().optional(),
@@ -2426,7 +2426,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2426
2426
  z.ZodTypeDef,
2427
2427
  unknown
2428
2428
  > = z.object({
2429
- _id: z.string().default("tool_01KYHAQPVB0RVN7S766RMNRF3N"),
2429
+ _id: z.string().default("tool_01KYKESHJ1DGWC22ANAXSCM1EE"),
2430
2430
  path: z.string(),
2431
2431
  key: z.string(),
2432
2432
  display_name: z.string().optional(),
@@ -1464,6 +1464,8 @@ export const DeploymentGetConfigReasoningEffort = {
1464
1464
  Low: "low",
1465
1465
  Medium: "medium",
1466
1466
  High: "high",
1467
+ Xhigh: "xhigh",
1468
+ Max: "max",
1467
1469
  } as const;
1468
1470
  /**
1469
1471
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
@@ -61,6 +61,8 @@ export const Provider = {
61
61
  Poolside: "poolside",
62
62
  Tencent: "tencent",
63
63
  Nebius: "nebius",
64
+ Fireworks: "fireworks",
65
+ Baseten: "baseten",
64
66
  Reson8: "reson8",
65
67
  Slack: "slack",
66
68
  Orq: "orq",
@@ -315,6 +315,8 @@ export const DeploymentsReasoningEffort = {
315
315
  Low: "low",
316
316
  Medium: "medium",
317
317
  High: "high",
318
+ Xhigh: "xhigh",
319
+ Max: "max",
318
320
  } as const;
319
321
  /**
320
322
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
@@ -490,6 +492,8 @@ export const DeploymentsProvider = {
490
492
  Poolside: "poolside",
491
493
  Tencent: "tencent",
492
494
  Nebius: "nebius",
495
+ Fireworks: "fireworks",
496
+ Baseten: "baseten",
493
497
  Reson8: "reson8",
494
498
  Slack: "slack",
495
499
  Orq: "orq",
@@ -1208,6 +1208,8 @@ export const DeploymentStreamProvider = {
1208
1208
  Poolside: "poolside",
1209
1209
  Tencent: "tencent",
1210
1210
  Nebius: "nebius",
1211
+ Fireworks: "fireworks",
1212
+ Baseten: "baseten",
1211
1213
  Reson8: "reson8",
1212
1214
  Slack: "slack",
1213
1215
  Orq: "orq",
@@ -266,6 +266,8 @@ export const GetAllPromptsPromptsReasoningEffort = {
266
266
  Low: "low",
267
267
  Medium: "medium",
268
268
  High: "high",
269
+ Xhigh: "xhigh",
270
+ Max: "max",
269
271
  } as const;
270
272
  /**
271
273
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
@@ -441,6 +443,8 @@ export const GetAllPromptsProvider = {
441
443
  Poolside: "poolside",
442
444
  Tencent: "tencent",
443
445
  Nebius: "nebius",
446
+ Fireworks: "fireworks",
447
+ Baseten: "baseten",
444
448
  Reson8: "reson8",
445
449
  Slack: "slack",
446
450
  Orq: "orq",
@@ -582,9 +586,6 @@ export type GetAllPromptsMessages = {
582
586
  export type GetAllPromptsPromptConfig = {
583
587
  stream?: boolean | undefined;
584
588
  model?: string | null | undefined;
585
- /**
586
- * The id of the resource
587
- */
588
589
  modelDbId?: string | null | undefined;
589
590
  /**
590
591
  * The modality of the model
@@ -852,7 +853,8 @@ export type GetAllPromptsGuardrails = {
852
853
  export type GetAllPromptsPlugins =
853
854
  | components.PIIRedactionPluginEn
854
855
  | components.PIIRedactionPluginNl
855
- | components.PIIRedactionPluginAuto;
856
+ | components.PIIRedactionPluginAuto
857
+ | components.ResponseHealingPlugin;
856
858
 
857
859
  export type GetAllPromptsFallbacks = {
858
860
  /**
@@ -1435,13 +1437,14 @@ export type GetAllPromptsPromptField = {
1435
1437
  */
1436
1438
  guardrails?: Array<GetAllPromptsGuardrails> | undefined;
1437
1439
  /**
1438
- * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
1440
+ * Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
1439
1441
  */
1440
1442
  plugins?:
1441
1443
  | Array<
1442
1444
  | components.PIIRedactionPluginEn
1443
1445
  | components.PIIRedactionPluginNl
1444
1446
  | components.PIIRedactionPluginAuto
1447
+ | components.ResponseHealingPlugin
1445
1448
  >
1446
1449
  | undefined;
1447
1450
  /**
@@ -2532,6 +2535,7 @@ export const GetAllPromptsPlugins$inboundSchema: z.ZodType<
2532
2535
  components.PIIRedactionPluginEn$inboundSchema,
2533
2536
  components.PIIRedactionPluginNl$inboundSchema,
2534
2537
  components.PIIRedactionPluginAuto$inboundSchema,
2538
+ components.ResponseHealingPlugin$inboundSchema,
2535
2539
  ]);
2536
2540
 
2537
2541
  export function getAllPromptsPluginsFromJSON(
@@ -3274,6 +3278,7 @@ export const GetAllPromptsPromptField$inboundSchema: z.ZodType<
3274
3278
  components.PIIRedactionPluginEn$inboundSchema,
3275
3279
  components.PIIRedactionPluginNl$inboundSchema,
3276
3280
  components.PIIRedactionPluginAuto$inboundSchema,
3281
+ components.ResponseHealingPlugin$inboundSchema,
3277
3282
  ]),
3278
3283
  ).optional(),
3279
3284
  fallbacks: z.array(z.lazy(() => GetAllPromptsFallbacks$inboundSchema))
@@ -770,7 +770,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
770
770
  z.ZodTypeDef,
771
771
  unknown
772
772
  > = z.object({
773
- _id: z.string().default("tool_01KYHAQPTFHVM14VHRMRK9Z1C4"),
773
+ _id: z.string().default("tool_01KYKESHHKDVQ4QY7ZM2S707BV"),
774
774
  path: z.string(),
775
775
  key: z.string(),
776
776
  display_name: z.string().optional(),
@@ -867,7 +867,7 @@ export const DataTools$inboundSchema: z.ZodType<
867
867
  z.ZodTypeDef,
868
868
  unknown
869
869
  > = z.object({
870
- id: z.string().default("01KYHAQPTENVRPFC8DGXJYYVRM"),
870
+ id: z.string().default("01KYKESHHJ4MKHZC91WKDDRHMF"),
871
871
  name: z.string(),
872
872
  description: z.string().optional(),
873
873
  schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
@@ -920,7 +920,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
920
920
  z.ZodTypeDef,
921
921
  unknown
922
922
  > = z.object({
923
- _id: z.string().default("tool_01KYHAQPTBEETJG2393D3ASYZJ"),
923
+ _id: z.string().default("tool_01KYKESHHHDG40K60EPJXP3S0P"),
924
924
  path: z.string(),
925
925
  key: z.string(),
926
926
  display_name: z.string().optional(),
@@ -1105,7 +1105,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
1105
1105
  z.ZodTypeDef,
1106
1106
  unknown
1107
1107
  > = z.object({
1108
- _id: z.string().default("tool_01KYHAQPT898HPTP3X3WTWEFT2"),
1108
+ _id: z.string().default("tool_01KYKESHHEZ81959SA4KN53TH2"),
1109
1109
  path: z.string(),
1110
1110
  key: z.string(),
1111
1111
  display_name: z.string().optional(),
@@ -1198,7 +1198,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1198
1198
  z.ZodTypeDef,
1199
1199
  unknown
1200
1200
  > = z.object({
1201
- _id: z.string().default("tool_01KYHAQPT5KTETX8EA0125RJ9G"),
1201
+ _id: z.string().default("tool_01KYKESHHBVWNWGG5HCRNVZK45"),
1202
1202
  path: z.string(),
1203
1203
  key: z.string(),
1204
1204
  display_name: z.string().optional(),
@@ -1296,7 +1296,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1296
1296
  z.ZodTypeDef,
1297
1297
  unknown
1298
1298
  > = z.object({
1299
- _id: z.string().default("tool_01KYHAQPT3DGERVSRVNCZ8XFH7"),
1299
+ _id: z.string().default("tool_01KYKESHH93THPN8QZ6N3T6B01"),
1300
1300
  path: z.string(),
1301
1301
  key: z.string(),
1302
1302
  display_name: z.string().optional(),
@@ -250,6 +250,8 @@ export const GetOnePromptPromptsReasoningEffort = {
250
250
  Low: "low",
251
251
  Medium: "medium",
252
252
  High: "high",
253
+ Xhigh: "xhigh",
254
+ Max: "max",
253
255
  } as const;
254
256
  /**
255
257
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
@@ -425,6 +427,8 @@ export const GetOnePromptProvider = {
425
427
  Poolside: "poolside",
426
428
  Tencent: "tencent",
427
429
  Nebius: "nebius",
430
+ Fireworks: "fireworks",
431
+ Baseten: "baseten",
428
432
  Reson8: "reson8",
429
433
  Slack: "slack",
430
434
  Orq: "orq",
@@ -566,9 +570,6 @@ export type GetOnePromptMessages = {
566
570
  export type GetOnePromptPromptConfig = {
567
571
  stream?: boolean | undefined;
568
572
  model?: string | null | undefined;
569
- /**
570
- * The id of the resource
571
- */
572
573
  modelDbId?: string | null | undefined;
573
574
  /**
574
575
  * The modality of the model
@@ -834,7 +835,8 @@ export type GetOnePromptGuardrails = {
834
835
  export type GetOnePromptPlugins =
835
836
  | components.PIIRedactionPluginEn
836
837
  | components.PIIRedactionPluginNl
837
- | components.PIIRedactionPluginAuto;
838
+ | components.PIIRedactionPluginAuto
839
+ | components.ResponseHealingPlugin;
838
840
 
839
841
  export type GetOnePromptFallbacks = {
840
842
  /**
@@ -1417,13 +1419,14 @@ export type GetOnePromptPromptField = {
1417
1419
  */
1418
1420
  guardrails?: Array<GetOnePromptGuardrails> | undefined;
1419
1421
  /**
1420
- * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
1422
+ * Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
1421
1423
  */
1422
1424
  plugins?:
1423
1425
  | Array<
1424
1426
  | components.PIIRedactionPluginEn
1425
1427
  | components.PIIRedactionPluginNl
1426
1428
  | components.PIIRedactionPluginAuto
1429
+ | components.ResponseHealingPlugin
1427
1430
  >
1428
1431
  | undefined;
1429
1432
  /**
@@ -2490,6 +2493,7 @@ export const GetOnePromptPlugins$inboundSchema: z.ZodType<
2490
2493
  components.PIIRedactionPluginEn$inboundSchema,
2491
2494
  components.PIIRedactionPluginNl$inboundSchema,
2492
2495
  components.PIIRedactionPluginAuto$inboundSchema,
2496
+ components.ResponseHealingPlugin$inboundSchema,
2493
2497
  ]);
2494
2498
 
2495
2499
  export function getOnePromptPluginsFromJSON(
@@ -3222,6 +3226,7 @@ export const GetOnePromptPromptField$inboundSchema: z.ZodType<
3222
3226
  components.PIIRedactionPluginEn$inboundSchema,
3223
3227
  components.PIIRedactionPluginNl$inboundSchema,
3224
3228
  components.PIIRedactionPluginAuto$inboundSchema,
3229
+ components.ResponseHealingPlugin$inboundSchema,
3225
3230
  ]),
3226
3231
  ).optional(),
3227
3232
  fallbacks: z.array(z.lazy(() => GetOnePromptFallbacks$inboundSchema))
@@ -254,6 +254,8 @@ export const GetPromptVersionPromptsReasoningEffort = {
254
254
  Low: "low",
255
255
  Medium: "medium",
256
256
  High: "high",
257
+ Xhigh: "xhigh",
258
+ Max: "max",
257
259
  } as const;
258
260
  /**
259
261
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
@@ -431,6 +433,8 @@ export const GetPromptVersionProvider = {
431
433
  Poolside: "poolside",
432
434
  Tencent: "tencent",
433
435
  Nebius: "nebius",
436
+ Fireworks: "fireworks",
437
+ Baseten: "baseten",
434
438
  Reson8: "reson8",
435
439
  Slack: "slack",
436
440
  Orq: "orq",
@@ -574,9 +578,6 @@ export type GetPromptVersionMessages = {
574
578
  export type GetPromptVersionPromptConfig = {
575
579
  stream?: boolean | undefined;
576
580
  model?: string | null | undefined;
577
- /**
578
- * The id of the resource
579
- */
580
581
  modelDbId?: string | null | undefined;
581
582
  /**
582
583
  * The modality of the model
@@ -846,7 +847,8 @@ export type GetPromptVersionGuardrails = {
846
847
  export type GetPromptVersionPlugins =
847
848
  | components.PIIRedactionPluginEn
848
849
  | components.PIIRedactionPluginNl
849
- | components.PIIRedactionPluginAuto;
850
+ | components.PIIRedactionPluginAuto
851
+ | components.ResponseHealingPlugin;
850
852
 
851
853
  export type GetPromptVersionFallbacks = {
852
854
  /**
@@ -1430,13 +1432,14 @@ export type GetPromptVersionPromptField = {
1430
1432
  */
1431
1433
  guardrails?: Array<GetPromptVersionGuardrails> | undefined;
1432
1434
  /**
1433
- * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
1435
+ * Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
1434
1436
  */
1435
1437
  plugins?:
1436
1438
  | Array<
1437
1439
  | components.PIIRedactionPluginEn
1438
1440
  | components.PIIRedactionPluginNl
1439
1441
  | components.PIIRedactionPluginAuto
1442
+ | components.ResponseHealingPlugin
1440
1443
  >
1441
1444
  | undefined;
1442
1445
  /**
@@ -2519,6 +2522,7 @@ export const GetPromptVersionPlugins$inboundSchema: z.ZodType<
2519
2522
  components.PIIRedactionPluginEn$inboundSchema,
2520
2523
  components.PIIRedactionPluginNl$inboundSchema,
2521
2524
  components.PIIRedactionPluginAuto$inboundSchema,
2525
+ components.ResponseHealingPlugin$inboundSchema,
2522
2526
  ]);
2523
2527
 
2524
2528
  export function getPromptVersionPluginsFromJSON(
@@ -3278,6 +3282,7 @@ export const GetPromptVersionPromptField$inboundSchema: z.ZodType<
3278
3282
  components.PIIRedactionPluginEn$inboundSchema,
3279
3283
  components.PIIRedactionPluginNl$inboundSchema,
3280
3284
  components.PIIRedactionPluginAuto$inboundSchema,
3285
+ components.ResponseHealingPlugin$inboundSchema,
3281
3286
  ]),
3282
3287
  ).optional(),
3283
3288
  fallbacks: z.array(z.lazy(() => GetPromptVersionFallbacks$inboundSchema))
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-07-27T08:22:51.157Z",
143
+ "2026-07-28T04:12:12.098Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-07-27T08:22:51.157Z",
188
+ "2026-07-28T04:12:12.098Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-07-27T08:22:51.157Z",
144
+ "2026-07-28T04:12:12.098Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-07-27T08:22:51.157Z",
189
+ "2026-07-28T04:12:12.098Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -446,7 +446,8 @@ export type ListAgentsAgentsGuardrails = {
446
446
  export type ListAgentsPlugins =
447
447
  | components.PIIRedactionPluginEn
448
448
  | components.PIIRedactionPluginNl
449
- | components.PIIRedactionPluginAuto;
449
+ | components.PIIRedactionPluginAuto
450
+ | components.ResponseHealingPlugin;
450
451
 
451
452
  export type ListAgentsFallbacks = {
452
453
  /**
@@ -664,13 +665,14 @@ export type ListAgentsParameters = {
664
665
  */
665
666
  guardrails?: Array<ListAgentsAgentsGuardrails> | undefined;
666
667
  /**
667
- * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
668
+ * Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
668
669
  */
669
670
  plugins?:
670
671
  | Array<
671
672
  | components.PIIRedactionPluginEn
672
673
  | components.PIIRedactionPluginNl
673
674
  | components.PIIRedactionPluginAuto
675
+ | components.ResponseHealingPlugin
674
676
  >
675
677
  | undefined;
676
678
  /**
@@ -909,7 +911,8 @@ export type ListAgentsFallbackModelConfigurationGuardrails = {
909
911
  export type ListAgentsFallbackModelConfigurationPlugins =
910
912
  | components.PIIRedactionPluginEn
911
913
  | components.PIIRedactionPluginNl
912
- | components.PIIRedactionPluginAuto;
914
+ | components.PIIRedactionPluginAuto
915
+ | components.ResponseHealingPlugin;
913
916
 
914
917
  export type ListAgentsFallbackModelConfigurationFallbacks = {
915
918
  /**
@@ -1142,13 +1145,14 @@ export type ListAgentsFallbackModelConfigurationParameters = {
1142
1145
  | Array<ListAgentsFallbackModelConfigurationGuardrails>
1143
1146
  | undefined;
1144
1147
  /**
1145
- * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
1148
+ * Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
1146
1149
  */
1147
1150
  plugins?:
1148
1151
  | Array<
1149
1152
  | components.PIIRedactionPluginEn
1150
1153
  | components.PIIRedactionPluginNl
1151
1154
  | components.PIIRedactionPluginAuto
1155
+ | components.ResponseHealingPlugin
1152
1156
  >
1153
1157
  | undefined;
1154
1158
  /**
@@ -1896,6 +1900,7 @@ export const ListAgentsPlugins$inboundSchema: z.ZodType<
1896
1900
  components.PIIRedactionPluginEn$inboundSchema,
1897
1901
  components.PIIRedactionPluginNl$inboundSchema,
1898
1902
  components.PIIRedactionPluginAuto$inboundSchema,
1903
+ components.ResponseHealingPlugin$inboundSchema,
1899
1904
  ]);
1900
1905
 
1901
1906
  export function listAgentsPluginsFromJSON(
@@ -2109,6 +2114,7 @@ export const ListAgentsParameters$inboundSchema: z.ZodType<
2109
2114
  components.PIIRedactionPluginEn$inboundSchema,
2110
2115
  components.PIIRedactionPluginNl$inboundSchema,
2111
2116
  components.PIIRedactionPluginAuto$inboundSchema,
2117
+ components.ResponseHealingPlugin$inboundSchema,
2112
2118
  ]),
2113
2119
  ).optional(),
2114
2120
  fallbacks: z.array(z.lazy(() => ListAgentsFallbacks$inboundSchema))
@@ -2514,6 +2520,7 @@ export const ListAgentsFallbackModelConfigurationPlugins$inboundSchema:
2514
2520
  components.PIIRedactionPluginEn$inboundSchema,
2515
2521
  components.PIIRedactionPluginNl$inboundSchema,
2516
2522
  components.PIIRedactionPluginAuto$inboundSchema,
2523
+ components.ResponseHealingPlugin$inboundSchema,
2517
2524
  ]);
2518
2525
 
2519
2526
  export function listAgentsFallbackModelConfigurationPluginsFromJSON(
@@ -2779,6 +2786,7 @@ export const ListAgentsFallbackModelConfigurationParameters$inboundSchema:
2779
2786
  components.PIIRedactionPluginEn$inboundSchema,
2780
2787
  components.PIIRedactionPluginNl$inboundSchema,
2781
2788
  components.PIIRedactionPluginAuto$inboundSchema,
2789
+ components.ResponseHealingPlugin$inboundSchema,
2782
2790
  ]),
2783
2791
  ).optional(),
2784
2792
  fallbacks: z.array(
@@ -1647,7 +1647,7 @@ export const ListDatasetDatapointsEvaluations4$inboundSchema: z.ZodType<
1647
1647
  explanation: z.string().optional(),
1648
1648
  reviewed_by_id: z.string(),
1649
1649
  reviewed_at: z.string().datetime({ offset: true }).default(
1650
- "2026-07-27T08:23:20.011Z",
1650
+ "2026-07-28T04:12:43.201Z",
1651
1651
  ).transform(v => new Date(v)),
1652
1652
  type: z.literal("string_array"),
1653
1653
  values: z.array(z.string()),
@@ -1743,7 +1743,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
1743
1743
  explanation: z.string().optional(),
1744
1744
  reviewed_by_id: z.string(),
1745
1745
  reviewed_at: z.string().datetime({ offset: true }).default(
1746
- "2026-07-27T08:23:20.009Z",
1746
+ "2026-07-28T04:12:43.200Z",
1747
1747
  ).transform(v => new Date(v)),
1748
1748
  type: z.literal("boolean"),
1749
1749
  value: z.boolean(),
@@ -1847,7 +1847,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
1847
1847
  explanation: z.string().optional(),
1848
1848
  reviewed_by_id: z.string(),
1849
1849
  reviewed_at: z.string().datetime({ offset: true }).default(
1850
- "2026-07-27T08:23:20.008Z",
1850
+ "2026-07-28T04:12:43.199Z",
1851
1851
  ).transform(v => new Date(v)),
1852
1852
  type: z.literal("number"),
1853
1853
  value: z.number(),
@@ -1953,7 +1953,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
1953
1953
  explanation: z.string().optional(),
1954
1954
  reviewed_by_id: z.string(),
1955
1955
  reviewed_at: z.string().datetime({ offset: true }).default(
1956
- "2026-07-27T08:23:20.006Z",
1956
+ "2026-07-28T04:12:43.197Z",
1957
1957
  ).transform(v => new Date(v)),
1958
1958
  type: z.literal("string"),
1959
1959
  value: z.string(),
@@ -2036,7 +2036,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
2036
2036
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2037
2037
  .optional(),
2038
2038
  updated: z.string().datetime({ offset: true }).default(
2039
- "2026-07-27T08:22:51.157Z",
2039
+ "2026-07-28T04:12:12.098Z",
2040
2040
  ).transform(v => new Date(v)),
2041
2041
  }).transform((v) => {
2042
2042
  return remap$(v, {
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
169
169
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
170
170
  .optional(),
171
171
  updated: z.string().datetime({ offset: true }).default(
172
- "2026-07-27T08:22:51.157Z",
172
+ "2026-07-28T04:12:12.098Z",
173
173
  ).transform(v => new Date(v)),
174
174
  }).transform((v) => {
175
175
  return remap$(v, {
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
278
278
  z.ZodTypeDef,
279
279
  unknown
280
280
  > = z.object({
281
- _id: z.string().default("01KYHAQQ3YB77E8FKQPD1P7GXX"),
281
+ _id: z.string().default("01KYKESHQTHB9EA7RRRMAJC8VW"),
282
282
  display_name: z.string(),
283
283
  description: z.nullable(z.string()).optional(),
284
284
  status: ListDatasourcesStatus$inboundSchema,
@@ -268,6 +268,8 @@ export const ListPromptVersionsPromptsReasoningEffort = {
268
268
  Low: "low",
269
269
  Medium: "medium",
270
270
  High: "high",
271
+ Xhigh: "xhigh",
272
+ Max: "max",
271
273
  } as const;
272
274
  /**
273
275
  * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
@@ -445,6 +447,8 @@ export const ListPromptVersionsProvider = {
445
447
  Poolside: "poolside",
446
448
  Tencent: "tencent",
447
449
  Nebius: "nebius",
450
+ Fireworks: "fireworks",
451
+ Baseten: "baseten",
448
452
  Reson8: "reson8",
449
453
  Slack: "slack",
450
454
  Orq: "orq",
@@ -588,9 +592,6 @@ export type ListPromptVersionsMessages = {
588
592
  export type ListPromptVersionsPromptConfig = {
589
593
  stream?: boolean | undefined;
590
594
  model?: string | null | undefined;
591
- /**
592
- * The id of the resource
593
- */
594
595
  modelDbId?: string | null | undefined;
595
596
  /**
596
597
  * The modality of the model
@@ -862,7 +863,8 @@ export type ListPromptVersionsGuardrails = {
862
863
  export type ListPromptVersionsPlugins =
863
864
  | components.PIIRedactionPluginEn
864
865
  | components.PIIRedactionPluginNl
865
- | components.PIIRedactionPluginAuto;
866
+ | components.PIIRedactionPluginAuto
867
+ | components.ResponseHealingPlugin;
866
868
 
867
869
  export type ListPromptVersionsFallbacks = {
868
870
  /**
@@ -1445,13 +1447,14 @@ export type ListPromptVersionsPromptField = {
1445
1447
  */
1446
1448
  guardrails?: Array<ListPromptVersionsGuardrails> | undefined;
1447
1449
  /**
1448
- * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
1450
+ * Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
1449
1451
  */
1450
1452
  plugins?:
1451
1453
  | Array<
1452
1454
  | components.PIIRedactionPluginEn
1453
1455
  | components.PIIRedactionPluginNl
1454
1456
  | components.PIIRedactionPluginAuto
1457
+ | components.ResponseHealingPlugin
1455
1458
  >
1456
1459
  | undefined;
1457
1460
  /**
@@ -2552,6 +2555,7 @@ export const ListPromptVersionsPlugins$inboundSchema: z.ZodType<
2552
2555
  components.PIIRedactionPluginEn$inboundSchema,
2553
2556
  components.PIIRedactionPluginNl$inboundSchema,
2554
2557
  components.PIIRedactionPluginAuto$inboundSchema,
2558
+ components.ResponseHealingPlugin$inboundSchema,
2555
2559
  ]);
2556
2560
 
2557
2561
  export function listPromptVersionsPluginsFromJSON(
@@ -3328,6 +3332,7 @@ export const ListPromptVersionsPromptField$inboundSchema: z.ZodType<
3328
3332
  components.PIIRedactionPluginEn$inboundSchema,
3329
3333
  components.PIIRedactionPluginNl$inboundSchema,
3330
3334
  components.PIIRedactionPluginAuto$inboundSchema,
3335
+ components.ResponseHealingPlugin$inboundSchema,
3331
3336
  ]),
3332
3337
  ).optional(),
3333
3338
  fallbacks: z.array(z.lazy(() => ListPromptVersionsFallbacks$inboundSchema))