@letta-ai/letta-client 0.0.68642 → 0.0.68644

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 (248) hide show
  1. package/api/resources/agents/client/Client.d.ts +0 -14
  2. package/api/resources/agents/client/Client.js +10 -99
  3. package/api/resources/agents/client/requests/index.d.ts +0 -1
  4. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  5. package/api/resources/agents/resources/context/client/Client.js +1 -1
  6. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  7. package/api/resources/agents/resources/files/client/Client.d.ts +7 -1
  8. package/api/resources/agents/resources/files/client/Client.js +53 -16
  9. package/api/resources/agents/resources/files/client/index.d.ts +1 -1
  10. package/api/resources/agents/resources/files/client/index.js +15 -0
  11. package/api/resources/agents/{client/requests/ListAgentFilesRequest.d.ts → resources/files/client/requests/FilesListRequest.d.ts} +1 -1
  12. package/api/resources/agents/resources/files/client/requests/index.d.ts +1 -0
  13. package/api/resources/agents/resources/files/client/requests/index.js +2 -0
  14. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  15. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  16. package/api/resources/agents/resources/index.d.ts +1 -0
  17. package/api/resources/agents/resources/index.js +1 -0
  18. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  19. package/api/resources/agents/resources/messages/client/Client.js +9 -9
  20. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  21. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  22. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  23. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  24. package/api/resources/batches/client/Client.d.ts +6 -3
  25. package/api/resources/batches/client/Client.js +34 -11
  26. package/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
  27. package/api/resources/batches/client/requests/index.d.ts +1 -0
  28. package/api/resources/batches/index.d.ts +1 -0
  29. package/api/resources/batches/index.js +1 -0
  30. package/api/resources/batches/resources/messages/client/Client.js +5 -2
  31. package/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
  32. package/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
  33. package/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
  34. package/api/resources/batches/types/index.d.ts +1 -0
  35. package/api/resources/batches/types/index.js +17 -0
  36. package/api/resources/blocks/client/Client.js +6 -6
  37. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  38. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  39. package/api/resources/embeddingModels/client/Client.js +1 -1
  40. package/api/resources/folders/client/Client.js +9 -9
  41. package/api/resources/folders/resources/files/client/Client.js +3 -3
  42. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  43. package/api/resources/groups/client/Client.js +6 -6
  44. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  45. package/api/resources/health/client/Client.js +1 -1
  46. package/api/resources/identities/client/Client.js +7 -7
  47. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  48. package/api/resources/index.d.ts +4 -2
  49. package/api/resources/index.js +5 -3
  50. package/api/resources/jobs/client/Client.js +5 -5
  51. package/api/resources/models/client/Client.js +2 -2
  52. package/api/resources/projects/client/Client.js +1 -1
  53. package/api/resources/providers/client/Client.d.ts +6 -4
  54. package/api/resources/providers/client/Client.js +11 -9
  55. package/api/resources/runs/client/Client.js +5 -5
  56. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  57. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  58. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  59. package/api/resources/sources/client/Client.js +10 -10
  60. package/api/resources/sources/resources/files/client/Client.js +3 -3
  61. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  62. package/api/resources/steps/client/Client.d.ts +3 -3
  63. package/api/resources/steps/client/Client.js +8 -8
  64. package/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  65. package/api/resources/steps/resources/feedback/client/Client.js +3 -10
  66. package/{dist/api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.d.ts → api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts} +2 -1
  67. package/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  68. package/api/resources/steps/resources/index.d.ts +1 -1
  69. package/api/resources/steps/resources/index.js +2 -2
  70. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  71. package/api/resources/steps/resources/trace/client/Client.d.ts +4 -1
  72. package/api/resources/steps/resources/trace/client/Client.js +31 -7
  73. package/api/resources/tags/client/Client.d.ts +1 -1
  74. package/api/resources/tags/client/Client.js +15 -4
  75. package/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
  76. package/api/resources/tags/index.d.ts +1 -0
  77. package/api/resources/tags/index.js +1 -0
  78. package/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
  79. package/api/resources/tags/types/TagsListRequestOrder.js +10 -0
  80. package/api/resources/tags/types/index.d.ts +1 -0
  81. package/api/resources/tags/types/index.js +17 -0
  82. package/api/resources/telemetry/client/Client.js +1 -1
  83. package/api/resources/templates/client/Client.js +9 -9
  84. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  85. package/api/resources/tools/client/Client.js +20 -20
  86. package/api/resources/voice/client/Client.js +1 -1
  87. package/dist/api/resources/agents/client/Client.d.ts +0 -14
  88. package/dist/api/resources/agents/client/Client.js +10 -99
  89. package/dist/api/resources/agents/client/requests/index.d.ts +0 -1
  90. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  91. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  92. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  93. package/dist/api/resources/agents/resources/files/client/Client.d.ts +7 -1
  94. package/dist/api/resources/agents/resources/files/client/Client.js +53 -16
  95. package/dist/api/resources/agents/resources/files/client/index.d.ts +1 -1
  96. package/dist/api/resources/agents/resources/files/client/index.js +15 -0
  97. package/dist/api/resources/agents/{client/requests/ListAgentFilesRequest.d.ts → resources/files/client/requests/FilesListRequest.d.ts} +1 -1
  98. package/dist/api/resources/agents/resources/files/client/requests/index.d.ts +1 -0
  99. package/dist/api/resources/agents/resources/files/client/requests/index.js +2 -0
  100. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  101. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  102. package/dist/api/resources/agents/resources/index.d.ts +1 -0
  103. package/dist/api/resources/agents/resources/index.js +1 -0
  104. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  105. package/dist/api/resources/agents/resources/messages/client/Client.js +9 -9
  106. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  107. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  108. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  109. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  110. package/dist/api/resources/batches/client/Client.d.ts +6 -3
  111. package/dist/api/resources/batches/client/Client.js +34 -11
  112. package/dist/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
  113. package/dist/api/resources/batches/client/requests/BatchesListRequest.js +5 -0
  114. package/dist/api/resources/batches/client/requests/index.d.ts +1 -0
  115. package/dist/api/resources/batches/index.d.ts +1 -0
  116. package/dist/api/resources/batches/index.js +1 -0
  117. package/dist/api/resources/batches/resources/messages/client/Client.js +5 -2
  118. package/dist/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
  119. package/dist/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
  120. package/dist/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
  121. package/dist/api/resources/batches/types/index.d.ts +1 -0
  122. package/dist/api/resources/batches/types/index.js +17 -0
  123. package/dist/api/resources/blocks/client/Client.js +6 -6
  124. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  125. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  126. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  127. package/dist/api/resources/folders/client/Client.js +9 -9
  128. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  129. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  130. package/dist/api/resources/groups/client/Client.js +6 -6
  131. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  132. package/dist/api/resources/health/client/Client.js +1 -1
  133. package/dist/api/resources/identities/client/Client.js +7 -7
  134. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  135. package/dist/api/resources/index.d.ts +4 -2
  136. package/dist/api/resources/index.js +5 -3
  137. package/dist/api/resources/jobs/client/Client.js +5 -5
  138. package/dist/api/resources/models/client/Client.js +2 -2
  139. package/dist/api/resources/projects/client/Client.js +1 -1
  140. package/dist/api/resources/providers/client/Client.d.ts +6 -4
  141. package/dist/api/resources/providers/client/Client.js +11 -9
  142. package/dist/api/resources/runs/client/Client.js +5 -5
  143. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  144. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  145. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  146. package/dist/api/resources/sources/client/Client.js +10 -10
  147. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  148. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  149. package/dist/api/resources/steps/client/Client.d.ts +3 -3
  150. package/dist/api/resources/steps/client/Client.js +8 -8
  151. package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  152. package/dist/api/resources/steps/resources/feedback/client/Client.js +3 -10
  153. package/{api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.d.ts → dist/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts} +2 -1
  154. package/dist/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +5 -0
  155. package/dist/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  156. package/dist/api/resources/steps/resources/index.d.ts +1 -1
  157. package/dist/api/resources/steps/resources/index.js +2 -2
  158. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  159. package/dist/api/resources/steps/resources/trace/client/Client.d.ts +4 -1
  160. package/dist/api/resources/steps/resources/trace/client/Client.js +31 -7
  161. package/dist/api/resources/tags/client/Client.d.ts +1 -1
  162. package/dist/api/resources/tags/client/Client.js +15 -4
  163. package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
  164. package/dist/api/resources/tags/index.d.ts +1 -0
  165. package/dist/api/resources/tags/index.js +1 -0
  166. package/dist/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
  167. package/dist/api/resources/tags/types/TagsListRequestOrder.js +10 -0
  168. package/dist/api/resources/tags/types/index.d.ts +1 -0
  169. package/dist/api/resources/tags/types/index.js +17 -0
  170. package/dist/api/resources/telemetry/client/Client.js +1 -1
  171. package/dist/api/resources/templates/client/Client.js +9 -9
  172. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  173. package/dist/api/resources/tools/client/Client.js +20 -20
  174. package/dist/api/resources/voice/client/Client.js +1 -1
  175. package/dist/serialization/resources/batches/index.d.ts +1 -0
  176. package/dist/serialization/resources/batches/index.js +1 -0
  177. package/dist/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
  178. package/dist/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
  179. package/dist/serialization/resources/batches/types/index.d.ts +1 -0
  180. package/dist/serialization/resources/batches/types/index.js +17 -0
  181. package/dist/serialization/resources/index.d.ts +4 -2
  182. package/dist/serialization/resources/index.js +5 -3
  183. package/dist/serialization/resources/steps/index.d.ts +1 -0
  184. package/dist/serialization/resources/steps/index.js +1 -0
  185. package/dist/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
  186. package/dist/serialization/resources/steps/resources/feedback/client/index.js +17 -0
  187. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
  188. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
  189. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
  190. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
  191. package/dist/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
  192. package/dist/serialization/resources/steps/resources/feedback/index.js +17 -0
  193. package/dist/serialization/resources/steps/resources/index.d.ts +3 -0
  194. package/dist/serialization/resources/steps/resources/index.js +42 -0
  195. package/dist/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
  196. package/dist/serialization/resources/steps/resources/trace/client/index.js +37 -0
  197. package/dist/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
  198. package/dist/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
  199. package/dist/serialization/resources/steps/resources/trace/index.d.ts +1 -0
  200. package/dist/serialization/resources/steps/resources/trace/index.js +17 -0
  201. package/dist/serialization/resources/tags/index.d.ts +1 -0
  202. package/dist/serialization/resources/tags/index.js +1 -0
  203. package/dist/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
  204. package/dist/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
  205. package/dist/serialization/resources/tags/types/index.d.ts +1 -0
  206. package/dist/serialization/resources/tags/types/index.js +17 -0
  207. package/dist/version.d.ts +1 -1
  208. package/dist/version.js +1 -1
  209. package/package.json +1 -1
  210. package/reference.md +88 -111
  211. package/serialization/resources/batches/index.d.ts +1 -0
  212. package/serialization/resources/batches/index.js +1 -0
  213. package/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
  214. package/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
  215. package/serialization/resources/batches/types/index.d.ts +1 -0
  216. package/serialization/resources/batches/types/index.js +17 -0
  217. package/serialization/resources/index.d.ts +4 -2
  218. package/serialization/resources/index.js +5 -3
  219. package/serialization/resources/steps/index.d.ts +1 -0
  220. package/serialization/resources/steps/index.js +1 -0
  221. package/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
  222. package/serialization/resources/steps/resources/feedback/client/index.js +17 -0
  223. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
  224. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
  225. package/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
  226. package/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
  227. package/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
  228. package/serialization/resources/steps/resources/feedback/index.js +17 -0
  229. package/serialization/resources/steps/resources/index.d.ts +3 -0
  230. package/serialization/resources/steps/resources/index.js +42 -0
  231. package/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
  232. package/serialization/resources/steps/resources/trace/client/index.js +37 -0
  233. package/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
  234. package/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
  235. package/serialization/resources/steps/resources/trace/index.d.ts +1 -0
  236. package/serialization/resources/steps/resources/trace/index.js +17 -0
  237. package/serialization/resources/tags/index.d.ts +1 -0
  238. package/serialization/resources/tags/index.js +1 -0
  239. package/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
  240. package/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
  241. package/serialization/resources/tags/types/index.d.ts +1 -0
  242. package/serialization/resources/tags/types/index.js +17 -0
  243. package/version.d.ts +1 -1
  244. package/version.js +1 -1
  245. /package/api/resources/agents/{client/requests/ListAgentFilesRequest.js → resources/files/client/requests/FilesListRequest.js} +0 -0
  246. /package/api/resources/{steps/resources/feedback/client/requests/FeedbackCreateRequest.js → batches/client/requests/BatchesListRequest.js} +0 -0
  247. /package/{dist/api/resources/agents/client/requests/ListAgentFilesRequest.js → api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js} +0 -0
  248. /package/dist/api/resources/{steps/resources/feedback/client/requests/FeedbackCreateRequest.js → agents/resources/files/client/requests/FilesListRequest.js} +0 -0
