@homeflare/distilled-litellm 0.2.0

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 (563) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +77 -0
  3. package/dist/credentials.d.ts +27 -0
  4. package/dist/credentials.d.ts.map +1 -0
  5. package/dist/credentials.js +67 -0
  6. package/dist/credentials.js.map +1 -0
  7. package/dist/errors.d.ts +92 -0
  8. package/dist/errors.d.ts.map +1 -0
  9. package/dist/errors.js +72 -0
  10. package/dist/errors.js.map +1 -0
  11. package/dist/index.d.ts +30 -0
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/index.js +30 -0
  14. package/dist/index.js.map +1 -0
  15. package/dist/protocol.d.ts +18 -0
  16. package/dist/protocol.d.ts.map +1 -0
  17. package/dist/protocol.js +135 -0
  18. package/dist/protocol.js.map +1 -0
  19. package/dist/retry.d.ts +50 -0
  20. package/dist/retry.d.ts.map +1 -0
  21. package/dist/retry.js +43 -0
  22. package/dist/retry.js.map +1 -0
  23. package/dist/services/a2a.d.ts +70 -0
  24. package/dist/services/a2a.d.ts.map +1 -0
  25. package/dist/services/a2a.js +128 -0
  26. package/dist/services/a2a.js.map +1 -0
  27. package/dist/services/a2a_registration.d.ts +43 -0
  28. package/dist/services/a2a_registration.d.ts.map +1 -0
  29. package/dist/services/a2a_registration.js +40 -0
  30. package/dist/services/a2a_registration.js.map +1 -0
  31. package/dist/services/access_groups.d.ts +192 -0
  32. package/dist/services/access_groups.d.ts.map +1 -0
  33. package/dist/services/access_groups.js +283 -0
  34. package/dist/services/access_groups.js.map +1 -0
  35. package/dist/services/adaptive_router.d.ts +15 -0
  36. package/dist/services/adaptive_router.d.ts.map +1 -0
  37. package/dist/services/adaptive_router.js +25 -0
  38. package/dist/services/adaptive_router.js.map +1 -0
  39. package/dist/services/agents.d.ts +537 -0
  40. package/dist/services/agents.d.ts.map +1 -0
  41. package/dist/services/agents.js +481 -0
  42. package/dist/services/agents.js.map +1 -0
  43. package/dist/services/alerting.d.ts +15 -0
  44. package/dist/services/alerting.d.ts.map +1 -0
  45. package/dist/services/alerting.js +25 -0
  46. package/dist/services/alerting.js.map +1 -0
  47. package/dist/services/anthropic_pass_through.d.ts +70 -0
  48. package/dist/services/anthropic_pass_through.d.ts.map +1 -0
  49. package/dist/services/anthropic_pass_through.js +114 -0
  50. package/dist/services/anthropic_pass_through.js.map +1 -0
  51. package/dist/services/anthropic_passthrough.d.ts +35 -0
  52. package/dist/services/anthropic_passthrough.d.ts.map +1 -0
  53. package/dist/services/anthropic_passthrough.js +59 -0
  54. package/dist/services/anthropic_passthrough.js.map +1 -0
  55. package/dist/services/anthropic_skills.d.ts +74 -0
  56. package/dist/services/anthropic_skills.d.ts.map +1 -0
  57. package/dist/services/anthropic_skills.js +94 -0
  58. package/dist/services/anthropic_skills.js.map +1 -0
  59. package/dist/services/assembly_ai_eu_pass_through.d.ts +70 -0
  60. package/dist/services/assembly_ai_eu_pass_through.d.ts.map +1 -0
  61. package/dist/services/assembly_ai_eu_pass_through.js +114 -0
  62. package/dist/services/assembly_ai_eu_pass_through.js.map +1 -0
  63. package/dist/services/assembly_ai_pass_through.d.ts +70 -0
  64. package/dist/services/assembly_ai_pass_through.d.ts.map +1 -0
  65. package/dist/services/assembly_ai_pass_through.js +114 -0
  66. package/dist/services/assembly_ai_pass_through.js.map +1 -0
  67. package/dist/services/assistants.d.ts +185 -0
  68. package/dist/services/assistants.d.ts.map +1 -0
  69. package/dist/services/assistants.js +331 -0
  70. package/dist/services/assistants.js.map +1 -0
  71. package/dist/services/audio.d.ts +57 -0
  72. package/dist/services/audio.d.ts.map +1 -0
  73. package/dist/services/audio.js +96 -0
  74. package/dist/services/audio.js.map +1 -0
  75. package/dist/services/audit_logging.d.ts +98 -0
  76. package/dist/services/audit_logging.d.ts.map +1 -0
  77. package/dist/services/audit_logging.js +83 -0
  78. package/dist/services/audit_logging.js.map +1 -0
  79. package/dist/services/auto_router.d.ts +286 -0
  80. package/dist/services/auto_router.d.ts.map +1 -0
  81. package/dist/services/auto_router.js +248 -0
  82. package/dist/services/auto_router.js.map +1 -0
  83. package/dist/services/aws_comprehend_medical_pass_through.d.ts +36 -0
  84. package/dist/services/aws_comprehend_medical_pass_through.d.ts.map +1 -0
  85. package/dist/services/aws_comprehend_medical_pass_through.js +56 -0
  86. package/dist/services/aws_comprehend_medical_pass_through.js.map +1 -0
  87. package/dist/services/azure_ai_pass_through.d.ts +70 -0
  88. package/dist/services/azure_ai_pass_through.d.ts.map +1 -0
  89. package/dist/services/azure_ai_pass_through.js +112 -0
  90. package/dist/services/azure_ai_pass_through.js.map +1 -0
  91. package/dist/services/azure_pass_through.d.ts +70 -0
  92. package/dist/services/azure_pass_through.d.ts.map +1 -0
  93. package/dist/services/azure_pass_through.js +107 -0
  94. package/dist/services/azure_pass_through.js.map +1 -0
  95. package/dist/services/batch.d.ts +165 -0
  96. package/dist/services/batch.d.ts.map +1 -0
  97. package/dist/services/batch.js +265 -0
  98. package/dist/services/batch.js.map +1 -0
  99. package/dist/services/bedrock_pass_through.d.ts +70 -0
  100. package/dist/services/bedrock_pass_through.d.ts.map +1 -0
  101. package/dist/services/bedrock_pass_through.js +114 -0
  102. package/dist/services/bedrock_pass_through.js.map +1 -0
  103. package/dist/services/beta_agents.d.ts +199 -0
  104. package/dist/services/beta_agents.d.ts.map +1 -0
  105. package/dist/services/beta_agents.js +151 -0
  106. package/dist/services/beta_agents.js.map +1 -0
  107. package/dist/services/beta_mcp.d.ts +37 -0
  108. package/dist/services/beta_mcp.d.ts.map +1 -0
  109. package/dist/services/beta_mcp.js +40 -0
  110. package/dist/services/beta_mcp.js.map +1 -0
  111. package/dist/services/budget_management.d.ts +185 -0
  112. package/dist/services/budget_management.d.ts.map +1 -0
  113. package/dist/services/budget_management.js +196 -0
  114. package/dist/services/budget_management.js.map +1 -0
  115. package/dist/services/budget_spend_tracking.d.ts +967 -0
  116. package/dist/services/budget_spend_tracking.d.ts.map +1 -0
  117. package/dist/services/budget_spend_tracking.js +1103 -0
  118. package/dist/services/budget_spend_tracking.js.map +1 -0
  119. package/dist/services/cache_settings.d.ts +96 -0
  120. package/dist/services/cache_settings.d.ts.map +1 -0
  121. package/dist/services/cache_settings.js +95 -0
  122. package/dist/services/cache_settings.js.map +1 -0
  123. package/dist/services/caching.d.ts +54 -0
  124. package/dist/services/caching.d.ts.map +1 -0
  125. package/dist/services/caching.js +78 -0
  126. package/dist/services/caching.js.map +1 -0
  127. package/dist/services/chat_completions.d.ts +656 -0
  128. package/dist/services/chat_completions.d.ts.map +1 -0
  129. package/dist/services/chat_completions.js +590 -0
  130. package/dist/services/chat_completions.js.map +1 -0
  131. package/dist/services/claude_code_marketplace.d.ts +212 -0
  132. package/dist/services/claude_code_marketplace.d.ts.map +1 -0
  133. package/dist/services/claude_code_marketplace.js +248 -0
  134. package/dist/services/claude_code_marketplace.js.map +1 -0
  135. package/dist/services/cloudzero.d.ts +117 -0
  136. package/dist/services/cloudzero.d.ts.map +1 -0
  137. package/dist/services/cloudzero.js +130 -0
  138. package/dist/services/cloudzero.js.map +1 -0
  139. package/dist/services/cohere_pass_through.d.ts +70 -0
  140. package/dist/services/cohere_pass_through.d.ts.map +1 -0
  141. package/dist/services/cohere_pass_through.js +112 -0
  142. package/dist/services/cohere_pass_through.js.map +1 -0
  143. package/dist/services/completions.d.ts +59 -0
  144. package/dist/services/completions.d.ts.map +1 -0
  145. package/dist/services/completions.js +98 -0
  146. package/dist/services/completions.js.map +1 -0
  147. package/dist/services/compliance.d.ts +66 -0
  148. package/dist/services/compliance.d.ts.map +1 -0
  149. package/dist/services/compliance.js +74 -0
  150. package/dist/services/compliance.js.map +1 -0
  151. package/dist/services/config_overrides.d.ts +157 -0
  152. package/dist/services/config_overrides.d.ts.map +1 -0
  153. package/dist/services/config_overrides.js +207 -0
  154. package/dist/services/config_overrides.js.map +1 -0
  155. package/dist/services/config_yaml.d.ts +647 -0
  156. package/dist/services/config_yaml.d.ts.map +1 -0
  157. package/dist/services/config_yaml.js +504 -0
  158. package/dist/services/config_yaml.js.map +1 -0
  159. package/dist/services/containers.d.ts +215 -0
  160. package/dist/services/containers.d.ts.map +1 -0
  161. package/dist/services/containers.js +416 -0
  162. package/dist/services/containers.js.map +1 -0
  163. package/dist/services/coordination_redis_settings.d.ts +93 -0
  164. package/dist/services/coordination_redis_settings.d.ts.map +1 -0
  165. package/dist/services/coordination_redis_settings.js +104 -0
  166. package/dist/services/coordination_redis_settings.js.map +1 -0
  167. package/dist/services/cost_tracking.d.ts +140 -0
  168. package/dist/services/cost_tracking.d.ts.map +1 -0
  169. package/dist/services/cost_tracking.js +181 -0
  170. package/dist/services/cost_tracking.js.map +1 -0
  171. package/dist/services/credential_management.d.ts +133 -0
  172. package/dist/services/credential_management.d.ts.map +1 -0
  173. package/dist/services/credential_management.js +198 -0
  174. package/dist/services/credential_management.js.map +1 -0
  175. package/dist/services/cursor_pass_through.d.ts +70 -0
  176. package/dist/services/cursor_pass_through.d.ts.map +1 -0
  177. package/dist/services/cursor_pass_through.js +112 -0
  178. package/dist/services/cursor_pass_through.js.map +1 -0
  179. package/dist/services/customer_management.d.ts +545 -0
  180. package/dist/services/customer_management.d.ts.map +1 -0
  181. package/dist/services/customer_management.js +567 -0
  182. package/dist/services/customer_management.js.map +1 -0
  183. package/dist/services/email_management.d.ts +57 -0
  184. package/dist/services/email_management.d.ts.map +1 -0
  185. package/dist/services/email_management.js +79 -0
  186. package/dist/services/email_management.js.map +1 -0
  187. package/dist/services/embeddings.d.ts +155 -0
  188. package/dist/services/embeddings.d.ts.map +1 -0
  189. package/dist/services/embeddings.js +168 -0
  190. package/dist/services/embeddings.js.map +1 -0
  191. package/dist/services/evals.d.ts +245 -0
  192. package/dist/services/evals.d.ts.map +1 -0
  193. package/dist/services/evals.js +292 -0
  194. package/dist/services/evals.js.map +1 -0
  195. package/dist/services/experimental.d.ts +166 -0
  196. package/dist/services/experimental.d.ts.map +1 -0
  197. package/dist/services/experimental.js +265 -0
  198. package/dist/services/experimental.js.map +1 -0
  199. package/dist/services/fallback_management.d.ts +91 -0
  200. package/dist/services/fallback_management.d.ts.map +1 -0
  201. package/dist/services/fallback_management.js +86 -0
  202. package/dist/services/fallback_management.js.map +1 -0
  203. package/dist/services/files.d.ts +219 -0
  204. package/dist/services/files.d.ts.map +1 -0
  205. package/dist/services/files.js +358 -0
  206. package/dist/services/files.js.map +1 -0
  207. package/dist/services/fine_tuning.d.ts +155 -0
  208. package/dist/services/fine_tuning.d.ts.map +1 -0
  209. package/dist/services/fine_tuning.js +232 -0
  210. package/dist/services/fine_tuning.js.map +1 -0
  211. package/dist/services/gemini_agents.d.ts +68 -0
  212. package/dist/services/gemini_agents.d.ts.map +1 -0
  213. package/dist/services/gemini_agents.js +110 -0
  214. package/dist/services/gemini_agents.js.map +1 -0
  215. package/dist/services/google_ai_studio_pass_through.d.ts +70 -0
  216. package/dist/services/google_ai_studio_pass_through.d.ts.map +1 -0
  217. package/dist/services/google_ai_studio_pass_through.js +112 -0
  218. package/dist/services/google_ai_studio_pass_through.js.map +1 -0
  219. package/dist/services/google_genai_endpoints.d.ts +174 -0
  220. package/dist/services/google_genai_endpoints.d.ts.map +1 -0
  221. package/dist/services/google_genai_endpoints.js +340 -0
  222. package/dist/services/google_genai_endpoints.js.map +1 -0
  223. package/dist/services/guardrails.d.ts +1221 -0
  224. package/dist/services/guardrails.d.ts.map +1 -0
  225. package/dist/services/guardrails.js +1087 -0
  226. package/dist/services/guardrails.js.map +1 -0
  227. package/dist/services/health.d.ts +212 -0
  228. package/dist/services/health.d.ts.map +1 -0
  229. package/dist/services/health.js +309 -0
  230. package/dist/services/health.js.map +1 -0
  231. package/dist/services/images.d.ts +117 -0
  232. package/dist/services/images.d.ts.map +1 -0
  233. package/dist/services/images.js +184 -0
  234. package/dist/services/images.js.map +1 -0
  235. package/dist/services/index.d.ts +106 -0
  236. package/dist/services/index.d.ts.map +1 -0
  237. package/dist/services/index.js +107 -0
  238. package/dist/services/index.js.map +1 -0
  239. package/dist/services/internal_user_management.d.ts +1062 -0
  240. package/dist/services/internal_user_management.d.ts.map +1 -0
  241. package/dist/services/internal_user_management.js +850 -0
  242. package/dist/services/internal_user_management.js.map +1 -0
  243. package/dist/services/invite_links.d.ts +56 -0
  244. package/dist/services/invite_links.d.ts.map +1 -0
  245. package/dist/services/invite_links.js +82 -0
  246. package/dist/services/invite_links.js.map +1 -0
  247. package/dist/services/jwt_mappings.d.ts +79 -0
  248. package/dist/services/jwt_mappings.d.ts.map +1 -0
  249. package/dist/services/jwt_mappings.js +116 -0
  250. package/dist/services/jwt_mappings.js.map +1 -0
  251. package/dist/services/key_management.d.ts +1640 -0
  252. package/dist/services/key_management.d.ts.map +1 -0
  253. package/dist/services/key_management.js +1344 -0
  254. package/dist/services/key_management.js.map +1 -0
  255. package/dist/services/langfuse_passthrough.d.ts +70 -0
  256. package/dist/services/langfuse_passthrough.d.ts.map +1 -0
  257. package/dist/services/langfuse_passthrough.js +114 -0
  258. package/dist/services/langfuse_passthrough.js.map +1 -0
  259. package/dist/services/llm_utils.d.ts +101 -0
  260. package/dist/services/llm_utils.d.ts.map +1 -0
  261. package/dist/services/llm_utils.js +110 -0
  262. package/dist/services/llm_utils.js.map +1 -0
  263. package/dist/services/logging_callbacks.d.ts +33 -0
  264. package/dist/services/logging_callbacks.d.ts.map +1 -0
  265. package/dist/services/logging_callbacks.js +46 -0
  266. package/dist/services/logging_callbacks.js.map +1 -0
  267. package/dist/services/mcp_byok_oauth.d.ts +112 -0
  268. package/dist/services/mcp_byok_oauth.d.ts.map +1 -0
  269. package/dist/services/mcp_byok_oauth.js +226 -0
  270. package/dist/services/mcp_byok_oauth.js.map +1 -0
  271. package/dist/services/mcp_discoverable.d.ts +197 -0
  272. package/dist/services/mcp_discoverable.d.ts.map +1 -0
  273. package/dist/services/mcp_discoverable.js +304 -0
  274. package/dist/services/mcp_discoverable.js.map +1 -0
  275. package/dist/services/mcp_management.d.ts +956 -0
  276. package/dist/services/mcp_management.d.ts.map +1 -0
  277. package/dist/services/mcp_management.js +1139 -0
  278. package/dist/services/mcp_management.js.map +1 -0
  279. package/dist/services/mcp_rest.d.ts +281 -0
  280. package/dist/services/mcp_rest.d.ts.map +1 -0
  281. package/dist/services/mcp_rest.js +269 -0
  282. package/dist/services/mcp_rest.js.map +1 -0
  283. package/dist/services/memory_management.d.ts +93 -0
  284. package/dist/services/memory_management.d.ts.map +1 -0
  285. package/dist/services/memory_management.js +117 -0
  286. package/dist/services/memory_management.js.map +1 -0
  287. package/dist/services/milvus_pass_through.d.ts +70 -0
  288. package/dist/services/milvus_pass_through.d.ts.map +1 -0
  289. package/dist/services/milvus_pass_through.js +112 -0
  290. package/dist/services/milvus_pass_through.js.map +1 -0
  291. package/dist/services/misc.d.ts +676 -0
  292. package/dist/services/misc.d.ts.map +1 -0
  293. package/dist/services/misc.js +954 -0
  294. package/dist/services/misc.js.map +1 -0
  295. package/dist/services/mistral_pass_through.d.ts +70 -0
  296. package/dist/services/mistral_pass_through.d.ts.map +1 -0
  297. package/dist/services/mistral_pass_through.js +114 -0
  298. package/dist/services/mistral_pass_through.js.map +1 -0
  299. package/dist/services/model_management.d.ts +1649 -0
  300. package/dist/services/model_management.d.ts.map +1 -0
  301. package/dist/services/model_management.js +1805 -0
  302. package/dist/services/model_management.js.map +1 -0
  303. package/dist/services/moderations.d.ts +25 -0
  304. package/dist/services/moderations.d.ts.map +1 -0
  305. package/dist/services/moderations.js +39 -0
  306. package/dist/services/moderations.js.map +1 -0
  307. package/dist/services/ocr.d.ts +25 -0
  308. package/dist/services/ocr.d.ts.map +1 -0
  309. package/dist/services/ocr.js +39 -0
  310. package/dist/services/ocr.js.map +1 -0
  311. package/dist/services/open_ai_pass_through.d.ts +125 -0
  312. package/dist/services/open_ai_pass_through.d.ts.map +1 -0
  313. package/dist/services/open_ai_pass_through.js +232 -0
  314. package/dist/services/open_ai_pass_through.js.map +1 -0
  315. package/dist/services/organization_management.d.ts +664 -0
  316. package/dist/services/organization_management.d.ts.map +1 -0
  317. package/dist/services/organization_management.js +644 -0
  318. package/dist/services/organization_management.js.map +1 -0
  319. package/dist/services/plugins.d.ts +106 -0
  320. package/dist/services/plugins.d.ts.map +1 -0
  321. package/dist/services/plugins.js +180 -0
  322. package/dist/services/plugins.js.map +1 -0
  323. package/dist/services/policies.d.ts +618 -0
  324. package/dist/services/policies.d.ts.map +1 -0
  325. package/dist/services/policies.js +616 -0
  326. package/dist/services/policies.js.map +1 -0
  327. package/dist/services/policy_engine.d.ts +483 -0
  328. package/dist/services/policy_engine.d.ts.map +1 -0
  329. package/dist/services/policy_engine.js +501 -0
  330. package/dist/services/policy_engine.js.map +1 -0
  331. package/dist/services/project_management.d.ts +356 -0
  332. package/dist/services/project_management.d.ts.map +1 -0
  333. package/dist/services/project_management.js +318 -0
  334. package/dist/services/project_management.js.map +1 -0
  335. package/dist/services/prompts.d.ts +193 -0
  336. package/dist/services/prompts.d.ts.map +1 -0
  337. package/dist/services/prompts.js +260 -0
  338. package/dist/services/prompts.js.map +1 -0
  339. package/dist/services/public.d.ts +300 -0
  340. package/dist/services/public.d.ts.map +1 -0
  341. package/dist/services/public.js +362 -0
  342. package/dist/services/public.js.map +1 -0
  343. package/dist/services/rag.d.ts +45 -0
  344. package/dist/services/rag.d.ts.map +1 -0
  345. package/dist/services/rag.js +71 -0
  346. package/dist/services/rag.js.map +1 -0
  347. package/dist/services/realtime.d.ts +91 -0
  348. package/dist/services/realtime.d.ts.map +1 -0
  349. package/dist/services/realtime.js +164 -0
  350. package/dist/services/realtime.js.map +1 -0
  351. package/dist/services/rerank.d.ts +35 -0
  352. package/dist/services/rerank.d.ts.map +1 -0
  353. package/dist/services/rerank.js +55 -0
  354. package/dist/services/rerank.js.map +1 -0
  355. package/dist/services/responses.d.ts +237 -0
  356. package/dist/services/responses.d.ts.map +1 -0
  357. package/dist/services/responses.js +445 -0
  358. package/dist/services/responses.js.map +1 -0
  359. package/dist/services/router_settings.d.ts +67 -0
  360. package/dist/services/router_settings.d.ts.map +1 -0
  361. package/dist/services/router_settings.js +63 -0
  362. package/dist/services/router_settings.js.map +1 -0
  363. package/dist/services/rust_control_plane.d.ts +52 -0
  364. package/dist/services/rust_control_plane.d.ts.map +1 -0
  365. package/dist/services/rust_control_plane.js +54 -0
  366. package/dist/services/rust_control_plane.js.map +1 -0
  367. package/dist/services/scim.d.ts +412 -0
  368. package/dist/services/scim.d.ts.map +1 -0
  369. package/dist/services/scim.js +519 -0
  370. package/dist/services/scim.js.map +1 -0
  371. package/dist/services/search.d.ts +79 -0
  372. package/dist/services/search.d.ts.map +1 -0
  373. package/dist/services/search.js +122 -0
  374. package/dist/services/search.js.map +1 -0
  375. package/dist/services/search_tools.d.ts +140 -0
  376. package/dist/services/search_tools.d.ts.map +1 -0
  377. package/dist/services/search_tools.js +201 -0
  378. package/dist/services/search_tools.js.map +1 -0
  379. package/dist/services/settings.d.ts +53 -0
  380. package/dist/services/settings.d.ts.map +1 -0
  381. package/dist/services/settings.js +67 -0
  382. package/dist/services/settings.js.map +1 -0
  383. package/dist/services/sso_settings.d.ts +239 -0
  384. package/dist/services/sso_settings.d.ts.map +1 -0
  385. package/dist/services/sso_settings.js +214 -0
  386. package/dist/services/sso_settings.js.map +1 -0
  387. package/dist/services/tag_management.d.ts +390 -0
  388. package/dist/services/tag_management.d.ts.map +1 -0
  389. package/dist/services/tag_management.js +407 -0
  390. package/dist/services/tag_management.js.map +1 -0
  391. package/dist/services/team_management.d.ts +1502 -0
  392. package/dist/services/team_management.d.ts.map +1 -0
  393. package/dist/services/team_management.js +1429 -0
  394. package/dist/services/team_management.js.map +1 -0
  395. package/dist/services/tools.d.ts +227 -0
  396. package/dist/services/tools.d.ts.map +1 -0
  397. package/dist/services/tools.js +266 -0
  398. package/dist/services/tools.js.map +1 -0
  399. package/dist/services/ui_settings.d.ts +90 -0
  400. package/dist/services/ui_settings.d.ts.map +1 -0
  401. package/dist/services/ui_settings.js +96 -0
  402. package/dist/services/ui_settings.js.map +1 -0
  403. package/dist/services/ui_theme_settings.d.ts +62 -0
  404. package/dist/services/ui_theme_settings.d.ts.map +1 -0
  405. package/dist/services/ui_theme_settings.js +79 -0
  406. package/dist/services/ui_theme_settings.js.map +1 -0
  407. package/dist/services/usage_ai.d.ts +39 -0
  408. package/dist/services/usage_ai.d.ts.map +1 -0
  409. package/dist/services/usage_ai.js +40 -0
  410. package/dist/services/usage_ai.js.map +1 -0
  411. package/dist/services/vantage.d.ts +108 -0
  412. package/dist/services/vantage.d.ts.map +1 -0
  413. package/dist/services/vantage.js +124 -0
  414. package/dist/services/vantage.js.map +1 -0
  415. package/dist/services/vector_store_management.d.ts +161 -0
  416. package/dist/services/vector_store_management.d.ts.map +1 -0
  417. package/dist/services/vector_store_management.js +191 -0
  418. package/dist/services/vector_store_management.js.map +1 -0
  419. package/dist/services/vector_stores.d.ts +342 -0
  420. package/dist/services/vector_stores.d.ts.map +1 -0
  421. package/dist/services/vector_stores.js +639 -0
  422. package/dist/services/vector_stores.js.map +1 -0
  423. package/dist/services/vertex_ai_pass_through.d.ts +180 -0
  424. package/dist/services/vertex_ai_pass_through.d.ts.map +1 -0
  425. package/dist/services/vertex_ai_pass_through.js +334 -0
  426. package/dist/services/vertex_ai_pass_through.js.map +1 -0
  427. package/dist/services/videos.d.ts +207 -0
  428. package/dist/services/videos.d.ts.map +1 -0
  429. package/dist/services/videos.js +373 -0
  430. package/dist/services/videos.js.map +1 -0
  431. package/dist/services/vllm_pass_through.d.ts +70 -0
  432. package/dist/services/vllm_pass_through.d.ts.map +1 -0
  433. package/dist/services/vllm_pass_through.js +104 -0
  434. package/dist/services/vllm_pass_through.js.map +1 -0
  435. package/dist/services/watsonx_pass_through.d.ts +70 -0
  436. package/dist/services/watsonx_pass_through.d.ts.map +1 -0
  437. package/dist/services/watsonx_pass_through.js +114 -0
  438. package/dist/services/watsonx_pass_through.js.map +1 -0
  439. package/dist/services/web_socket.d.ts +77 -0
  440. package/dist/services/web_socket.d.ts.map +1 -0
  441. package/dist/services/web_socket.js +135 -0
  442. package/dist/services/web_socket.js.map +1 -0
  443. package/dist/services/workflow_management.d.ts +140 -0
  444. package/dist/services/workflow_management.d.ts.map +1 -0
  445. package/dist/services/workflow_management.js +220 -0
  446. package/dist/services/workflow_management.js.map +1 -0
  447. package/dist/traits.d.ts +14 -0
  448. package/dist/traits.d.ts.map +1 -0
  449. package/dist/traits.js +15 -0
  450. package/dist/traits.js.map +1 -0
  451. package/package.json +75 -0
  452. package/src/credentials.ts +97 -0
  453. package/src/errors.ts +108 -0
  454. package/src/index.ts +33 -0
  455. package/src/protocol.ts +160 -0
  456. package/src/retry.ts +74 -0
  457. package/src/services/a2a.ts +250 -0
  458. package/src/services/a2a_registration.ts +94 -0
  459. package/src/services/access_groups.ts +716 -0
  460. package/src/services/adaptive_router.ts +49 -0
  461. package/src/services/agents.ts +1314 -0
  462. package/src/services/alerting.ts +49 -0
  463. package/src/services/anthropic_pass_through.ts +233 -0
  464. package/src/services/anthropic_passthrough.ts +123 -0
  465. package/src/services/anthropic_skills.ts +200 -0
  466. package/src/services/assembly_ai_eu_pass_through.ts +237 -0
  467. package/src/services/assembly_ai_pass_through.ts +237 -0
  468. package/src/services/assistants.ts +685 -0
  469. package/src/services/audio.ts +189 -0
  470. package/src/services/audit_logging.ts +194 -0
  471. package/src/services/auto_router.ts +625 -0
  472. package/src/services/aws_comprehend_medical_pass_through.ts +109 -0
  473. package/src/services/azure_ai_pass_through.ts +231 -0
  474. package/src/services/azure_pass_through.ts +227 -0
  475. package/src/services/batch.ts +553 -0
  476. package/src/services/bedrock_pass_through.ts +229 -0
  477. package/src/services/beta_agents.ts +444 -0
  478. package/src/services/beta_mcp.ts +105 -0
  479. package/src/services/budget_management.ts +465 -0
  480. package/src/services/budget_spend_tracking.ts +2670 -0
  481. package/src/services/cache_settings.ts +234 -0
  482. package/src/services/caching.ts +175 -0
  483. package/src/services/chat_completions.ts +1788 -0
  484. package/src/services/claude_code_marketplace.ts +569 -0
  485. package/src/services/cloudzero.ts +297 -0
  486. package/src/services/cohere_pass_through.ts +227 -0
  487. package/src/services/completions.ts +194 -0
  488. package/src/services/compliance.ts +175 -0
  489. package/src/services/config_overrides.ts +466 -0
  490. package/src/services/config_yaml.ts +1537 -0
  491. package/src/services/containers.ts +848 -0
  492. package/src/services/coordination_redis_settings.ts +251 -0
  493. package/src/services/cost_tracking.ts +407 -0
  494. package/src/services/credential_management.ts +436 -0
  495. package/src/services/cursor_pass_through.ts +227 -0
  496. package/src/services/customer_management.ts +1475 -0
  497. package/src/services/email_management.ts +171 -0
  498. package/src/services/embeddings.ts +424 -0
  499. package/src/services/evals.ts +672 -0
  500. package/src/services/experimental.ts +572 -0
  501. package/src/services/fallback_management.ts +224 -0
  502. package/src/services/files.ts +732 -0
  503. package/src/services/fine_tuning.ts +547 -0
  504. package/src/services/gemini_agents.ts +227 -0
  505. package/src/services/google_ai_studio_pass_through.ts +227 -0
  506. package/src/services/google_genai_endpoints.ts +688 -0
  507. package/src/services/guardrails.ts +3006 -0
  508. package/src/services/health.ts +713 -0
  509. package/src/services/images.ts +430 -0
  510. package/src/services/index.ts +106 -0
  511. package/src/services/internal_user_management.ts +2574 -0
  512. package/src/services/invite_links.ts +167 -0
  513. package/src/services/jwt_mappings.ts +238 -0
  514. package/src/services/key_management.ts +4162 -0
  515. package/src/services/langfuse_passthrough.ts +231 -0
  516. package/src/services/llm_utils.ts +429 -0
  517. package/src/services/logging_callbacks.ts +104 -0
  518. package/src/services/mcp_byok_oauth.ts +468 -0
  519. package/src/services/mcp_discoverable.ts +626 -0
  520. package/src/services/mcp_management.ts +2915 -0
  521. package/src/services/mcp_rest.ts +779 -0
  522. package/src/services/memory_management.ts +248 -0
  523. package/src/services/milvus_pass_through.ts +227 -0
  524. package/src/services/misc.ts +2128 -0
  525. package/src/services/mistral_pass_through.ts +229 -0
  526. package/src/services/model_management.ts +4501 -0
  527. package/src/services/moderations.ts +80 -0
  528. package/src/services/ocr.ts +78 -0
  529. package/src/services/open_ai_pass_through.ts +462 -0
  530. package/src/services/organization_management.ts +1749 -0
  531. package/src/services/plugins.ts +367 -0
  532. package/src/services/policies.ts +1676 -0
  533. package/src/services/policy_engine.ts +1318 -0
  534. package/src/services/project_management.ts +938 -0
  535. package/src/services/prompts.ts +592 -0
  536. package/src/services/public.ts +880 -0
  537. package/src/services/rag.ts +148 -0
  538. package/src/services/realtime.ts +350 -0
  539. package/src/services/rerank.ts +111 -0
  540. package/src/services/responses.ts +909 -0
  541. package/src/services/router_settings.ts +168 -0
  542. package/src/services/rust_control_plane.ts +123 -0
  543. package/src/services/scim.ts +1243 -0
  544. package/src/services/search.ts +260 -0
  545. package/src/services/search_tools.ts +439 -0
  546. package/src/services/settings.ts +146 -0
  547. package/src/services/sso_settings.ts +626 -0
  548. package/src/services/tag_management.ts +1004 -0
  549. package/src/services/team_management.ts +3990 -0
  550. package/src/services/tools.ts +628 -0
  551. package/src/services/ui_settings.ts +237 -0
  552. package/src/services/ui_theme_settings.ts +173 -0
  553. package/src/services/usage_ai.ts +86 -0
  554. package/src/services/vantage.ts +283 -0
  555. package/src/services/vector_store_management.ts +454 -0
  556. package/src/services/vector_stores.ts +1321 -0
  557. package/src/services/vertex_ai_pass_through.ts +684 -0
  558. package/src/services/videos.ts +762 -0
  559. package/src/services/vllm_pass_through.ts +227 -0
  560. package/src/services/watsonx_pass_through.ts +229 -0
  561. package/src/services/web_socket.ts +254 -0
  562. package/src/services/workflow_management.ts +482 -0
  563. package/src/traits.ts +44 -0
