@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
@@ -90,7 +90,7 @@ class Sources {
90
90
  method: "GET",
91
91
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
92
92
  ? yield core.Supplier.get(this._options.project)
93
- : 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),
93
+ : 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),
94
94
  contentType: "application/json",
95
95
  requestType: "json",
96
96
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -147,13 +147,13 @@ class Sources {
147
147
  /**
148
148
  * Get all sources
149
149
  *
150
- * @param {string} sourceId
150
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
151
151
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
152
152
  *
153
153
  * @throws {@link Letta.UnprocessableEntityError}
154
154
  *
155
155
  * @example
156
- * await client.sources.retrieve("source_id")
156
+ * await client.sources.retrieve("source-123e4567-e89b-42d3-8456-426614174000")
157
157
  */
158
158
  retrieve(sourceId, requestOptions) {
159
159
  return core.HttpResponsePromise.fromPromise(this.__retrieve(sourceId, requestOptions));
@@ -166,7 +166,7 @@ class Sources {
166
166
  method: "GET",
167
167
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
168
168
  ? yield core.Supplier.get(this._options.project)
169
- : 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),
169
+ : 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),
170
170
  contentType: "application/json",
171
171
  requestType: "json",
172
172
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -223,13 +223,13 @@ class Sources {
223
223
  /**
224
224
  * Delete a data source.
225
225
  *
226
- * @param {string} sourceId
226
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
227
227
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
228
228
  *
229
229
  * @throws {@link Letta.UnprocessableEntityError}
230
230
  *
231
231
  * @example
232
- * await client.sources.delete("source_id")
232
+ * await client.sources.delete("source-123e4567-e89b-42d3-8456-426614174000")
233
233
  */
234
234
  delete(sourceId, requestOptions) {
235
235
  return core.HttpResponsePromise.fromPromise(this.__delete(sourceId, requestOptions));
@@ -242,7 +242,7 @@ class Sources {
242
242
  method: "DELETE",
243
243
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
244
244
  ? yield core.Supplier.get(this._options.project)
245
- : 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),
245
+ : 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),
246
246
  contentType: "application/json",
247
247
  requestType: "json",
248
248
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -290,14 +290,14 @@ class Sources {
290
290
  /**
291
291
  * Update the name or documentation of an existing data source.
292
292
  *
293
- * @param {string} sourceId
293
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
294
294
  * @param {Letta.SourceUpdate} request
295
295
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
296
296
  *
297
297
  * @throws {@link Letta.UnprocessableEntityError}
298
298
  *
299
299
  * @example
300
- * await client.sources.modify("source_id", {})
300
+ * await client.sources.modify("source-123e4567-e89b-42d3-8456-426614174000", {})
301
301
  */
302
302
  modify(sourceId, request, requestOptions) {
303
303
  return core.HttpResponsePromise.fromPromise(this.__modify(sourceId, request, requestOptions));
@@ -310,7 +310,7 @@ class Sources {
310
310
  method: "PATCH",
311
311
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
312
312
  ? yield core.Supplier.get(this._options.project)
313
- : 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),
313
+ : 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),
314
314
  contentType: "application/json",
315
315
  requestType: "json",
316
316
  body: serializers.SourceUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -387,7 +387,7 @@ class Sources {
387
387
  method: "GET",
388
388
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
389
389
  ? yield core.Supplier.get(this._options.project)
390
- : 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),
390
+ : 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),
391
391
  contentType: "application/json",
392
392
  requestType: "json",
393
393
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -476,7 +476,7 @@ class Sources {
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
  queryParameters: _queryParams,
482
482
  requestType: "json",
@@ -552,7 +552,7 @@ class Sources {
552
552
  method: "GET",
553
553
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
554
554
  ? yield core.Supplier.get(this._options.project)
555
- : 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),
555
+ : 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),
556
556
  contentType: "application/json",
557
557
  requestType: "json",
558
558
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -630,7 +630,7 @@ class Sources {
630
630
  method: "POST",
631
631
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
632
632
  ? yield core.Supplier.get(this._options.project)
633
- : 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),
633
+ : 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),
634
634
  contentType: "application/json",
635
635
  requestType: "json",
636
636
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -688,13 +688,13 @@ class Sources {
688
688
  /**
689
689
  * Get all agent IDs that have the specified source attached.
690
690
  *
691
- * @param {string} sourceId
691
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
692
692
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
693
693
  *
694
694
  * @throws {@link Letta.UnprocessableEntityError}
695
695
  *
696
696
  * @example
697
- * await client.sources.getAgentsForSource("source_id")
697
+ * await client.sources.getAgentsForSource("source-123e4567-e89b-42d3-8456-426614174000")
698
698
  */
699
699
  getAgentsForSource(sourceId, requestOptions) {
700
700
  return core.HttpResponsePromise.fromPromise(this.__getAgentsForSource(sourceId, requestOptions));
@@ -707,7 +707,7 @@ class Sources {
707
707
  method: "GET",
708
708
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
709
709
  ? yield core.Supplier.get(this._options.project)
710
- : 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),
710
+ : 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),
711
711
  contentType: "application/json",
712
712
  requestType: "json",
713
713
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -764,15 +764,15 @@ class Sources {
764
764
  /**
765
765
  * Retrieve metadata for a specific file by its ID.
766
766
  *
767
- * @param {string} sourceId
768
- * @param {string} fileId
767
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
768
+ * @param {string} fileId - The ID of the file in the format 'file-<uuid4>'
769
769
  * @param {Letta.GetFileMetadataRequest} request
770
770
  * @param {Sources.RequestOptions} requestOptions - Request-specific configuration.
771
771
  *
772
772
  * @throws {@link Letta.UnprocessableEntityError}
773
773
  *
774
774
  * @example
775
- * await client.sources.getFileMetadata("source_id", "file_id", {
775
+ * await client.sources.getFileMetadata("source-123e4567-e89b-42d3-8456-426614174000", "file-123e4567-e89b-42d3-8456-426614174000", {
776
776
  * includeContent: true
777
777
  * })
778
778
  */
@@ -792,7 +792,7 @@ class Sources {
792
792
  method: "GET",
793
793
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
794
794
  ? yield core.Supplier.get(this._options.project)
795
- : 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),
795
+ : 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),
796
796
  contentType: "application/json",
797
797
  queryParameters: _queryParams,
798
798
  requestType: "json",
@@ -43,7 +43,7 @@ export declare class Files {
43
43
  * @throws {@link Letta.UnprocessableEntityError}
44
44
  *
45
45
  * @example
46
- * await client.sources.files.upload(fs.createReadStream("/path/to/your/file"), "source_id", {
46
+ * await client.sources.files.upload(fs.createReadStream("/path/to/your/file"), "source-123e4567-e89b-42d3-8456-426614174000", {
47
47
  * duplicateHandling: "skip",
48
48
  * name: "name"
49
49
  * })
@@ -53,14 +53,14 @@ export declare class Files {
53
53
  /**
54
54
  * List paginated files associated with a data source.
55
55
  *
56
- * @param {string} sourceId
56
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
57
57
  * @param {Letta.sources.FilesListRequest} request
58
58
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
59
59
  *
60
60
  * @throws {@link Letta.UnprocessableEntityError}
61
61
  *
62
62
  * @example
63
- * await client.sources.files.list("source_id", {
63
+ * await client.sources.files.list("source-123e4567-e89b-42d3-8456-426614174000", {
64
64
  * limit: 1,
65
65
  * after: "after",
66
66
  * includeContent: true,
@@ -72,14 +72,14 @@ export declare class Files {
72
72
  /**
73
73
  * Delete a data source.
74
74
  *
75
- * @param {string} sourceId
76
- * @param {string} fileId
75
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
76
+ * @param {string} fileId - The ID of the file in the format 'file-<uuid4>'
77
77
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
78
78
  *
79
79
  * @throws {@link Letta.UnprocessableEntityError}
80
80
  *
81
81
  * @example
82
- * await client.sources.files.delete("source_id", "file_id")
82
+ * await client.sources.files.delete("source-123e4567-e89b-42d3-8456-426614174000", "file-123e4567-e89b-42d3-8456-426614174000")
83
83
  */
84
84
  delete(sourceId: string, fileId: string, requestOptions?: Files.RequestOptions): core.HttpResponsePromise<void>;
85
85
  private __delete;
@@ -70,7 +70,7 @@ class Files {
70
70
  * @throws {@link Letta.UnprocessableEntityError}
71
71
  *
72
72
  * @example
73
- * await client.sources.files.upload(fs.createReadStream("/path/to/your/file"), "source_id", {
73
+ * await client.sources.files.upload(fs.createReadStream("/path/to/your/file"), "source-123e4567-e89b-42d3-8456-426614174000", {
74
74
  * duplicateHandling: "skip",
75
75
  * name: "name"
76
76
  * })
@@ -96,7 +96,7 @@ class Files {
96
96
  method: "POST",
97
97
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
98
98
  ? yield core.Supplier.get(this._options.project)
99
- : 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())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
+ : 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())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
100
  queryParameters: _queryParams,
101
101
  requestType: "file",
102
102
  duplex: _maybeEncodedRequest.duplex,
@@ -155,14 +155,14 @@ class Files {
155
155
  /**
156
156
  * List paginated files associated with a data source.
157
157
  *
158
- * @param {string} sourceId
158
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
159
159
  * @param {Letta.sources.FilesListRequest} request
160
160
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
161
161
  *
162
162
  * @throws {@link Letta.UnprocessableEntityError}
163
163
  *
164
164
  * @example
165
- * await client.sources.files.list("source_id", {
165
+ * await client.sources.files.list("source-123e4567-e89b-42d3-8456-426614174000", {
166
166
  * limit: 1,
167
167
  * after: "after",
168
168
  * includeContent: true,
@@ -194,7 +194,7 @@ class Files {
194
194
  method: "GET",
195
195
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
196
196
  ? yield core.Supplier.get(this._options.project)
197
- : 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),
197
+ : 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),
198
198
  contentType: "application/json",
199
199
  queryParameters: _queryParams,
200
200
  requestType: "json",
@@ -252,14 +252,14 @@ class Files {
252
252
  /**
253
253
  * Delete a data source.
254
254
  *
255
- * @param {string} sourceId
256
- * @param {string} fileId
255
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
256
+ * @param {string} fileId - The ID of the file in the format 'file-<uuid4>'
257
257
  * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
258
258
  *
259
259
  * @throws {@link Letta.UnprocessableEntityError}
260
260
  *
261
261
  * @example
262
- * await client.sources.files.delete("source_id", "file_id")
262
+ * await client.sources.files.delete("source-123e4567-e89b-42d3-8456-426614174000", "file-123e4567-e89b-42d3-8456-426614174000")
263
263
  */
264
264
  delete(sourceId, fileId, requestOptions) {
265
265
  return core.HttpResponsePromise.fromPromise(this.__delete(sourceId, fileId, requestOptions));
@@ -272,7 +272,7 @@ class Files {
272
272
  method: "DELETE",
273
273
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
274
274
  ? yield core.Supplier.get(this._options.project)
275
- : 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),
275
+ : 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),
276
276
  contentType: "application/json",
277
277
  requestType: "json",
278
278
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -33,14 +33,14 @@ export declare class Passages {
33
33
  /**
34
34
  * List all passages associated with a data source.
35
35
  *
36
- * @param {string} sourceId
36
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
37
37
  * @param {Letta.sources.PassagesListRequest} request
38
38
  * @param {Passages.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Letta.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.sources.passages.list("source_id", {
43
+ * await client.sources.passages.list("source-123e4567-e89b-42d3-8456-426614174000", {
44
44
  * after: "after",
45
45
  * before: "before",
46
46
  * limit: 1
@@ -62,14 +62,14 @@ class Passages {
62
62
  /**
63
63
  * List all passages associated with a data source.
64
64
  *
65
- * @param {string} sourceId
65
+ * @param {string} sourceId - The ID of the source in the format 'source-<uuid4>'
66
66
  * @param {Letta.sources.PassagesListRequest} request
67
67
  * @param {Passages.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.sources.passages.list("source_id", {
72
+ * await client.sources.passages.list("source-123e4567-e89b-42d3-8456-426614174000", {
73
73
  * after: "after",
74
74
  * before: "before",
75
75
  * limit: 1
@@ -97,7 +97,7 @@ class Passages {
97
97
  method: "GET",
98
98
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
99
99
  ? yield core.Supplier.get(this._options.project)
100
- : 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),
100
+ : 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),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -71,13 +71,13 @@ export declare class Steps {
71
71
  /**
72
72
  * Get a step by ID.
73
73
  *
74
- * @param {string} stepId
74
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
75
75
  * @param {Steps.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
77
77
  * @throws {@link Letta.UnprocessableEntityError}
78
78
  *
79
79
  * @example
80
- * await client.steps.retrieve("step_id")
80
+ * await client.steps.retrieve("step-123e4567-e89b-42d3-8456-426614174000")
81
81
  */
82
82
  retrieve(stepId: string, requestOptions?: Steps.RequestOptions): core.HttpResponsePromise<Letta.Step>;
83
83
  private __retrieve;
@@ -172,7 +172,7 @@ class Steps {
172
172
  method: "GET",
173
173
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
174
174
  ? yield core.Supplier.get(this._options.project)
175
- : 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),
175
+ : 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),
176
176
  contentType: "application/json",
177
177
  queryParameters: _queryParams,
178
178
  requestType: "json",
@@ -230,13 +230,13 @@ class Steps {
230
230
  /**
231
231
  * Get a step by ID.
232
232
  *
233
- * @param {string} stepId
233
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
234
234
  * @param {Steps.RequestOptions} requestOptions - Request-specific configuration.
235
235
  *
236
236
  * @throws {@link Letta.UnprocessableEntityError}
237
237
  *
238
238
  * @example
239
- * await client.steps.retrieve("step_id")
239
+ * await client.steps.retrieve("step-123e4567-e89b-42d3-8456-426614174000")
240
240
  */
241
241
  retrieve(stepId, requestOptions) {
242
242
  return core.HttpResponsePromise.fromPromise(this.__retrieve(stepId, requestOptions));
@@ -249,7 +249,7 @@ class Steps {
249
249
  method: "GET",
250
250
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
251
251
  ? yield core.Supplier.get(this._options.project)
252
- : 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),
252
+ : 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),
253
253
  contentType: "application/json",
254
254
  requestType: "json",
255
255
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -33,14 +33,14 @@ export declare class Feedback {
33
33
  /**
34
34
  * Modify feedback for a given step.
35
35
  *
36
- * @param {string} stepId
36
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
37
37
  * @param {Letta.steps.ModifyFeedbackRequest} request
38
38
  * @param {Feedback.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Letta.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.steps.feedback.create("step_id")
43
+ * await client.steps.feedback.create("step-123e4567-e89b-42d3-8456-426614174000")
44
44
  */
45
45
  create(stepId: string, request?: Letta.steps.ModifyFeedbackRequest, requestOptions?: Feedback.RequestOptions): core.HttpResponsePromise<Letta.Step>;
46
46
  private __create;
@@ -62,14 +62,14 @@ class Feedback {
62
62
  /**
63
63
  * Modify feedback for a given step.
64
64
  *
65
- * @param {string} stepId
65
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
66
66
  * @param {Letta.steps.ModifyFeedbackRequest} request
67
67
  * @param {Feedback.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.steps.feedback.create("step_id")
72
+ * await client.steps.feedback.create("step-123e4567-e89b-42d3-8456-426614174000")
73
73
  */
74
74
  create(stepId, request = {}, requestOptions) {
75
75
  return core.HttpResponsePromise.fromPromise(this.__create(stepId, request, requestOptions));
@@ -82,7 +82,7 @@ class Feedback {
82
82
  method: "PATCH",
83
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
84
84
  ? yield core.Supplier.get(this._options.project)
85
- : 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),
85
+ : 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),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  body: serializers.steps.ModifyFeedbackRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -33,14 +33,14 @@ export declare class Messages {
33
33
  /**
34
34
  * List messages for a given step.
35
35
  *
36
- * @param {string} stepId
36
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
37
37
  * @param {Letta.steps.MessagesListRequest} request
38
38
  * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Letta.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.steps.messages.list("step_id", {
43
+ * await client.steps.messages.list("step-123e4567-e89b-42d3-8456-426614174000", {
44
44
  * before: "before",
45
45
  * after: "after",
46
46
  * limit: 1,
@@ -62,14 +62,14 @@ class Messages {
62
62
  /**
63
63
  * List messages for a given step.
64
64
  *
65
- * @param {string} stepId
65
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
66
66
  * @param {Letta.steps.MessagesListRequest} request
67
67
  * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.steps.messages.list("step_id", {
72
+ * await client.steps.messages.list("step-123e4567-e89b-42d3-8456-426614174000", {
73
73
  * before: "before",
74
74
  * after: "after",
75
75
  * limit: 1,
@@ -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",
@@ -33,13 +33,13 @@ export declare class Metrics {
33
33
  /**
34
34
  * Get step metrics by step ID.
35
35
  *
36
- * @param {string} stepId
36
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
37
37
  * @param {Metrics.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @throws {@link Letta.UnprocessableEntityError}
40
40
  *
41
41
  * @example
42
- * await client.steps.metrics.retrieve("step_id")
42
+ * await client.steps.metrics.retrieve("step-123e4567-e89b-42d3-8456-426614174000")
43
43
  */
44
44
  retrieve(stepId: string, requestOptions?: Metrics.RequestOptions): core.HttpResponsePromise<Letta.StepMetrics>;
45
45
  private __retrieve;
@@ -62,13 +62,13 @@ class Metrics {
62
62
  /**
63
63
  * Get step metrics by step ID.
64
64
  *
65
- * @param {string} stepId
65
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
66
66
  * @param {Metrics.RequestOptions} requestOptions - Request-specific configuration.
67
67
  *
68
68
  * @throws {@link Letta.UnprocessableEntityError}
69
69
  *
70
70
  * @example
71
- * await client.steps.metrics.retrieve("step_id")
71
+ * await client.steps.metrics.retrieve("step-123e4567-e89b-42d3-8456-426614174000")
72
72
  */
73
73
  retrieve(stepId, requestOptions) {
74
74
  return core.HttpResponsePromise.fromPromise(this.__retrieve(stepId, requestOptions));
@@ -81,7 +81,7 @@ class Metrics {
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,
@@ -31,13 +31,13 @@ export declare class Trace {
31
31
  protected readonly _options: Trace.Options;
32
32
  constructor(_options?: Trace.Options);
33
33
  /**
34
- * @param {string} stepId
34
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
35
35
  * @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
36
36
  *
37
37
  * @throws {@link Letta.UnprocessableEntityError}
38
38
  *
39
39
  * @example
40
- * await client.steps.trace.retrieve("step_id")
40
+ * await client.steps.trace.retrieve("step-123e4567-e89b-42d3-8456-426614174000")
41
41
  */
42
42
  retrieve(stepId: string, requestOptions?: Trace.RequestOptions): core.HttpResponsePromise<Letta.ProviderTrace | undefined>;
43
43
  private __retrieve;
@@ -60,13 +60,13 @@ class Trace {
60
60
  this._options = _options;
61
61
  }
62
62
  /**
63
- * @param {string} stepId
63
+ * @param {string} stepId - The ID of the step in the format 'step-<uuid4>'
64
64
  * @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
65
65
  *
66
66
  * @throws {@link Letta.UnprocessableEntityError}
67
67
  *
68
68
  * @example
69
- * await client.steps.trace.retrieve("step_id")
69
+ * await client.steps.trace.retrieve("step-123e4567-e89b-42d3-8456-426614174000")
70
70
  */
71
71
  retrieve(stepId, requestOptions) {
72
72
  return core.HttpResponsePromise.fromPromise(this.__retrieve(stepId, requestOptions));
@@ -79,7 +79,7 @@ class Trace {
79
79
  method: "GET",
80
80
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
81
81
  ? yield core.Supplier.get(this._options.project)
82
- : 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),
82
+ : 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),
83
83
  contentType: "application/json",
84
84
  requestType: "json",
85
85
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -114,7 +114,7 @@ class Tags {
114
114
  method: "GET",
115
115
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
116
116
  ? yield core.Supplier.get(this._options.project)
117
- : 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),
117
+ : 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),
118
118
  contentType: "application/json",
119
119
  queryParameters: _queryParams,
120
120
  requestType: "json",
@@ -83,7 +83,7 @@ class Telemetry {
83
83
  method: "GET",
84
84
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
85
85
  ? yield core.Supplier.get(this._options.project)
86
- : 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),
86
+ : 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),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,