@letta-ai/letta-client 1.0.0-alpha.3 → 1.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (316) hide show
  1. package/api/resources/agents/client/Client.d.ts +8 -8
  2. package/api/resources/agents/client/Client.js +17 -17
  3. package/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  4. package/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  5. package/api/resources/agents/resources/blocks/client/Client.d.ts +12 -12
  6. package/api/resources/agents/resources/blocks/client/Client.js +17 -17
  7. package/api/resources/agents/resources/context/client/Client.d.ts +2 -2
  8. package/api/resources/agents/resources/context/client/Client.js +3 -3
  9. package/api/resources/agents/resources/coreMemory/client/Client.d.ts +2 -2
  10. package/api/resources/agents/resources/coreMemory/client/Client.js +3 -3
  11. package/api/resources/agents/resources/files/client/Client.d.ts +10 -10
  12. package/api/resources/agents/resources/files/client/Client.js +14 -14
  13. package/api/resources/agents/resources/folders/client/Client.d.ts +8 -8
  14. package/api/resources/agents/resources/folders/client/Client.js +11 -11
  15. package/api/resources/agents/resources/groups/client/Client.d.ts +2 -2
  16. package/api/resources/agents/resources/groups/client/Client.js +3 -3
  17. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  18. package/api/resources/agents/resources/messages/client/Client.d.ts +17 -17
  19. package/api/resources/agents/resources/messages/client/Client.js +27 -27
  20. package/api/resources/agents/resources/passages/client/Client.d.ts +8 -8
  21. package/api/resources/agents/resources/passages/client/Client.js +13 -13
  22. package/api/resources/agents/resources/sources/client/Client.d.ts +8 -8
  23. package/api/resources/agents/resources/sources/client/Client.js +11 -11
  24. package/api/resources/agents/resources/tools/client/Client.d.ts +10 -10
  25. package/api/resources/agents/resources/tools/client/Client.js +14 -14
  26. package/api/resources/archives/client/Client.d.ts +2 -2
  27. package/api/resources/archives/client/Client.js +5 -5
  28. package/api/resources/batches/client/Client.js +4 -4
  29. package/api/resources/batches/resources/messages/client/Client.js +1 -1
  30. package/api/resources/blocks/client/Client.d.ts +6 -6
  31. package/api/resources/blocks/client/Client.js +12 -12
  32. package/api/resources/blocks/resources/agents/client/Client.d.ts +2 -2
  33. package/api/resources/blocks/resources/agents/client/Client.js +3 -3
  34. package/api/resources/chat/client/Client.js +1 -1
  35. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  36. package/api/resources/folders/client/Client.js +8 -8
  37. package/api/resources/folders/resources/agents/client/Client.js +1 -1
  38. package/api/resources/folders/resources/files/client/Client.js +3 -3
  39. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  40. package/api/resources/groups/client/Client.d.ts +6 -6
  41. package/api/resources/groups/client/Client.js +12 -12
  42. package/api/resources/groups/resources/messages/client/Client.d.ts +9 -9
  43. package/api/resources/groups/resources/messages/client/Client.js +14 -14
  44. package/api/resources/health/client/Client.js +1 -1
  45. package/api/resources/identities/client/Client.d.ts +6 -6
  46. package/api/resources/identities/client/Client.js +13 -13
  47. package/api/resources/identities/resources/agents/client/Client.d.ts +2 -2
  48. package/api/resources/identities/resources/agents/client/Client.js +3 -3
  49. package/api/resources/identities/resources/blocks/client/Client.d.ts +2 -2
  50. package/api/resources/identities/resources/blocks/client/Client.js +3 -3
  51. package/api/resources/identities/resources/properties/client/Client.d.ts +2 -2
  52. package/api/resources/identities/resources/properties/client/Client.js +3 -3
  53. package/api/resources/jobs/client/Client.d.ts +6 -6
  54. package/api/resources/jobs/client/Client.js +11 -11
  55. package/api/resources/models/client/Client.js +2 -2
  56. package/api/resources/models/resources/embeddings/client/Client.js +1 -1
  57. package/api/resources/projects/client/Client.js +1 -1
  58. package/api/resources/providers/client/Client.d.ts +8 -8
  59. package/api/resources/providers/client/Client.js +15 -15
  60. package/api/resources/runs/client/Client.js +6 -6
  61. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  62. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  63. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  64. package/api/resources/sources/client/Client.d.ts +11 -11
  65. package/api/resources/sources/client/Client.js +21 -21
  66. package/api/resources/sources/resources/files/client/Client.d.ts +6 -6
  67. package/api/resources/sources/resources/files/client/Client.js +9 -9
  68. package/api/resources/sources/resources/passages/client/Client.d.ts +2 -2
  69. package/api/resources/sources/resources/passages/client/Client.js +3 -3
  70. package/api/resources/steps/client/Client.d.ts +2 -2
  71. package/api/resources/steps/client/Client.js +4 -4
  72. package/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  73. package/api/resources/steps/resources/feedback/client/Client.js +3 -3
  74. package/api/resources/steps/resources/messages/client/Client.d.ts +2 -2
  75. package/api/resources/steps/resources/messages/client/Client.js +3 -3
  76. package/api/resources/steps/resources/metrics/client/Client.d.ts +2 -2
  77. package/api/resources/steps/resources/metrics/client/Client.js +3 -3
  78. package/api/resources/steps/resources/trace/client/Client.d.ts +2 -2
  79. package/api/resources/steps/resources/trace/client/Client.js +3 -3
  80. package/api/resources/tags/client/Client.js +1 -1
  81. package/api/resources/telemetry/client/Client.js +1 -1
  82. package/api/resources/templates/client/Client.js +13 -13
  83. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  84. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +1 -0
  85. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +5 -0
  86. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +5 -0
  87. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +4 -0
  88. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +5 -0
  89. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +1 -0
  90. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +5 -0
  91. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +5 -0
  92. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +4 -0
  93. package/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +5 -0
  94. package/api/resources/templates/types/index.d.ts +4 -0
  95. package/api/resources/templates/types/index.js +4 -0
  96. package/api/resources/tools/client/Client.d.ts +6 -6
  97. package/api/resources/tools/client/Client.js +23 -23
  98. package/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  99. package/api/resources/voice/client/Client.js +1 -1
  100. package/api/types/ApprovalRequestMessage.d.ts +4 -0
  101. package/api/types/ApprovalRequestMessageAllowedToolCalls.d.ts +8 -0
  102. package/api/types/ApprovalRequestMessageAllowedToolCalls.js +5 -0
  103. package/api/types/ApprovalRequestMessageRequestedToolCalls.d.ts +8 -0
  104. package/api/types/ApprovalRequestMessageRequestedToolCalls.js +5 -0
  105. package/api/types/InternalTemplateAgentCreate.d.ts +2 -0
  106. package/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -0
  107. package/api/types/LettaSchemasAgentFileToolSchema.d.ts +2 -0
  108. package/api/types/LlmConfig.d.ts +2 -0
  109. package/api/types/RunMetrics.d.ts +2 -0
  110. package/api/types/Tool.d.ts +2 -0
  111. package/api/types/ToolCreate.d.ts +2 -0
  112. package/api/types/index.d.ts +2 -0
  113. package/api/types/index.js +2 -0
  114. package/dist/api/resources/agents/client/Client.d.ts +8 -8
  115. package/dist/api/resources/agents/client/Client.js +17 -17
  116. package/dist/api/resources/agents/client/requests/CreateAgentRequest.d.ts +2 -0
  117. package/dist/api/resources/agents/client/requests/UpdateAgent.d.ts +2 -0
  118. package/dist/api/resources/agents/resources/blocks/client/Client.d.ts +12 -12
  119. package/dist/api/resources/agents/resources/blocks/client/Client.js +17 -17
  120. package/dist/api/resources/agents/resources/context/client/Client.d.ts +2 -2
  121. package/dist/api/resources/agents/resources/context/client/Client.js +3 -3
  122. package/dist/api/resources/agents/resources/coreMemory/client/Client.d.ts +2 -2
  123. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +3 -3
  124. package/dist/api/resources/agents/resources/files/client/Client.d.ts +10 -10
  125. package/dist/api/resources/agents/resources/files/client/Client.js +14 -14
  126. package/dist/api/resources/agents/resources/folders/client/Client.d.ts +8 -8
  127. package/dist/api/resources/agents/resources/folders/client/Client.js +11 -11
  128. package/dist/api/resources/agents/resources/groups/client/Client.d.ts +2 -2
  129. package/dist/api/resources/agents/resources/groups/client/Client.js +3 -3
  130. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  131. package/dist/api/resources/agents/resources/messages/client/Client.d.ts +17 -17
  132. package/dist/api/resources/agents/resources/messages/client/Client.js +27 -27
  133. package/dist/api/resources/agents/resources/passages/client/Client.d.ts +8 -8
  134. package/dist/api/resources/agents/resources/passages/client/Client.js +13 -13
  135. package/dist/api/resources/agents/resources/sources/client/Client.d.ts +8 -8
  136. package/dist/api/resources/agents/resources/sources/client/Client.js +11 -11
  137. package/dist/api/resources/agents/resources/tools/client/Client.d.ts +10 -10
  138. package/dist/api/resources/agents/resources/tools/client/Client.js +14 -14
  139. package/dist/api/resources/archives/client/Client.d.ts +2 -2
  140. package/dist/api/resources/archives/client/Client.js +5 -5
  141. package/dist/api/resources/batches/client/Client.js +4 -4
  142. package/dist/api/resources/batches/resources/messages/client/Client.js +1 -1
  143. package/dist/api/resources/blocks/client/Client.d.ts +6 -6
  144. package/dist/api/resources/blocks/client/Client.js +12 -12
  145. package/dist/api/resources/blocks/resources/agents/client/Client.d.ts +2 -2
  146. package/dist/api/resources/blocks/resources/agents/client/Client.js +3 -3
  147. package/dist/api/resources/chat/client/Client.js +1 -1
  148. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  149. package/dist/api/resources/folders/client/Client.js +8 -8
  150. package/dist/api/resources/folders/resources/agents/client/Client.js +1 -1
  151. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  152. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  153. package/dist/api/resources/groups/client/Client.d.ts +6 -6
  154. package/dist/api/resources/groups/client/Client.js +12 -12
  155. package/dist/api/resources/groups/resources/messages/client/Client.d.ts +9 -9
  156. package/dist/api/resources/groups/resources/messages/client/Client.js +14 -14
  157. package/dist/api/resources/health/client/Client.js +1 -1
  158. package/dist/api/resources/identities/client/Client.d.ts +6 -6
  159. package/dist/api/resources/identities/client/Client.js +13 -13
  160. package/dist/api/resources/identities/resources/agents/client/Client.d.ts +2 -2
  161. package/dist/api/resources/identities/resources/agents/client/Client.js +3 -3
  162. package/dist/api/resources/identities/resources/blocks/client/Client.d.ts +2 -2
  163. package/dist/api/resources/identities/resources/blocks/client/Client.js +3 -3
  164. package/dist/api/resources/identities/resources/properties/client/Client.d.ts +2 -2
  165. package/dist/api/resources/identities/resources/properties/client/Client.js +3 -3
  166. package/dist/api/resources/jobs/client/Client.d.ts +6 -6
  167. package/dist/api/resources/jobs/client/Client.js +11 -11
  168. package/dist/api/resources/models/client/Client.js +2 -2
  169. package/dist/api/resources/models/resources/embeddings/client/Client.js +1 -1
  170. package/dist/api/resources/projects/client/Client.js +1 -1
  171. package/dist/api/resources/providers/client/Client.d.ts +8 -8
  172. package/dist/api/resources/providers/client/Client.js +15 -15
  173. package/dist/api/resources/runs/client/Client.js +6 -6
  174. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  175. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  176. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  177. package/dist/api/resources/sources/client/Client.d.ts +11 -11
  178. package/dist/api/resources/sources/client/Client.js +21 -21
  179. package/dist/api/resources/sources/resources/files/client/Client.d.ts +6 -6
  180. package/dist/api/resources/sources/resources/files/client/Client.js +9 -9
  181. package/dist/api/resources/sources/resources/passages/client/Client.d.ts +2 -2
  182. package/dist/api/resources/sources/resources/passages/client/Client.js +3 -3
  183. package/dist/api/resources/steps/client/Client.d.ts +2 -2
  184. package/dist/api/resources/steps/client/Client.js +4 -4
  185. package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  186. package/dist/api/resources/steps/resources/feedback/client/Client.js +3 -3
  187. package/dist/api/resources/steps/resources/messages/client/Client.d.ts +2 -2
  188. package/dist/api/resources/steps/resources/messages/client/Client.js +3 -3
  189. package/dist/api/resources/steps/resources/metrics/client/Client.d.ts +2 -2
  190. package/dist/api/resources/steps/resources/metrics/client/Client.js +3 -3
  191. package/dist/api/resources/steps/resources/trace/client/Client.d.ts +2 -2
  192. package/dist/api/resources/steps/resources/trace/client/Client.js +3 -3
  193. package/dist/api/resources/tags/client/Client.js +1 -1
  194. package/dist/api/resources/telemetry/client/Client.js +1 -1
  195. package/dist/api/resources/templates/client/Client.js +13 -13
  196. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  197. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +1 -0
  198. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +5 -0
  199. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +5 -0
  200. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +4 -0
  201. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +5 -0
  202. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +1 -0
  203. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +5 -0
  204. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +5 -0
  205. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +4 -0
  206. package/dist/api/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +5 -0
  207. package/dist/api/resources/templates/types/index.d.ts +4 -0
  208. package/dist/api/resources/templates/types/index.js +4 -0
  209. package/dist/api/resources/tools/client/Client.d.ts +6 -6
  210. package/dist/api/resources/tools/client/Client.js +23 -23
  211. package/dist/api/resources/tools/client/requests/ToolUpdate.d.ts +2 -0
  212. package/dist/api/resources/voice/client/Client.js +1 -1
  213. package/dist/api/types/ApprovalRequestMessage.d.ts +4 -0
  214. package/dist/api/types/ApprovalRequestMessageAllowedToolCalls.d.ts +8 -0
  215. package/dist/api/types/ApprovalRequestMessageAllowedToolCalls.js +5 -0
  216. package/dist/api/types/ApprovalRequestMessageRequestedToolCalls.d.ts +8 -0
  217. package/dist/api/types/ApprovalRequestMessageRequestedToolCalls.js +5 -0
  218. package/dist/api/types/InternalTemplateAgentCreate.d.ts +2 -0
  219. package/dist/api/types/LettaSchemasAgentFileAgentSchema.d.ts +2 -0
  220. package/dist/api/types/LettaSchemasAgentFileToolSchema.d.ts +2 -0
  221. package/dist/api/types/LlmConfig.d.ts +2 -0
  222. package/dist/api/types/RunMetrics.d.ts +2 -0
  223. package/dist/api/types/Tool.d.ts +2 -0
  224. package/dist/api/types/ToolCreate.d.ts +2 -0
  225. package/dist/api/types/index.d.ts +2 -0
  226. package/dist/api/types/index.js +2 -0
  227. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  228. package/dist/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  229. package/dist/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  230. package/dist/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  231. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +2 -0
  232. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.js +2 -0
  233. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +11 -0
  234. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +47 -0
  235. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +10 -0
  236. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +41 -0
  237. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +2 -0
  238. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.js +2 -0
  239. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +11 -0
  240. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +46 -0
  241. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +10 -0
  242. package/dist/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +41 -0
  243. package/dist/serialization/resources/templates/types/index.d.ts +4 -0
  244. package/dist/serialization/resources/templates/types/index.js +4 -0
  245. package/dist/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
  246. package/dist/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
  247. package/dist/serialization/types/ApprovalRequestMessage.d.ts +4 -0
  248. package/dist/serialization/types/ApprovalRequestMessage.js +4 -0
  249. package/dist/serialization/types/ApprovalRequestMessageAllowedToolCalls.d.ts +12 -0
  250. package/dist/serialization/types/ApprovalRequestMessageAllowedToolCalls.js +43 -0
  251. package/dist/serialization/types/ApprovalRequestMessageRequestedToolCalls.d.ts +12 -0
  252. package/dist/serialization/types/ApprovalRequestMessageRequestedToolCalls.js +43 -0
  253. package/dist/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
  254. package/dist/serialization/types/InternalTemplateAgentCreate.js +1 -0
  255. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
  256. package/dist/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
  257. package/dist/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +1 -0
  258. package/dist/serialization/types/LettaSchemasAgentFileToolSchema.js +1 -0
  259. package/dist/serialization/types/LlmConfig.d.ts +1 -0
  260. package/dist/serialization/types/LlmConfig.js +1 -0
  261. package/dist/serialization/types/RunMetrics.d.ts +1 -0
  262. package/dist/serialization/types/RunMetrics.js +1 -0
  263. package/dist/serialization/types/Tool.d.ts +1 -0
  264. package/dist/serialization/types/Tool.js +1 -0
  265. package/dist/serialization/types/ToolCreate.d.ts +1 -0
  266. package/dist/serialization/types/ToolCreate.js +1 -0
  267. package/dist/serialization/types/index.d.ts +2 -0
  268. package/dist/serialization/types/index.js +2 -0
  269. package/dist/version.d.ts +1 -1
  270. package/dist/version.js +1 -1
  271. package/package.json +1 -1
  272. package/reference.md +235 -186
  273. package/serialization/resources/agents/client/requests/CreateAgentRequest.d.ts +1 -0
  274. package/serialization/resources/agents/client/requests/CreateAgentRequest.js +1 -0
  275. package/serialization/resources/agents/client/requests/UpdateAgent.d.ts +1 -0
  276. package/serialization/resources/agents/client/requests/UpdateAgent.js +1 -0
  277. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.d.ts +2 -0
  278. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfig.js +2 -0
  279. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.d.ts +11 -0
  280. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCalls.js +47 -0
  281. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.d.ts +10 -0
  282. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemLlmConfigParallelToolCallsItem.js +41 -0
  283. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.d.ts +2 -0
  284. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItem.js +2 -0
  285. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.d.ts +11 -0
  286. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecution.js +46 -0
  287. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.d.ts +10 -0
  288. package/serialization/resources/templates/types/TemplatesCreateAgentsFromTemplateResponseAgentsItemToolsItemEnableParallelExecutionItem.js +41 -0
  289. package/serialization/resources/templates/types/index.d.ts +4 -0
  290. package/serialization/resources/templates/types/index.js +4 -0
  291. package/serialization/resources/tools/client/requests/ToolUpdate.d.ts +1 -0
  292. package/serialization/resources/tools/client/requests/ToolUpdate.js +1 -0
  293. package/serialization/types/ApprovalRequestMessage.d.ts +4 -0
  294. package/serialization/types/ApprovalRequestMessage.js +4 -0
  295. package/serialization/types/ApprovalRequestMessageAllowedToolCalls.d.ts +12 -0
  296. package/serialization/types/ApprovalRequestMessageAllowedToolCalls.js +43 -0
  297. package/serialization/types/ApprovalRequestMessageRequestedToolCalls.d.ts +12 -0
  298. package/serialization/types/ApprovalRequestMessageRequestedToolCalls.js +43 -0
  299. package/serialization/types/InternalTemplateAgentCreate.d.ts +1 -0
  300. package/serialization/types/InternalTemplateAgentCreate.js +1 -0
  301. package/serialization/types/LettaSchemasAgentFileAgentSchema.d.ts +1 -0
  302. package/serialization/types/LettaSchemasAgentFileAgentSchema.js +1 -0
  303. package/serialization/types/LettaSchemasAgentFileToolSchema.d.ts +1 -0
  304. package/serialization/types/LettaSchemasAgentFileToolSchema.js +1 -0
  305. package/serialization/types/LlmConfig.d.ts +1 -0
  306. package/serialization/types/LlmConfig.js +1 -0
  307. package/serialization/types/RunMetrics.d.ts +1 -0
  308. package/serialization/types/RunMetrics.js +1 -0
  309. package/serialization/types/Tool.d.ts +1 -0
  310. package/serialization/types/Tool.js +1 -0
  311. package/serialization/types/ToolCreate.d.ts +1 -0
  312. package/serialization/types/ToolCreate.js +1 -0
  313. package/serialization/types/index.d.ts +2 -0
  314. package/serialization/types/index.js +2 -0
  315. package/version.d.ts +1 -1
  316. package/version.js +1 -1
