@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
@@ -107,7 +107,7 @@ class Passages {
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",
@@ -85,40 +85,40 @@ export declare class Groups {
85
85
  /**
86
86
  * Retrieve the group by id.
87
87
  *
88
- * @param {string} groupId
88
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
89
89
  * @param {Groups.RequestOptions} requestOptions - Request-specific configuration.
90
90
  *
91
91
  * @throws {@link Letta.UnprocessableEntityError}
92
92
  *
93
93
  * @example
94
- * await client.groups.retrieve("group_id")
94
+ * await client.groups.retrieve("group-123e4567-e89b-42d3-8456-426614174000")
95
95
  */
96
96
  retrieve(groupId: string, requestOptions?: Groups.RequestOptions): core.HttpResponsePromise<Letta.Group>;
97
97
  private __retrieve;
98
98
  /**
99
99
  * Delete a multi-agent group.
100
100
  *
101
- * @param {string} groupId
101
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
102
102
  * @param {Groups.RequestOptions} requestOptions - Request-specific configuration.
103
103
  *
104
104
  * @throws {@link Letta.UnprocessableEntityError}
105
105
  *
106
106
  * @example
107
- * await client.groups.delete("group_id")
107
+ * await client.groups.delete("group-123e4567-e89b-42d3-8456-426614174000")
108
108
  */
109
109
  delete(groupId: string, requestOptions?: Groups.RequestOptions): core.HttpResponsePromise<unknown>;
110
110
  private __delete;
111
111
  /**
112
112
  * Create a new multi-agent group with the specified configuration.
113
113
  *
114
- * @param {string} groupId
114
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
115
115
  * @param {Letta.GroupUpdate} request
116
116
  * @param {Groups.RequestOptions} requestOptions - Request-specific configuration.
117
117
  *
118
118
  * @throws {@link Letta.UnprocessableEntityError}
119
119
  *
120
120
  * @example
121
- * await client.groups.modify("group_id")
121
+ * await client.groups.modify("group-123e4567-e89b-42d3-8456-426614174000")
122
122
  */
123
123
  modify(groupId: string, request?: Letta.GroupUpdate, requestOptions?: Groups.RequestOptions): core.HttpResponsePromise<Letta.Group>;
124
124
  private __modify;
@@ -121,7 +121,7 @@ class Groups {
121
121
  method: "GET",
122
122
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
123
123
  ? yield core.Supplier.get(this._options.project)
124
- : 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),
124
+ : 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),
125
125
  contentType: "application/json",
126
126
  queryParameters: _queryParams,
127
127
  requestType: "json",
@@ -201,7 +201,7 @@ class Groups {
201
201
  method: "POST",
202
202
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
203
203
  ? yield core.Supplier.get(this._options.project)
204
- : 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),
204
+ : 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),
205
205
  contentType: "application/json",
206
206
  requestType: "json",
207
207
  body: serializers.GroupCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -277,7 +277,7 @@ class Groups {
277
277
  method: "GET",
278
278
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
279
279
  ? yield core.Supplier.get(this._options.project)
280
- : 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),
280
+ : 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),
281
281
  contentType: "application/json",
282
282
  requestType: "json",