@@ -31,7 +31,7 @@ export declare class Providers {
31
31
  protected readonly _options: Providers.Options;
32
32
  constructor(_options?: Providers.Options);
33
33
  /**
34
- * Get a list of all custom providers in the database
34
+ * Get a list of all custom providers.
35
35
  *
36
36
  * @param {Letta.ProvidersListRequest} request
37
37
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
@@ -44,7 +44,7 @@ export declare class Providers {
44
44
  list(request?: Letta.ProvidersListRequest, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<Letta.Provider[]>;
45
45
  private __list;
46
46
  /**
47
- * Create a new custom provider
47
+ * Create a new custom provider.
48
48
  *
49
49
  * @param {Letta.ProviderCreate} request
50
50
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
@@ -61,7 +61,7 @@ export declare class Providers {
61
61
  create(request: Letta.ProviderCreate, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<Letta.Provider>;
62
62
  private __create;
63
63
  /**
64
- * Delete an existing custom provider
64
+ * Delete an existing custom provider.
65
65
  *
66
66
  * @param {string} providerId
67
67
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
@@ -74,7 +74,7 @@ export declare class Providers {
74
74
  delete(providerId: string, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<unknown>;
75
75
  private __delete;
76
76
  /**
77
- * Update an existing custom provider
77
+ * Update an existing custom provider.
78
78
  *
79
79
  * @param {string} providerId
80
80
  * @param {Letta.ProviderUpdate} request
@@ -90,6 +90,8 @@ export declare class Providers {
90
90
  modify(providerId: string, request: Letta.ProviderUpdate, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<Letta.Provider>;
91
91
  private __modify;
92
92
  /**
93
+ * Verify the API key and additional parameters for a provider.
94
+ *
93
95
  * @param {Letta.ProviderCheck} request
94
96
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
95
97
  *
@@ -60,7 +60,7 @@ class Providers {
60
60
  this._options = _options;
61
61
  }
62
62
  /**
63
- * Get a list of all custom providers in the database
63
+ * Get a list of all custom providers.
64
64
  *
65
65
  * @param {Letta.ProvidersListRequest} request
66
66
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
@@ -97,7 +97,7 @@ class Providers {
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": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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",
@@ -153,7 +153,7 @@ class Providers {
153
153
  });
154
154
  }
155
155
  /**
156
- * Create a new custom provider
156
+ * Create a new custom provider.
157
157
  *
158
158
  * @param {Letta.ProviderCreate} request
159
159
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
@@ -178,7 +178,7 @@ class Providers {
178
178
  method: "POST",
179
179
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
180
180
  ? yield core.Supplier.get(this._options.project)
181
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
181
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
182
182
  contentType: "application/json",
183
183
  requestType: "json",
184
184
  body: serializers.ProviderCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -234,7 +234,7 @@ class Providers {
234
234
  });
235
235
  }
236
236
  /**
237
- * Delete an existing custom provider
237
+ * Delete an existing custom provider.
238
238
  *
239
239
  * @param {string} providerId
240
240
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
@@ -255,7 +255,7 @@ class Providers {
255
255
  method: "DELETE",
256
256
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
257
257
  ? yield core.Supplier.get(this._options.project)
258
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
258
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
259
259
  contentType: "application/json",
260
260
  requestType: "json",
261
261
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -301,7 +301,7 @@ class Providers {
301
301
  });
302
302
  }
303
303
  /**
304
- * Update an existing custom provider
304
+ * Update an existing custom provider.
305
305
  *
306
306
  * @param {string} providerId
307
307
  * @param {Letta.ProviderUpdate} request
@@ -325,7 +325,7 @@ class Providers {
325
325
  method: "PATCH",
326
326
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
327
327
  ? yield core.Supplier.get(this._options.project)
328
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
329
329
  contentType: "application/json",
330
330
  requestType: "json",
331
331
  body: serializers.ProviderUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -381,6 +381,8 @@ class Providers {
381
381
  });
382
382
  }
383
383
  /**
384
+ * Verify the API key and additional parameters for a provider.
385
+ *
384
386
  * @param {Letta.ProviderCheck} request
385
387
  * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
386
388
  *
@@ -403,7 +405,7 @@ class Providers {
403
405
  method: "POST",
404
406
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
405
407
  ? yield core.Supplier.get(this._options.project)
406
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
408
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
407
409
  contentType: "application/json",
408
410
  requestType: "json",
409
411
  body: serializers.ProviderCheck.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -121,7 +121,7 @@ class Runs {
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": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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",
@@ -211,7 +211,7 @@ class Runs {
211
211
  method: "GET",
212
212
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
213
213
  ? yield core.Supplier.get(this._options.project)
214
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
214
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
215
215
  contentType: "application/json",
216
216
  queryParameters: _queryParams,
217
217
  requestType: "json",
@@ -288,7 +288,7 @@ class Runs {
288
288
  method: "GET",
289
289
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
290
290
  ? yield core.Supplier.get(this._options.project)
291
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
291
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
292
292
  contentType: "application/json",
293
293
  requestType: "json",
294
294
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -364,7 +364,7 @@ class Runs {
364
364
  method: "DELETE",
365
365
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
366
366
  ? yield core.Supplier.get(this._options.project)
367
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
367
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
368
368
  contentType: "application/json",
369
369
  requestType: "json",
370
370
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -429,7 +429,7 @@ class Runs {
429
429
  method: "POST",
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": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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
  body: serializers.RetrieveStreamRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -98,7 +98,7 @@ class Messages {
98
98
  method: "GET",
99
99
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
100
100
  ? yield core.Supplier.get(this._options.project)
101
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
102
102
  contentType: "application/json",
103
103
  queryParameters: _queryParams,
104
104
  requestType: "json",
@@ -106,7 +106,7 @@ class Steps {
106
106
  method: "GET",
107
107
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
108
108
  ? yield core.Supplier.get(this._options.project)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
109
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -81,7 +81,7 @@ class Usage {
81
81
  method: "GET",
82
82
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
83
83
  ? yield core.Supplier.get(this._options.project)
84
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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,
@@ -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": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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,
@@ -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": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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,
@@ -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": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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,
@@ -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": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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,
@@ -474,7 +474,7 @@ class Sources {
474
474
  method: "GET",
475
475
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
476
476
  ? yield core.Supplier.get(this._options.project)
477
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
477
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
478
478
  contentType: "application/json",
479
479
  queryParameters: _queryParams,
480
480
  requestType: "json",
@@ -550,7 +550,7 @@ class Sources {
550
550
  method: "GET",
551
551
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
552
552
  ? yield core.Supplier.get(this._options.project)
553
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
553
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
554
554
  contentType: "application/json",
555
555
  requestType: "json",
556
556
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -628,7 +628,7 @@ class Sources {
628
628
  method: "POST",
629
629
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
630
630
  ? yield core.Supplier.get(this._options.project)
631
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
631
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
632
632
  contentType: "application/json",
633
633
  requestType: "json",
634
634
  body: serializers.SourceCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -705,7 +705,7 @@ class Sources {
705
705
  method: "GET",
706
706
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
707
707
  ? yield core.Supplier.get(this._options.project)
708
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
708
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
709
709
  contentType: "application/json",
710
710
  requestType: "json",
711
711
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -788,7 +788,7 @@ class Sources {
788
788
  method: "GET",
789
789
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
790
790
  ? yield core.Supplier.get(this._options.project)
791
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
791
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
792
792
  contentType: "application/json",
793
793
  queryParameters: _queryParams,
794
794
  requestType: "json",
@@ -93,7 +93,7 @@ class Files {
93
93
  method: "POST",
94
94
  headers: Object.assign(Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
97
97
  queryParameters: _queryParams,
98
98
  requestType: "file",
99
99
  duplex: _maybeEncodedRequest.duplex,
@@ -186,7 +186,7 @@ class Files {
186
186
  method: "GET",
187
187
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
188
188
  ? yield core.Supplier.get(this._options.project)
189
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
189
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
190
190
  contentType: "application/json",
191
191
  queryParameters: _queryParams,
192
192
  requestType: "json",
@@ -264,7 +264,7 @@ class Files {
264
264
  method: "DELETE",
265
265
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
266
266
  ? yield core.Supplier.get(this._options.project)
267
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
267
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
268
268
  contentType: "application/json",
269
269
  requestType: "json",
270
270
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -93,7 +93,7 @@ class Passages {
93
93
  method: "GET",
94
94
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
95
95
  ? yield core.Supplier.get(this._options.project)
96
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
99
99
  requestType: "json",
@@ -5,8 +5,8 @@ import * as environments from "../../../../environments";
5
5
  import * as core from "../../../../core";
6
6
  import * as Letta from "../../../index";
7
7
  import { Metrics } from "../resources/metrics/client/Client";
8
- import { Feedback } from "../resources/feedback/client/Client";
9
8
  import { Trace } from "../resources/trace/client/Client";
9
+ import { Feedback } from "../resources/feedback/client/Client";
10
10
  export declare namespace Steps {
11
11
  interface Options {
12
12
  environment?: core.Supplier<environments.LettaEnvironment | string>;
@@ -33,12 +33,12 @@ export declare namespace Steps {
33
33
  export declare class Steps {
34
34
  protected readonly _options: Steps.Options;
35
35
  protected _metrics: Metrics | undefined;
36
- protected _feedback: Feedback | undefined;
37
36
  protected _trace: Trace | undefined;
37
+ protected _feedback: Feedback | undefined;
38
38
  constructor(_options?: Steps.Options);
39
39
  get metrics(): Metrics;
40
- get feedback(): Feedback;
41
40
  get trace(): Trace;
41
+ get feedback(): Feedback;
42
42
  /**
43
43
  * List steps with optional pagination and date filters.
44
44
  * Dates should be provided in ISO 8601 format (e.g. 2025-01-29T15:01:19-08:00)
@@ -56,8 +56,8 @@ const serializers = __importStar(require("../../../../serialization/index"));
56
56
  const url_join_1 = __importDefault(require("url-join"));
57
57
  const errors = __importStar(require("../../../../errors/index"));
58
58
  const Client_1 = require("../resources/metrics/client/Client");
59
- const Client_2 = require("../resources/feedback/client/Client");
60
- const Client_3 = require("../resources/trace/client/Client");
59
+ const Client_2 = require("../resources/trace/client/Client");
60
+ const Client_3 = require("../resources/feedback/client/Client");
61
61
  class Steps {
62
62
  constructor(_options = {}) {
63
63
  this._options = _options;
@@ -66,13 +66,13 @@ class Steps {
66
66
  var _a;
67
67
  return ((_a = this._metrics) !== null && _a !== void 0 ? _a : (this._metrics = new Client_1.Metrics(this._options)));
68
68
  }
69
- get feedback() {
69
+ get trace() {
70
70
  var _a;
71
- return ((_a = this._feedback) !== null && _a !== void 0 ? _a : (this._feedback = new Client_2.Feedback(this._options)));
71
+ return ((_a = this._trace) !== null && _a !== void 0 ? _a : (this._trace = new Client_2.Trace(this._options)));
72
72
  }
73
- get trace() {
73
+ get feedback() {
74
74
  var _a;
75
- return ((_a = this._trace) !== null && _a !== void 0 ? _a : (this._trace = new Client_3.Trace(this._options)));
75
+ return ((_a = this._feedback) !== null && _a !== void 0 ? _a : (this._feedback = new Client_3.Feedback(this._options)));
76
76
  }
77
77
  /**
78
78
  * List steps with optional pagination and date filters.
@@ -150,7 +150,7 @@ class Steps {
150
150
  method: "GET",
151
151
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
152
152
  ? yield core.Supplier.get(this._options.project)
153
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
153
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
154
154
  contentType: "application/json",
155
155
  queryParameters: _queryParams,
156
156
  requestType: "json",
@@ -227,7 +227,7 @@ class Steps {
227
227
  method: "GET",
228
228
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
229
229
  ? yield core.Supplier.get(this._options.project)
230
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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),
230
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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),
231
231
  contentType: "application/json",
232
232
  requestType: "json",
233
233
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -34,7 +34,7 @@ export declare class Feedback {
34
34
  * Add feedback to a step.
35
35
  *
36
36
  * @param {string} stepId
37
- * @param {Letta.steps.FeedbackCreateRequest} request
37
+ * @param {Letta.steps.AddFeedbackRequest} request
38
38
  * @param {Feedback.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Letta.UnprocessableEntityError}
@@ -42,7 +42,7 @@ export declare class Feedback {
42
42
  * @example
43
43
  * await client.steps.feedback.create("step_id")
44
44
  */
45
- create(stepId: string, request?: Letta.steps.FeedbackCreateRequest, requestOptions?: Feedback.RequestOptions): core.HttpResponsePromise<Letta.Step>;
45
+ create(stepId: string, request?: Letta.steps.AddFeedbackRequest, requestOptions?: Feedback.RequestOptions): core.HttpResponsePromise<Letta.Step>;
46
46
  private __create;
47
47
  protected _getCustomAuthorizationHeaders(): Promise<{
48
48
  Authorization: string;
@@ -63,7 +63,7 @@ class Feedback {
63
63
  * Add feedback to a step.
64
64
  *
65
65
  * @param {string} stepId
66
- * @param {Letta.steps.FeedbackCreateRequest} request
66
+ * @param {Letta.steps.AddFeedbackRequest} request
67
67
  * @param {Feedback.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Letta.UnprocessableEntityError}
@@ -77,22 +77,15 @@ class Feedback {
77
77
  __create(stepId_1) {
78
78
  return __awaiter(this, arguments, void 0, function* (stepId, request = {}, requestOptions) {
79
79
  var _a, _b, _c;
80
- const { feedback } = request;
81
- const _queryParams = {};
82
- if (feedback != null) {
83
- _queryParams["feedback"] = serializers.FeedbackType.jsonOrThrow(feedback, {
84
- unrecognizedObjectKeys: "strip",
85
- });
86
- }
87
80
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
88
81
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LettaEnvironment.LettaCloud, `v1/steps/${encodeURIComponent(stepId)}/feedback`),
89
82
  method: "PATCH",
90
83
  headers: Object.assign(Object.assign({ "X-Project": (yield core.Supplier.get(this._options.project)) != null
91
84
  ? yield core.Supplier.get(this._options.project)
92
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@letta-ai/letta-client", "X-Fern-SDK-Version": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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
86
  contentType: "application/json",
94
- queryParameters: _queryParams,
95
87
  requestType: "json",
88
+ body: serializers.steps.AddFeedbackRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
96
89
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
97
90
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
98
91
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -6,6 +6,7 @@ import * as Letta from "../../../../../../index";
6
6
  * @example
7
7
  * {}
8
8
  */
9
- export interface FeedbackCreateRequest {
9
+ export interface AddFeedbackRequest {
10
+ /** Whether this feedback is positive or negative */
10
11
  feedback?: Letta.FeedbackType;
11
12
  }
@@ -1 +1 @@
1
- export { type FeedbackCreateRequest } from "./FeedbackCreateRequest";
1
+ export { type AddFeedbackRequest } from "./AddFeedbackRequest";
@@ -1,4 +1,4 @@
1
1
  export * as metrics from "./metrics";
2
- export * as feedback from "./feedback";
3
2
  export * as trace from "./trace";
3
+ export * as feedback from "./feedback";
4
4
  export * from "./feedback/client/requests";
@@ -36,8 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.trace = exports.feedback = exports.metrics = void 0;
39
+ exports.feedback = exports.trace = exports.metrics = void 0;
40
40
  exports.metrics = __importStar(require("./metrics"));
41
- exports.feedback = __importStar(require("./feedback"));
42
41
  exports.trace = __importStar(require("./trace"));
42
+ exports.feedback = __importStar(require("./feedback"));
43
43
  __exportStar(require("./feedback/client/requests"), exports);
@@ -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": "0.0.68642", "User-Agent": "@letta-ai/letta-client/0.0.68642", "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": "0.0.68644", "User-Agent": "@letta-ai/letta-client/0.0.68644", "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,
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as environments from "../../../../../../environments";
5
5
  import * as core from "../../../../../../core";
6
+ import * as Letta from "../../../../../index";
6
7
  export declare namespace Trace {
7
8
  interface Options {
8
9
  environment?: core.Supplier<environments.LettaEnvironment | string>;
@@ -33,10 +34,12 @@ export declare class Trace {
33
34
  * @param {string} stepId
34
35
  * @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
35
36
  *
37
+ * @throws {@link Letta.UnprocessableEntityError}
38
+ *
36
39
  * @example
37
40
  * await client.steps.trace.retrieve("step_id")
38
41
  */
39
- retrieve(stepId: string, requestOptions?: Trace.RequestOptions): core.HttpResponsePromise<void>;
42
+ retrieve(stepId: string, requestOptions?: Trace.RequestOptions): core.HttpResponsePromise<Letta.ProviderTrace | undefined>;
40
43
  private __retrieve;
41
44
  protected _getCustomAuthorizationHeaders(): Promise<{
42
45
  Authorization: string;