@@ -31,14 +31,14 @@ export declare class Properties {
31
31
  protected readonly _options: Properties.Options;
32
32
  constructor(_options?: Properties.Options);
33
33
  /**
34
- * @param {string} identityId
34
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
35
35
  * @param {Letta.IdentityProperty[]} request
36
36
  * @param {Properties.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
38
38
  * @throws {@link Letta.UnprocessableEntityError}
39
39
  *
40
40
  * @example
41
- * await client.identities.properties.upsert("identity_id", [{
41
+ * await client.identities.properties.upsert("identity-123e4567-e89b-42d3-8456-426614174000", [{
42
42
  * key: "key",
43
43
  * value: "value",
44
44
  * type: "string"
@@ -60,14 +60,14 @@ class Properties {
60
60
  this._options = _options;
61
61
  }
62
62
  /**
63
- * @param {string} identityId
63
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
64
64
  * @param {Letta.IdentityProperty[]} request
65
65
  * @param {Properties.RequestOptions} requestOptions - Request-specific configuration.
66
66
  *
67
67
  * @throws {@link Letta.UnprocessableEntityError}
68
68
  *
69
69
  * @example
70
- * await client.identities.properties.upsert("identity_id", [{
70
+ * await client.identities.properties.upsert("identity-123e4567-e89b-42d3-8456-426614174000", [{
71
71
  * key: "key",
72
72
  * value: "value",
73
73
  * type: "string"
@@ -84,7 +84,7 @@ class Properties {
84
84
  method: "PUT",
85
85
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
86
86
  ? yield core.Supplier.get(this._options.project)
87
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
87
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
88
  contentType: "application/json",
89
89
  requestType: "json",
90
90
  body: serializers.identities.properties.upsert.Request.jsonOrThrow(request, {
@@ -74,26 +74,26 @@ export declare class Jobs {
74
74
  /**
75
75
  * Get the status of a job.
76
76
  *
77
- * @param {string} jobId
77
+ * @param {string} jobId - The ID of the job in the format 'job-<uuid4>'
78
78
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
79
79
  *
80
80
  * @throws {@link Letta.UnprocessableEntityError}
81
81
  *
82
82
  * @example
83
- * await client.jobs.retrieve("job_id")
83
+ * await client.jobs.retrieve("job-123e4567-e89b-42d3-8456-426614174000")
84
84
  */
85
85
  retrieve(jobId: string, requestOptions?: Jobs.RequestOptions): core.HttpResponsePromise<Letta.Job>;
86
86
  private __retrieve;
87
87
  /**
88
88
  * Delete a job by its job_id.
89
89
  *
90
- * @param {string} jobId
90
+ * @param {string} jobId - The ID of the job in the format 'job-<uuid4>'
91
91
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
92
92
  *
93
93
  * @throws {@link Letta.UnprocessableEntityError}
94
94
  *
95
95
  * @example
96
- * await client.jobs.delete("job_id")
96
+ * await client.jobs.delete("job-123e4567-e89b-42d3-8456-426614174000")
97
97
  */
98
98
  delete(jobId: string, requestOptions?: Jobs.RequestOptions): core.HttpResponsePromise<Letta.Job>;
99
99
  private __delete;
@@ -103,13 +103,13 @@ export declare class Jobs {
103
103
  * This endpoint marks a job as cancelled, which will cause any associated
104
104
  * agent execution to terminate as soon as possible.
105
105
  *
106
- * @param {string} jobId
106
+ * @param {string} jobId - The ID of the job in the format 'job-<uuid4>'
107
107
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
108
108
  *
109
109
  * @throws {@link Letta.UnprocessableEntityError}
110
110
  *
111
111
  * @example
112
- * await client.jobs.cancelJob("job_id")
112
+ * await client.jobs.cancelJob("job-123e4567-e89b-42d3-8456-426614174000")
113
113
  */
114
114
  cancelJob(jobId: string, requestOptions?: Jobs.RequestOptions): core.HttpResponsePromise<Letta.Job>;
115
115
  private __cancelJob;
@@ -118,7 +118,7 @@ class Jobs {
118
118
  method: "GET",
119
119
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
120
120
  ? yield core.Supplier.get(this._options.project)
121
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
121
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
122
122
  contentType: "application/json",
123
123
  queryParameters: _queryParams,
124
124
  requestType: "json",
@@ -218,7 +218,7 @@ class Jobs {
218
218
  method: "GET",
219
219
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
220
220
  ? yield core.Supplier.get(this._options.project)
221
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
221
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
222
222
  contentType: "application/json",
223
223
  queryParameters: _queryParams,
224
224
  requestType: "json",
@@ -276,13 +276,13 @@ class Jobs {
276
276
  /**
277
277
  * Get the status of a job.
278
278
  *
279
- * @param {string} jobId
279
+ * @param {string} jobId - The ID of the job in the format 'job-<uuid4>'
280
280
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
281
281
  *
282
282
  * @throws {@link Letta.UnprocessableEntityError}
283
283
  *
284
284
  * @example
285
- * await client.jobs.retrieve("job_id")
285
+ * await client.jobs.retrieve("job-123e4567-e89b-42d3-8456-426614174000")
286
286
  */
287
287
  retrieve(jobId, requestOptions) {
288
288
  return core.HttpResponsePromise.fromPromise(this.__retrieve(jobId, requestOptions));
@@ -295,7 +295,7 @@ class Jobs {
295
295
  method: "GET",
296
296
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
297
297
  ? yield core.Supplier.get(this._options.project)
298
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
298
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
299
299
  contentType: "application/json",
300
300
  requestType: "json",
301
301
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -352,13 +352,13 @@ class Jobs {
352
352
  /**
353
353
  * Delete a job by its job_id.
354
354
  *
355
- * @param {string} jobId
355
+ * @param {string} jobId - The ID of the job in the format 'job-<uuid4>'
356
356
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
357
357
  *
358
358
  * @throws {@link Letta.UnprocessableEntityError}
359
359
  *
360
360
  * @example
361
- * await client.jobs.delete("job_id")
361
+ * await client.jobs.delete("job-123e4567-e89b-42d3-8456-426614174000")
362
362
  */
363
363
  delete(jobId, requestOptions) {
364
364
  return core.HttpResponsePromise.fromPromise(this.__delete(jobId, requestOptions));
@@ -371,7 +371,7 @@ class Jobs {
371
371
  method: "DELETE",
372
372
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
373
373
  ? yield core.Supplier.get(this._options.project)
374
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
374
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
375
375
  contentType: "application/json",
376
376
  requestType: "json",
377
377
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -431,13 +431,13 @@ class Jobs {
431
431
  * This endpoint marks a job as cancelled, which will cause any associated
432
432
  * agent execution to terminate as soon as possible.
433
433
  *
434
- * @param {string} jobId
434
+ * @param {string} jobId - The ID of the job in the format 'job-<uuid4>'
435
435
  * @param {Jobs.RequestOptions} requestOptions - Request-specific configuration.
436
436
  *
437
437
  * @throws {@link Letta.UnprocessableEntityError}
438
438
  *
439
439
  * @example
440
- * await client.jobs.cancelJob("job_id")
440
+ * await client.jobs.cancelJob("job-123e4567-e89b-42d3-8456-426614174000")
441
441
  */
442
442
  cancelJob(jobId, requestOptions) {
443
443
  return core.HttpResponsePromise.fromPromise(this.__cancelJob(jobId, requestOptions));
@@ -450,7 +450,7 @@ class Jobs {
450
450
  method: "PATCH",
451
451
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
452
452
  ? yield core.Supplier.get(this._options.project)
453
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
453
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
454
454
  contentType: "application/json",
455
455
  requestType: "json",
456
456
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -109,7 +109,7 @@ class Models {
109
109
  method: "GET",
110
110
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
111
111
  ? yield core.Supplier.get(this._options.project)
112
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
113
113
  contentType: "application/json",
114
114
  queryParameters: _queryParams,
115
115
  requestType: "json",
@@ -181,7 +181,7 @@ class Models {
181
181
  method: "GET",
182
182
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
183
183
  ? yield core.Supplier.get(this._options.project)
184
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
184
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
185
185
  contentType: "application/json",
186
186
  requestType: "json",
187
187
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -80,7 +80,7 @@ class Embeddings {
80
80
  method: "GET",
81
81
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
82
82
  ? yield core.Supplier.get(this._options.project)
83
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ class Projects {
93
93
  method: "GET",
94
94
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -71,40 +71,40 @@ export declare class Providers {
71
71
  /**
72
72
  * Get a provider by ID.
73
73
  *
74
- * @param {string} providerId
74
+ * @param {string} providerId - The ID of the provider in the format 'provider-<uuid4>'
75
75
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
77
77
  * @throws {@link Letta.UnprocessableEntityError}
78
78
  *
79
79
  * @example
80
- * await client.providers.retrieveProvider("provider_id")
80
+ * await client.providers.retrieveProvider("provider-123e4567-e89b-42d3-8456-426614174000")
81
81
  */
82
82
  retrieveProvider(providerId: string, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<Letta.Provider>;
83
83
  private __retrieveProvider;
84
84
  /**
85
85
  * Delete an existing custom provider.
86
86
  *
87
- * @param {string} providerId
87
+ * @param {string} providerId - The ID of the provider in the format 'provider-<uuid4>'
88
88
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
89
89
  *
90
90
  * @throws {@link Letta.UnprocessableEntityError}
91
91
  *
92
92
  * @example
93
- * await client.providers.delete("provider_id")
93
+ * await client.providers.delete("provider-123e4567-e89b-42d3-8456-426614174000")
94
94
  */
95
95
  delete(providerId: string, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<unknown>;
96
96
  private __delete;
97
97
  /**
98
98
  * Update an existing custom provider.
99
99
  *
100
- * @param {string} providerId
100
+ * @param {string} providerId - The ID of the provider in the format 'provider-<uuid4>'
101
101
  * @param {Letta.ProviderUpdate} request
102
102
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
103
103
  *
104
104
  * @throws {@link Letta.UnprocessableEntityError}
105
105
  *
106
106
  * @example
107
- * await client.providers.modify("provider_id", {
107
+ * await client.providers.modify("provider-123e4567-e89b-42d3-8456-426614174000", {
108
108
  * apiKey: "api_key"
109
109
  * })
110
110
  */
@@ -129,13 +129,13 @@ export declare class Providers {
129
129
  /**
130
130
  * Verify the API key and additional parameters for an existing provider.
131
131
  *
132
- * @param {string} providerId
132
+ * @param {string} providerId - The ID of the provider in the format 'provider-<uuid4>'
133
133
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
134
134
  *
135
135
  * @throws {@link Letta.UnprocessableEntityError}
136
136
  *
137
137
  * @example
138
- * await client.providers.checkExistingProvider("provider_id")
138
+ * await client.providers.checkExistingProvider("provider-123e4567-e89b-42d3-8456-426614174000")
139
139
  */
140
140
  checkExistingProvider(providerId: string, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<unknown>;
141
141
  private __checkExistingProvider;
@@ -116,7 +116,7 @@ class Providers {
116
116
  method: "GET",
117
117
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
118
118
  ? yield core.Supplier.get(this._options.project)
119
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
120
120
  contentType: "application/json",
121
121
  queryParameters: _queryParams,
122
122
  requestType: "json",
@@ -197,7 +197,7 @@ class Providers {
197
197
  method: "POST",
198
198
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
199
199
  ? yield core.Supplier.get(this._options.project)
200
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
201
  contentType: "application/json",
202
202
  requestType: "json",
203
203
  body: serializers.ProviderCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -255,13 +255,13 @@ class Providers {
255
255
  /**
256
256
  * Get a provider by ID.
257
257
  *
258
- * @param {string} providerId
258
+ * @param {string} providerId - The ID of the provider in the format 'provider-<uuid4>'
259
259
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
260
260
  *
261
261
  * @throws {@link Letta.UnprocessableEntityError}
262
262
  *
263
263
  * @example
264
- * await client.providers.retrieveProvider("provider_id")
264
+ * await client.providers.retrieveProvider("provider-123e4567-e89b-42d3-8456-426614174000")
265
265
  */
266
266
  retrieveProvider(providerId, requestOptions) {
267
267
  return core.HttpResponsePromise.fromPromise(this.__retrieveProvider(providerId, requestOptions));
@@ -274,7 +274,7 @@ class Providers {
274
274
  method: "GET",
275
275
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
276
276
  ? yield core.Supplier.get(this._options.project)
277
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
277
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
278
278
  contentType: "application/json",
279
279
  requestType: "json",
280
280
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -331,13 +331,13 @@ class Providers {
331
331
  /**
332
332
  * Delete an existing custom provider.
333
333
  *
334
- * @param {string} providerId
334
+ * @param {string} providerId - The ID of the provider in the format 'provider-<uuid4>'
335
335
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
336
336
  *
337
337
  * @throws {@link Letta.UnprocessableEntityError}
338
338
  *
339
339
  * @example
340
- * await client.providers.delete("provider_id")
340
+ * await client.providers.delete("provider-123e4567-e89b-42d3-8456-426614174000")
341
341
  */
342
342
  delete(providerId, requestOptions) {
343
343
  return core.HttpResponsePromise.fromPromise(this.__delete(providerId, requestOptions));
@@ -350,7 +350,7 @@ class Providers {
350
350
  method: "DELETE",
351
351
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
352
352
  ? yield core.Supplier.get(this._options.project)
353
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
353
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
354
354
  contentType: "application/json",
355
355
  requestType: "json",
356
356
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -398,14 +398,14 @@ class Providers {
398
398
  /**
399
399
  * Update an existing custom provider.
400
400
  *
401
- * @param {string} providerId
401
+ * @param {string} providerId - The ID of the provider in the format 'provider-<uuid4>'
402
402
  * @param {Letta.ProviderUpdate} request
403
403
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
404
404
  *
405
405
  * @throws {@link Letta.UnprocessableEntityError}
406
406
  *
407
407
  * @example
408
- * await client.providers.modify("provider_id", {
408
+ * await client.providers.modify("provider-123e4567-e89b-42d3-8456-426614174000", {
409
409
  * apiKey: "api_key"
410
410
  * })
411
411
  */
@@ -420,7 +420,7 @@ class Providers {
420
420
  method: "PATCH",
421
421
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
422
422
  ? yield core.Supplier.get(this._options.project)
423
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
423
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
424
424
  contentType: "application/json",
425
425
  requestType: "json",
426
426
  body: serializers.ProviderUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -500,7 +500,7 @@ class Providers {
500
500
  method: "POST",
501
501
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
502
502
  ? yield core.Supplier.get(this._options.project)
503
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
503
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
504
504
  contentType: "application/json",
505
505
  requestType: "json",
506
506
  body: serializers.ProviderCheck.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -549,13 +549,13 @@ class Providers {
549
549
  /**
550
550
  * Verify the API key and additional parameters for an existing provider.
551
551
  *
552
- * @param {string} providerId
552
+ * @param {string} providerId - The ID of the provider in the format 'provider-<uuid4>'
553
553
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
554
554
  *
555
555
  * @throws {@link Letta.UnprocessableEntityError}
556
556
  *
557
557
  * @example
558
- * await client.providers.checkExistingProvider("provider_id")
558
+ * await client.providers.checkExistingProvider("provider-123e4567-e89b-42d3-8456-426614174000")
559
559
  */
560
560
  checkExistingProvider(providerId, requestOptions) {
561
561
  return core.HttpResponsePromise.fromPromise(this.__checkExistingProvider(providerId, requestOptions));
@@ -568,7 +568,7 @@ class Providers {
568
568
  method: "POST",
569
569
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
570
570
  ? yield core.Supplier.get(this._options.project)
571
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
571
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
572
572
  contentType: "application/json",
573
573
  requestType: "json",
574
574
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -159,7 +159,7 @@ class Runs {
159
159
  method: "GET",
160
160
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
161
161
  ? yield core.Supplier.get(this._options.project)
162
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
162
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
163
163
  contentType: "application/json",
164
164
  queryParameters: _queryParams,
165
165
  requestType: "json",
@@ -247,7 +247,7 @@ class Runs {
247
247
  method: "GET",
248
248
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
249
249
  ? yield core.Supplier.get(this._options.project)
250
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
251
251
  contentType: "application/json",
252
252
  queryParameters: _queryParams,
253
253
  requestType: "json",
@@ -324,7 +324,7 @@ class Runs {
324
324
  method: "GET",
325
325
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
326
326
  ? yield core.Supplier.get(this._options.project)
327
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
327
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
328
  contentType: "application/json",
329
329
  requestType: "json",
330
330
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -400,7 +400,7 @@ class Runs {
400
400
  method: "DELETE",
401
401
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
402
402
  ? yield core.Supplier.get(this._options.project)
403
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
403
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
404
404
  contentType: "application/json",
405
405
  requestType: "json",
406
406
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -476,7 +476,7 @@ class Runs {
476
476
  method: "GET",
477
477
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
478
478
  ? yield core.Supplier.get(this._options.project)
479
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
479
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
480
480
  contentType: "application/json",
481
481
  requestType: "json",
482
482
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -541,7 +541,7 @@ class Runs {
541
541
  method: "POST",
542
542
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
543
543
  ? yield core.Supplier.get(this._options.project)
544
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
544
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
545
545
  contentType: "application/json",
546
546
  requestType: "json",
547
547
  body: serializers.RetrieveStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -107,7 +107,7 @@ class Messages {
107
107
  method: "GET",
108
108
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
109
109
  ? yield core.Supplier.get(this._options.project)
110
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
113
113
  requestType: "json",
@@ -107,7 +107,7 @@ class Steps {
107
107
  method: "GET",
108
108
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
109
109
  ? yield core.Supplier.get(this._options.project)
110
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
110
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
113
113
  requestType: "json",
@@ -81,7 +81,7 @@ class Usage {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.3", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "1.0.0-alpha.4", "User-Agent": "@letta-ai/letta-client/1.0.0-alpha.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -51,40 +51,40 @@ export declare class Sources {
51
51
  /**
52
52
  * Get all sources
53
53
  *
54
- * @param {string} sourceId
54
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
55
55
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
56
56
  *
57
57
  * @throws {@link Letta.UnprocessableEntityError}
58
58
  *
59
59
  * @example
60
- * await client.sources.retrieve("source_id")
60
+ * await client.sources.retrieve("source-123e4567-e89b-42d3-8456-426614174000")
61
61
  */
62
62
  retrieve(sourceId: string, requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<Letta.Source>;
63
63
  private __retrieve;
64
64
  /**
65
65
  * Delete a data source.
66
66
  *
67
- * @param {string} sourceId
67
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
68
68
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
69
69
  *
70
70
  * @throws {@link Letta.UnprocessableEntityError}
71
71
  *
72
72
  * @example
73
- * await client.sources.delete("source_id")
73
+ * await client.sources.delete("source-123e4567-e89b-42d3-8456-426614174000")
74
74
  */
75
75
  delete(sourceId: string, requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<unknown>;
76
76
  private __delete;
77
77
  /**
78
78
  * Update the name or documentation of an existing data source.
79
79
  *
80
- * @param {string} sourceId
80
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
81
81
  * @param {Letta.SourceUpdate} request
82
82
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
83
83
  *
84
84
  * @throws {@link Letta.UnprocessableEntityError}
85
85
  *
86
86
  * @example
87
- * await client.sources.modify("source_id", {})
87
+ * await client.sources.modify("source-123e4567-e89b-42d3-8456-426614174000", {})
88
88
  */
89
89
  modify(sourceId: string, request: Letta.SourceUpdate, requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<Letta.Source>;
90
90
  private __modify;
@@ -152,28 +152,28 @@ export declare class Sources {
152
152
  /**
153
153
  * Get all agent IDs that have the specified source attached.
154
154
  *
155
- * @param {string} sourceId
155
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
156
156
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
157
157
  *
158
158
  * @throws {@link Letta.UnprocessableEntityError}
159
159
  *
160
160
  * @example
161
- * await client.sources.getAgentsForSource("source_id")
161
+ * await client.sources.getAgentsForSource("source-123e4567-e89b-42d3-8456-426614174000")
162
162
  */
163
163
  getAgentsForSource(sourceId: string, requestOptions?: Sources.RequestOptions): core.HttpResponsePromise<string[]>;
164
164
  private __getAgentsForSource;
165
165
  /**
166
166
  * Retrieve metadata for a specific file by its ID.
167
167
  *
168
- * @param {string} sourceId
169
- * @param {string} fileId
168
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
169
+ * @param {string} fileId - The ID of the file in the format 'file-<uuid4>'
170
170
  * @param {Letta.GetFileMetadataRequest} request
171
171
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
172
172
  *
173
173
  * @throws {@link Letta.UnprocessableEntityError}
174
174
  *
175
175
  * @example
176
- * await client.sources.getFileMetadata("source_id", "file_id", {
176
+ * await client.sources.getFileMetadata("source-123e4567-e89b-42d3-8456-426614174000", "file-123e4567-e89b-42d3-8456-426614174000", {
177
177
  * includeContent: true
178
178
  * })
179
179
  */