@letta-ai/letta-client 0.0.68642 → 0.0.68643

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 (226) hide show
  1. package/api/resources/agents/client/Client.js +11 -11
  2. package/api/resources/agents/resources/blocks/client/Client.js +5 -5
  3. package/api/resources/agents/resources/context/client/Client.js +1 -1
  4. package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  5. package/api/resources/agents/resources/files/client/Client.js +4 -4
  6. package/api/resources/agents/resources/folders/client/Client.js +3 -3
  7. package/api/resources/agents/resources/groups/client/Client.js +1 -1
  8. package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  9. package/api/resources/agents/resources/messages/client/Client.js +9 -9
  10. package/api/resources/agents/resources/passages/client/Client.js +5 -5
  11. package/api/resources/agents/resources/sources/client/Client.js +3 -3
  12. package/api/resources/agents/resources/templates/client/Client.js +3 -3
  13. package/api/resources/agents/resources/tools/client/Client.js +4 -4
  14. package/api/resources/batches/client/Client.d.ts +6 -3
  15. package/api/resources/batches/client/Client.js +34 -11
  16. package/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
  17. package/api/resources/batches/client/requests/index.d.ts +1 -0
  18. package/api/resources/batches/index.d.ts +1 -0
  19. package/api/resources/batches/index.js +1 -0
  20. package/api/resources/batches/resources/messages/client/Client.js +5 -2
  21. package/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
  22. package/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
  23. package/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
  24. package/api/resources/batches/types/index.d.ts +1 -0
  25. package/api/resources/batches/types/index.js +17 -0
  26. package/api/resources/blocks/client/Client.js +6 -6
  27. package/api/resources/blocks/resources/agents/client/Client.js +1 -1
  28. package/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  29. package/api/resources/embeddingModels/client/Client.js +1 -1
  30. package/api/resources/folders/client/Client.js +9 -9
  31. package/api/resources/folders/resources/files/client/Client.js +3 -3
  32. package/api/resources/folders/resources/passages/client/Client.js +1 -1
  33. package/api/resources/groups/client/Client.js +6 -6
  34. package/api/resources/groups/resources/messages/client/Client.js +5 -5
  35. package/api/resources/health/client/Client.js +1 -1
  36. package/api/resources/identities/client/Client.js +7 -7
  37. package/api/resources/identities/resources/properties/client/Client.js +1 -1
  38. package/api/resources/index.d.ts +4 -2
  39. package/api/resources/index.js +5 -3
  40. package/api/resources/jobs/client/Client.js +5 -5
  41. package/api/resources/models/client/Client.js +2 -2
  42. package/api/resources/projects/client/Client.js +1 -1
  43. package/api/resources/providers/client/Client.d.ts +6 -4
  44. package/api/resources/providers/client/Client.js +11 -9
  45. package/api/resources/runs/client/Client.js +5 -5
  46. package/api/resources/runs/resources/messages/client/Client.js +1 -1
  47. package/api/resources/runs/resources/steps/client/Client.js +1 -1
  48. package/api/resources/runs/resources/usage/client/Client.js +1 -1
  49. package/api/resources/sources/client/Client.js +10 -10
  50. package/api/resources/sources/resources/files/client/Client.js +3 -3
  51. package/api/resources/sources/resources/passages/client/Client.js +1 -1
  52. package/api/resources/steps/client/Client.d.ts +3 -3
  53. package/api/resources/steps/client/Client.js +8 -8
  54. package/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  55. package/api/resources/steps/resources/feedback/client/Client.js +3 -10
  56. package/api/resources/steps/resources/feedback/client/requests/{FeedbackCreateRequest.d.ts → AddFeedbackRequest.d.ts} +2 -1
  57. package/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  58. package/api/resources/steps/resources/index.d.ts +1 -1
  59. package/api/resources/steps/resources/index.js +2 -2
  60. package/api/resources/steps/resources/metrics/client/Client.js +1 -1
  61. package/api/resources/steps/resources/trace/client/Client.d.ts +4 -1
  62. package/api/resources/steps/resources/trace/client/Client.js +31 -7
  63. package/api/resources/tags/client/Client.d.ts +1 -1
  64. package/api/resources/tags/client/Client.js +15 -4
  65. package/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
  66. package/api/resources/tags/index.d.ts +1 -0
  67. package/api/resources/tags/index.js +1 -0
  68. package/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
  69. package/api/resources/tags/types/TagsListRequestOrder.js +10 -0
  70. package/api/resources/tags/types/index.d.ts +1 -0
  71. package/api/resources/tags/types/index.js +17 -0
  72. package/api/resources/telemetry/client/Client.js +1 -1
  73. package/api/resources/templates/client/Client.js +9 -9
  74. package/api/resources/templates/resources/agents/client/Client.js +1 -1
  75. package/api/resources/tools/client/Client.js +20 -20
  76. package/api/resources/voice/client/Client.js +1 -1
  77. package/dist/api/resources/agents/client/Client.js +11 -11
  78. package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
  79. package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
  80. package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
  81. package/dist/api/resources/agents/resources/files/client/Client.js +4 -4
  82. package/dist/api/resources/agents/resources/folders/client/Client.js +3 -3
  83. package/dist/api/resources/agents/resources/groups/client/Client.js +1 -1
  84. package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
  85. package/dist/api/resources/agents/resources/messages/client/Client.js +9 -9
  86. package/dist/api/resources/agents/resources/passages/client/Client.js +5 -5
  87. package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
  88. package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
  89. package/dist/api/resources/agents/resources/tools/client/Client.js +4 -4
  90. package/dist/api/resources/batches/client/Client.d.ts +6 -3
  91. package/dist/api/resources/batches/client/Client.js +34 -11
  92. package/dist/api/resources/batches/client/requests/BatchesListRequest.d.ts +30 -0
  93. package/dist/api/resources/batches/client/requests/BatchesListRequest.js +5 -0
  94. package/dist/api/resources/batches/client/requests/index.d.ts +1 -0
  95. package/dist/api/resources/batches/index.d.ts +1 -0
  96. package/dist/api/resources/batches/index.js +1 -0
  97. package/dist/api/resources/batches/resources/messages/client/Client.js +5 -2
  98. package/dist/api/resources/batches/resources/messages/client/requests/MessagesListRequest.d.ts +4 -0
  99. package/dist/api/resources/batches/types/BatchesListRequestOrder.d.ts +11 -0
  100. package/dist/api/resources/batches/types/BatchesListRequestOrder.js +10 -0
  101. package/dist/api/resources/batches/types/index.d.ts +1 -0
  102. package/dist/api/resources/batches/types/index.js +17 -0
  103. package/dist/api/resources/blocks/client/Client.js +6 -6
  104. package/dist/api/resources/blocks/resources/agents/client/Client.js +1 -1
  105. package/dist/api/resources/clientSideAccessTokens/client/Client.js +3 -3
  106. package/dist/api/resources/embeddingModels/client/Client.js +1 -1
  107. package/dist/api/resources/folders/client/Client.js +9 -9
  108. package/dist/api/resources/folders/resources/files/client/Client.js +3 -3
  109. package/dist/api/resources/folders/resources/passages/client/Client.js +1 -1
  110. package/dist/api/resources/groups/client/Client.js +6 -6
  111. package/dist/api/resources/groups/resources/messages/client/Client.js +5 -5
  112. package/dist/api/resources/health/client/Client.js +1 -1
  113. package/dist/api/resources/identities/client/Client.js +7 -7
  114. package/dist/api/resources/identities/resources/properties/client/Client.js +1 -1
  115. package/dist/api/resources/index.d.ts +4 -2
  116. package/dist/api/resources/index.js +5 -3
  117. package/dist/api/resources/jobs/client/Client.js +5 -5
  118. package/dist/api/resources/models/client/Client.js +2 -2
  119. package/dist/api/resources/projects/client/Client.js +1 -1
  120. package/dist/api/resources/providers/client/Client.d.ts +6 -4
  121. package/dist/api/resources/providers/client/Client.js +11 -9
  122. package/dist/api/resources/runs/client/Client.js +5 -5
  123. package/dist/api/resources/runs/resources/messages/client/Client.js +1 -1
  124. package/dist/api/resources/runs/resources/steps/client/Client.js +1 -1
  125. package/dist/api/resources/runs/resources/usage/client/Client.js +1 -1
  126. package/dist/api/resources/sources/client/Client.js +10 -10
  127. package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
  128. package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
  129. package/dist/api/resources/steps/client/Client.d.ts +3 -3
  130. package/dist/api/resources/steps/client/Client.js +8 -8
  131. package/dist/api/resources/steps/resources/feedback/client/Client.d.ts +2 -2
  132. package/dist/api/resources/steps/resources/feedback/client/Client.js +3 -10
  133. package/dist/api/resources/steps/resources/feedback/client/requests/{FeedbackCreateRequest.d.ts → AddFeedbackRequest.d.ts} +2 -1
  134. package/dist/api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +5 -0
  135. package/dist/api/resources/steps/resources/feedback/client/requests/index.d.ts +1 -1
  136. package/dist/api/resources/steps/resources/index.d.ts +1 -1
  137. package/dist/api/resources/steps/resources/index.js +2 -2
  138. package/dist/api/resources/steps/resources/metrics/client/Client.js +1 -1
  139. package/dist/api/resources/steps/resources/trace/client/Client.d.ts +4 -1
  140. package/dist/api/resources/steps/resources/trace/client/Client.js +31 -7
  141. package/dist/api/resources/tags/client/Client.d.ts +1 -1
  142. package/dist/api/resources/tags/client/Client.js +15 -4
  143. package/dist/api/resources/tags/client/requests/TagsListRequest.d.ts +22 -0
  144. package/dist/api/resources/tags/index.d.ts +1 -0
  145. package/dist/api/resources/tags/index.js +1 -0
  146. package/dist/api/resources/tags/types/TagsListRequestOrder.d.ts +11 -0
  147. package/dist/api/resources/tags/types/TagsListRequestOrder.js +10 -0
  148. package/dist/api/resources/tags/types/index.d.ts +1 -0
  149. package/dist/api/resources/tags/types/index.js +17 -0
  150. package/dist/api/resources/telemetry/client/Client.js +1 -1
  151. package/dist/api/resources/templates/client/Client.js +9 -9
  152. package/dist/api/resources/templates/resources/agents/client/Client.js +1 -1
  153. package/dist/api/resources/tools/client/Client.js +20 -20
  154. package/dist/api/resources/voice/client/Client.js +1 -1
  155. package/dist/serialization/resources/batches/index.d.ts +1 -0
  156. package/dist/serialization/resources/batches/index.js +1 -0
  157. package/dist/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
  158. package/dist/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
  159. package/dist/serialization/resources/batches/types/index.d.ts +1 -0
  160. package/dist/serialization/resources/batches/types/index.js +17 -0
  161. package/dist/serialization/resources/index.d.ts +4 -2
  162. package/dist/serialization/resources/index.js +5 -3
  163. package/dist/serialization/resources/steps/index.d.ts +1 -0
  164. package/dist/serialization/resources/steps/index.js +1 -0
  165. package/dist/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
  166. package/dist/serialization/resources/steps/resources/feedback/client/index.js +17 -0
  167. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
  168. package/dist/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
  169. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
  170. package/dist/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
  171. package/dist/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
  172. package/dist/serialization/resources/steps/resources/feedback/index.js +17 -0
  173. package/dist/serialization/resources/steps/resources/index.d.ts +3 -0
  174. package/dist/serialization/resources/steps/resources/index.js +42 -0
  175. package/dist/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
  176. package/dist/serialization/resources/steps/resources/trace/client/index.js +37 -0
  177. package/dist/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
  178. package/dist/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
  179. package/dist/serialization/resources/steps/resources/trace/index.d.ts +1 -0
  180. package/dist/serialization/resources/steps/resources/trace/index.js +17 -0
  181. package/dist/serialization/resources/tags/index.d.ts +1 -0
  182. package/dist/serialization/resources/tags/index.js +1 -0
  183. package/dist/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
  184. package/dist/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
  185. package/dist/serialization/resources/tags/types/index.d.ts +1 -0
  186. package/dist/serialization/resources/tags/types/index.js +17 -0
  187. package/dist/version.d.ts +1 -1
  188. package/dist/version.js +1 -1
  189. package/package.json +1 -1
  190. package/reference.md +64 -39
  191. package/serialization/resources/batches/index.d.ts +1 -0
  192. package/serialization/resources/batches/index.js +1 -0
  193. package/serialization/resources/batches/types/BatchesListRequestOrder.d.ts +10 -0
  194. package/serialization/resources/batches/types/BatchesListRequestOrder.js +41 -0
  195. package/serialization/resources/batches/types/index.d.ts +1 -0
  196. package/serialization/resources/batches/types/index.js +17 -0
  197. package/serialization/resources/index.d.ts +4 -2
  198. package/serialization/resources/index.js +5 -3
  199. package/serialization/resources/steps/index.d.ts +1 -0
  200. package/serialization/resources/steps/index.js +1 -0
  201. package/serialization/resources/steps/resources/feedback/client/index.d.ts +1 -0
  202. package/serialization/resources/steps/resources/feedback/client/index.js +17 -0
  203. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.d.ts +13 -0
  204. package/serialization/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js +44 -0
  205. package/serialization/resources/steps/resources/feedback/client/requests/index.d.ts +1 -0
  206. package/serialization/resources/steps/resources/feedback/client/requests/index.js +5 -0
  207. package/serialization/resources/steps/resources/feedback/index.d.ts +1 -0
  208. package/serialization/resources/steps/resources/feedback/index.js +17 -0
  209. package/serialization/resources/steps/resources/index.d.ts +3 -0
  210. package/serialization/resources/steps/resources/index.js +42 -0
  211. package/serialization/resources/steps/resources/trace/client/index.d.ts +1 -0
  212. package/serialization/resources/steps/resources/trace/client/index.js +37 -0
  213. package/serialization/resources/steps/resources/trace/client/retrieve.d.ts +11 -0
  214. package/serialization/resources/steps/resources/trace/client/retrieve.js +8 -0
  215. package/serialization/resources/steps/resources/trace/index.d.ts +1 -0
  216. package/serialization/resources/steps/resources/trace/index.js +17 -0
  217. package/serialization/resources/tags/index.d.ts +1 -0
  218. package/serialization/resources/tags/index.js +1 -0
  219. package/serialization/resources/tags/types/TagsListRequestOrder.d.ts +10 -0
  220. package/serialization/resources/tags/types/TagsListRequestOrder.js +41 -0
  221. package/serialization/resources/tags/types/index.d.ts +1 -0
  222. package/serialization/resources/tags/types/index.js +17 -0
  223. package/version.d.ts +1 -1
  224. package/version.js +1 -1
  225. /package/api/resources/{steps/resources/feedback/client/requests/FeedbackCreateRequest.js → batches/client/requests/BatchesListRequest.js} +0 -0
  226. /package/{dist/api/resources/steps/resources/feedback/client/requests/FeedbackCreateRequest.js → api/resources/steps/resources/feedback/client/requests/AddFeedbackRequest.js} +0 -0