@@ -0,0 +1,1221 @@
1
+ import * as S from "@distilled.cloud/core/schema";
2
+ import * as API from "@distilled.cloud/core/api";
3
+ import { type LitellmOpError, type LitellmOpContext } from "../protocol.ts";
4
+ export type { LitellmOpError, LitellmOpContext };
5
+ declare const UnprocessableEntity_base: S.Class<UnprocessableEntity, S.TaggedStruct<"UnprocessableEntity", {
6
+ readonly code: any;
7
+ readonly message: any;
8
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
9
+ "@distilled.cloud/error/categories": {
10
+ BadRequestError: true;
11
+ };
12
+ });
13
+ export declare class UnprocessableEntity extends /*@__PURE__*/ UnprocessableEntity_base {
14
+ }
15
+ export type PiiEntityType = "CREDIT_CARD" | "CRYPTO" | "DATE_TIME" | "EMAIL_ADDRESS" | "IBAN_CODE" | "IP_ADDRESS" | "NRP" | "LOCATION" | "PERSON" | "PHONE_NUMBER" | "MEDICAL_LICENSE" | "URL" | "US_BANK_NUMBER" | "US_DRIVER_LICENSE" | "US_ITIN" | "US_PASSPORT" | "US_SSN" | "UK_NHS" | "UK_NINO" | "UK_PASSPORT" | "UK_POSTCODE" | "UK_VEHICLE_REGISTRATION" | "ES_NIF" | "ES_NIE" | "IT_FISCAL_CODE" | "IT_DRIVER_LICENSE" | "IT_VAT_CODE" | "IT_PASSPORT" | "IT_IDENTITY_CARD" | "PL_PESEL" | "SG_NRIC_FIN" | "SG_UEN" | "AU_ABN" | "AU_ACN" | "AU_TFN" | "AU_MEDICARE" | "IN_PAN" | "IN_AADHAAR" | "IN_VEHICLE_REGISTRATION" | "IN_VOTER" | "IN_PASSPORT" | "FI_PERSONAL_IDENTITY_CODE";
16
+ export declare const PiiEntityType: any;
17
+ export type ApplyGuardrailApplyGuardrailPostRequestEntitiesList = Array<PiiEntityType | (string & {})>;
18
+ export declare const ApplyGuardrailApplyGuardrailPostRequestEntitiesList: S.Schema<ApplyGuardrailApplyGuardrailPostRequestEntitiesList>;
19
+ export type ApplyGuardrailApplyGuardrailPostRequestMessagesItemMap = {
20
+ [key: string]: unknown | undefined;
21
+ };
22
+ export declare const ApplyGuardrailApplyGuardrailPostRequestMessagesItemMap: S.Schema<ApplyGuardrailApplyGuardrailPostRequestMessagesItemMap>;
23
+ export type ApplyGuardrailApplyGuardrailPostRequestMessagesList = Array<ApplyGuardrailApplyGuardrailPostRequestMessagesItemMap>;
24
+ export declare const ApplyGuardrailApplyGuardrailPostRequestMessagesList: S.Schema<ApplyGuardrailApplyGuardrailPostRequestMessagesList>;
25
+ export type ApplyGuardrailApplyGuardrailPostRequestMetadataMap = {
26
+ [key: string]: unknown | undefined;
27
+ };
28
+ export declare const ApplyGuardrailApplyGuardrailPostRequestMetadataMap: S.Schema<ApplyGuardrailApplyGuardrailPostRequestMetadataMap>;
29
+ export interface ApplyGuardrailApplyGuardrailPostRequest {
30
+ entities?: ApplyGuardrailApplyGuardrailPostRequestEntitiesList | null;
31
+ guardrail_name: string;
32
+ input_type?: string;
33
+ language?: string | null;
34
+ messages?: ApplyGuardrailApplyGuardrailPostRequestMessagesList | null;
35
+ metadata?: ApplyGuardrailApplyGuardrailPostRequestMetadataMap | null;
36
+ text: string;
37
+ }
38
+ export declare const ApplyGuardrailApplyGuardrailPostRequest: S.Schema<ApplyGuardrailApplyGuardrailPostRequest>;
39
+ export interface ApplyGuardrailResponse {
40
+ response_text: string;
41
+ }
42
+ export declare const ApplyGuardrailResponse: S.Schema<ApplyGuardrailResponse>;
43
+ export type ApplyGuardrailGuardrailsApplyGuardrailPostRequestEntitiesList = Array<PiiEntityType | (string & {})>;
44
+ export declare const ApplyGuardrailGuardrailsApplyGuardrailPostRequestEntitiesList: S.Schema<ApplyGuardrailGuardrailsApplyGuardrailPostRequestEntitiesList>;
45
+ export type ApplyGuardrailGuardrailsApplyGuardrailPostRequestMessagesItemMap = {
46
+ [key: string]: unknown | undefined;
47
+ };
48
+ export declare const ApplyGuardrailGuardrailsApplyGuardrailPostRequestMessagesItemMap: S.Schema<ApplyGuardrailGuardrailsApplyGuardrailPostRequestMessagesItemMap>;
49
+ export type ApplyGuardrailGuardrailsApplyGuardrailPostRequestMessagesList = Array<ApplyGuardrailGuardrailsApplyGuardrailPostRequestMessagesItemMap>;
50
+ export declare const ApplyGuardrailGuardrailsApplyGuardrailPostRequestMessagesList: S.Schema<ApplyGuardrailGuardrailsApplyGuardrailPostRequestMessagesList>;
51
+ export type ApplyGuardrailGuardrailsApplyGuardrailPostRequestMetadataMap = {
52
+ [key: string]: unknown | undefined;
53
+ };
54
+ export declare const ApplyGuardrailGuardrailsApplyGuardrailPostRequestMetadataMap: S.Schema<ApplyGuardrailGuardrailsApplyGuardrailPostRequestMetadataMap>;
55
+ export interface ApplyGuardrailGuardrailsApplyGuardrailPostRequest {
56
+ entities?: ApplyGuardrailGuardrailsApplyGuardrailPostRequestEntitiesList | null;
57
+ guardrail_name: string;
58
+ input_type?: string;
59
+ language?: string | null;
60
+ messages?: ApplyGuardrailGuardrailsApplyGuardrailPostRequestMessagesList | null;
61
+ metadata?: ApplyGuardrailGuardrailsApplyGuardrailPostRequestMetadataMap | null;
62
+ text: string;
63
+ }
64
+ export declare const ApplyGuardrailGuardrailsApplyGuardrailPostRequest: S.Schema<ApplyGuardrailGuardrailsApplyGuardrailPostRequest>;
65
+ export interface ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostRequest {
66
+ guardrail_id: string;
67
+ }
68
+ export declare const ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostRequest: S.Schema<ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostRequest>;
69
+ export interface ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostResponse {
70
+ body: unknown;
71
+ }
72
+ export declare const ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostResponse: S.Schema<ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostResponse>;
73
+ export type GuardrailGuardrailInfoMap = {
74
+ [key: string]: unknown | undefined;
75
+ };
76
+ export declare const GuardrailGuardrailInfoMap: S.Schema<GuardrailGuardrailInfoMap>;
77
+ /** 'block' raises an error; 'mask' replaces the code block with a placeholder. */
78
+ export type LitellmParamsAction = "block" | "mask";
79
+ export declare const LitellmParamsAction: any;
80
+ export type LitellmParamsAdditionalProviderSpecificParamsMap = {
81
+ [key: string]: unknown | undefined;
82
+ };
83
+ export declare const LitellmParamsAdditionalProviderSpecificParamsMap: S.Schema<LitellmParamsAdditionalProviderSpecificParamsMap>;
84
+ export type LitellmParamsAssertionsList = Array<string>;
85
+ export declare const LitellmParamsAssertionsList: S.Schema<LitellmParamsAssertionsList>;
86
+ export type LitellmParamsBlockedLanguagesList = Array<string>;
87
+ export declare const LitellmParamsBlockedLanguagesList: S.Schema<LitellmParamsBlockedLanguagesList>;
88
+ /** Action to take when content filter detects a match */
89
+ export type ContentFilterAction = "BLOCK" | "MASK";
90
+ export declare const ContentFilterAction: any;
91
+ /** Represents a blocked word with its action and optional description */
92
+ export interface BlockedWord {
93
+ /** Action to take when keyword is detected (BLOCK or MASK) */
94
+ action: ContentFilterAction | (string & {});
95
+ /** Optional description explaining why this keyword is sensitive */
96
+ description?: string | null;
97
+ /** The keyword to block or mask */
98
+ keyword: string;
99
+ }
100
+ export declare const BlockedWord: S.Schema<BlockedWord>;
101
+ export type LitellmParamsBlockedWordsList = Array<BlockedWord>;
102
+ export declare const LitellmParamsBlockedWordsList: S.Schema<LitellmParamsBlockedWordsList>;
103
+ /** The action to take when the category is detected */
104
+ export type ContentFilterCategoryConfigAction = "BLOCK" | "MASK";
105
+ export declare const ContentFilterCategoryConfigAction: any;
106
+ /** The severity threshold to detect the category */
107
+ export type ContentFilterCategoryConfigSeverityThreshold = "high" | "medium" | "low";
108
+ export declare const ContentFilterCategoryConfigSeverityThreshold: any;
109
+ /** category: "harmful_self_harm" enabled: true action: "BLOCK" severity_threshold: "medium" category_file: "/path/to/custom_file.yaml" # optional override */
110
+ export interface ContentFilterCategoryConfig {
111
+ /** The action to take when the category is detected */
112
+ action: ContentFilterCategoryConfigAction | (string & {});
113
+ /** The category to detect */
114
+ category: string;
115
+ /** Optional override. Use your own category file instead of the default one. */
116
+ category_file?: string | null;
117
+ /** Whether the category is enabled */
118
+ enabled?: boolean;
119
+ /** The severity threshold to detect the category */
120
+ severity_threshold?: ContentFilterCategoryConfigSeverityThreshold | (string & {});
121
+ }
122
+ export declare const ContentFilterCategoryConfig: S.Schema<ContentFilterCategoryConfig>;
123
+ export type LitellmParamsCategoriesList = Array<ContentFilterCategoryConfig>;
124
+ export declare const LitellmParamsCategoriesList: S.Schema<LitellmParamsCategoriesList>;
125
+ export interface LakeraCategoryThresholds {
126
+ jailbreak?: number;
127
+ prompt_injection?: number;
128
+ }
129
+ export declare const LakeraCategoryThresholds: S.Schema<LakeraCategoryThresholds>;
130
+ export type BedrockChecksContentFilterCategoryItemCategory = "VIOLENCE" | "HATE" | "SEXUAL" | "MISCONDUCT" | "INSULTS";
131
+ export declare const BedrockChecksContentFilterCategoryItemCategory: any;
132
+ export interface BedrockChecksContentFilterCategoryItem {
133
+ category: BedrockChecksContentFilterCategoryItemCategory | (string & {});
134
+ }
135
+ export declare const BedrockChecksContentFilterCategoryItem: S.Schema<BedrockChecksContentFilterCategoryItem>;
136
+ export type BedrockChecksContentFilterModelCategoriesList = Array<BedrockChecksContentFilterCategoryItem>;
137
+ export declare const BedrockChecksContentFilterModelCategoriesList: S.Schema<BedrockChecksContentFilterModelCategoriesList>;
138
+ export interface BedrockChecksContentFilterModel {
139
+ categories: BedrockChecksContentFilterModelCategoriesList;
140
+ }
141
+ export declare const BedrockChecksContentFilterModel: S.Schema<BedrockChecksContentFilterModel>;
142
+ export type BedrockChecksPromptAttackCategoryItemCategory = "JAILBREAK" | "PROMPT_INJECTION" | "PROMPT_LEAKAGE";
143
+ export declare const BedrockChecksPromptAttackCategoryItemCategory: any;
144
+ export interface BedrockChecksPromptAttackCategoryItem {
145
+ category: BedrockChecksPromptAttackCategoryItemCategory | (string & {});
146
+ }
147
+ export declare const BedrockChecksPromptAttackCategoryItem: S.Schema<BedrockChecksPromptAttackCategoryItem>;
148
+ export type BedrockChecksPromptAttackModelCategoriesList = Array<BedrockChecksPromptAttackCategoryItem>;
149
+ export declare const BedrockChecksPromptAttackModelCategoriesList: S.Schema<BedrockChecksPromptAttackModelCategoriesList>;
150
+ export interface BedrockChecksPromptAttackModel {
151
+ categories: BedrockChecksPromptAttackModelCategoriesList;
152
+ }
153
+ export declare const BedrockChecksPromptAttackModel: S.Schema<BedrockChecksPromptAttackModel>;
154
+ export type BedrockChecksSensitiveInformationEntityItemType = "ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER";
155
+ export declare const BedrockChecksSensitiveInformationEntityItemType: any;
156
+ export interface BedrockChecksSensitiveInformationEntityItem {
157
+ type: BedrockChecksSensitiveInformationEntityItemType | (string & {});
158
+ }
159
+ export declare const BedrockChecksSensitiveInformationEntityItem: S.Schema<BedrockChecksSensitiveInformationEntityItem>;
160
+ export type BedrockChecksSensitiveInformationModelEntitiesList = Array<BedrockChecksSensitiveInformationEntityItem>;
161
+ export declare const BedrockChecksSensitiveInformationModelEntitiesList: S.Schema<BedrockChecksSensitiveInformationModelEntitiesList>;
162
+ export interface BedrockChecksSensitiveInformationModel {
163
+ entities: BedrockChecksSensitiveInformationModelEntitiesList;
164
+ }
165
+ export declare const BedrockChecksSensitiveInformationModel: S.Schema<BedrockChecksSensitiveInformationModel>;
166
+ /** Inline `checks` config for the resource-less Bedrock InvokeGuardrailChecks API. Include only the checks you want to run; at least one must be set. */
167
+ export interface BedrockChecksConfigModel {
168
+ contentFilter?: BedrockChecksContentFilterModel | null;
169
+ promptAttack?: BedrockChecksPromptAttackModel | null;
170
+ sensitiveInformation?: BedrockChecksSensitiveInformationModel | null;
171
+ }
172
+ export declare const BedrockChecksConfigModel: S.Schema<BedrockChecksConfigModel>;
173
+ export type LitellmParamsConfigMap = {
174
+ [key: string]: unknown | undefined;
175
+ };
176
+ export declare const LitellmParamsConfigMap: S.Schema<LitellmParamsConfigMap>;
177
+ /** Fallback decision when no rule matches */
178
+ export type LitellmParamsDefaultAction = "allow" | "deny";
179
+ export declare const LitellmParamsDefaultAction: any;
180
+ export type LitellmParamsDetectSecretsConfigMap = {
181
+ [key: string]: unknown | undefined;
182
+ };
183
+ export declare const LitellmParamsDetectSecretsConfigMap: S.Schema<LitellmParamsDetectSecretsConfigMap>;
184
+ export type LitellmParamsDetectorsMap = {
185
+ [key: string]: unknown | undefined;
186
+ };
187
+ export declare const LitellmParamsDetectorsMap: S.Schema<LitellmParamsDetectorsMap>;
188
+ export type LitellmParamsExtraHeadersList = Array<string>;
189
+ export declare const LitellmParamsExtraHeadersList: S.Schema<LitellmParamsExtraHeadersList>;
190
+ export type LitellmParamsGroundingStrictness = "BALANCED" | "STRICT";
191
+ export declare const LitellmParamsGroundingStrictness: any;
192
+ export type LitellmParamsMetadataMap = {
193
+ [key: string]: unknown | undefined;
194
+ };
195
+ export declare const LitellmParamsMetadataMap: S.Schema<LitellmParamsMetadataMap>;
196
+ export type LitellmParamsMockRedactedTextMap = {
197
+ [key: string]: unknown | undefined;
198
+ };
199
+ export declare const LitellmParamsMockRedactedTextMap: S.Schema<LitellmParamsMockRedactedTextMap>;
200
+ export type LitellmParamsModeCase1List = Array<string>;
201
+ export declare const LitellmParamsModeCase1List: S.Schema<LitellmParamsModeCase1List>;
202
+ export type ModeDefaultCase1List = Array<string>;
203
+ export declare const ModeDefaultCase1List: S.Schema<ModeDefaultCase1List>;
204
+ /** Default mode when no tags match */
205
+ export type ModeDefault = string | ModeDefaultCase1List;
206
+ export declare const ModeDefault: S.Schema<ModeDefault>;
207
+ export type ModeTagsValueCase1List = Array<string>;
208
+ export declare const ModeTagsValueCase1List: S.Schema<ModeTagsValueCase1List>;
209
+ export type ModeTagsValue = string | ModeTagsValueCase1List;
210
+ export declare const ModeTagsValue: S.Schema<ModeTagsValue>;
211
+ /** Tags for the guardrail mode */
212
+ export type ModeTagsMap = {
213
+ [key: string]: ModeTagsValue | undefined;
214
+ };
215
+ export declare const ModeTagsMap: S.Schema<ModeTagsMap>;
216
+ export interface Mode {
217
+ /** Default mode when no tags match */
218
+ default?: ModeDefault | null;
219
+ /** Tags for the guardrail mode */
220
+ tags: ModeTagsMap;
221
+ }
222
+ export declare const Mode: S.Schema<Mode>;
223
+ /** When to apply the guardrail (pre_call, post_call, during_call, logging_only) */
224
+ export type LitellmParamsMode = string | LitellmParamsModeCase1List | Mode;
225
+ export declare const LitellmParamsMode: S.Schema<LitellmParamsMode>;
226
+ /** Choose whether disallowed tools block the request or get rewritten out of the payload */
227
+ export type LitellmParamsOnDisallowedAction = "block" | "rewrite";
228
+ export declare const LitellmParamsOnDisallowedAction: any;
229
+ export type LitellmParamsOnFlagged = "block" | "monitor" | "inject_system_message";
230
+ export declare const LitellmParamsOnFlagged: any;
231
+ export type LitellmParamsOnSensitiveData = "block" | "route";
232
+ export declare const LitellmParamsOnSensitiveData: any;
233
+ export type LitellmParamsOnViolation = "warn" | "end_session";
234
+ export declare const LitellmParamsOnViolation: any;
235
+ export type CiscoAIDefenseRuleEntityTypesList = Array<string>;
236
+ export declare const CiscoAIDefenseRuleEntityTypesList: S.Schema<CiscoAIDefenseRuleEntityTypesList>;
237
+ /** The canonical Cisco AI Defense rule name to evaluate. */
238
+ export type CiscoAIDefenseRuleRuleName = "Code Detection" | "Harassment" | "Hate Speech" | "PCI" | "PHI" | "PII" | "Prompt Injection" | "Profanity" | "Sexual Content & Exploitation" | "Social Division & Polarization" | "Violence & Public Safety Threats";
239
+ export declare const CiscoAIDefenseRuleRuleName: any;
240
+ /** A single rule to enable for Cisco AI Defense inspection. */
241
+ export interface CiscoAIDefenseRule {
242
+ /** Optional list of entity types for the rule (e.g. 'Email Address', 'Phone Number'). Applies to rules such as PII, PCI, and PHI. */
243
+ entity_types?: CiscoAIDefenseRuleEntityTypesList | null;
244
+ /** The canonical Cisco AI Defense rule name to evaluate. */
245
+ rule_name: CiscoAIDefenseRuleRuleName | (string & {});
246
+ }
247
+ export declare const CiscoAIDefenseRule: S.Schema<CiscoAIDefenseRule>;
248
+ export type CiscoAIDefenseGuardrailConfigModelOptionalParamsEnabledRulesList = Array<CiscoAIDefenseRule>;
249
+ export declare const CiscoAIDefenseGuardrailConfigModelOptionalParamsEnabledRulesList: S.Schema<CiscoAIDefenseGuardrailConfigModelOptionalParamsEnabledRulesList>;
250
+ export type CiscoAIDefenseGuardrailConfigModelOptionalParamsFallbackOnError = "allow" | "block";
251
+ export declare const CiscoAIDefenseGuardrailConfigModelOptionalParamsFallbackOnError: any;
252
+ /** Which Cisco AI Defense inspection surface to use. 'chat' scans LLM model conversations via /api/v1/inspect/chat. 'mcp' scans MCP tool calls via /api/v1/inspect/mcp. Each guardrail instance targets exactly one surface; configure two guardrails to scan both chat and MCP traffic. */
253
+ export type CiscoAIDefenseGuardrailConfigModelOptionalParamsInspectionType = "chat" | "mcp";
254
+ export declare const CiscoAIDefenseGuardrailConfigModelOptionalParamsInspectionType: any;
255
+ /** Optional parameters for the Cisco AI Defense guardrail. */
256
+ export interface CiscoAIDefenseGuardrailConfigModelOptionalParams {
257
+ /** Explicit list of Cisco AI Defense rules to evaluate. If omitted, the policies configured for the API key in the Cisco AI Defense UI are used. */
258
+ enabled_rules?: CiscoAIDefenseGuardrailConfigModelOptionalParamsEnabledRulesList | null;
259
+ /** Behaviour when the Cisco AI Defense API is unavailable: 'allow' proceeds without scanning (high availability), 'block' rejects the request (maximum security). */
260
+ fallback_on_error?: CiscoAIDefenseGuardrailConfigModelOptionalParamsFallbackOnError | (string & {}) | null;
261
+ /** Override for the inspection endpoint path. Defaults to /api/v1/inspect/chat when inspection_type='chat' and /api/v1/inspect/mcp when inspection_type='mcp'. */
262
+ inspect_path?: string | null;
263
+ /** Which Cisco AI Defense inspection surface to use. 'chat' scans LLM model conversations via /api/v1/inspect/chat. 'mcp' scans MCP tool calls via /api/v1/inspect/mcp. Each guardrail instance targets exactly one surface; configure two guardrails to scan both chat and MCP traffic. */
264
+ inspection_type?: CiscoAIDefenseGuardrailConfigModelOptionalParamsInspectionType | (string & {});
265
+ /** Integration profile id to apply (advanced). */
266
+ integration_profile_id?: string | null;
267
+ /** Integration profile version to apply (advanced). */
268
+ integration_profile_version?: string | null;
269
+ /** Integration tenant id to apply (advanced). */
270
+ integration_tenant_id?: string | null;
271
+ /** Integration type to apply (advanced). */
272
+ integration_type?: string | null;
273
+ /** Action to take when Cisco AI Defense flags content. 'block' raises an HTTPException; 'monitor' logs the detection and lets the request continue. */
274
+ on_flagged_action?: string | null;
275
+ /** Timeout (seconds) for Cisco AI Defense API calls (1-60). */
276
+ timeout?: number | null;
277
+ }
278
+ export declare const CiscoAIDefenseGuardrailConfigModelOptionalParams: S.Schema<CiscoAIDefenseGuardrailConfigModelOptionalParams>;
279
+ /** Type of pattern: 'prebuilt' for predefined patterns or 'regex' for custom */
280
+ export type ContentFilterPatternPatternType = "prebuilt" | "regex";
281
+ export declare const ContentFilterPatternPatternType: any;
282
+ /** Represents a content filter pattern (prebuilt or custom regex) */
283
+ export interface ContentFilterPattern {
284
+ /** Action to take when pattern matches (BLOCK or MASK) */
285
+ action: ContentFilterAction | (string & {});
286
+ /** Name for this pattern (used in logging and error messages) */
287
+ name?: string | null;
288
+ /** Custom regex pattern. Required if pattern_type is 'regex' */
289
+ pattern?: string | null;
290
+ /** Name of prebuilt pattern (e.g., 'us_ssn', 'credit_card'). Required if pattern_type is 'prebuilt' */
291
+ pattern_name?: string | null;
292
+ /** Type of pattern: 'prebuilt' for predefined patterns or 'regex' for custom */
293
+ pattern_type: ContentFilterPatternPatternType | (string & {});
294
+ }
295
+ export declare const ContentFilterPattern: S.Schema<ContentFilterPattern>;
296
+ export type LitellmParamsPatternsList = Array<ContentFilterPattern>;
297
+ export declare const LitellmParamsPatternsList: S.Schema<LitellmParamsPatternsList>;
298
+ export type PiiAction = "BLOCK" | "MASK";
299
+ export declare const PiiAction: any;
300
+ export type LitellmParamsPiiEntitiesConfigMap = {
301
+ [key: string]: PiiAction | (string & {}) | undefined;
302
+ };
303
+ export declare const LitellmParamsPiiEntitiesConfigMap: S.Schema<LitellmParamsPiiEntitiesConfigMap>;
304
+ export type LitellmParamsPolicyNamesList = Array<string>;
305
+ export declare const LitellmParamsPolicyNamesList: S.Schema<LitellmParamsPolicyNamesList>;
306
+ export type LitellmParamsPresidioEntitiesDenyListItem = PiiEntityType | string;
307
+ export declare const LitellmParamsPresidioEntitiesDenyListItem: S.Schema<LitellmParamsPresidioEntitiesDenyListItem>;
308
+ export type LitellmParamsPresidioEntitiesDenyListList = Array<LitellmParamsPresidioEntitiesDenyListItem>;
309
+ export declare const LitellmParamsPresidioEntitiesDenyListList: S.Schema<LitellmParamsPresidioEntitiesDenyListList>;
310
+ export type LitellmParamsPresidioFilterScope = "input" | "output" | "both";
311
+ export declare const LitellmParamsPresidioFilterScope: any;
312
+ export type LitellmParamsPresidioRunOn = "input" | "output" | "both";
313
+ export declare const LitellmParamsPresidioRunOn: any;
314
+ export type LitellmParamsPresidioScoreThresholdsMap = {
315
+ [key: string]: number | undefined;
316
+ };
317
+ export declare const LitellmParamsPresidioScoreThresholdsMap: S.Schema<LitellmParamsPresidioScoreThresholdsMap>;
318
+ export type ToolPermissionRuleAllowedParamPatternsMap = {
319
+ [key: string]: string | undefined;
320
+ };
321
+ export declare const ToolPermissionRuleAllowedParamPatternsMap: S.Schema<ToolPermissionRuleAllowedParamPatternsMap>;
322
+ /** Whether to allow or deny this tool usage */
323
+ export type ToolPermissionRuleDecision = "allow" | "deny";
324
+ export declare const ToolPermissionRuleDecision: any;
325
+ /** A rule defining permission for a specific tool or tool pattern */
326
+ export interface ToolPermissionRule {
327
+ /** Optional regex map enforcing nested parameter values using dot/[] paths */
328
+ allowed_param_patterns?: ToolPermissionRuleAllowedParamPatternsMap | null;
329
+ /** Whether to allow or deny this tool usage */
330
+ decision: ToolPermissionRuleDecision | (string & {});
331
+ /** Unique identifier for the rule */
332
+ id: string;
333
+ /** Regex pattern applied to the tool's function name */
334
+ tool_name?: string | null;
335
+ /** Regex pattern applied to the tool type (e.g., function) */
336
+ tool_type?: string | null;
337
+ }
338
+ export declare const ToolPermissionRule: S.Schema<ToolPermissionRule>;
339
+ export type LitellmParamsRulesList = Array<ToolPermissionRule>;
340
+ export declare const LitellmParamsRulesList: S.Schema<LitellmParamsRulesList>;
341
+ /** Behavior when the headroom compression service is unreachable or errors. 'fail_closed' raises an error (default). 'fail_open' logs a critical error and forwards the request uncompressed instead of blocking it. */
342
+ export type LitellmParamsUnreachableFallback = "fail_closed" | "fail_open";
343
+ export declare const LitellmParamsUnreachableFallback: any;
344
+ export interface LitellmParams {
345
+ /** 'block' raises an error; 'mask' replaces the code block with a placeholder. */
346
+ action?: LitellmParamsAction | (string & {});
347
+ /** Additional provider-specific parameters for generic guardrail APIs */
348
+ additional_provider_specific_params?: LitellmParamsAdditionalProviderSpecificParamsMap | null;
349
+ /** Custom advisory message template used when on_flagged='inject_system_message'. Must contain a {reason} placeholder. Defaults to a generic advisory message if unset. */
350
+ advisory_system_message?: string | null;
351
+ /** Akto account ID for multi-tenant deployments. Env: AKTO_ACCOUNT_ID. Default: '1000000'. */
352
+ akto_account_id?: string | null;
353
+ /** API key for Akto. Env: AKTO_API_KEY. */
354
+ akto_api_key?: string | null;
355
+ /** Akto Guardrail API Base URL. Env: AKTO_GUARDRAIL_API_BASE. */
356
+ akto_base_url?: string | null;
357
+ /** Akto VXLAN ID. Env: AKTO_VXLAN_ID. Default: '0'. */
358
+ akto_vxlan_id?: string | null;
359
+ /** If True, replaces sensitive content with anonymized version when only PII/PCI/secrets are detected. Only applies in blocking mode. Defaults to False if not provided */
360
+ anonymize_input?: boolean | null;
361
+ /** Regional base URL for the Cisco AI Defense Inspection API. Defaults to https://us.api.inspect.aidefense.security.cisco.com. Supported regions: us (us-west-2), ap (ap-ne-1), eu (eu-central-1). The environment variable `CISCO_AI_DEFENSE_API_BASE` is consulted as a fallback. The endpoint path is derived from inspection_type (/api/v1/inspect/chat for 'chat', /api/v1/inspect/mcp for 'mcp'). */
362
+ api_base?: string | null;
363
+ /** Optional custom API endpoint for Model Armor */
364
+ api_endpoint?: string | null;
365
+ /** The Hiddenlayer API Id for the Hiddenlayer API. If not provided, the `HIDDENLAYER_CLIENT_ID` environment variable is checked or https://api.hiddenlayer.ai is used. */
366
+ api_id?: string | null;
367
+ /** API key for the Cisco AI Defense inspection endpoint. If not provided, the `CISCO_AI_DEFENSE_API_KEY` environment variable is used. Sent in the `X-Cisco-AI-Defense-API-Key` header. Both the chat and MCP endpoints use this key. */
368
+ api_key?: string | null;
369
+ /** API version for Javelin service */
370
+ api_version?: string | null;
371
+ /** Application name for Javelin service */
372
+ application?: string | null;
373
+ /** Application ID for Noma Security. Defaults to 'litellm' if not provided */
374
+ application_id?: string | null;
375
+ /** Custom assertions to validate against the output. Each assertion is a string describing a condition. */
376
+ assertions?: LitellmParamsAssertionsList | null;
377
+ /** Repello asset ID whose dashboard policies are enforced. Required; the guardrail raises at init if it is missing. */
378
+ asset_id?: string | null;
379
+ /** Set to True to request asynchronous analysis (sets `plr_async` header). Defaults to provider behaviour when omitted. */
380
+ async_mode?: boolean | null;
381
+ /** Authorization bearer token for IBM Guardrails API. Reads from IBM_GUARDRAILS_AUTH_TOKEN env var if None. */
382
+ auth_token?: string | null;
383
+ /** AWS access key ID for authentication */
384
+ aws_access_key_id?: string | null;
385
+ /** AWS Bedrock runtime endpoint URL */
386
+ aws_bedrock_runtime_endpoint?: string | null;
387
+ /** External ID required by the target role's trust policy on sts:AssumeRole */
388
+ aws_external_id?: string | null;
389
+ /** AWS profile name for credential retrieval */
390
+ aws_profile_name?: string | null;
391
+ /** AWS region where your guardrail is deployed */
392
+ aws_region_name?: string | null;
393
+ /** AWS role name for assuming roles */
394
+ aws_role_name?: string | null;
395
+ /** AWS secret access key for authentication */
396
+ aws_secret_access_key?: string | null;
397
+ /** Name of the AWS session */
398
+ aws_session_name?: string | null;
399
+ /** AWS session token for temporary credentials */
400
+ aws_session_token?: string | null;
401
+ /** AWS STS endpoint URL */
402
+ aws_sts_endpoint?: string | null;
403
+ /** Web identity token for AWS role assumption */
404
+ aws_web_identity_token?: string | null;
405
+ /** Base URL for the IBM Guardrails server */
406
+ base_url?: string | null;
407
+ /** If True, blocks requests on API failures. Defaults to True if not provided */
408
+ block_failures?: boolean | null;
409
+ /** Whether to block the request when the PromptGuard API is unreachable. Defaults to true (fail-closed). Set to false for fail-open behaviour. */
410
+ block_on_error?: boolean | null;
411
+ /** Whether to block requests when violations are detected. Defaults to True. */
412
+ block_on_violation?: boolean | null;
413
+ /** Language tags to block (e.g. python, javascript, bash). Empty or None = block all fenced code blocks. */
414
+ blocked_languages?: LitellmParamsBlockedLanguagesList | null;
415
+ /** List of blocked words with individual actions */
416
+ blocked_words?: LitellmParamsBlockedWordsList | null;
417
+ /** Path to YAML file containing blocked_words list */
418
+ blocked_words_file?: string | null;
419
+ /** Whether to include breakdown in the response */
420
+ breakdown?: boolean | null;
421
+ /** List of prebuilt categories to enable (harmful_*, bias_*) */
422
+ categories?: LitellmParamsCategoriesList | null;
423
+ /** Threshold configuration for Lakera guardrail categories */
424
+ category_thresholds?: LakeraCategoryThresholds | null;
425
+ /** Inline safeguards for the resource-less InvokeGuardrailChecks API (contentFilter / promptAttack / sensitiveInformation). When set, the guardrail calls InvokeGuardrailChecks instead of ApplyGuardrail and no guardrailIdentifier is required. Mutually exclusive with guardrailIdentifier. */
426
+ checks?: BedrockChecksConfigModel | null;
427
+ /** ApplyGuardrail: batch size, in characters, used to re-send content after AWS has rejected a request as too large. Requests AWS accepts are always sent in a single call, so this has no effect until a rejection happens. Defaults to 25,000; a batch AWS still rejects is bisected automatically, so this value only trades round trips against batch size and cannot fail a request on its own. */
428
+ chunk_budget_chars?: number;
429
+ /** Only block or mask when detection confidence >= this value; below threshold, allow or log_only. */
430
+ confidence_threshold?: number;
431
+ /** Additional configuration for the guardrail */
432
+ config?: LitellmParamsConfigMap | null;
433
+ /** InvokeGuardrailChecks: block when any contentFilter severityScore >= this value (scores are in [0,1]). Set to null to make the content filter detect-only (logged, never blocks). */
434
+ content_filter_threshold?: number | null;
435
+ /** Enable content moderation to check for harmful content (harassment, hate speech, etc.). */
436
+ content_moderation_check?: boolean | null;
437
+ /** Path to Google Cloud credentials JSON file or JSON string */
438
+ credentials?: string | null;
439
+ /** Python-like code containing the apply_guardrail function for custom guardrail logic */
440
+ custom_code?: string | null;
441
+ /** The DeepKeep Firewall ID to use for guardrail evaluation. If not provided, the `DEEPKEEP_FIREWALL_ID` environment variable is checked. */
442
+ deepkeep_firewall_id?: string | null;
443
+ /** Fallback decision when no rule matches */
444
+ default_action?: LitellmParamsDefaultAction | (string & {});
445
+ /** Whether the guardrail is enabled by default */
446
+ default_on?: boolean | null;
447
+ /** The EnkryptAI deployment name to use. Sent via X-Enkrypt-Deployment header. */
448
+ deployment_name?: string | null;
449
+ /** When True, block only when user intent is to run/execute; allow when intent is explain/refactor/don't run. Also block text-only execution requests (e.g. 'run `ls`', 'read /etc/passwd'). */
450
+ detect_execution_intent?: boolean;
451
+ /** Configuration for detect-secrets guardrail */
452
+ detect_secrets_config?: LitellmParamsDetectSecretsConfigMap | null;
453
+ /** Name of the detector inside the server (e.g., 'jailbreak-detector') */
454
+ detector_id?: string | null;
455
+ /** Dictionary of detector configurations (e.g., {'nsfw': {'enabled': True}, 'toxicity': {'enabled': True}}). */
456
+ detectors?: LitellmParamsDetectorsMap | null;
457
+ /** Whether to include developer information in the response */
458
+ dev_info?: boolean | null;
459
+ /** If True, will not raise an exception when the guardrail is blocked. Useful for OpenWebUI where exceptions can end the chat flow. */
460
+ disable_exception_on_block?: boolean | null;
461
+ /** For /v1/realtime sessions: automatically close the session after this many guardrail violations. */
462
+ end_session_after_n_fails?: number | null;
463
+ /** Pre-configured evaluation ID from Qualifire dashboard. When provided, uses invoke_evaluation() instead of evaluate(). */
464
+ evaluation_id?: string | null;
465
+ /** When True, guardrails only receive the latest message for the relevant role (e.g., newest user input pre-call, newest assistant output post-call) */
466
+ experimental_use_latest_role_message_only?: boolean | null;
467
+ /** Header names to forward from the client request to the guardrail (e.g. x-request-id). Only these headers' values are sent; others may be omitted or sent as [present]. Used by generic_guardrail_api (similar to MCP extra_headers). */
468
+ extra_headers?: LitellmParamsExtraHeadersList | null;
469
+ /** Whether to fail the request if the guardrail encounters an error. Implemented by guardrail='model_armor', 'generic_guardrail_api' and 'crowdstrike_aidr'. True (default) raises the error. False logs a critical error and lets the request proceed, so only a valid guardrail response can block or modify it. */
470
+ fail_on_error?: boolean | null;
471
+ /** Enable grounding verification to ensure output is grounded in provided context. */
472
+ grounding_check?: boolean | null;
473
+ /** Strictness level for XecGuard context-grounding validation. 'BALANCED' (default) treats INCOMPLETE answers as SAFE; 'STRICT' flags them as UNSAFE. Grounding only runs in post_call when `metadata.xecguard_grounding_documents` is provided. */
474
+ grounding_strictness?: LitellmParamsGroundingStrictness | (string & {}) | null;
475
+ /** Name of the Javelin guard to use */
476
+ guard_name?: string | null;
477
+ /** The type of guardrail integration to use */
478
+ guardrail: string;
479
+ /** The ID of your guardrail on Bedrock */
480
+ guardrailIdentifier?: string | null;
481
+ /** The version of your Bedrock guardrail (e.g., DRAFT or version number) */
482
+ guardrailVersion?: string | null;
483
+ /** HTTP timeout in seconds. Default: 5. */
484
+ guardrail_timeout?: number | null;
485
+ /** Enable hallucination detection to detect factual inaccuracies. */
486
+ hallucinations_check?: boolean | null;
487
+ /** Include detailed evidence payloads in responses (sets `plr_evidence` header). */
488
+ include_evidence?: boolean | null;
489
+ /** Include scanner category summaries in responses (sets `plr_scanners` header). */
490
+ include_scanners?: boolean | null;
491
+ /** Boolean flag to determine if calling a detector server (True) or the FMS Orchestrator (False). Defaults to True. */
492
+ is_detector_server?: boolean | null;
493
+ /** Tag to use for keyword redaction */
494
+ keyword_redaction_tag?: string | null;
495
+ /** Conversation ID for the Lasso guardrail */
496
+ lasso_conversation_id?: string | null;
497
+ /** User ID for the Lasso guardrail */
498
+ lasso_user_id?: string | null;
499
+ /** Google Cloud location/region (e.g., us-central1) */
500
+ location?: string | null;
501
+ /** Enable content masking using Lasso classifix API */
502
+ mask?: boolean | null;
503
+ /** Will mask request content if guardrail makes any changes */
504
+ mask_request_content?: boolean | null;
505
+ /** Will mask response content if guardrail makes any changes */
506
+ mask_response_content?: boolean | null;
507
+ /** Additional metadata to include in the request */
508
+ metadata?: LitellmParamsMetadataMap | null;
509
+ /** Mock redacted text for testing */
510
+ mock_redacted_text?: LitellmParamsMockRedactedTextMap | null;
511
+ /** When to apply the guardrail (pre_call, post_call, during_call, logging_only) */
512
+ mode: LitellmParamsMode;
513
+ /** Model name forwarded to the headroom /v1/compress endpoint. */
514
+ model?: string | null;
515
+ /** If True, logs violations without blocking. Defaults to False if not provided */
516
+ monitor_mode?: boolean | null;
517
+ /** Choose whether disallowed tools block the request or get rewritten out of the payload */
518
+ on_disallowed_action?: LitellmParamsOnDisallowedAction | (string & {});
519
+ /** Action to take when content is flagged: 'block' (raise exception), 'monitor' (log only), or 'inject_system_message' (append an advisory system message and let the LLM decide) */
520
+ on_flagged?: LitellmParamsOnFlagged | (string & {}) | null;
521
+ /** Action to take when content is flagged: 'block' (raise exception) or 'monitor' (log only) */
522
+ on_flagged_action?: string | null;
523
+ /** Action to take when sensitive data is detected. 'block' raises an exception (default behavior). 'route' reroutes the request to the model specified in sensitive_data_route_to_model. */
524
+ on_sensitive_data?: LitellmParamsOnSensitiveData | (string & {}) | null;
525
+ /** For /v1/realtime sessions: 'warn' speaks the violation message and continues; 'end_session' speaks the message and closes the connection. */
526
+ on_violation?: LitellmParamsOnViolation | (string & {}) | null;
527
+ /** When True, the guardrail only scans messages that have not already been scanned earlier in the same session (identified by litellm_session_id / session_id). Message content is hashed per session and cached; only the diff (new or edited messages) is sent to the guardrail provider on follow-up calls. Falls back to a full scan when the request has no session id or the cache is unavailable. Intended for blocking/detection guardrails; not applied when mask_request_content is set. */
528
+ only_scan_new_messages?: boolean | null;
529
+ /** Optional parameters for the guardrail */
530
+ optional_params?: CiscoAIDefenseGuardrailConfigModelOptionalParams | null;
531
+ /** When True, LiteLLM will replace the masked text with the original text in the response */
532
+ output_parse_pii?: boolean | null;
533
+ /** Recipe for input (LLM request) */
534
+ pangea_input_recipe?: string | null;
535
+ /** Recipe for output (LLM response) */
536
+ pangea_output_recipe?: string | null;
537
+ /** Format string for pattern redaction (use {pattern_name} placeholder) */
538
+ pattern_redaction_format?: string | null;
539
+ /** List of patterns (prebuilt or custom regex) to detect */
540
+ patterns?: LitellmParamsPatternsList | null;
541
+ /** Whether to include payload in the response */
542
+ payload?: boolean | null;
543
+ /** Controls Pillar session persistence (sets `plr_persist` header). Set to False to disable persistence. */
544
+ persist_session?: boolean | null;
545
+ /** Enable PII (Personally Identifiable Information) detection. */
546
+ pii_check?: boolean | null;
547
+ /** InvokeGuardrailChecks: block when any sensitiveInformation confidenceScore >= this value (scores are in [0,1]). Set to null to make PII detection detect-only. */
548
+ pii_confidence_threshold?: number | null;
549
+ /** Configuration for PII entity types and actions */
550
+ pii_entities_config?: LitellmParamsPiiEntitiesConfigMap | null;
551
+ /** Policy ID for Zscaler AI Guard. Can also be set via ZSCALER_AI_GUARD_POLICY_ID environment variable */
552
+ policy_id?: number | null;
553
+ /** The EnkryptAI policy name to use. Sent via x-enkrypt-policy header. */
554
+ policy_name?: string | null;
555
+ /** XecGuard policies to apply on each scan. Select one or more of the built-in default policies; if none are selected, the guardrail defaults to System Prompt Enforcement + Harmful Content Protection. */
556
+ policy_names?: LitellmParamsPolicyNamesList | null;
557
+ /** Post-checkpoint ID for the Ovalix Tracker service. */
558
+ post_checkpoint_id?: string | null;
559
+ /** Pre-checkpoint ID for the Ovalix Tracker service. */
560
+ pre_checkpoint_id?: string | null;
561
+ /** Path to a JSON file containing ad-hoc recognizers for Presidio */
562
+ presidio_ad_hoc_recognizers?: string | null;
563
+ /** Maximum UTF-8 bytes of text sent in a single Presidio /analyze call. Longer texts are split into overlapping chunks of at most this size and the merged results are remapped onto the original text. Defaults to 500000; set it below your analyzer deployment's request body limit, leaving headroom for the rest of the analyze payload. */
564
+ presidio_analyze_chunk_size_bytes?: number | null;
565
+ /** Base URL for the Presidio analyzer API */
566
+ presidio_analyzer_api_base?: string | null;
567
+ /** Base URL for the Presidio anonymizer API */
568
+ presidio_anonymizer_api_base?: string | null;
569
+ /** List of entity types to exclude from Presidio detection results. Detections of these types will be silently dropped. Useful for suppressing false positives (e.g., US_DRIVER_LICENSE on coding routes). */
570
+ presidio_entities_deny_list?: LitellmParamsPresidioEntitiesDenyListList | null;
571
+ /** Where to apply Presidio checks: 'input' (user -> model), 'output' (model -> user), or 'both' (default). */
572
+ presidio_filter_scope?: LitellmParamsPresidioFilterScope | (string & {}) | null;
573
+ /** Language code for Presidio PII analysis (e.g., 'en', 'de', 'es', 'fr') */
574
+ presidio_language?: string | null;
575
+ /** Where to apply Presidio checks: input, output, or both (default). */
576
+ presidio_run_on?: LitellmParamsPresidioRunOn | (string & {}) | null;
577
+ /** Optional per-entity minimum confidence scores for Presidio detections. Entities below the threshold are ignored. */
578
+ presidio_score_thresholds?: LitellmParamsPresidioScoreThresholdsMap | null;
579
+ /** Project ID for the Lakera AI project */
580
+ project_id?: string | null;
581
+ /** InvokeGuardrailChecks: block when any promptAttack severityScore >= this value (scores are in [0,1]). Set to null to make prompt-attack detection detect-only. */
582
+ prompt_attack_threshold?: number | null;
583
+ /** Enable prompt injection detection. Default check if no evaluation_id and no other checks are specified. */
584
+ prompt_injections?: boolean | null;
585
+ /** The message the bot speaks aloud when a /v1/realtime guardrail fires. Falls back to violation_message_template if not set. */
586
+ realtime_violation_message?: string | null;
587
+ /** Ordered allow/deny rules. Patterns use regex for tool names/types and optional regex constraints on tool arguments. */
588
+ rules?: LitellmParamsRulesList | null;
589
+ /** When True, this pre_call or post_call guardrail runs concurrently with other opted-in guardrails of the same hook, after the sequential guardrails have run. Use only for block-only guardrails that inspect and reject; do not enable it for guardrails that modify the request or response (e.g. PII masking or sensitive-data routing), since parallel runs share one snapshot and their mutations would race. */
590
+ run_in_parallel?: boolean | null;
591
+ /** For guardrail='model_armor': omit the raw Model Armor response from caller-facing errors and logs by default. Set False to restore verbose output. */
592
+ sanitize_error_detail?: boolean | null;
593
+ /** When True, unified guardrails only evaluate tool results, the untrusted data an agent feeds back into the model, and skip system, user, and assistant content. Intended for agent harnesses whose own prompt scaffolding is trusted but often trips prompt-attack detectors. */
594
+ scan_only_tool_results?: boolean | null;
595
+ /** When True, this pre_call guardrail always evaluates the request as it was before any guardrail in this hook ran, regardless of its position in the guardrails list -- so the YAML order of guardrails can never change whether this one blocks. Use only for block-only guardrails: any data this guardrail returns is discarded, same contract as run_in_parallel, since an earlier guardrail's masking must not be undone by this one. */
596
+ scan_raw_request?: boolean | null;
597
+ /** Whether to send user_API_key_alias in headers */
598
+ send_user_api_key_alias?: boolean | null;
599
+ /** Whether to send user_API_key_team_id in headers */
600
+ send_user_api_key_team_id?: boolean | null;
601
+ /** Whether to send user_API_key_user_id in headers */
602
+ send_user_api_key_user_id?: boolean | null;
603
+ /** Model to route requests to when sensitive data is detected and on_sensitive_data='route'. This is typically an on-premise model for data privacy. The routing decision persists for the entire session. */
604
+ sensitive_data_route_to_model?: string | null;
605
+ /** Minimum severity to block (high, medium, low) */
606
+ severity_threshold?: string | null;
607
+ /** The Singulr API base URL. Get base URL from Singulr Platform. */
608
+ singulr_api_base?: string | null;
609
+ /** The Singulr API key. Generate API key from Singulr Platform. */
610
+ singulr_api_key?: string | null;
611
+ /** The Singulr application ID. Get application ID from Singulr Platform. */
612
+ singulr_application_id?: string | null;
613
+ /** The Singulr Guardrail ID. Get guardrail ID from Singulr Platform. */
614
+ singulr_guardrail_id?: string | null;
615
+ /** When True, unified guardrails skip system-role messages when building evaluation inputs (texts and structured_messages). When False, system messages are included even if litellm_settings sets a global skip. When None, use the global litellm.skip_system_message_in_guardrail setting. For Anthropic /v1/messages, the flag applies only to the trusted top-level system prompt. In-sequence system entries are untrusted client input and remain in texts and structured_messages. */
616
+ skip_system_message_in_guardrail?: boolean | null;
617
+ /** When True, unified guardrails skip tool-role messages when building evaluation inputs (texts and structured_messages). When False, tool messages are included even if litellm_settings sets a global skip. When None, use the global litellm.skip_tool_message_in_guardrail setting. */
618
+ skip_tool_message_in_guardrail?: boolean | null;
619
+ /** Implemented by guardrail='model_armor'. When True, attachment references that carry no inline bytes (file_id, gs://, or http(s) URLs) pass through unscanned instead of blocking, while fail_on_error still governs real Model Armor API errors. Default False blocks them. */
620
+ skip_unscannable_attachments?: boolean | null;
621
+ /** When True (default), after sensitive data is detected and routed, all subsequent requests in the same session will continue routing to the same model. */
622
+ sticky_session_routing?: boolean | null;
623
+ /** The ID of your Model Armor template */
624
+ template_id?: string | null;
625
+ /** Per-request timeout for the guardrail provider API call (seconds). Accepts int, float, or numeric string; coerced to float on load. Each guardrail handler chooses its own default when unset. */
626
+ timeout?: number | null;
627
+ /** Enable tool selection quality check to evaluate quality of tool/function calls. */
628
+ tool_selection_quality_check?: boolean | null;
629
+ /** Base URL for the Ovalix Tracker service. */
630
+ tracker_api_base?: string | null;
631
+ /** API key for the Ovalix Tracker service. */
632
+ tracker_api_key?: string | null;
633
+ /** Behavior when the headroom compression service is unreachable or errors. 'fail_closed' raises an error (default). 'fail_open' logs a critical error and forwards the request uncompressed instead of blocking it. */
634
+ unreachable_fallback?: LitellmParamsUnreachableFallback | (string & {});
635
+ /** If True and guardrail='noma', route to the new Noma v2 implementation instead of the legacy implementation. */
636
+ use_v2?: boolean | null;
637
+ /** Whether to verify SSL certificates. Defaults to True. */
638
+ verify_ssl?: boolean | null;
639
+ /** Hiddenlayer guardrail version to use. */
640
+ version?: number | null;
641
+ /** Custom message when a guardrail blocks an action. Supports placeholders like {tool_name}, {rule_id}, and {default_message}. */
642
+ violation_message_template?: string | null;
643
+ /** XecGuard scanning model identifier. Defaults to 'xecguard_v2'. */
644
+ xecguard_model?: string | null;
645
+ }
646
+ export declare const LitellmParams: S.Schema<LitellmParams>;
647
+ export interface Guardrail {
648
+ created_at?: string | null;
649
+ guardrail_id?: string | null;
650
+ guardrail_info?: GuardrailGuardrailInfoMap | null;
651
+ guardrail_name: string;
652
+ litellm_params: LitellmParams;
653
+ policy_template?: string | null;
654
+ updated_at?: string | null;
655
+ }
656
+ export declare const Guardrail: S.Schema<Guardrail>;
657
+ export interface CreateGuardrailGuardrailsPostRequest {
658
+ guardrail: Guardrail;
659
+ }
660
+ export declare const CreateGuardrailGuardrailsPostRequest: S.Schema<CreateGuardrailGuardrailsPostRequest>;
661
+ export interface CreateGuardrailGuardrailsPostResponse {
662
+ body: unknown;
663
+ }
664
+ export declare const CreateGuardrailGuardrailsPostResponse: S.Schema<CreateGuardrailGuardrailsPostResponse>;
665
+ export interface DeleteGuardrailGuardrailsGuardrailIdDeleteRequest {
666
+ guardrail_id: string;
667
+ }
668
+ export declare const DeleteGuardrailGuardrailsGuardrailIdDeleteRequest: S.Schema<DeleteGuardrailGuardrailsGuardrailIdDeleteRequest>;
669
+ export interface DeleteGuardrailGuardrailsGuardrailIdDeleteResponse {
670
+ body: unknown;
671
+ }
672
+ export declare const DeleteGuardrailGuardrailsGuardrailIdDeleteResponse: S.Schema<DeleteGuardrailGuardrailsGuardrailIdDeleteResponse>;
673
+ export interface GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetRequest {
674
+ category_name: string;
675
+ }
676
+ export declare const GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetRequest: S.Schema<GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetRequest>;
677
+ export interface GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetResponse {
678
+ body: unknown;
679
+ }
680
+ export declare const GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetResponse: S.Schema<GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetResponse>;
681
+ export interface GetGuardrailInfoGuardrailsGuardrailIdGetRequest {
682
+ guardrail_id: string;
683
+ }
684
+ export declare const GetGuardrailInfoGuardrailsGuardrailIdGetRequest: S.Schema<GetGuardrailInfoGuardrailsGuardrailIdGetRequest>;
685
+ export interface GetGuardrailInfoGuardrailsGuardrailIdGetResponse {
686
+ body: unknown;
687
+ }
688
+ export declare const GetGuardrailInfoGuardrailsGuardrailIdGetResponse: S.Schema<GetGuardrailInfoGuardrailsGuardrailIdGetResponse>;
689
+ export interface GetGuardrailInfoGuardrailsGuardrailIdInfoGetRequest {
690
+ guardrail_id: string;
691
+ }
692
+ export declare const GetGuardrailInfoGuardrailsGuardrailIdInfoGetRequest: S.Schema<GetGuardrailInfoGuardrailsGuardrailIdInfoGetRequest>;
693
+ export interface GetGuardrailInfoGuardrailsGuardrailIdInfoGetResponse {
694
+ body: unknown;
695
+ }
696
+ export declare const GetGuardrailInfoGuardrailsGuardrailIdInfoGetResponse: S.Schema<GetGuardrailInfoGuardrailsGuardrailIdInfoGetResponse>;
697
+ export interface GetGuardrailSubmissionGuardrailsSubmissionsGuardrailIdGetRequest {
698
+ guardrail_id: string;
699
+ }
700
+ export declare const GetGuardrailSubmissionGuardrailsSubmissionsGuardrailIdGetRequest: S.Schema<GetGuardrailSubmissionGuardrailsSubmissionsGuardrailIdGetRequest>;
701
+ export type GuardrailSubmissionItemGuardrailInfoMap = {
702
+ [key: string]: unknown | undefined;
703
+ };
704
+ export declare const GuardrailSubmissionItemGuardrailInfoMap: S.Schema<GuardrailSubmissionItemGuardrailInfoMap>;
705
+ export type GuardrailSubmissionItemLitellmParamsMap = {
706
+ [key: string]: unknown | undefined;
707
+ };
708
+ export declare const GuardrailSubmissionItemLitellmParamsMap: S.Schema<GuardrailSubmissionItemLitellmParamsMap>;
709
+ export interface GuardrailSubmissionItem {
710
+ created_at?: string | null;
711
+ guardrail_id: string;
712
+ guardrail_info?: GuardrailSubmissionItemGuardrailInfoMap | null;
713
+ guardrail_name: string;
714
+ litellm_params?: GuardrailSubmissionItemLitellmParamsMap | null;
715
+ reviewed_at?: string | null;
716
+ status: string;
717
+ submitted_at?: string | null;
718
+ submitted_by_email?: string | null;
719
+ submitted_by_user_id?: string | null;
720
+ team_guardrail?: boolean;
721
+ team_id?: string | null;
722
+ updated_at?: string | null;
723
+ }
724
+ export declare const GuardrailSubmissionItem: S.Schema<GuardrailSubmissionItem>;
725
+ export interface GetGuardrailsUsageDetailGuardrailsUsageDetailGuardrailIdRequest {
726
+ guardrail_id: string;
727
+ start_date?: string;
728
+ end_date?: string;
729
+ }
730
+ export declare const GetGuardrailsUsageDetailGuardrailsUsageDetailGuardrailIdRequest: S.Schema<GetGuardrailsUsageDetailGuardrailsUsageDetailGuardrailIdRequest>;
731
+ export interface UsageChartPoint {
732
+ blocked: number;
733
+ date: string;
734
+ passed: number;
735
+ score?: number | null;
736
+ }
737
+ export declare const UsageChartPoint: S.Schema<UsageChartPoint>;
738
+ export type UsageDetailResponseTimeSeriesList = Array<UsageChartPoint>;
739
+ export declare const UsageDetailResponseTimeSeriesList: S.Schema<UsageDetailResponseTimeSeriesList>;
740
+ export type UsageDetailResponseUsageUnitsMap = {
741
+ [key: string]: number | undefined;
742
+ };
743
+ export declare const UsageDetailResponseUsageUnitsMap: S.Schema<UsageDetailResponseUsageUnitsMap>;
744
+ export type UsageDetailResponseUsageUnitsByKeyValueMap = {
745
+ [key: string]: number | undefined;
746
+ };
747
+ export declare const UsageDetailResponseUsageUnitsByKeyValueMap: S.Schema<UsageDetailResponseUsageUnitsByKeyValueMap>;
748
+ export type UsageDetailResponseUsageUnitsByKeyMap = {
749
+ [key: string]: UsageDetailResponseUsageUnitsByKeyValueMap | undefined;
750
+ };
751
+ export declare const UsageDetailResponseUsageUnitsByKeyMap: S.Schema<UsageDetailResponseUsageUnitsByKeyMap>;
752
+ export type UsageDetailResponseUsageUnitsByTeamValueMap = {
753
+ [key: string]: number | undefined;
754
+ };
755
+ export declare const UsageDetailResponseUsageUnitsByTeamValueMap: S.Schema<UsageDetailResponseUsageUnitsByTeamValueMap>;
756
+ export type UsageDetailResponseUsageUnitsByTeamMap = {
757
+ [key: string]: UsageDetailResponseUsageUnitsByTeamValueMap | undefined;
758
+ };
759
+ export declare const UsageDetailResponseUsageUnitsByTeamMap: S.Schema<UsageDetailResponseUsageUnitsByTeamMap>;
760
+ export type UsageUnitsDailyPointUnitsMap = {
761
+ [key: string]: number | undefined;
762
+ };
763
+ export declare const UsageUnitsDailyPointUnitsMap: S.Schema<UsageUnitsDailyPointUnitsMap>;
764
+ export interface UsageUnitsDailyPoint {
765
+ date: string;
766
+ units: UsageUnitsDailyPointUnitsMap;
767
+ }
768
+ export declare const UsageUnitsDailyPoint: S.Schema<UsageUnitsDailyPoint>;
769
+ export type UsageDetailResponseUsageUnitsDailyList = Array<UsageUnitsDailyPoint>;
770
+ export declare const UsageDetailResponseUsageUnitsDailyList: S.Schema<UsageDetailResponseUsageUnitsDailyList>;
771
+ export interface UsageDetailResponse {
772
+ avgLatency: number | null;
773
+ avgScore: number | null;
774
+ description: string | null;
775
+ failRate: number;
776
+ guardrail_id: string;
777
+ guardrail_name: string;
778
+ provider: string;
779
+ requestsEvaluated: number;
780
+ status: string;
781
+ time_series: UsageDetailResponseTimeSeriesList;
782
+ trend: string;
783
+ type: string;
784
+ usage_units: UsageDetailResponseUsageUnitsMap;
785
+ usage_units_by_key: UsageDetailResponseUsageUnitsByKeyMap;
786
+ usage_units_by_team: UsageDetailResponseUsageUnitsByTeamMap;
787
+ usage_units_daily: UsageDetailResponseUsageUnitsDailyList;
788
+ }
789
+ export declare const UsageDetailResponse: S.Schema<UsageDetailResponse>;
790
+ export interface GetGuardrailsUsageLogsGuardrailsUsageLogRequest {
791
+ guardrail_id?: string;
792
+ policy_id?: string;
793
+ page?: number;
794
+ page_size?: number;
795
+ action?: string;
796
+ start_date?: string;
797
+ end_date?: string;
798
+ }
799
+ export declare const GetGuardrailsUsageLogsGuardrailsUsageLogRequest: S.Schema<GetGuardrailsUsageLogsGuardrailsUsageLogRequest>;
800
+ export interface UsageLogEntry {
801
+ action: string;
802
+ id: string;
803
+ input_snippet: string | null;
804
+ latency_ms: number | null;
805
+ model: string | null;
806
+ output_snippet: string | null;
807
+ reason: string | null;
808
+ score: number | null;
809
+ timestamp: string;
810
+ }
811
+ export declare const UsageLogEntry: S.Schema<UsageLogEntry>;
812
+ export type UsageLogsResponseLogsList = Array<UsageLogEntry>;
813
+ export declare const UsageLogsResponseLogsList: S.Schema<UsageLogsResponseLogsList>;
814
+ export interface UsageLogsResponse {
815
+ logs: UsageLogsResponseLogsList;
816
+ page: number;
817
+ page_size: number;
818
+ total: number;
819
+ }
820
+ export declare const UsageLogsResponse: S.Schema<UsageLogsResponse>;
821
+ export interface GetGuardrailsUsageOverviewGuardrailsUsageOverviewRequest {
822
+ /** YYYY-MM-DD */
823
+ start_date?: string;
824
+ /** YYYY-MM-DD */
825
+ end_date?: string;
826
+ }
827
+ export declare const GetGuardrailsUsageOverviewGuardrailsUsageOverviewRequest: S.Schema<GetGuardrailsUsageOverviewGuardrailsUsageOverviewRequest>;
828
+ export type UsageOverviewResponseChartList = Array<UsageChartPoint>;
829
+ export declare const UsageOverviewResponseChartList: S.Schema<UsageOverviewResponseChartList>;
830
+ export type UsageOverviewRowUsageUnitsMap = {
831
+ [key: string]: number | undefined;
832
+ };
833
+ export declare const UsageOverviewRowUsageUnitsMap: S.Schema<UsageOverviewRowUsageUnitsMap>;
834
+ export interface UsageOverviewRow {
835
+ avgLatency: number | null;
836
+ avgScore: number | null;
837
+ failRate: number;
838
+ id: string;
839
+ name: string;
840
+ provider: string;
841
+ requestsEvaluated: number;
842
+ status: string;
843
+ trend: string;
844
+ type: string;
845
+ usageUnits: UsageOverviewRowUsageUnitsMap;
846
+ }
847
+ export declare const UsageOverviewRow: S.Schema<UsageOverviewRow>;
848
+ export type UsageOverviewResponseRowsList = Array<UsageOverviewRow>;
849
+ export declare const UsageOverviewResponseRowsList: S.Schema<UsageOverviewResponseRowsList>;
850
+ export type UsageOverviewResponseTotalUsageUnitsMap = {
851
+ [key: string]: number | undefined;
852
+ };
853
+ export declare const UsageOverviewResponseTotalUsageUnitsMap: S.Schema<UsageOverviewResponseTotalUsageUnitsMap>;
854
+ export interface UsageOverviewResponse {
855
+ chart: UsageOverviewResponseChartList;
856
+ passRate: number;
857
+ rows: UsageOverviewResponseRowsList;
858
+ totalBlocked: number;
859
+ totalRequests: number;
860
+ totalUsageUnits: UsageOverviewResponseTotalUsageUnitsMap;
861
+ }
862
+ export declare const UsageOverviewResponse: S.Schema<UsageOverviewResponse>;
863
+ export interface GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetRequest {
864
+ }
865
+ export declare const GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetRequest: S.Schema<GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetRequest>;
866
+ export interface GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetResponse {
867
+ body: unknown;
868
+ }
869
+ export declare const GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetResponse: S.Schema<GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetResponse>;
870
+ export interface GetMajorAirlinesGuardrailsUiMajorAirlinesGetRequest {
871
+ }
872
+ export declare const GetMajorAirlinesGuardrailsUiMajorAirlinesGetRequest: S.Schema<GetMajorAirlinesGuardrailsUiMajorAirlinesGetRequest>;
873
+ export interface GetMajorAirlinesGuardrailsUiMajorAirlinesGetResponse {
874
+ body: unknown;
875
+ }
876
+ export declare const GetMajorAirlinesGuardrailsUiMajorAirlinesGetResponse: S.Schema<GetMajorAirlinesGuardrailsUiMajorAirlinesGetResponse>;
877
+ export interface GetPoliciesUsageOverviewPoliciesUsageOverviewRequest {
878
+ /** YYYY-MM-DD */
879
+ start_date?: string;
880
+ /** YYYY-MM-DD */
881
+ end_date?: string;
882
+ }
883
+ export declare const GetPoliciesUsageOverviewPoliciesUsageOverviewRequest: S.Schema<GetPoliciesUsageOverviewPoliciesUsageOverviewRequest>;
884
+ export interface GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetRequest {
885
+ }
886
+ export declare const GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetRequest: S.Schema<GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetRequest>;
887
+ export interface GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetResponse {
888
+ body: unknown;
889
+ }
890
+ export declare const GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetResponse: S.Schema<GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetResponse>;
891
+ export interface ListGuardrailsGuardrailsListGetRequest {
892
+ }
893
+ export declare const ListGuardrailsGuardrailsListGetRequest: S.Schema<ListGuardrailsGuardrailsListGetRequest>;
894
+ export type GUARDRAILDEFINITIONLOCATION = "db" | "config";
895
+ export declare const GUARDRAILDEFINITIONLOCATION: any;
896
+ export type GuardrailInfoResponseGuardrailInfoMap = {
897
+ [key: string]: unknown | undefined;
898
+ };
899
+ export declare const GuardrailInfoResponseGuardrailInfoMap: S.Schema<GuardrailInfoResponseGuardrailInfoMap>;
900
+ export type BaseLitellmParamsAdditionalProviderSpecificParamsMap = {
901
+ [key: string]: unknown | undefined;
902
+ };
903
+ export declare const BaseLitellmParamsAdditionalProviderSpecificParamsMap: S.Schema<BaseLitellmParamsAdditionalProviderSpecificParamsMap>;
904
+ export type BaseLitellmParamsBlockedWordsList = Array<BlockedWord>;
905
+ export declare const BaseLitellmParamsBlockedWordsList: S.Schema<BaseLitellmParamsBlockedWordsList>;
906
+ export type BaseLitellmParamsCategoriesList = Array<ContentFilterCategoryConfig>;
907
+ export declare const BaseLitellmParamsCategoriesList: S.Schema<BaseLitellmParamsCategoriesList>;
908
+ export type BaseLitellmParamsDetectSecretsConfigMap = {
909
+ [key: string]: unknown | undefined;
910
+ };
911
+ export declare const BaseLitellmParamsDetectSecretsConfigMap: S.Schema<BaseLitellmParamsDetectSecretsConfigMap>;
912
+ export type BaseLitellmParamsExtraHeadersList = Array<string>;
913
+ export declare const BaseLitellmParamsExtraHeadersList: S.Schema<BaseLitellmParamsExtraHeadersList>;
914
+ export type BaseLitellmParamsOnSensitiveData = "block" | "route";
915
+ export declare const BaseLitellmParamsOnSensitiveData: any;
916
+ export type BaseLitellmParamsOnViolation = "warn" | "end_session";
917
+ export declare const BaseLitellmParamsOnViolation: any;
918
+ export type BaseLitellmParamsPatternsList = Array<ContentFilterPattern>;
919
+ export declare const BaseLitellmParamsPatternsList: S.Schema<BaseLitellmParamsPatternsList>;
920
+ /** Behavior when a guardrail endpoint is unreachable due to network errors. Implemented by guardrail='generic_guardrail_api', 'akto', 'vigil_guard', 'repelloai', 'headroom', and 'compresr'. 'fail_closed' raises an error (default). 'fail_open' logs a critical error and allows the request to proceed. */
921
+ export type BaseLitellmParamsUnreachableFallback = "fail_closed" | "fail_open";
922
+ export declare const BaseLitellmParamsUnreachableFallback: any;
923
+ export interface BaseLitellmParams {
924
+ /** Additional provider-specific parameters for generic guardrail APIs */
925
+ additional_provider_specific_params?: BaseLitellmParamsAdditionalProviderSpecificParamsMap | null;
926
+ /** Base URL for the guardrail service API */
927
+ api_base?: string | null;
928
+ /** Optional custom API endpoint for Model Armor */
929
+ api_endpoint?: string | null;
930
+ /** API key for the guardrail service */
931
+ api_key?: string | null;
932
+ /** List of blocked words with individual actions */
933
+ blocked_words?: BaseLitellmParamsBlockedWordsList | null;
934
+ /** Path to YAML file containing blocked_words list */
935
+ blocked_words_file?: string | null;
936
+ /** List of prebuilt categories to enable (harmful_*, bias_*) */
937
+ categories?: BaseLitellmParamsCategoriesList | null;
938
+ /** Threshold configuration for Lakera guardrail categories */
939
+ category_thresholds?: LakeraCategoryThresholds | null;
940
+ /** Path to Google Cloud credentials JSON file or JSON string */
941
+ credentials?: string | null;
942
+ /** Python-like code containing the apply_guardrail function for custom guardrail logic */
943
+ custom_code?: string | null;
944
+ /** Whether the guardrail is enabled by default */
945
+ default_on?: boolean | null;
946
+ /** Configuration for detect-secrets guardrail */
947
+ detect_secrets_config?: BaseLitellmParamsDetectSecretsConfigMap | null;
948
+ /** For /v1/realtime sessions: automatically close the session after this many guardrail violations. */
949
+ end_session_after_n_fails?: number | null;
950
+ /** When True, guardrails only receive the latest message for the relevant role (e.g., newest user input pre-call, newest assistant output post-call) */
951
+ experimental_use_latest_role_message_only?: boolean | null;
952
+ /** Header names to forward from the client request to the guardrail (e.g. x-request-id). Only these headers' values are sent; others may be omitted or sent as [present]. Used by generic_guardrail_api (similar to MCP extra_headers). */
953
+ extra_headers?: BaseLitellmParamsExtraHeadersList | null;
954
+ /** Whether to fail the request if the guardrail encounters an error. Implemented by guardrail='model_armor', 'generic_guardrail_api' and 'crowdstrike_aidr'. True (default) raises the error. False logs a critical error and lets the request proceed, so only a valid guardrail response can block or modify it. */
955
+ fail_on_error?: boolean | null;
956
+ /** Name of the guardrail in guardrails.ai */
957
+ guard_name?: string | null;
958
+ /** Tag to use for keyword redaction */
959
+ keyword_redaction_tag?: string | null;
960
+ /** Google Cloud location/region (e.g., us-central1) */
961
+ location?: string | null;
962
+ /** Will mask request content if guardrail makes any changes */
963
+ mask_request_content?: boolean | null;
964
+ /** Will mask response content if guardrail makes any changes */
965
+ mask_response_content?: boolean | null;
966
+ /** Optional field if guardrail requires a 'model' parameter */
967
+ model?: string | null;
968
+ /** Action to take when sensitive data is detected. 'block' raises an exception (default behavior). 'route' reroutes the request to the model specified in sensitive_data_route_to_model. */
969
+ on_sensitive_data?: BaseLitellmParamsOnSensitiveData | (string & {}) | null;
970
+ /** For /v1/realtime sessions: 'warn' speaks the violation message and continues; 'end_session' speaks the message and closes the connection. */
971
+ on_violation?: BaseLitellmParamsOnViolation | (string & {}) | null;
972
+ /** When True, the guardrail only scans messages that have not already been scanned earlier in the same session (identified by litellm_session_id / session_id). Message content is hashed per session and cached; only the diff (new or edited messages) is sent to the guardrail provider on follow-up calls. Falls back to a full scan when the request has no session id or the cache is unavailable. Intended for blocking/detection guardrails; not applied when mask_request_content is set. */
973
+ only_scan_new_messages?: boolean | null;
974
+ /** Recipe for input (LLM request) */
975
+ pangea_input_recipe?: string | null;
976
+ /** Recipe for output (LLM response) */
977
+ pangea_output_recipe?: string | null;
978
+ /** Format string for pattern redaction (use {pattern_name} placeholder) */
979
+ pattern_redaction_format?: string | null;
980
+ /** List of patterns (prebuilt or custom regex) to detect */
981
+ patterns?: BaseLitellmParamsPatternsList | null;
982
+ /** The message the bot speaks aloud when a /v1/realtime guardrail fires. Falls back to violation_message_template if not set. */
983
+ realtime_violation_message?: string | null;
984
+ /** When True, this pre_call or post_call guardrail runs concurrently with other opted-in guardrails of the same hook, after the sequential guardrails have run. Use only for block-only guardrails that inspect and reject; do not enable it for guardrails that modify the request or response (e.g. PII masking or sensitive-data routing), since parallel runs share one snapshot and their mutations would race. */
985
+ run_in_parallel?: boolean | null;
986
+ /** For guardrail='model_armor': omit the raw Model Armor response from caller-facing errors and logs by default. Set False to restore verbose output. */
987
+ sanitize_error_detail?: boolean | null;
988
+ /** When True, unified guardrails only evaluate tool results, the untrusted data an agent feeds back into the model, and skip system, user, and assistant content. Intended for agent harnesses whose own prompt scaffolding is trusted but often trips prompt-attack detectors. */
989
+ scan_only_tool_results?: boolean | null;
990
+ /** When True, this pre_call guardrail always evaluates the request as it was before any guardrail in this hook ran, regardless of its position in the guardrails list -- so the YAML order of guardrails can never change whether this one blocks. Use only for block-only guardrails: any data this guardrail returns is discarded, same contract as run_in_parallel, since an earlier guardrail's masking must not be undone by this one. */
991
+ scan_raw_request?: boolean | null;
992
+ /** Model to route requests to when sensitive data is detected and on_sensitive_data='route'. This is typically an on-premise model for data privacy. The routing decision persists for the entire session. */
993
+ sensitive_data_route_to_model?: string | null;
994
+ /** Minimum severity to block (high, medium, low) */
995
+ severity_threshold?: string | null;
996
+ /** When True, unified guardrails skip system-role messages when building evaluation inputs (texts and structured_messages). When False, system messages are included even if litellm_settings sets a global skip. When None, use the global litellm.skip_system_message_in_guardrail setting. For Anthropic /v1/messages, the flag applies only to the trusted top-level system prompt. In-sequence system entries are untrusted client input and remain in texts and structured_messages. */
997
+ skip_system_message_in_guardrail?: boolean | null;
998
+ /** When True, unified guardrails skip tool-role messages when building evaluation inputs (texts and structured_messages). When False, tool messages are included even if litellm_settings sets a global skip. When None, use the global litellm.skip_tool_message_in_guardrail setting. */
999
+ skip_tool_message_in_guardrail?: boolean | null;
1000
+ /** Implemented by guardrail='model_armor'. When True, attachment references that carry no inline bytes (file_id, gs://, or http(s) URLs) pass through unscanned instead of blocking, while fail_on_error still governs real Model Armor API errors. Default False blocks them. */
1001
+ skip_unscannable_attachments?: boolean | null;
1002
+ /** When True (default), after sensitive data is detected and routed, all subsequent requests in the same session will continue routing to the same model. */
1003
+ sticky_session_routing?: boolean | null;
1004
+ /** The ID of your Model Armor template */
1005
+ template_id?: string | null;
1006
+ /** Per-request timeout for the guardrail provider API call (seconds). Accepts int, float, or numeric string; coerced to float on load. Each guardrail handler chooses its own default when unset. */
1007
+ timeout?: number | null;
1008
+ /** Behavior when a guardrail endpoint is unreachable due to network errors. Implemented by guardrail='generic_guardrail_api', 'akto', 'vigil_guard', 'repelloai', 'headroom', and 'compresr'. 'fail_closed' raises an error (default). 'fail_open' logs a critical error and allows the request to proceed. */
1009
+ unreachable_fallback?: BaseLitellmParamsUnreachableFallback | (string & {});
1010
+ /** Custom message when a guardrail blocks an action. Supports placeholders like {tool_name}, {rule_id}, and {default_message}. */
1011
+ violation_message_template?: string | null;
1012
+ }
1013
+ export declare const BaseLitellmParams: S.Schema<BaseLitellmParams>;
1014
+ export interface GuardrailInfoResponse {
1015
+ created_at?: string | null;
1016
+ guardrail_definition_location?: GUARDRAILDEFINITIONLOCATION;
1017
+ guardrail_id?: string | null;
1018
+ guardrail_info?: GuardrailInfoResponseGuardrailInfoMap | null;
1019
+ guardrail_name: string;
1020
+ litellm_params?: BaseLitellmParams | null;
1021
+ updated_at?: string | null;
1022
+ }
1023
+ export declare const GuardrailInfoResponse: S.Schema<GuardrailInfoResponse>;
1024
+ export type ListGuardrailsResponseGuardrailsList = Array<GuardrailInfoResponse>;
1025
+ export declare const ListGuardrailsResponseGuardrailsList: S.Schema<ListGuardrailsResponseGuardrailsList>;
1026
+ export interface ListGuardrailsResponse {
1027
+ guardrails: ListGuardrailsResponseGuardrailsList;
1028
+ }
1029
+ export declare const ListGuardrailsResponse: S.Schema<ListGuardrailsResponse>;
1030
+ export interface ListGuardrailSubmissionsGuardrailsSubmissionsGetRequest {
1031
+ status?: string;
1032
+ team_id?: string;
1033
+ search?: string;
1034
+ }
1035
+ export declare const ListGuardrailSubmissionsGuardrailsSubmissionsGetRequest: S.Schema<ListGuardrailSubmissionsGuardrailsSubmissionsGetRequest>;
1036
+ export type ListGuardrailSubmissionsResponseSubmissionsList = Array<GuardrailSubmissionItem>;
1037
+ export declare const ListGuardrailSubmissionsResponseSubmissionsList: S.Schema<ListGuardrailSubmissionsResponseSubmissionsList>;
1038
+ export interface GuardrailSubmissionSummary {
1039
+ active: number;
1040
+ pending_review: number;
1041
+ rejected: number;
1042
+ total: number;
1043
+ }
1044
+ export declare const GuardrailSubmissionSummary: S.Schema<GuardrailSubmissionSummary>;
1045
+ export interface ListGuardrailSubmissionsResponse {
1046
+ submissions: ListGuardrailSubmissionsResponseSubmissionsList;
1047
+ summary: GuardrailSubmissionSummary;
1048
+ }
1049
+ export declare const ListGuardrailSubmissionsResponse: S.Schema<ListGuardrailSubmissionsResponse>;
1050
+ export interface ListGuardrailsV2V2GuardrailsListGetRequest {
1051
+ }
1052
+ export declare const ListGuardrailsV2V2GuardrailsListGetRequest: S.Schema<ListGuardrailsV2V2GuardrailsListGetRequest>;
1053
+ export type PatchGuardrailGuardrailsGuardrailIdPatchRequestGuardrailInfoMap = {
1054
+ [key: string]: unknown | undefined;
1055
+ };
1056
+ export declare const PatchGuardrailGuardrailsGuardrailIdPatchRequestGuardrailInfoMap: S.Schema<PatchGuardrailGuardrailsGuardrailIdPatchRequestGuardrailInfoMap>;
1057
+ export interface PatchGuardrailGuardrailsGuardrailIdPatchRequest {
1058
+ guardrail_id: string;
1059
+ guardrail_info?: PatchGuardrailGuardrailsGuardrailIdPatchRequestGuardrailInfoMap | null;
1060
+ guardrail_name?: string | null;
1061
+ litellm_params?: BaseLitellmParams | null;
1062
+ }
1063
+ export declare const PatchGuardrailGuardrailsGuardrailIdPatchRequest: S.Schema<PatchGuardrailGuardrailsGuardrailIdPatchRequest>;
1064
+ export interface PatchGuardrailGuardrailsGuardrailIdPatchResponse {
1065
+ body: unknown;
1066
+ }
1067
+ export declare const PatchGuardrailGuardrailsGuardrailIdPatchResponse: S.Schema<PatchGuardrailGuardrailsGuardrailIdPatchResponse>;
1068
+ export type PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequestRequestDataMap = {
1069
+ [key: string]: unknown | undefined;
1070
+ };
1071
+ export declare const PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequestRequestDataMap: S.Schema<PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequestRequestDataMap>;
1072
+ export type PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequestTestInputMap = {
1073
+ [key: string]: unknown | undefined;
1074
+ };
1075
+ export declare const PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequestTestInputMap: S.Schema<PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequestTestInputMap>;
1076
+ export interface PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequest {
1077
+ custom_code: string;
1078
+ input_type?: string;
1079
+ request_data?: PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequestRequestDataMap | null;
1080
+ test_input: PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequestTestInputMap;
1081
+ }
1082
+ export declare const PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequest: S.Schema<PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequest>;
1083
+ export type TestCustomCodeGuardrailResponseResultMap = {
1084
+ [key: string]: unknown | undefined;
1085
+ };
1086
+ export declare const TestCustomCodeGuardrailResponseResultMap: S.Schema<TestCustomCodeGuardrailResponseResultMap>;
1087
+ /** Response model for testing custom code guardrails. */
1088
+ export interface TestCustomCodeGuardrailResponse {
1089
+ error?: string | null;
1090
+ error_type?: string | null;
1091
+ result?: TestCustomCodeGuardrailResponseResultMap | null;
1092
+ success: boolean;
1093
+ }
1094
+ export declare const TestCustomCodeGuardrailResponse: S.Schema<TestCustomCodeGuardrailResponse>;
1095
+ export type RegisterGuardrailGuardrailsRegisterPostRequestGuardrailInfoMap = {
1096
+ [key: string]: unknown | undefined;
1097
+ };
1098
+ export declare const RegisterGuardrailGuardrailsRegisterPostRequestGuardrailInfoMap: S.Schema<RegisterGuardrailGuardrailsRegisterPostRequestGuardrailInfoMap>;
1099
+ export type RegisterGuardrailGuardrailsRegisterPostRequestLitellmParamsMap = {
1100
+ [key: string]: unknown | undefined;
1101
+ };
1102
+ export declare const RegisterGuardrailGuardrailsRegisterPostRequestLitellmParamsMap: S.Schema<RegisterGuardrailGuardrailsRegisterPostRequestLitellmParamsMap>;
1103
+ export interface RegisterGuardrailGuardrailsRegisterPostRequest {
1104
+ guardrail_info?: RegisterGuardrailGuardrailsRegisterPostRequestGuardrailInfoMap | null;
1105
+ guardrail_name: string;
1106
+ litellm_params: RegisterGuardrailGuardrailsRegisterPostRequestLitellmParamsMap;
1107
+ team_id?: string | null;
1108
+ }
1109
+ export declare const RegisterGuardrailGuardrailsRegisterPostRequest: S.Schema<RegisterGuardrailGuardrailsRegisterPostRequest>;
1110
+ export interface RegisterGuardrailResponse {
1111
+ guardrail_id: string;
1112
+ guardrail_name: string;
1113
+ status: string;
1114
+ submitted_at?: string | null;
1115
+ }
1116
+ export declare const RegisterGuardrailResponse: S.Schema<RegisterGuardrailResponse>;
1117
+ export interface RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostRequest {
1118
+ guardrail_id: string;
1119
+ }
1120
+ export declare const RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostRequest: S.Schema<RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostRequest>;
1121
+ export interface RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostResponse {
1122
+ body: unknown;
1123
+ }
1124
+ export declare const RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostResponse: S.Schema<RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostResponse>;
1125
+ export interface UpdateGuardrailGuardrailsGuardrailIdPutRequest {
1126
+ guardrail_id: string;
1127
+ guardrail: Guardrail;
1128
+ }
1129
+ export declare const UpdateGuardrailGuardrailsGuardrailIdPutRequest: S.Schema<UpdateGuardrailGuardrailsGuardrailIdPutRequest>;
1130
+ export interface UpdateGuardrailGuardrailsGuardrailIdPutResponse {
1131
+ body: unknown;
1132
+ }
1133
+ export declare const UpdateGuardrailGuardrailsGuardrailIdPutResponse: S.Schema<UpdateGuardrailGuardrailsGuardrailIdPutResponse>;
1134
+ export type ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostRequestBodyMap = {
1135
+ [key: string]: string | undefined;
1136
+ };
1137
+ export declare const ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostRequestBodyMap: S.Schema<ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostRequestBodyMap>;
1138
+ export interface ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostRequest {
1139
+ body: ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostRequestBodyMap;
1140
+ }
1141
+ export declare const ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostRequest: S.Schema<ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostRequest>;
1142
+ export interface ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostResponse {
1143
+ body: unknown;
1144
+ }
1145
+ export declare const ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostResponse: S.Schema<ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostResponse>;
1146
+ export type ApplyGuardrailApplyGuardrailPostError = UnprocessableEntity | LitellmOpError;
1147
+ /** Apply Guardrail Apply a guardrail to text input and return the processed result. This endpoint allows testing guardrails by applying them to custom text inputs. */
1148
+ export declare const applyGuardrailApplyGuardrailPost: API.OperationMethod<ApplyGuardrailApplyGuardrailPostRequest, ApplyGuardrailResponse, ApplyGuardrailApplyGuardrailPostError, LitellmOpContext>;
1149
+ export type ApplyGuardrailGuardrailsApplyGuardrailPostError = UnprocessableEntity | LitellmOpError;
1150
+ /** Apply Guardrail Apply a guardrail to text input and return the processed result. This endpoint allows testing guardrails by applying them to custom text inputs. */
1151
+ export declare const applyGuardrailGuardrailsApplyGuardrailPost: API.OperationMethod<ApplyGuardrailGuardrailsApplyGuardrailPostRequest, ApplyGuardrailResponse, ApplyGuardrailGuardrailsApplyGuardrailPostError, LitellmOpContext>;
1152
+ export type ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostError = UnprocessableEntity | LitellmOpError;
1153
+ /** Approve Guardrail Submission Approve a pending guardrail submission: set status to active and initialize in memory (admin only). */
1154
+ export declare const approveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePost: API.OperationMethod<ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostRequest, ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostResponse, ApproveGuardrailSubmissionGuardrailsSubmissionsGuardrailIdApprovePostError, LitellmOpContext>;
1155
+ export type CreateGuardrailGuardrailsPostError = UnprocessableEntity | LitellmOpError;
1156
+ /** Create Guardrail Create a new guardrail 👉 [Guardrail docs](https://docs.litellm.ai/docs/proxy/guardrails/quick_start) Example Request: ```bash curl -X POST "http://localhost:4000/guardrails" \ -H "Authorization: Bearer <your_api_key>" \ -H "Content-Type: application/json" \ -d '{ "guardrail": { "guardrail_name": "my-bedrock-guard", "litellm_params": { "guardrail": "bedrock", "mode": "pre_call", "guardrailIdentifier": "ff6ujrregl1q", "guardrailVersion": "DRAFT", "default_on": true }, "guardrail_info": { "description": "Bedrock content moderation guardrail" } } }' ``` Example Response: ```json { "guardrail_id": "123e4567-e89b-12d3-a456-426614174000", "guardrail_name": "my-bedrock-guard", "litellm_params": { "guardrail": "bedrock", "mode": "pre_call", "guardrailIdentifier": "ff6ujrregl1q", "guardrailVersion": "DRAFT", "default_on": true }, "guardrail_info": { "description": "Bedrock content moderation guardrail" }, "created_at": "2023-11-09T12:34:56.789Z", "updated_at": "2023-11-09T12:34:56.789Z" } ``` */
1157
+ export declare const createGuardrailGuardrailsPost: API.OperationMethod<CreateGuardrailGuardrailsPostRequest, CreateGuardrailGuardrailsPostResponse, CreateGuardrailGuardrailsPostError, LitellmOpContext>;
1158
+ export type DeleteGuardrailGuardrailsGuardrailIdDeleteError = UnprocessableEntity | LitellmOpError;
1159
+ /** Delete Guardrail Delete a guardrail 👉 [Guardrail docs](https://docs.litellm.ai/docs/proxy/guardrails/quick_start) Example Request: ```bash curl -X DELETE "http://localhost:4000/guardrails/123e4567-e89b-12d3-a456-426614174000" \ -H "Authorization: Bearer <your_api_key>" ``` Example Response: ```json { "message": "Guardrail 123e4567-e89b-12d3-a456-426614174000 deleted successfully" } ``` */
1160
+ export declare const deleteGuardrailGuardrailsGuardrailIdDelete: API.OperationMethod<DeleteGuardrailGuardrailsGuardrailIdDeleteRequest, DeleteGuardrailGuardrailsGuardrailIdDeleteResponse, DeleteGuardrailGuardrailsGuardrailIdDeleteError, LitellmOpContext>;
1161
+ export type GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetError = UnprocessableEntity | LitellmOpError;
1162
+ /** Get Category Yaml Get the YAML or JSON content for a specific content filter category. Args: category_name: The name of the category (e.g., "bias_gender", "harmful_self_harm") Returns: The raw YAML or JSON content of the category file with file type indicator */
1163
+ export declare const getCategoryYamlGuardrailsUiCategoryYamlCategoryNameGet: API.OperationMethod<GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetRequest, GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetResponse, GetCategoryYamlGuardrailsUiCategoryYamlCategoryNameGetError, LitellmOpContext>;
1164
+ export type GetGuardrailInfoGuardrailsGuardrailIdGetError = UnprocessableEntity | LitellmOpError;
1165
+ /** Get Guardrail Info Get detailed information about a specific guardrail by ID 👉 [Guardrail docs](https://docs.litellm.ai/docs/proxy/guardrails/quick_start) Example Request: ```bash curl -X GET "http://localhost:4000/guardrails/123e4567-e89b-12d3-a456-426614174000/info" \ -H "Authorization: Bearer <your_api_key>" ``` Example Response: ```json { "guardrail_id": "123e4567-e89b-12d3-a456-426614174000", "guardrail_name": "my-bedrock-guard", "litellm_params": { "guardrail": "bedrock", "mode": "pre_call", "guardrailIdentifier": "ff6ujrregl1q", "guardrailVersion": "DRAFT", "default_on": true }, "guardrail_info": { "description": "Bedrock content moderation guardrail" }, "created_at": "2023-11-09T12:34:56.789Z", "updated_at": "2023-11-09T12:34:56.789Z" } ``` */
1166
+ export declare const getGuardrailInfoGuardrailsGuardrailIdGet: API.OperationMethod<GetGuardrailInfoGuardrailsGuardrailIdGetRequest, GetGuardrailInfoGuardrailsGuardrailIdGetResponse, GetGuardrailInfoGuardrailsGuardrailIdGetError, LitellmOpContext>;
1167
+ export type GetGuardrailInfoGuardrailsGuardrailIdInfoGetError = UnprocessableEntity | LitellmOpError;
1168
+ /** Get Guardrail Info Get detailed information about a specific guardrail by ID 👉 [Guardrail docs](https://docs.litellm.ai/docs/proxy/guardrails/quick_start) Example Request: ```bash curl -X GET "http://localhost:4000/guardrails/123e4567-e89b-12d3-a456-426614174000/info" \ -H "Authorization: Bearer <your_api_key>" ``` Example Response: ```json { "guardrail_id": "123e4567-e89b-12d3-a456-426614174000", "guardrail_name": "my-bedrock-guard", "litellm_params": { "guardrail": "bedrock", "mode": "pre_call", "guardrailIdentifier": "ff6ujrregl1q", "guardrailVersion": "DRAFT", "default_on": true }, "guardrail_info": { "description": "Bedrock content moderation guardrail" }, "created_at": "2023-11-09T12:34:56.789Z", "updated_at": "2023-11-09T12:34:56.789Z" } ``` */
1169
+ export declare const getGuardrailInfoGuardrailsGuardrailIdInfoGet: API.OperationMethod<GetGuardrailInfoGuardrailsGuardrailIdInfoGetRequest, GetGuardrailInfoGuardrailsGuardrailIdInfoGetResponse, GetGuardrailInfoGuardrailsGuardrailIdInfoGetError, LitellmOpContext>;
1170
+ export type GetGuardrailSubmissionGuardrailsSubmissionsGuardrailIdGetError = UnprocessableEntity | LitellmOpError;
1171
+ /** Get Guardrail Submission Get a single guardrail submission by id. Non-admins may only access submissions for teams they belong to. */
1172
+ export declare const getGuardrailSubmissionGuardrailsSubmissionsGuardrailIdGet: API.OperationMethod<GetGuardrailSubmissionGuardrailsSubmissionsGuardrailIdGetRequest, GuardrailSubmissionItem, GetGuardrailSubmissionGuardrailsSubmissionsGuardrailIdGetError, LitellmOpContext>;
1173
+ export type GetGuardrailsUsageDetailGuardrailsUsageDetailGuardrailIdError = UnprocessableEntity | LitellmOpError;
1174
+ /** Guardrails Usage Detail Return single guardrail usage metrics and time series. */
1175
+ export declare const getGuardrailsUsageDetailGuardrailsUsageDetailGuardrailId: API.OperationMethod<GetGuardrailsUsageDetailGuardrailsUsageDetailGuardrailIdRequest, UsageDetailResponse, GetGuardrailsUsageDetailGuardrailsUsageDetailGuardrailIdError, LitellmOpContext>;
1176
+ export type GetGuardrailsUsageLogsGuardrailsUsageLogError = UnprocessableEntity | LitellmOpError;
1177
+ /** Guardrails Usage Logs Return paginated run logs for a guardrail (or policy) from SpendLogs via index. */
1178
+ export declare const getGuardrailsUsageLogsGuardrailsUsageLog: API.OperationMethod<GetGuardrailsUsageLogsGuardrailsUsageLogRequest, UsageLogsResponse, GetGuardrailsUsageLogsGuardrailsUsageLogError, LitellmOpContext>;
1179
+ export type GetGuardrailsUsageOverviewGuardrailsUsageOverviewError = UnprocessableEntity | LitellmOpError;
1180
+ /** Guardrails Usage Overview Return guardrail performance overview for the dashboard. */
1181
+ export declare const getGuardrailsUsageOverviewGuardrailsUsageOverview: API.OperationMethod<GetGuardrailsUsageOverviewGuardrailsUsageOverviewRequest, UsageOverviewResponse, GetGuardrailsUsageOverviewGuardrailsUsageOverviewError, LitellmOpContext>;
1182
+ export type GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetError = LitellmOpError;
1183
+ /** Get Guardrail Ui Settings Get the UI settings for the guardrails Returns: - Supported entities for guardrails - Supported modes for guardrails - PII entity categories for UI organization - Content filter settings (patterns and categories) */
1184
+ export declare const getGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGet: API.OperationMethod<GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetRequest, GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetResponse, GetGuardrailUiSettingsGuardrailsUiAddGuardrailSettingsGetError, LitellmOpContext>;
1185
+ export type GetMajorAirlinesGuardrailsUiMajorAirlinesGetError = LitellmOpError;
1186
+ /** Get Major Airlines Get the major airlines list from IATA (competitor intent, airline type). Returns airline id, match variants (pipe-separated), and tags. */
1187
+ export declare const getMajorAirlinesGuardrailsUiMajorAirlinesGet: API.OperationMethod<GetMajorAirlinesGuardrailsUiMajorAirlinesGetRequest, GetMajorAirlinesGuardrailsUiMajorAirlinesGetResponse, GetMajorAirlinesGuardrailsUiMajorAirlinesGetError, LitellmOpContext>;
1188
+ export type GetPoliciesUsageOverviewPoliciesUsageOverviewError = UnprocessableEntity | LitellmOpError;
1189
+ /** Policies Usage Overview Return policy performance overview for the dashboard. */
1190
+ export declare const getPoliciesUsageOverviewPoliciesUsageOverview: API.OperationMethod<GetPoliciesUsageOverviewPoliciesUsageOverviewRequest, UsageOverviewResponse, GetPoliciesUsageOverviewPoliciesUsageOverviewError, LitellmOpContext>;
1191
+ export type GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetError = LitellmOpError;
1192
+ /** Get Provider Specific Params Get provider-specific parameters for different guardrail types. Returns a dictionary mapping guardrail providers to their specific parameters, including parameter names, descriptions, and whether they are required. Example Response: ```json { "bedrock": { "guardrailIdentifier": { "description": "The ID of your guardrail on Bedrock", "required": true, "type": null }, "guardrailVersion": { "description": "The version of your Bedrock guardrail (e.g., DRAFT or version number)", "required": true, "type": null } }, "azure_content_safety_text_moderation": { "api_key": { "description": "API key for the Azure Content Safety Text Moderation guardrail", "required": false, "type": null }, "optional_params": { "description": "Optional parameters for the Azure Content Safety Text Moderation guardrail", "required": true, "type": "nested", "fields": { "severity_threshold": { "description": "Severity threshold for the Azure Content Safety Text Moderation guardrail across all categories", "required": false, "type": null }, "categories": { "description": "Categories to scan for the Azure Content Safety Text Moderation guardrail", "required": false, "type": "multiselect", "options": ["Hate", "SelfHarm", "Sexual", "Violence"], "default_value": None } } } } } ``` */
1193
+ export declare const getProviderSpecificParamsGuardrailsUiProviderSpecificParamsGet: API.OperationMethod<GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetRequest, GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetResponse, GetProviderSpecificParamsGuardrailsUiProviderSpecificParamsGetError, LitellmOpContext>;
1194
+ export type ListGuardrailsGuardrailsListGetError = LitellmOpError;
1195
+ /** List Guardrails List the guardrails that are available on the proxy server 👉 [Guardrail docs](https://docs.litellm.ai/docs/proxy/guardrails/quick_start) Example Request: ```bash curl -X GET "http://localhost:4000/guardrails/list" -H "Authorization: Bearer <your_api_key>" ``` Example Response: ```json { "guardrails": [ { "guardrail_name": "bedrock-pre-guard", "guardrail_info": { "params": [ { "name": "toxicity_score", "type": "float", "description": "Score between 0-1 indicating content toxicity level" }, { "name": "pii_detection", "type": "boolean" } ] } } ] } ``` */
1196
+ export declare const listGuardrailsGuardrailsListGet: API.OperationMethod<ListGuardrailsGuardrailsListGetRequest, ListGuardrailsResponse, ListGuardrailsGuardrailsListGetError, LitellmOpContext>;
1197
+ export type ListGuardrailSubmissionsGuardrailsSubmissionsGetError = UnprocessableEntity | LitellmOpError;
1198
+ /** List Guardrail Submissions List team guardrail submissions. Returns only guardrails with a team_id. Admins see all submissions. Non-admin users see submissions for teams they are a member of. Status values: pending_review (team-registered, awaiting approval), active (approved), rejected. Optional filters: - status: pending_review | active | rejected - team_id: filter by specific team (non-admins must be a member of that team) - search: name/description */
1199
+ export declare const listGuardrailSubmissionsGuardrailsSubmissionsGet: API.OperationMethod<ListGuardrailSubmissionsGuardrailsSubmissionsGetRequest, ListGuardrailSubmissionsResponse, ListGuardrailSubmissionsGuardrailsSubmissionsGetError, LitellmOpContext>;
1200
+ export type ListGuardrailsV2V2GuardrailsListGetError = LitellmOpError;
1201
+ /** List Guardrails V2 List the guardrails that are available in the database using GuardrailRegistry 👉 [Guardrail docs](https://docs.litellm.ai/docs/proxy/guardrails/quick_start) Example Request: ```bash curl -X GET "http://localhost:4000/v2/guardrails/list" -H "Authorization: Bearer <your_api_key>" ``` Example Response: ```json { "guardrails": [ { "guardrail_id": "123e4567-e89b-12d3-a456-426614174000", "guardrail_name": "my-bedrock-guard", "litellm_params": { "guardrail": "bedrock", "mode": "pre_call", "guardrailIdentifier": "ff6ujrregl1q", "guardrailVersion": "DRAFT", "default_on": true }, "guardrail_info": { "description": "Bedrock content moderation guardrail" } } ] } ``` */
1202
+ export declare const listGuardrailsV2V2GuardrailsListGet: API.OperationMethod<ListGuardrailsV2V2GuardrailsListGetRequest, ListGuardrailsResponse, ListGuardrailsV2V2GuardrailsListGetError, LitellmOpContext>;
1203
+ export type PatchGuardrailGuardrailsGuardrailIdPatchError = UnprocessableEntity | LitellmOpError;
1204
+ /** Patch Guardrail Partially update an existing guardrail 👉 [Guardrail docs](https://docs.litellm.ai/docs/proxy/guardrails/quick_start) This endpoint allows updating specific fields of a guardrail without sending the entire object. Only the following fields can be updated: - guardrail_name: The name of the guardrail - default_on: Whether the guardrail is enabled by default - guardrail_info: Additional information about the guardrail Example Request: ```bash curl -X PATCH "http://localhost:4000/guardrails/123e4567-e89b-12d3-a456-426614174000" \ -H "Authorization: Bearer <your_api_key>" \ -H "Content-Type: application/json" \ -d '{ "guardrail_name": "updated-name", "default_on": true, "guardrail_info": { "description": "Updated description" } }' ``` Example Response: ```json { "guardrail_id": "123e4567-e89b-12d3-a456-426614174000", "guardrail_name": "updated-name", "litellm_params": { "guardrail": "bedrock", "mode": "pre_call", "guardrailIdentifier": "ff6ujrregl1q", "guardrailVersion": "DRAFT", "default_on": true }, "guardrail_info": { "description": "Updated description" }, "created_at": "2023-11-09T12:34:56.789Z", "updated_at": "2023-11-09T14:22:33.456Z" } ``` */
1205
+ export declare const patchGuardrailGuardrailsGuardrailIdPatch: API.OperationMethod<PatchGuardrailGuardrailsGuardrailIdPatchRequest, PatchGuardrailGuardrailsGuardrailIdPatchResponse, PatchGuardrailGuardrailsGuardrailIdPatchError, LitellmOpContext>;
1206
+ export type PostTestCustomCodeGuardrailGuardrailsTestCustomCodeError = UnprocessableEntity | LitellmOpError;
1207
+ /** Test Custom Code Guardrail Test custom code guardrail logic without creating a guardrail. This endpoint allows admins to experiment with custom code guardrails by: 1. Compiling the provided code in a sandbox 2. Executing the apply_guardrail function with test input 3. Returning the result (allow/block/modify) 👉 [Custom Code Guardrail docs](https://docs.litellm.ai/docs/proxy/guardrails/custom_code_guardrail) Example Request: ```bash curl -X POST "http://localhost:4000/guardrails/test_custom_code" \ -H "Authorization: Bearer <your_api_key>" \ -H "Content-Type: application/json" \ -d '{ "custom_code": "def apply_guardrail(inputs, request_data, input_type):\n for text in inputs[\"texts\"]:\n if regex_match(text, r\"\\d{3}-\\d{2}-\\d{4}\"):\n return block(\"SSN detected\")\n return allow()", "test_input": { "texts": ["My SSN is 123-45-6789"] }, "input_type": "request" }' ``` Example Success Response (blocked): ```json { "success": true, "result": { "action": "block", "reason": "SSN detected" }, "error": null, "error_type": null } ``` Example Success Response (allowed): ```json { "success": true, "result": { "action": "allow" }, "error": null, "error_type": null } ``` Example Success Response (modified): ```json { "success": true, "result": { "action": "modify", "texts": ["My SSN is [REDACTED]"] }, "error": null, "error_type": null } ``` Example Error Response (compilation error): ```json { "success": false, "result": null, "error": "Syntax error in custom code: invalid syntax (<guardrail>, line 1)", "error_type": "compilation" } ``` */
1208
+ export declare const postTestCustomCodeGuardrailGuardrailsTestCustomCode: API.OperationMethod<PostTestCustomCodeGuardrailGuardrailsTestCustomCodeRequest, TestCustomCodeGuardrailResponse, PostTestCustomCodeGuardrailGuardrailsTestCustomCodeError, LitellmOpContext>;
1209
+ export type RegisterGuardrailGuardrailsRegisterPostError = UnprocessableEntity | LitellmOpError;
1210
+ /** Register Guardrail Register a guardrail for onboarding (team submission). Accepts a guardrail config in the [Generic Guardrail API](https://docs.litellm.ai/docs/adding_provider/generic_guardrail_api) format. The submission is stored with status `pending_review` until an admin approves it. */
1211
+ export declare const registerGuardrailGuardrailsRegisterPost: API.OperationMethod<RegisterGuardrailGuardrailsRegisterPostRequest, RegisterGuardrailResponse, RegisterGuardrailGuardrailsRegisterPostError, LitellmOpContext>;
1212
+ export type RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostError = UnprocessableEntity | LitellmOpError;
1213
+ /** Reject Guardrail Submission Reject a guardrail submission (admin only). */
1214
+ export declare const rejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPost: API.OperationMethod<RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostRequest, RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostResponse, RejectGuardrailSubmissionGuardrailsSubmissionsGuardrailIdRejectPostError, LitellmOpContext>;
1215
+ export type UpdateGuardrailGuardrailsGuardrailIdPutError = UnprocessableEntity | LitellmOpError;
1216
+ /** Update Guardrail Update an existing guardrail 👉 [Guardrail docs](https://docs.litellm.ai/docs/proxy/guardrails/quick_start) Example Request: ```bash curl -X PUT "http://localhost:4000/guardrails/123e4567-e89b-12d3-a456-426614174000" \ -H "Authorization: Bearer <your_api_key>" \ -H "Content-Type: application/json" \ -d '{ "guardrail": { "guardrail_name": "updated-bedrock-guard", "litellm_params": { "guardrail": "bedrock", "mode": "pre_call", "guardrailIdentifier": "ff6ujrregl1q", "guardrailVersion": "1.0", "default_on": true }, "guardrail_info": { "description": "Updated Bedrock content moderation guardrail" } } }' ``` Example Response: ```json { "guardrail_id": "123e4567-e89b-12d3-a456-426614174000", "guardrail_name": "updated-bedrock-guard", "litellm_params": { "guardrail": "bedrock", "mode": "pre_call", "guardrailIdentifier": "ff6ujrregl1q", "guardrailVersion": "1.0", "default_on": true }, "guardrail_info": { "description": "Updated Bedrock content moderation guardrail" }, "created_at": "2023-11-09T12:34:56.789Z", "updated_at": "2023-11-09T13:45:12.345Z" } ``` */
1217
+ export declare const updateGuardrailGuardrailsGuardrailIdPut: API.OperationMethod<UpdateGuardrailGuardrailsGuardrailIdPutRequest, UpdateGuardrailGuardrailsGuardrailIdPutResponse, UpdateGuardrailGuardrailsGuardrailIdPutError, LitellmOpContext>;
1218
+ export type ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostError = UnprocessableEntity | LitellmOpError;
1219
+ /** Validate Blocked Words File Validate a blocked_words YAML file content. Args: request: Dictionary with 'file_content' key containing the YAML string Returns: Dictionary with 'valid' boolean and either 'message'/'errors' depending on result Example Request: ```json { "file_content": "blocked_words:\n - keyword: \"test\"\n action: \"BLOCK\"" } ``` Example Success Response: ```json { "valid": true, "message": "Valid YAML file with 2 blocked words" } ``` Example Error Response: ```json { "valid": false, "errors": ["Entry 0: missing 'action' field"] } ``` */
1220
+ export declare const validateBlockedWordsFileGuardrailsValidateBlockedWordsFilePost: API.OperationMethod<ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostRequest, ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostResponse, ValidateBlockedWordsFileGuardrailsValidateBlockedWordsFilePostError, LitellmOpContext>;
1221
+ //# sourceMappingURL=guardrails.d.ts.map