283
283
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -334,13 +334,13 @@ class Groups {
334
334
  /**
335
335
  * Retrieve the group by id.
336
336
  *
337
- * @param {string} groupId
337
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
338
338
  * @param {Groups.RequestOptions} requestOptions - Request-specific configuration.
339
339
  *
340
340
  * @throws {@link Letta.UnprocessableEntityError}
341
341
  *
342
342
  * @example
343
- * await client.groups.retrieve("group_id")
343
+ * await client.groups.retrieve("group-123e4567-e89b-42d3-8456-426614174000")
344
344
  */
345
345
  retrieve(groupId, requestOptions) {
346
346
  return core.HttpResponsePromise.fromPromise(this.__retrieve(groupId, requestOptions));
@@ -353,7 +353,7 @@ class Groups {
353
353
  method: "GET",
354
354
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
355
355
  ? yield core.Supplier.get(this._options.project)
356
- : 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),
356
+ : 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),
357
357
  contentType: "application/json",
358
358
  requestType: "json",
359
359
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -410,13 +410,13 @@ class Groups {
410
410
  /**
411
411
  * Delete a multi-agent group.
412
412
  *
413
- * @param {string} groupId
413
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
414
414
  * @param {Groups.RequestOptions} requestOptions - Request-specific configuration.
415
415
  *
416
416
  * @throws {@link Letta.UnprocessableEntityError}
417
417
  *
418
418
  * @example
419
- * await client.groups.delete("group_id")
419
+ * await client.groups.delete("group-123e4567-e89b-42d3-8456-426614174000")
420
420
  */
421
421
  delete(groupId, requestOptions) {
422
422
  return core.HttpResponsePromise.fromPromise(this.__delete(groupId, requestOptions));
@@ -429,7 +429,7 @@ class Groups {
429
429
  method: "DELETE",
430
430
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
431
431
  ? yield core.Supplier.get(this._options.project)
432
- : 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),
432
+ : 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),
433
433
  contentType: "application/json",
434
434
  requestType: "json",
435
435
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -477,14 +477,14 @@ class Groups {
477
477
  /**
478
478
  * Create a new multi-agent group with the specified configuration.
479
479
  *
480
- * @param {string} groupId
480
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
481
481
  * @param {Letta.GroupUpdate} request
482
482
  * @param {Groups.RequestOptions} requestOptions - Request-specific configuration.
483
483
  *
484
484
  * @throws {@link Letta.UnprocessableEntityError}
485
485
  *
486
486
  * @example
487
- * await client.groups.modify("group_id")
487
+ * await client.groups.modify("group-123e4567-e89b-42d3-8456-426614174000")
488
488
  */
489
489
  modify(groupId, request = {}, requestOptions) {
490
490
  return core.HttpResponsePromise.fromPromise(this.__modify(groupId, request, requestOptions));
@@ -497,7 +497,7 @@ class Groups {
497
497
  method: "PATCH",
498
498
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
499
499
  ? yield core.Supplier.get(this._options.project)
500
- : 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),
500
+ : 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),
501
501
  contentType: "application/json",
502
502
  requestType: "json",
503
503
  body: serializers.GroupUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -33,14 +33,14 @@ export declare class Messages {
33
33
  /**
34
34
  * Retrieve message history for an agent.
35
35
  *
36
- * @param {string} groupId
36
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
37
37
  * @param {Letta.groups.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.groups.messages.list("group_id", {
43
+ * await client.groups.messages.list("group-123e4567-e89b-42d3-8456-426614174000", {
44
44
  * before: "before",
45
45
  * after: "after",
46
46
  * limit: 1,
@@ -57,14 +57,14 @@ export declare class Messages {
57
57
  * Process a user message and return the group's response.
58
58
  * This endpoint accepts a message from a user and processes it through through agents in the group based on the specified pattern
59
59
  *
60
- * @param {string} groupId
60
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
61
61
  * @param {Letta.LettaRequest} request
62
62
  * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
63
63
  *
64
64
  * @throws {@link Letta.UnprocessableEntityError}
65
65
  *
66
66
  * @example
67
- * await client.groups.messages.create("group_id", {
67
+ * await client.groups.messages.create("group-123e4567-e89b-42d3-8456-426614174000", {
68
68
  * messages: [{
69
69
  * role: "user",
70
70
  * content: [{
@@ -86,15 +86,15 @@ export declare class Messages {
86
86
  /**
87
87
  * Update the details of a message associated with an agent.
88
88
  *
89
- * @param {string} groupId
90
- * @param {string} messageId
89
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
90
+ * @param {string} messageId - The ID of the message in the format 'message-<uuid4>'
91
91
  * @param {Letta.groups.MessagesModifyRequest} request
92
92
  * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
93
93
  *
94
94
  * @throws {@link Letta.UnprocessableEntityError}
95
95
  *
96
96
  * @example
97
- * await client.groups.messages.modify("group_id", "message_id", {
97
+ * await client.groups.messages.modify("group-123e4567-e89b-42d3-8456-426614174000", "message-123e4567-e89b-42d3-8456-426614174000", {
98
98
  * content: "content"
99
99
  * })
100
100
  */
@@ -103,13 +103,13 @@ export declare class Messages {
103
103
  /**
104
104
  * Delete the group messages for all agents that are part of the multi-agent group.
105
105
  *
106
- * @param {string} groupId
106
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
107
107
  * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
108
108
  *
109
109
  * @throws {@link Letta.UnprocessableEntityError}
110
110
  *
111
111
  * @example
112
- * await client.groups.messages.reset("group_id")
112
+ * await client.groups.messages.reset("group-123e4567-e89b-42d3-8456-426614174000")
113
113
  */
114
114
  reset(groupId: string, requestOptions?: Messages.RequestOptions): core.HttpResponsePromise<unknown>;
115
115
  private __reset;
@@ -62,14 +62,14 @@ class Messages {
62
62
  /**
63
63
  * Retrieve message history for an agent.
64
64
  *
65
- * @param {string} groupId
65
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
66
66
  * @param {Letta.groups.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.groups.messages.list("group_id", {
72
+ * await client.groups.messages.list("group-123e4567-e89b-42d3-8456-426614174000", {
73
73
  * before: "before",
74
74
  * after: "after",
75
75
  * limit: 1,
@@ -119,7 +119,7 @@ class Messages {
119
119
  method: "GET",
120
120
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
121
121
  ? yield core.Supplier.get(this._options.project)
122
- : 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),
122
+ : 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),
123
123
  contentType: "application/json",
124
124
  queryParameters: _queryParams,
125
125
  requestType: "json",
@@ -178,14 +178,14 @@ class Messages {
178
178
  * Process a user message and return the group's response.
179
179
  * This endpoint accepts a message from a user and processes it through through agents in the group based on the specified pattern
180
180
  *
181
- * @param {string} groupId
181
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
182
182
  * @param {Letta.LettaRequest} request
183
183
  * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
184
184
  *
185
185
  * @throws {@link Letta.UnprocessableEntityError}
186
186
  *
187
187
  * @example
188
- * await client.groups.messages.create("group_id", {
188
+ * await client.groups.messages.create("group-123e4567-e89b-42d3-8456-426614174000", {
189
189
  * messages: [{
190
190
  * role: "user",
191
191
  * content: [{
@@ -206,7 +206,7 @@ class Messages {
206
206
  method: "POST",
207
207
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
208
208
  ? yield core.Supplier.get(this._options.project)
209
- : 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),
209
+ : 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),
210
210
  contentType: "application/json",
211
211
  requestType: "json",
212
212
  body: serializers.LettaRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -277,7 +277,7 @@ class Messages {
277
277
  method: "POST",
278
278
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
279
279
  ? yield core.Supplier.get(this._options.project)
280
- : 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),
280
+ : 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),
281
281
  contentType: "application/json",
282
282
  requestType: "json",
283
283
  body: serializers.LettaStreamingRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -346,15 +346,15 @@ class Messages {
346
346
  /**
347
347
  * Update the details of a message associated with an agent.
348
348
  *
349
- * @param {string} groupId
350
- * @param {string} messageId
349
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
350
+ * @param {string} messageId - The ID of the message in the format 'message-<uuid4>'
351
351
  * @param {Letta.groups.MessagesModifyRequest} request
352
352
  * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
353
353
  *
354
354
  * @throws {@link Letta.UnprocessableEntityError}
355
355
  *
356
356
  * @example
357
- * await client.groups.messages.modify("group_id", "message_id", {
357
+ * await client.groups.messages.modify("group-123e4567-e89b-42d3-8456-426614174000", "message-123e4567-e89b-42d3-8456-426614174000", {
358
358
  * content: "content"
359
359
  * })
360
360
  */
@@ -369,7 +369,7 @@ class Messages {
369
369
  method: "PATCH",
370
370
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
371
371
  ? yield core.Supplier.get(this._options.project)
372
- : 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),
372
+ : 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),
373
373
  contentType: "application/json",
374
374
  requestType: "json",
375
375
  body: serializers.groups.MessagesModifyRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -427,13 +427,13 @@ class Messages {
427
427
  /**
428
428
  * Delete the group messages for all agents that are part of the multi-agent group.
429
429
  *
430
- * @param {string} groupId
430
+ * @param {string} groupId - The ID of the group in the format 'group-<uuid4>'
431
431
  * @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
432
432
  *
433
433
  * @throws {@link Letta.UnprocessableEntityError}
434
434
  *
435
435
  * @example
436
- * await client.groups.messages.reset("group_id")
436
+ * await client.groups.messages.reset("group-123e4567-e89b-42d3-8456-426614174000")
437
437
  */
438
438
  reset(groupId, requestOptions) {
439
439
  return core.HttpResponsePromise.fromPromise(this.__reset(groupId, requestOptions));
@@ -446,7 +446,7 @@ class Messages {
446
446
  method: "PATCH",
447
447
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
448
448
  ? yield core.Supplier.get(this._options.project)
449
- : 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),
449
+ : 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),
450
450
  contentType: "application/json",
451
451
  requestType: "json",
452
452
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -75,7 +75,7 @@ class Health {
75
75
  method: "GET",
76
76
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
77
77
  ? yield core.Supplier.get(this._options.project)
78
- : 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),
78
+ : 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),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -105,38 +105,38 @@ export declare class Identities {
105
105
  count(requestOptions?: Identities.RequestOptions): core.HttpResponsePromise<number>;
106
106
  private __count;
107
107
  /**
108
- * @param {string} identityId
108
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
109
109
  * @param {Identities.RequestOptions} requestOptions - Request-specific configuration.
110
110
  *
111
111
  * @throws {@link Letta.UnprocessableEntityError}
112
112
  *
113
113
  * @example
114
- * await client.identities.retrieve("identity_id")
114
+ * await client.identities.retrieve("identity-123e4567-e89b-42d3-8456-426614174000")
115
115
  */
116
116
  retrieve(identityId: string, requestOptions?: Identities.RequestOptions): core.HttpResponsePromise<Letta.Identity>;
117
117
  private __retrieve;
118
118
  /**
119
119
  * Delete an identity by its identifier key
120
120
  *
121
- * @param {string} identityId
121
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
122
122
  * @param {Identities.RequestOptions} requestOptions - Request-specific configuration.
123
123
  *
124
124
  * @throws {@link Letta.UnprocessableEntityError}
125
125
  *
126
126
  * @example
127
- * await client.identities.delete("identity_id")
127
+ * await client.identities.delete("identity-123e4567-e89b-42d3-8456-426614174000")
128
128
  */
129
129
  delete(identityId: string, requestOptions?: Identities.RequestOptions): core.HttpResponsePromise<unknown>;
130
130
  private __delete;
131
131
  /**
132
- * @param {string} identityId
132
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
133
133
  * @param {Letta.IdentityUpdate} request
134
134
  * @param {Identities.RequestOptions} requestOptions - Request-specific configuration.
135
135
  *
136
136
  * @throws {@link Letta.UnprocessableEntityError}
137
137
  *
138
138
  * @example
139
- * await client.identities.modify("identity_id")
139
+ * await client.identities.modify("identity-123e4567-e89b-42d3-8456-426614174000")
140
140
  */
141
141
  modify(identityId: string, request?: Letta.IdentityUpdate, requestOptions?: Identities.RequestOptions): core.HttpResponsePromise<Letta.Identity>;
142
142
  private __modify;
@@ -139,7 +139,7 @@ class Identities {
139
139
  method: "GET",
140
140
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
141
141
  ? yield core.Supplier.get(this._options.project)
142
- : 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),
142
+ : 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),
143
143
  contentType: "application/json",
144
144
  queryParameters: _queryParams,
145
145
  requestType: "json",
@@ -218,7 +218,7 @@ class Identities {
218
218
  method: "POST",
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
  requestType: "json",
224
224
  body: serializers.IdentityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -297,7 +297,7 @@ class Identities {
297
297
  method: "PUT",
298
298
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
299
299
  ? yield core.Supplier.get(this._options.project)
300
- : 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),
300
+ : 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),
301
301
  contentType: "application/json",
302
302
  requestType: "json",
303
303
  body: serializers.IdentityUpsert.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -373,7 +373,7 @@ class Identities {
373
373
  method: "GET",
374
374
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
375
375
  ? yield core.Supplier.get(this._options.project)
376
- : 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),
376
+ : 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),
377
377
  contentType: "application/json",
378
378
  requestType: "json",
379
379
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -428,13 +428,13 @@ class Identities {
428
428
  });
429
429
  }
430
430
  /**
431
- * @param {string} identityId
431
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
432
432
  * @param {Identities.RequestOptions} requestOptions - Request-specific configuration.
433
433
  *
434
434
  * @throws {@link Letta.UnprocessableEntityError}
435
435
  *
436
436
  * @example
437
- * await client.identities.retrieve("identity_id")
437
+ * await client.identities.retrieve("identity-123e4567-e89b-42d3-8456-426614174000")
438
438
  */
439
439
  retrieve(identityId, requestOptions) {
440
440
  return core.HttpResponsePromise.fromPromise(this.__retrieve(identityId, requestOptions));
@@ -447,7 +447,7 @@ class Identities {
447
447
  method: "GET",
448
448
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
449
449
  ? yield core.Supplier.get(this._options.project)
450
- : 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),
450
+ : 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),
451
451
  contentType: "application/json",
452
452
  requestType: "json",
453
453
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -504,13 +504,13 @@ class Identities {
504
504
  /**
505
505
  * Delete an identity by its identifier key
506
506
  *
507
- * @param {string} identityId
507
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
508
508
  * @param {Identities.RequestOptions} requestOptions - Request-specific configuration.
509
509
  *
510
510
  * @throws {@link Letta.UnprocessableEntityError}
511
511
  *
512
512
  * @example
513
- * await client.identities.delete("identity_id")
513
+ * await client.identities.delete("identity-123e4567-e89b-42d3-8456-426614174000")
514
514
  */
515
515
  delete(identityId, requestOptions) {
516
516
  return core.HttpResponsePromise.fromPromise(this.__delete(identityId, requestOptions));
@@ -523,7 +523,7 @@ class Identities {
523
523
  method: "DELETE",
524
524
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
525
525
  ? yield core.Supplier.get(this._options.project)
526
- : 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),
526
+ : 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),
527
527
  contentType: "application/json",
528
528
  requestType: "json",
529
529
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -569,14 +569,14 @@ class Identities {
569
569
  });
570
570
  }
571
571
  /**
572
- * @param {string} identityId
572
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
573
573
  * @param {Letta.IdentityUpdate} request
574
574
  * @param {Identities.RequestOptions} requestOptions - Request-specific configuration.
575
575
  *
576
576
  * @throws {@link Letta.UnprocessableEntityError}
577
577
  *
578
578
  * @example
579
- * await client.identities.modify("identity_id")
579
+ * await client.identities.modify("identity-123e4567-e89b-42d3-8456-426614174000")
580
580
  */
581
581
  modify(identityId, request = {}, requestOptions) {
582
582
  return core.HttpResponsePromise.fromPromise(this.__modify(identityId, request, requestOptions));
@@ -589,7 +589,7 @@ class Identities {
589
589
  method: "PATCH",
590
590
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
591
591
  ? yield core.Supplier.get(this._options.project)
592
- : 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),
592
+ : 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),
593
593
  contentType: "application/json",
594
594
  requestType: "json",
595
595
  body: serializers.IdentityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -33,14 +33,14 @@ export declare class Agents {
33
33
  /**
34
34
  * Get all agents associated with the specified identity.
35
35
  *
36
- * @param {string} identityId
36
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
37
37
  * @param {Letta.identities.AgentsListRequest} request
38
38
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Letta.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.identities.agents.list("identity_id", {
43
+ * await client.identities.agents.list("identity-123e4567-e89b-42d3-8456-426614174000", {
44
44
  * before: "before",
45
45
  * after: "after",
46
46
  * limit: 1,
@@ -62,14 +62,14 @@ class Agents {
62
62
  /**
63
63
  * Get all agents associated with the specified identity.
64
64
  *
65
- * @param {string} identityId
65
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
66
66
  * @param {Letta.identities.AgentsListRequest} request
67
67
  * @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.identities.agents.list("identity_id", {
72
+ * await client.identities.agents.list("identity-123e4567-e89b-42d3-8456-426614174000", {
73
73
  * before: "before",
74
74
  * after: "after",
75
75
  * limit: 1,
@@ -107,7 +107,7 @@ class Agents {
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,14 +33,14 @@ export declare class Blocks {
33
33
  /**
34
34
  * Get all blocks associated with the specified identity.
35
35
  *
36
- * @param {string} identityId
36
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
37
37
  * @param {Letta.identities.BlocksListRequest} request
38
38
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Letta.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.identities.blocks.list("identity_id", {
43
+ * await client.identities.blocks.list("identity-123e4567-e89b-42d3-8456-426614174000", {
44
44
  * before: "before",
45
45
  * after: "after",
46
46
  * limit: 1,
@@ -62,14 +62,14 @@ class Blocks {
62
62
  /**
63
63
  * Get all blocks associated with the specified identity.
64
64
  *
65
- * @param {string} identityId
65
+ * @param {string} identityId - The ID of the identity in the format 'identity-<uuid4>'
66
66
  * @param {Letta.identities.BlocksListRequest} request
67
67
  * @param {Blocks.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
70
70
  *
71
71
  * @example
72
- * await client.identities.blocks.list("identity_id", {
72
+ * await client.identities.blocks.list("identity-123e4567-e89b-42d3-8456-426614174000", {
73
73
  * before: "before",
74
74
  * after: "after",
75
75
  * limit: 1,
@@ -107,7 +107,7 @@ class Blocks {
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",