package/reference.md CHANGED
@@ -4892,7 +4892,7 @@ await client.health.check();
4892
4892
  <dl>
4893
4893
  <dd>
4894
4894
 
4895
- Get a list of all custom providers in the database
4895
+ Get a list of all custom providers.
4896
4896
 
4897
4897
  </dd>
4898
4898
  </dl>
@@ -4955,7 +4955,7 @@ await client.providers.list();
4955
4955
  <dl>
4956
4956
  <dd>
4957
4957
 
4958
- Create a new custom provider
4958
+ Create a new custom provider.
4959
4959
 
4960
4960
  </dd>
4961
4961
  </dl>
@@ -5022,7 +5022,7 @@ await client.providers.create({
5022
5022
  <dl>
5023
5023
  <dd>
5024
5024
 
5025
- Delete an existing custom provider
5025
+ Delete an existing custom provider.
5026
5026
 
5027
5027
  </dd>
5028
5028
  </dl>
@@ -5085,7 +5085,7 @@ await client.providers.delete("provider_id");
5085
5085
  <dl>
5086
5086
  <dd>
5087
5087
 
5088
- Update an existing custom provider
5088
+ Update an existing custom provider.
5089
5089
 
5090
5090
  </dd>
5091
5091
  </dl>
@@ -5150,6 +5150,21 @@ await client.providers.modify("provider_id", {
5150
5150
  <dl>
5151
5151
  <dd>
5152
5152
 
5153
+ #### 📝 Description
5154
+
5155
+ <dl>
5156
+ <dd>
5157
+
5158
+ <dl>
5159
+ <dd>
5160
+
5161
+ Verify the API key and additional parameters for a provider.
5162
+
5163
+ </dd>
5164
+ </dl>
5165
+ </dd>
5166
+ </dl>
5167
+
5153
5168
  #### 🔌 Usage
5154
5169
 
5155
5170
  <dl>
@@ -5653,7 +5668,7 @@ await client.steps.retrieve("step_id");
5653
5668
  <dl>
5654
5669
  <dd>
5655
5670
 
5656
- Get a list of all tags in the database
5671
+ Get a list of all agent tags in the database.
5657
5672
 
5658
5673
  </dd>
5659
5674
  </dl>
@@ -5756,7 +5771,7 @@ await client.telemetry.retrieveProviderTrace("step_id");
5756
5771
 
5757
5772
  ## Batches
5758
5773
 
5759
- <details><summary><code>client.batches.<a href="/src/api/resources/batches/client/Client.ts">list</a>() -> Letta.BatchJob[]</code></summary>
5774
+ <details><summary><code>client.batches.<a href="/src/api/resources/batches/client/Client.ts">list</a>({ ...params }) -> Letta.BatchJob[]</code></summary>
5760
5775
  <dl>
5761
5776
  <dd>
5762
5777
 
@@ -5800,6 +5815,14 @@ await client.batches.list();
5800
5815
  <dl>
5801
5816
  <dd>
5802
5817
 
5818
+ **request:** `Letta.BatchesListRequest`
5819
+
5820
+ </dd>
5821
+ </dl>
5822
+
5823
+ <dl>
5824
+ <dd>
5825
+
5803
5826
  **requestOptions:** `Batches.RequestOptions`
5804
5827
 
5805
5828
  </dd>
@@ -5823,8 +5846,10 @@ await client.batches.list();
5823
5846
  <dl>
5824
5847
  <dd>
5825
5848
 
5826
- Submit a batch of agent messages for asynchronous processing.
5849
+ Submit a batch of agent runs for asynchronous processing.
5850
+
5827
5851
  Creates a job that will fan out messages to all listed agents and process them in parallel.
5852
+ The request will be rejected if it exceeds 256MB.
5828
5853
 
5829
5854
  </dd>
5830
5855
  </dl>
@@ -5904,7 +5929,7 @@ await client.batches.create({
5904
5929
  <dl>
5905
5930
  <dd>
5906
5931
 
5907
- Get the status of a batch run.
5932
+ Retrieve the status and details of a batch run.
5908
5933
 
5909
5934
  </dd>
5910
5935
  </dl>
@@ -11381,27 +11406,12 @@ await client.steps.metrics.retrieve("step_id");
11381
11406
  </dl>
11382
11407
  </details>
11383
11408
 
11384
- ## Steps Feedback
11385
-
11386
- <details><summary><code>client.steps.feedback.<a href="/src/api/resources/steps/resources/feedback/client/Client.ts">create</a>(stepId, { ...params }) -> Letta.Step</code></summary>
11387
- <dl>
11388
- <dd>
11389
-
11390
- #### 📝 Description
11391
-
11392
- <dl>
11393
- <dd>
11409
+ ## Steps Trace
11394
11410
 
11411
+ <details><summary><code>client.steps.trace.<a href="/src/api/resources/steps/resources/trace/client/Client.ts">retrieve</a>(stepId) -> Letta.ProviderTrace | undefined</code></summary>
11395
11412
  <dl>
11396
11413
  <dd>
11397
11414
 
11398
- Add feedback to a step.
11399
-
11400
- </dd>
11401
- </dl>
11402
- </dd>
11403
- </dl>
11404
-
11405
11415
  #### 🔌 Usage
11406
11416
 
11407
11417
  <dl>
@@ -11411,7 +11421,7 @@ Add feedback to a step.
11411
11421
  <dd>
11412
11422
 
11413
11423
  ```typescript
11414
- await client.steps.feedback.create("step_id");
11424
+ await client.steps.trace.retrieve("step_id");
11415
11425
  ```
11416
11426
 
11417
11427
  </dd>
@@ -11435,15 +11445,7 @@ await client.steps.feedback.create("step_id");
11435
11445
  <dl>
11436
11446
  <dd>
11437
11447
 
11438
- **request:** `Letta.steps.FeedbackCreateRequest`
11439
-
11440
- </dd>
11441
- </dl>
11442
-
11443
- <dl>
11444
- <dd>
11445
-
11446
- **requestOptions:** `Feedback.RequestOptions`
11448
+ **requestOptions:** `Trace.RequestOptions`
11447
11449
 
11448
11450
  </dd>
11449
11451
  </dl>
@@ -11454,12 +11456,27 @@ await client.steps.feedback.create("step_id");
11454
11456
  </dl>
11455
11457
  </details>
11456
11458
 
11457
- ## Steps Trace
11459
+ ## Steps Feedback
11460
+
11461
+ <details><summary><code>client.steps.feedback.<a href="/src/api/resources/steps/resources/feedback/client/Client.ts">create</a>(stepId, { ...params }) -> Letta.Step</code></summary>
11462
+ <dl>
11463
+ <dd>
11464
+
11465
+ #### 📝 Description
11466
+
11467
+ <dl>
11468
+ <dd>
11458
11469
 
11459
- <details><summary><code>client.steps.trace.<a href="/src/api/resources/steps/resources/trace/client/Client.ts">retrieve</a>(stepId) -> void</code></summary>
11460
11470
  <dl>
11461
11471
  <dd>
11462
11472
 
11473
+ Add feedback to a step.
11474
+
11475
+ </dd>
11476
+ </dl>
11477
+ </dd>
11478
+ </dl>
11479
+
11463
11480
  #### 🔌 Usage
11464
11481
 
11465
11482
  <dl>
@@ -11469,7 +11486,7 @@ await client.steps.feedback.create("step_id");
11469
11486
  <dd>
11470
11487
 
11471
11488
  ```typescript
11472
- await client.steps.trace.retrieve("step_id");
11489
+ await client.steps.feedback.create("step_id");
11473
11490
  ```
11474
11491
 
11475
11492
  </dd>
@@ -11493,7 +11510,15 @@ await client.steps.trace.retrieve("step_id");
11493
11510
  <dl>
11494
11511
  <dd>
11495
11512
 
11496
- **requestOptions:** `Trace.RequestOptions`
11513
+ **request:** `Letta.steps.AddFeedbackRequest`
11514
+
11515
+ </dd>
11516
+ </dl>
11517
+
11518
+ <dl>
11519
+ <dd>
11520
+
11521
+ **requestOptions:** `Feedback.RequestOptions`
11497
11522
 
11498
11523
  </dd>
11499
11524
  </dl>
@@ -1,2 +1,3 @@
1
+ export * from "./types";
1
2
  export * from "./resources";
2
3
  export * from "./client";
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./resources"), exports);
18
19
  __exportStar(require("./client"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const BatchesListRequestOrder: core.serialization.Schema<serializers.BatchesListRequestOrder.Raw, Letta.BatchesListRequestOrder>;
8
+ export declare namespace BatchesListRequestOrder {
9
+ type Raw = "asc" | "desc";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.BatchesListRequestOrder = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.BatchesListRequestOrder = core.serialization.enum_(["asc", "desc"]);
@@ -0,0 +1 @@
1
+ export * from "./BatchesListRequestOrder";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./BatchesListRequestOrder"), exports);
@@ -8,13 +8,16 @@ export * as runs from "./runs";
8
8
  export * from "./runs/types";
9
9
  export * as steps from "./steps";
10
10
  export * from "./steps/types";
11
+ export * as tags from "./tags";
12
+ export * from "./tags/types";
13
+ export * as batches from "./batches";
14
+ export * from "./batches/types";
11
15
  export * as templates from "./templates";
12
16
  export * from "./templates/types";
13
17
  export * as clientSideAccessTokens from "./clientSideAccessTokens";
14
18
  export * from "./clientSideAccessTokens/types";
15
19
  export * as projects from "./projects";
16
20
  export * from "./projects/types";
17
- export * as batches from "./batches";
18
21
  export * as sources from "./sources";
19
22
  export * as folders from "./folders";
20
23
  export * as identities from "./identities";
@@ -23,7 +26,6 @@ export * as embeddingModels from "./embeddingModels";
23
26
  export * as blocks from "./blocks";
24
27
  export * as jobs from "./jobs";
25
28
  export * as providers from "./providers";
26
- export * as tags from "./tags";
27
29
  export * as telemetry from "./telemetry";
28
30
  export * as voice from "./voice";
29
31
  export * from "./tools/client/requests";
@@ -36,7 +36,7 @@ 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.voice = exports.telemetry = exports.tags = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.folders = exports.sources = exports.batches = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.steps = exports.runs = exports.groups = exports.agents = exports.tools = void 0;
39
+ exports.voice = exports.telemetry = exports.providers = exports.jobs = exports.blocks = exports.embeddingModels = exports.models = exports.identities = exports.folders = exports.sources = exports.projects = exports.clientSideAccessTokens = exports.templates = exports.batches = exports.tags = exports.steps = exports.runs = exports.groups = exports.agents = exports.tools = void 0;
40
40
  exports.tools = __importStar(require("./tools"));
41
41
  __exportStar(require("./tools/types"), exports);
42
42
  exports.agents = __importStar(require("./agents"));
@@ -47,13 +47,16 @@ exports.runs = __importStar(require("./runs"));
47
47
  __exportStar(require("./runs/types"), exports);
48
48
  exports.steps = __importStar(require("./steps"));
49
49
  __exportStar(require("./steps/types"), exports);
50
+ exports.tags = __importStar(require("./tags"));
51
+ __exportStar(require("./tags/types"), exports);
52
+ exports.batches = __importStar(require("./batches"));
53
+ __exportStar(require("./batches/types"), exports);
50
54
  exports.templates = __importStar(require("./templates"));
51
55
  __exportStar(require("./templates/types"), exports);
52
56
  exports.clientSideAccessTokens = __importStar(require("./clientSideAccessTokens"));
53
57
  __exportStar(require("./clientSideAccessTokens/types"), exports);
54
58
  exports.projects = __importStar(require("./projects"));
55
59
  __exportStar(require("./projects/types"), exports);
56
- exports.batches = __importStar(require("./batches"));
57
60
  exports.sources = __importStar(require("./sources"));
58
61
  exports.folders = __importStar(require("./folders"));
59
62
  exports.identities = __importStar(require("./identities"));
@@ -62,7 +65,6 @@ exports.embeddingModels = __importStar(require("./embeddingModels"));
62
65
  exports.blocks = __importStar(require("./blocks"));
63
66
  exports.jobs = __importStar(require("./jobs"));
64
67
  exports.providers = __importStar(require("./providers"));
65
- exports.tags = __importStar(require("./tags"));
66
68
  exports.telemetry = __importStar(require("./telemetry"));
67
69
  exports.voice = __importStar(require("./voice"));
68
70
  __exportStar(require("./tools/client/requests"), exports);
@@ -1,2 +1,3 @@
1
1
  export * from "./types";
2
2
  export * from "./client";
3
+ export * from "./resources";
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types"), exports);
18
18
  __exportStar(require("./client"), exports);
19
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../index";
5
+ import * as Letta from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ import { FeedbackType } from "../../../../../../types/FeedbackType";
8
+ export declare const AddFeedbackRequest: core.serialization.Schema<serializers.steps.AddFeedbackRequest.Raw, Letta.steps.AddFeedbackRequest>;
9
+ export declare namespace AddFeedbackRequest {
10
+ interface Raw {
11
+ feedback?: FeedbackType.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AddFeedbackRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ const FeedbackType_1 = require("../../../../../../types/FeedbackType");
42
+ exports.AddFeedbackRequest = core.serialization.object({
43
+ feedback: FeedbackType_1.FeedbackType.optional(),
44
+ });
@@ -0,0 +1 @@
1
+ export { AddFeedbackRequest } from "./AddFeedbackRequest";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddFeedbackRequest = void 0;
4
+ var AddFeedbackRequest_1 = require("./AddFeedbackRequest");
5
+ Object.defineProperty(exports, "AddFeedbackRequest", { enumerable: true, get: function () { return AddFeedbackRequest_1.AddFeedbackRequest; } });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,3 @@
1
+ export * as trace from "./trace";
2
+ export * as feedback from "./feedback";
3
+ export * from "./feedback/client/requests";
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.feedback = exports.trace = void 0;
40
+ exports.trace = __importStar(require("./trace"));
41
+ exports.feedback = __importStar(require("./feedback"));
42
+ __exportStar(require("./feedback/client/requests"), exports);
@@ -0,0 +1 @@
1
+ export * as retrieve from "./retrieve";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.retrieve = void 0;
37
+ exports.retrieve = __importStar(require("./retrieve"));
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as Letta from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { ProviderTrace } from "../../../../../types/ProviderTrace";
8
+ export declare const Response: core.serialization.Schema<serializers.steps.trace.retrieve.Response.Raw, Letta.ProviderTrace | undefined>;
9
+ export declare namespace Response {
10
+ type Raw = ProviderTrace.Raw | null | undefined;
11
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Response = void 0;
7
+ const ProviderTrace_1 = require("../../../../../types/ProviderTrace");
8
+ exports.Response = ProviderTrace_1.ProviderTrace.optional();
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Letta from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const TagsListRequestOrder: core.serialization.Schema<serializers.TagsListRequestOrder.Raw, Letta.TagsListRequestOrder>;
8
+ export declare namespace TagsListRequestOrder {
9
+ type Raw = "asc" | "desc";
10
+ }