@letta-ai/letta-client 1.0.0-alpha.15 → 1.0.0-alpha.17

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 (265) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/client.d.mts +22 -22
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +22 -22
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/agents/agents.d.mts +1098 -136
  10. package/resources/agents/agents.d.mts.map +1 -1
  11. package/resources/agents/agents.d.ts +1098 -136
  12. package/resources/agents/agents.d.ts.map +1 -1
  13. package/resources/agents/agents.js +0 -6
  14. package/resources/agents/agents.js.map +1 -1
  15. package/resources/agents/agents.mjs +1 -7
  16. package/resources/agents/agents.mjs.map +1 -1
  17. package/resources/agents/blocks.d.mts +1 -15
  18. package/resources/agents/blocks.d.mts.map +1 -1
  19. package/resources/agents/blocks.d.ts +1 -15
  20. package/resources/agents/blocks.d.ts.map +1 -1
  21. package/resources/agents/folders.d.mts +47 -76
  22. package/resources/agents/folders.d.mts.map +1 -1
  23. package/resources/agents/folders.d.ts +47 -76
  24. package/resources/agents/folders.d.ts.map +1 -1
  25. package/resources/agents/folders.js +5 -1
  26. package/resources/agents/folders.js.map +1 -1
  27. package/resources/agents/folders.mjs +5 -1
  28. package/resources/agents/folders.mjs.map +1 -1
  29. package/resources/agents/index.d.mts +4 -4
  30. package/resources/agents/index.d.mts.map +1 -1
  31. package/resources/agents/index.d.ts +4 -4
  32. package/resources/agents/index.d.ts.map +1 -1
  33. package/resources/agents/index.js.map +1 -1
  34. package/resources/agents/index.mjs.map +1 -1
  35. package/resources/agents/messages.d.mts +87 -28
  36. package/resources/agents/messages.d.mts.map +1 -1
  37. package/resources/agents/messages.d.ts +87 -28
  38. package/resources/agents/messages.d.ts.map +1 -1
  39. package/resources/agents/messages.js +5 -5
  40. package/resources/agents/messages.js.map +1 -1
  41. package/resources/agents/messages.mjs +5 -5
  42. package/resources/agents/messages.mjs.map +1 -1
  43. package/resources/agents/tools.d.mts +6 -27
  44. package/resources/agents/tools.d.mts.map +1 -1
  45. package/resources/agents/tools.d.ts +6 -27
  46. package/resources/agents/tools.d.ts.map +1 -1
  47. package/resources/agents/tools.js +5 -1
  48. package/resources/agents/tools.js.map +1 -1
  49. package/resources/agents/tools.mjs +5 -1
  50. package/resources/agents/tools.mjs.map +1 -1
  51. package/resources/archives.d.mts +9 -37
  52. package/resources/archives.d.mts.map +1 -1
  53. package/resources/archives.d.ts +9 -37
  54. package/resources/archives.d.ts.map +1 -1
  55. package/resources/archives.js +2 -1
  56. package/resources/archives.js.map +1 -1
  57. package/resources/archives.mjs +2 -1
  58. package/resources/archives.mjs.map +1 -1
  59. package/resources/batches/batches.d.mts +8 -30
  60. package/resources/batches/batches.d.mts.map +1 -1
  61. package/resources/batches/batches.d.ts +8 -30
  62. package/resources/batches/batches.d.ts.map +1 -1
  63. package/resources/batches/batches.js +2 -1
  64. package/resources/batches/batches.js.map +1 -1
  65. package/resources/batches/batches.mjs +2 -1
  66. package/resources/batches/batches.mjs.map +1 -1
  67. package/resources/batches/index.d.mts +2 -2
  68. package/resources/batches/index.d.mts.map +1 -1
  69. package/resources/batches/index.d.ts +2 -2
  70. package/resources/batches/index.d.ts.map +1 -1
  71. package/resources/batches/index.js.map +1 -1
  72. package/resources/batches/index.mjs.map +1 -1
  73. package/resources/batches/messages.d.mts +6 -30
  74. package/resources/batches/messages.d.mts.map +1 -1
  75. package/resources/batches/messages.d.ts +6 -30
  76. package/resources/batches/messages.d.ts.map +1 -1
  77. package/resources/batches/messages.js +2 -1
  78. package/resources/batches/messages.js.map +1 -1
  79. package/resources/batches/messages.mjs +2 -1
  80. package/resources/batches/messages.mjs.map +1 -1
  81. package/resources/blocks/blocks.d.mts +1 -6
  82. package/resources/blocks/blocks.d.mts.map +1 -1
  83. package/resources/blocks/blocks.d.ts +1 -6
  84. package/resources/blocks/blocks.d.ts.map +1 -1
  85. package/resources/blocks/blocks.js +0 -6
  86. package/resources/blocks/blocks.js.map +1 -1
  87. package/resources/blocks/blocks.mjs +0 -6
  88. package/resources/blocks/blocks.mjs.map +1 -1
  89. package/resources/blocks/index.d.mts +1 -1
  90. package/resources/blocks/index.d.mts.map +1 -1
  91. package/resources/blocks/index.d.ts +1 -1
  92. package/resources/blocks/index.d.ts.map +1 -1
  93. package/resources/blocks/index.js.map +1 -1
  94. package/resources/blocks/index.mjs.map +1 -1
  95. package/resources/folders/files.d.mts +73 -97
  96. package/resources/folders/files.d.mts.map +1 -1
  97. package/resources/folders/files.d.ts +73 -97
  98. package/resources/folders/files.d.ts.map +1 -1
  99. package/resources/folders/files.js +5 -1
  100. package/resources/folders/files.js.map +1 -1
  101. package/resources/folders/files.mjs +5 -1
  102. package/resources/folders/files.mjs.map +1 -1
  103. package/resources/folders/folders.d.mts +11 -44
  104. package/resources/folders/folders.d.mts.map +1 -1
  105. package/resources/folders/folders.d.ts +11 -44
  106. package/resources/folders/folders.d.ts.map +1 -1
  107. package/resources/folders/folders.js +2 -7
  108. package/resources/folders/folders.js.map +1 -1
  109. package/resources/folders/folders.mjs +2 -7
  110. package/resources/folders/folders.mjs.map +1 -1
  111. package/resources/folders/index.d.mts +2 -2
  112. package/resources/folders/index.d.mts.map +1 -1
  113. package/resources/folders/index.d.ts +2 -2
  114. package/resources/folders/index.d.ts.map +1 -1
  115. package/resources/folders/index.js.map +1 -1
  116. package/resources/folders/index.mjs.map +1 -1
  117. package/resources/groups/groups.d.mts +1 -6
  118. package/resources/groups/groups.d.mts.map +1 -1
  119. package/resources/groups/groups.d.ts +1 -6
  120. package/resources/groups/groups.d.ts.map +1 -1
  121. package/resources/groups/groups.js +0 -6
  122. package/resources/groups/groups.js.map +1 -1
  123. package/resources/groups/groups.mjs +0 -6
  124. package/resources/groups/groups.mjs.map +1 -1
  125. package/resources/groups/index.d.mts +1 -1
  126. package/resources/groups/index.d.mts.map +1 -1
  127. package/resources/groups/index.d.ts +1 -1
  128. package/resources/groups/index.d.ts.map +1 -1
  129. package/resources/groups/index.js.map +1 -1
  130. package/resources/groups/index.mjs.map +1 -1
  131. package/resources/groups/messages.d.mts +9 -3
  132. package/resources/groups/messages.d.mts.map +1 -1
  133. package/resources/groups/messages.d.ts +9 -3
  134. package/resources/groups/messages.d.ts.map +1 -1
  135. package/resources/identities/identities.d.mts +9 -36
  136. package/resources/identities/identities.d.mts.map +1 -1
  137. package/resources/identities/identities.d.ts +9 -36
  138. package/resources/identities/identities.d.ts.map +1 -1
  139. package/resources/identities/identities.js +2 -7
  140. package/resources/identities/identities.js.map +1 -1
  141. package/resources/identities/identities.mjs +2 -7
  142. package/resources/identities/identities.mjs.map +1 -1
  143. package/resources/identities/index.d.mts +1 -1
  144. package/resources/identities/index.d.mts.map +1 -1
  145. package/resources/identities/index.d.ts +1 -1
  146. package/resources/identities/index.d.ts.map +1 -1
  147. package/resources/identities/index.js.map +1 -1
  148. package/resources/identities/index.mjs.map +1 -1
  149. package/resources/index.d.mts +11 -11
  150. package/resources/index.d.mts.map +1 -1
  151. package/resources/index.d.ts +11 -11
  152. package/resources/index.d.ts.map +1 -1
  153. package/resources/index.js.map +1 -1
  154. package/resources/index.mjs.map +1 -1
  155. package/resources/mcp-servers/index.d.mts +2 -3
  156. package/resources/mcp-servers/index.d.mts.map +1 -1
  157. package/resources/mcp-servers/index.d.ts +2 -3
  158. package/resources/mcp-servers/index.d.ts.map +1 -1
  159. package/resources/mcp-servers/index.js +1 -3
  160. package/resources/mcp-servers/index.js.map +1 -1
  161. package/resources/mcp-servers/index.mjs +1 -2
  162. package/resources/mcp-servers/index.mjs.map +1 -1
  163. package/resources/mcp-servers/mcp-servers.d.mts +292 -378
  164. package/resources/mcp-servers/mcp-servers.d.mts.map +1 -1
  165. package/resources/mcp-servers/mcp-servers.d.ts +292 -378
  166. package/resources/mcp-servers/mcp-servers.d.ts.map +1 -1
  167. package/resources/mcp-servers/mcp-servers.js +17 -4
  168. package/resources/mcp-servers/mcp-servers.js.map +1 -1
  169. package/resources/mcp-servers/mcp-servers.mjs +17 -4
  170. package/resources/mcp-servers/mcp-servers.mjs.map +1 -1
  171. package/resources/mcp-servers/tools.d.mts +3 -41
  172. package/resources/mcp-servers/tools.d.mts.map +1 -1
  173. package/resources/mcp-servers/tools.d.ts +3 -41
  174. package/resources/mcp-servers/tools.d.ts.map +1 -1
  175. package/resources/mcp-servers/tools.js.map +1 -1
  176. package/resources/mcp-servers/tools.mjs.map +1 -1
  177. package/resources/models/embeddings.d.mts +6 -2
  178. package/resources/models/embeddings.d.mts.map +1 -1
  179. package/resources/models/embeddings.d.ts +6 -2
  180. package/resources/models/embeddings.d.ts.map +1 -1
  181. package/resources/models/embeddings.js +5 -1
  182. package/resources/models/embeddings.js.map +1 -1
  183. package/resources/models/embeddings.mjs +5 -1
  184. package/resources/models/embeddings.mjs.map +1 -1
  185. package/resources/models/index.d.mts +1 -1
  186. package/resources/models/index.d.mts.map +1 -1
  187. package/resources/models/index.d.ts +1 -1
  188. package/resources/models/index.d.ts.map +1 -1
  189. package/resources/models/index.js.map +1 -1
  190. package/resources/models/index.mjs.map +1 -1
  191. package/resources/models/models.d.mts +174 -3
  192. package/resources/models/models.d.mts.map +1 -1
  193. package/resources/models/models.d.ts +174 -3
  194. package/resources/models/models.d.ts.map +1 -1
  195. package/resources/models/models.js +5 -1
  196. package/resources/models/models.js.map +1 -1
  197. package/resources/models/models.mjs +5 -1
  198. package/resources/models/models.mjs.map +1 -1
  199. package/resources/runs/index.d.mts +1 -1
  200. package/resources/runs/index.d.mts.map +1 -1
  201. package/resources/runs/index.d.ts +1 -1
  202. package/resources/runs/index.d.ts.map +1 -1
  203. package/resources/runs/index.js.map +1 -1
  204. package/resources/runs/index.mjs.map +1 -1
  205. package/resources/runs/runs.d.mts +6 -32
  206. package/resources/runs/runs.d.mts.map +1 -1
  207. package/resources/runs/runs.d.ts +6 -32
  208. package/resources/runs/runs.d.ts.map +1 -1
  209. package/resources/runs/runs.js +2 -1
  210. package/resources/runs/runs.js.map +1 -1
  211. package/resources/runs/runs.mjs +2 -1
  212. package/resources/runs/runs.mjs.map +1 -1
  213. package/resources/tools.d.mts +6 -68
  214. package/resources/tools.d.mts.map +1 -1
  215. package/resources/tools.d.ts +6 -68
  216. package/resources/tools.d.ts.map +1 -1
  217. package/resources/tools.js +2 -7
  218. package/resources/tools.js.map +1 -1
  219. package/resources/tools.mjs +2 -7
  220. package/resources/tools.mjs.map +1 -1
  221. package/src/client.ts +41 -28
  222. package/src/resources/agents/agents.ts +1364 -77
  223. package/src/resources/agents/blocks.ts +1 -15
  224. package/src/resources/agents/folders.ts +55 -85
  225. package/src/resources/agents/index.ts +5 -2
  226. package/src/resources/agents/messages.ts +123 -28
  227. package/src/resources/agents/tools.ts +10 -34
  228. package/src/resources/archives.ts +12 -45
  229. package/src/resources/batches/batches.ts +10 -41
  230. package/src/resources/batches/index.ts +2 -2
  231. package/src/resources/batches/messages.ts +12 -37
  232. package/src/resources/blocks/blocks.ts +0 -10
  233. package/src/resources/blocks/index.ts +0 -1
  234. package/src/resources/folders/files.ts +88 -113
  235. package/src/resources/folders/folders.ts +14 -55
  236. package/src/resources/folders/index.ts +2 -2
  237. package/src/resources/groups/groups.ts +0 -10
  238. package/src/resources/groups/index.ts +0 -1
  239. package/src/resources/groups/messages.ts +10 -3
  240. package/src/resources/identities/identities.ts +12 -49
  241. package/src/resources/identities/index.ts +1 -2
  242. package/src/resources/index.ts +21 -14
  243. package/src/resources/mcp-servers/index.ts +14 -9
  244. package/src/resources/mcp-servers/mcp-servers.ts +303 -402
  245. package/src/resources/mcp-servers/tools.ts +6 -47
  246. package/src/resources/models/embeddings.ts +6 -2
  247. package/src/resources/models/index.ts +2 -0
  248. package/src/resources/models/models.ts +254 -2
  249. package/src/resources/runs/index.ts +1 -1
  250. package/src/resources/runs/runs.ts +11 -44
  251. package/src/resources/tools.ts +8 -92
  252. package/src/version.ts +1 -1
  253. package/version.d.mts +1 -1
  254. package/version.d.ts +1 -1
  255. package/version.js +1 -1
  256. package/version.mjs +1 -1
  257. package/resources/mcp-servers/refresh.d.mts +0 -24
  258. package/resources/mcp-servers/refresh.d.mts.map +0 -1
  259. package/resources/mcp-servers/refresh.d.ts +0 -24
  260. package/resources/mcp-servers/refresh.d.ts.map +0 -1
  261. package/resources/mcp-servers/refresh.js +0 -27
  262. package/resources/mcp-servers/refresh.js.map +0 -1
  263. package/resources/mcp-servers/refresh.mjs +0 -23
  264. package/resources/mcp-servers/refresh.mjs.map +0 -1
  265. package/src/resources/mcp-servers/refresh.ts +0 -43
@@ -7,7 +7,11 @@ export declare class Models extends APIResource {
7
7
  embeddings: EmbeddingsAPI.Embeddings;
8
8
  /**
9
9
  * List available LLM models using the asynchronous implementation for improved
10
- * performance
10
+ * performance.
11
+ *
12
+ * Returns Model format which extends LLMConfig with additional metadata fields.
13
+ * Legacy LLMConfig fields are marked as deprecated but still available for
14
+ * backward compatibility.
11
15
  */
12
16
  list(query?: ModelListParams | null | undefined, options?: RequestOptions): APIPromise<ModelListResponse>;
13
17
  }
@@ -56,6 +60,69 @@ export interface EmbeddingConfig {
56
60
  */
57
61
  handle?: string | null;
58
62
  }
63
+ export interface EmbeddingModel {
64
+ /**
65
+ * Display name for the model shown in UI
66
+ */
67
+ display_name: string;
68
+ /**
69
+ * The dimension of the embedding
70
+ */
71
+ embedding_dim: number;
72
+ /**
73
+ * @deprecated Deprecated: Use 'provider_type' field instead. The endpoint type for
74
+ * the embedding model.
75
+ */
76
+ embedding_endpoint_type: 'openai' | 'anthropic' | 'bedrock' | 'google_ai' | 'google_vertex' | 'azure' | 'groq' | 'ollama' | 'webui' | 'webui-legacy' | 'lmstudio' | 'lmstudio-legacy' | 'llamacpp' | 'koboldcpp' | 'vllm' | 'hugging-face' | 'mistral' | 'together' | 'pinecone';
77
+ /**
78
+ * @deprecated Deprecated: Use 'name' field instead. Embedding model name.
79
+ */
80
+ embedding_model: string;
81
+ /**
82
+ * The actual model name used by the provider
83
+ */
84
+ name: string;
85
+ /**
86
+ * The name of the provider
87
+ */
88
+ provider_name: string;
89
+ /**
90
+ * The type of the provider
91
+ */
92
+ provider_type: ProviderType;
93
+ /**
94
+ * @deprecated Deprecated: The Azure deployment for the model.
95
+ */
96
+ azure_deployment?: string | null;
97
+ /**
98
+ * @deprecated Deprecated: The Azure endpoint for the model.
99
+ */
100
+ azure_endpoint?: string | null;
101
+ /**
102
+ * @deprecated Deprecated: The Azure version for the model.
103
+ */
104
+ azure_version?: string | null;
105
+ /**
106
+ * @deprecated Deprecated: The maximum batch size for processing embeddings.
107
+ */
108
+ batch_size?: number;
109
+ /**
110
+ * @deprecated Deprecated: The chunk size of the embedding.
111
+ */
112
+ embedding_chunk_size?: number | null;
113
+ /**
114
+ * @deprecated Deprecated: The endpoint for the model.
115
+ */
116
+ embedding_endpoint?: string | null;
117
+ /**
118
+ * The handle for this config, in the format provider/model-name.
119
+ */
120
+ handle?: string | null;
121
+ /**
122
+ * Type of model (llm or embedding)
123
+ */
124
+ model_type?: 'embedding';
125
+ }
59
126
  /**
60
127
  * Configuration for Language Model (LLM) connection and generation parameters.
61
128
  */
@@ -150,16 +217,120 @@ export interface LlmConfig {
150
217
  */
151
218
  verbosity?: 'low' | 'medium' | 'high' | null;
152
219
  }
220
+ export interface Model {
221
+ /**
222
+ * @deprecated Deprecated: Use 'max_context_window' field instead. The context
223
+ * window size for the model.
224
+ */
225
+ context_window: number;
226
+ /**
227
+ * The maximum context window for the model
228
+ */
229
+ max_context_window: number;
230
+ /**
231
+ * @deprecated Deprecated: Use 'name' field instead. LLM model name.
232
+ */
233
+ model: string;
234
+ /**
235
+ * @deprecated Deprecated: Use 'provider_type' field instead. The endpoint type for
236
+ * the model.
237
+ */
238
+ model_endpoint_type: 'openai' | 'anthropic' | 'google_ai' | 'google_vertex' | 'azure' | 'groq' | 'ollama' | 'webui' | 'webui-legacy' | 'lmstudio' | 'lmstudio-legacy' | 'lmstudio-chatcompletions' | 'llamacpp' | 'koboldcpp' | 'vllm' | 'hugging-face' | 'mistral' | 'together' | 'bedrock' | 'deepseek' | 'xai';
239
+ /**
240
+ * The actual model name used by the provider
241
+ */
242
+ name: string;
243
+ /**
244
+ * The type of the provider
245
+ */
246
+ provider_type: ProviderType;
247
+ /**
248
+ * @deprecated Deprecated: The framework compatibility type for the model.
249
+ */
250
+ compatibility_type?: 'gguf' | 'mlx' | null;
251
+ /**
252
+ * A human-friendly display name for the model.
253
+ */
254
+ display_name?: string | null;
255
+ /**
256
+ * @deprecated Deprecated: Whether or not the model should use extended thinking if
257
+ * it is a 'reasoning' style model.
258
+ */
259
+ enable_reasoner?: boolean;
260
+ /**
261
+ * @deprecated Deprecated: Positive values penalize new tokens based on their
262
+ * existing frequency in the text so far.
263
+ */
264
+ frequency_penalty?: number | null;
265
+ /**
266
+ * The handle for this config, in the format provider/model-name.
267
+ */
268
+ handle?: string | null;
269
+ /**
270
+ * @deprecated Deprecated: Configurable thinking budget for extended thinking.
271
+ */
272
+ max_reasoning_tokens?: number;
273
+ /**
274
+ * @deprecated Deprecated: The maximum number of tokens to generate.
275
+ */
276
+ max_tokens?: number | null;
277
+ /**
278
+ * @deprecated Deprecated: The endpoint for the model.
279
+ */
280
+ model_endpoint?: string | null;
281
+ /**
282
+ * Type of model (llm or embedding)
283
+ */
284
+ model_type?: 'llm';
285
+ /**
286
+ * @deprecated Deprecated: The wrapper for the model.
287
+ */
288
+ model_wrapper?: string | null;
289
+ /**
290
+ * @deprecated Deprecated: If set to True, enables parallel tool calling.
291
+ */
292
+ parallel_tool_calls?: boolean | null;
293
+ /**
294
+ * @deprecated Deprecated: The provider category for the model.
295
+ */
296
+ provider_category?: ProviderCategory | null;
297
+ /**
298
+ * The provider name for the model.
299
+ */
300
+ provider_name?: string | null;
301
+ /**
302
+ * @deprecated Deprecated: Puts 'inner_thoughts' as a kwarg in the function call.
303
+ */
304
+ put_inner_thoughts_in_kwargs?: boolean | null;
305
+ /**
306
+ * @deprecated Deprecated: The reasoning effort to use when generating text
307
+ * reasoning models.
308
+ */
309
+ reasoning_effort?: 'minimal' | 'low' | 'medium' | 'high' | null;
310
+ /**
311
+ * @deprecated Deprecated: The temperature to use when generating text with the
312
+ * model.
313
+ */
314
+ temperature?: number;
315
+ /**
316
+ * @deprecated Deprecated: The cost tier for the model (cloud only).
317
+ */
318
+ tier?: string | null;
319
+ /**
320
+ * @deprecated Deprecated: Soft control for how verbose model output should be.
321
+ */
322
+ verbosity?: 'low' | 'medium' | 'high' | null;
323
+ }
153
324
  export type ProviderCategory = 'base' | 'byok';
154
325
  export type ProviderType = 'anthropic' | 'azure' | 'bedrock' | 'cerebras' | 'deepseek' | 'google_ai' | 'google_vertex' | 'groq' | 'hugging-face' | 'letta' | 'lmstudio_openai' | 'mistral' | 'ollama' | 'openai' | 'together' | 'vllm' | 'xai';
155
- export type ModelListResponse = Array<LlmConfig>;
326
+ export type ModelListResponse = Array<Model>;
156
327
  export interface ModelListParams {
157
328
  provider_category?: Array<ProviderCategory> | null;
158
329
  provider_name?: string | null;
159
330
  provider_type?: ProviderType | null;
160
331
  }
161
332
  export declare namespace Models {
162
- export { type EmbeddingConfig as EmbeddingConfig, type LlmConfig as LlmConfig, type ProviderCategory as ProviderCategory, type ProviderType as ProviderType, type ModelListResponse as ModelListResponse, type ModelListParams as ModelListParams, };
333
+ export { type EmbeddingConfig as EmbeddingConfig, type EmbeddingModel as EmbeddingModel, type LlmConfig as LlmConfig, type Model as Model, type ProviderCategory as ProviderCategory, type ProviderType as ProviderType, type ModelListResponse as ModelListResponse, type ModelListParams as ModelListParams, };
163
334
  export { Embeddings as Embeddings, type EmbeddingListResponse as EmbeddingListResponse };
164
335
  }
165
336
  //# sourceMappingURL=models.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.mts","sourceRoot":"","sources":["../../src/resources/models/models.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EAAE,q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are class Models extends APIResource {
7
7
  embeddings: EmbeddingsAPI.Embeddings;
8
8
  /**
9
9
  * List available LLM models using the asynchronous implementation for improved
10
- * performance
10
+ * performance.
11
+ *
12
+ * Returns Model format which extends LLMConfig with additional metadata fields.
13
+ * Legacy LLMConfig fields are marked as deprecated but still available for
14
+ * backward compatibility.
11
15
  */
12
16
  list(query?: ModelListParams | null | undefined, options?: RequestOptions): APIPromise<ModelListResponse>;
13
17
  }
@@ -56,6 +60,69 @@ export interface EmbeddingConfig {
56
60
  */
57
61
  handle?: string | null;
58
62
  }
63
+ export interface EmbeddingModel {
64
+ /**
65
+ * Display name for the model shown in UI
66
+ */
67
+ display_name: string;
68
+ /**
69
+ * The dimension of the embedding
70
+ */
71
+ embedding_dim: number;
72
+ /**
73
+ * @deprecated Deprecated: Use 'provider_type' field instead. The endpoint type for
74
+ * the embedding model.
75
+ */
76
+ embedding_endpoint_type: 'openai' | 'anthropic' | 'bedrock' | 'google_ai' | 'google_vertex' | 'azure' | 'groq' | 'ollama' | 'webui' | 'webui-legacy' | 'lmstudio' | 'lmstudio-legacy' | 'llamacpp' | 'koboldcpp' | 'vllm' | 'hugging-face' | 'mistral' | 'together' | 'pinecone';
77
+ /**
78
+ * @deprecated Deprecated: Use 'name' field instead. Embedding model name.
79
+ */
80
+ embedding_model: string;
81
+ /**
82
+ * The actual model name used by the provider
83
+ */
84
+ name: string;
85
+ /**
86
+ * The name of the provider
87
+ */
88
+ provider_name: string;
89
+ /**
90
+ * The type of the provider
91
+ */
92
+ provider_type: ProviderType;
93
+ /**
94
+ * @deprecated Deprecated: The Azure deployment for the model.
95
+ */
96
+ azure_deployment?: string | null;
97
+ /**
98
+ * @deprecated Deprecated: The Azure endpoint for the model.
99
+ */
100
+ azure_endpoint?: string | null;
101
+ /**
102
+ * @deprecated Deprecated: The Azure version for the model.
103
+ */
104
+ azure_version?: string | null;
105
+ /**
106
+ * @deprecated Deprecated: The maximum batch size for processing embeddings.
107
+ */
108
+ batch_size?: number;
109
+ /**
110
+ * @deprecated Deprecated: The chunk size of the embedding.
111
+ */
112
+ embedding_chunk_size?: number | null;
113
+ /**
114
+ * @deprecated Deprecated: The endpoint for the model.
115
+ */
116
+ embedding_endpoint?: string | null;
117
+ /**
118
+ * The handle for this config, in the format provider/model-name.
119
+ */
120
+ handle?: string | null;
121
+ /**
122
+ * Type of model (llm or embedding)
123
+ */
124
+ model_type?: 'embedding';
125
+ }
59
126
  /**
60
127
  * Configuration for Language Model (LLM) connection and generation parameters.
61
128
  */
@@ -150,16 +217,120 @@ export interface LlmConfig {
150
217
  */
151
218
  verbosity?: 'low' | 'medium' | 'high' | null;
152
219
  }
220
+ export interface Model {
221
+ /**
222
+ * @deprecated Deprecated: Use 'max_context_window' field instead. The context
223
+ * window size for the model.
224
+ */
225
+ context_window: number;
226
+ /**
227
+ * The maximum context window for the model
228
+ */
229
+ max_context_window: number;
230
+ /**
231
+ * @deprecated Deprecated: Use 'name' field instead. LLM model name.
232
+ */
233
+ model: string;
234
+ /**
235
+ * @deprecated Deprecated: Use 'provider_type' field instead. The endpoint type for
236
+ * the model.
237
+ */
238
+ model_endpoint_type: 'openai' | 'anthropic' | 'google_ai' | 'google_vertex' | 'azure' | 'groq' | 'ollama' | 'webui' | 'webui-legacy' | 'lmstudio' | 'lmstudio-legacy' | 'lmstudio-chatcompletions' | 'llamacpp' | 'koboldcpp' | 'vllm' | 'hugging-face' | 'mistral' | 'together' | 'bedrock' | 'deepseek' | 'xai';
239
+ /**
240
+ * The actual model name used by the provider
241
+ */
242
+ name: string;
243
+ /**
244
+ * The type of the provider
245
+ */
246
+ provider_type: ProviderType;
247
+ /**
248
+ * @deprecated Deprecated: The framework compatibility type for the model.
249
+ */
250
+ compatibility_type?: 'gguf' | 'mlx' | null;
251
+ /**
252
+ * A human-friendly display name for the model.
253
+ */
254
+ display_name?: string | null;
255
+ /**
256
+ * @deprecated Deprecated: Whether or not the model should use extended thinking if
257
+ * it is a 'reasoning' style model.
258
+ */
259
+ enable_reasoner?: boolean;
260
+ /**
261
+ * @deprecated Deprecated: Positive values penalize new tokens based on their
262
+ * existing frequency in the text so far.
263
+ */
264
+ frequency_penalty?: number | null;
265
+ /**
266
+ * The handle for this config, in the format provider/model-name.
267
+ */
268
+ handle?: string | null;
269
+ /**
270
+ * @deprecated Deprecated: Configurable thinking budget for extended thinking.
271
+ */
272
+ max_reasoning_tokens?: number;
273
+ /**
274
+ * @deprecated Deprecated: The maximum number of tokens to generate.
275
+ */
276
+ max_tokens?: number | null;
277
+ /**
278
+ * @deprecated Deprecated: The endpoint for the model.
279
+ */
280
+ model_endpoint?: string | null;
281
+ /**
282
+ * Type of model (llm or embedding)
283
+ */
284
+ model_type?: 'llm';
285
+ /**
286
+ * @deprecated Deprecated: The wrapper for the model.
287
+ */
288
+ model_wrapper?: string | null;
289
+ /**
290
+ * @deprecated Deprecated: If set to True, enables parallel tool calling.
291
+ */
292
+ parallel_tool_calls?: boolean | null;
293
+ /**
294
+ * @deprecated Deprecated: The provider category for the model.
295
+ */
296
+ provider_category?: ProviderCategory | null;
297
+ /**
298
+ * The provider name for the model.
299
+ */
300
+ provider_name?: string | null;
301
+ /**
302
+ * @deprecated Deprecated: Puts 'inner_thoughts' as a kwarg in the function call.
303
+ */
304
+ put_inner_thoughts_in_kwargs?: boolean | null;
305
+ /**
306
+ * @deprecated Deprecated: The reasoning effort to use when generating text
307
+ * reasoning models.
308
+ */
309
+ reasoning_effort?: 'minimal' | 'low' | 'medium' | 'high' | null;
310
+ /**
311
+ * @deprecated Deprecated: The temperature to use when generating text with the
312
+ * model.
313
+ */
314
+ temperature?: number;
315
+ /**
316
+ * @deprecated Deprecated: The cost tier for the model (cloud only).
317
+ */
318
+ tier?: string | null;
319
+ /**
320
+ * @deprecated Deprecated: Soft control for how verbose model output should be.
321
+ */
322
+ verbosity?: 'low' | 'medium' | 'high' | null;
323
+ }
153
324
  export type ProviderCategory = 'base' | 'byok';
154
325
  export type ProviderType = 'anthropic' | 'azure' | 'bedrock' | 'cerebras' | 'deepseek' | 'google_ai' | 'google_vertex' | 'groq' | 'hugging-face' | 'letta' | 'lmstudio_openai' | 'mistral' | 'ollama' | 'openai' | 'together' | 'vllm' | 'xai';
155
- export type ModelListResponse = Array<LlmConfig>;
326
+ export type ModelListResponse = Array<Model>;
156
327
  export interface ModelListParams {
157
328
  provider_category?: Array<ProviderCategory> | null;
158
329
  provider_name?: string | null;
159
330
  provider_type?: ProviderType | null;
160
331
  }
161
332
  export declare namespace Models {
162
- export { type EmbeddingConfig as EmbeddingConfig, type LlmConfig as LlmConfig, type ProviderCategory as ProviderCategory, type ProviderType as ProviderType, type ModelListResponse as ModelListResponse, type ModelListParams as ModelListParams, };
333
+ export { type EmbeddingConfig as EmbeddingConfig, type EmbeddingModel as EmbeddingModel, type LlmConfig as LlmConfig, type Model as Model, type ProviderCategory as ProviderCategory, type ProviderType as ProviderType, type ModelListResponse as ModelListResponse, type ModelListParams as ModelListParams, };
163
334
  export { Embeddings as Embeddings, type EmbeddingListResponse as EmbeddingListResponse };
164
335
  }
165
336
  //# sourceMappingURL=models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/resources/models/models.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EAAE,qBAAqB,EAAE,UAAU,EAAE;OACrC,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;CAGjC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,uBAAuB,EACnB,QAAQ,GAC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,GACf,MAAM,GACN,cAAc,GACd,OAAO,GACP,iBAAiB,GACjB,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,MAAM,GACN,KAAK,CAAC;AAEV,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AAE7C,MAAM,WAAW,eAAe;IAC9B,iBAAiB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAEnD,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,aAAa,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;CACrC;AAID,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EAAE,UAAU,IAAI,UAAU,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAC1F"}
@@ -13,7 +13,11 @@ class Models extends resource_1.APIResource {
13
13
  }
14
14
  /**
15
15
  * List available LLM models using the asynchronous implementation for improved
16
- * performance
16
+ * performance.
17
+ *
18
+ * Returns Model format which extends LLMConfig with additional metadata fields.
19
+ * Legacy LLMConfig fields are marked as deprecated but still available for
20
+ * backward compatibility.
17
21
  */
18
22
  list(query = {}, options) {
19
23
  return this._client.get('/v1/models/', { query, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/resources/models/models.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,uEAA8C;AAC9C,gDAAiE;AAIjE,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAYpF,CAAC;IAVC;;;OAGG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;CACF;AAbD,wBAaC;AAkPD,MAAM,CAAC,UAAU,GAAG,uBAAU,CAAC"}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/resources/models/models.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,uEAA8C;AAC9C,gDAAiE;AAIjE,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgBpF,CAAC;IAdC;;;;;;;OAOG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;CACF;AAjBD,wBAiBC;AAweD,MAAM,CAAC,UAAU,GAAG,uBAAU,CAAC"}
@@ -9,7 +9,11 @@ export class Models extends APIResource {
9
9
  }
10
10
  /**
11
11
  * List available LLM models using the asynchronous implementation for improved
12
- * performance
12
+ * performance.
13
+ *
14
+ * Returns Model format which extends LLMConfig with additional metadata fields.
15
+ * Legacy LLMConfig fields are marked as deprecated but still available for
16
+ * backward compatibility.
13
17
  */
14
18
  list(query = {}, options) {
15
19
  return this._client.get('/v1/models/', { query, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"models.mjs","sourceRoot":"","sources":["../../src/resources/models/models.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EAAyB,UAAU,EAAE;AAI5C,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAYpF,CAAC;IAVC;;;OAGG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;CACF;AAkPD,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"models.mjs","sourceRoot":"","sources":["../../src/resources/models/models.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EAAyB,UAAU,EAAE;AAI5C,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgBpF,CAAC;IAdC;;;;;;;OAOG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;CACF;AAweD,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export { Messages, type MessageStreamResponse, type MessageListParams, type MessageStreamParams, } from "./messages.mjs";
2
- export { Runs, type Job, type StopReasonType, type RunListResponse, type RunListParams } from "./runs.mjs";
2
+ export { Runs, type Job, type StopReasonType, type RunListParams } from "./runs.mjs";
3
3
  export { Steps, type StepListParams } from "./steps.mjs";
4
4
  export { Usage, type UsageRetrieveResponse } from "./usage.mjs";
5
5
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/runs/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB;OACM,EAAE,IAAI,EAAE,KAAK,GAAG,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OACjF,EAAE,KAAK,EAAE,KAAK,cAAc,EAAE;OAC9B,EAAE,KAAK,EAAE,KAAK,qBAAqB,EAAE"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/runs/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB;OACM,EAAE,IAAI,EAAE,KAAK,GAAG,EAAE,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE;OAC3D,EAAE,KAAK,EAAE,KAAK,cAAc,EAAE;OAC9B,EAAE,KAAK,EAAE,KAAK,qBAAqB,EAAE"}
@@ -1,5 +1,5 @@
1
1
  export { Messages, type MessageStreamResponse, type MessageListParams, type MessageStreamParams, } from "./messages.js";
2
- export { Runs, type Job, type StopReasonType, type RunListResponse, type RunListParams } from "./runs.js";
2
+ export { Runs, type Job, type StopReasonType, type RunListParams } from "./runs.js";
3
3
  export { Steps, type StepListParams } from "./steps.js";
4
4
  export { Usage, type UsageRetrieveResponse } from "./usage.js";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/runs/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB;OACM,EAAE,IAAI,EAAE,KAAK,GAAG,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE;OACjF,EAAE,KAAK,EAAE,KAAK,cAAc,EAAE;OAC9B,EAAE,KAAK,EAAE,KAAK,qBAAqB,EAAE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/runs/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB;OACM,EAAE,IAAI,EAAE,KAAK,GAAG,EAAE,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE;OAC3D,EAAE,KAAK,EAAE,KAAK,cAAc,EAAE;OAC9B,EAAE,KAAK,EAAE,KAAK,qBAAqB,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/runs/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,kCAAuG;AAA9F,4FAAA,IAAI,OAAA;AACb,oCAAqD;AAA5C,8FAAA,KAAK,OAAA;AACd,oCAA4D;AAAnD,8FAAA,KAAK,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/runs/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,kCAAiF;AAAxE,4FAAA,IAAI,OAAA;AACb,oCAAqD;AAA5C,8FAAA,KAAK,OAAA;AACd,oCAA4D;AAAnD,8FAAA,KAAK,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/runs/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAIT;OACM,EAAE,IAAI,EAA2E;OACjF,EAAE,KAAK,EAAuB;OAC9B,EAAE,KAAK,EAA8B"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/runs/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAIT;OACM,EAAE,IAAI,EAAqD;OAC3D,EAAE,KAAK,EAAuB;OAC9B,EAAE,KAAK,EAA8B"}
@@ -1,5 +1,6 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as MessagesAPI from "../agents/messages.mjs";
3
+ import { RunsArrayPage } from "../agents/messages.mjs";
3
4
  import * as RunsMessagesAPI from "./messages.mjs";
4
5
  import { MessageListParams, MessageStreamParams, MessageStreamResponse, Messages } from "./messages.mjs";
5
6
  import * as StepsAPI from "./steps.mjs";
@@ -7,6 +8,7 @@ import { StepListParams, Steps } from "./steps.mjs";
7
8
  import * as UsageAPI from "./usage.mjs";
8
9
  import { Usage, UsageRetrieveResponse } from "./usage.mjs";
9
10
  import { APIPromise } from "../../core/api-promise.mjs";
11
+ import { type ArrayPageParams, PagePromise } from "../../core/pagination.mjs";
10
12
  import { RequestOptions } from "../../internal/request-options.mjs";
11
13
  export declare class Runs extends APIResource {
12
14
  messages: RunsMessagesAPI.Messages;
@@ -19,16 +21,11 @@ export declare class Runs extends APIResource {
19
21
  /**
20
22
  * List all runs.
21
23
  */
22
- list(query?: RunListParams | null | undefined, options?: RequestOptions): APIPromise<RunListResponse>;
24
+ list(query?: RunListParams | null | undefined, options?: RequestOptions): PagePromise<RunsArrayPage, MessagesAPI.Run>;
23
25
  }
24
26
  /**
25
27
  * Representation of offline jobs, used for tracking status of data loading tasks
26
28
  * (involving parsing and embedding files).
27
- *
28
- * Parameters: id (str): The unique identifier of the job. status (JobStatus): The
29
- * status of the job. created_at (datetime): The unix timestamp of when the job was
30
- * created. completed_at (datetime): The unix timestamp of when the job was
31
- * completed. user_id (str): The unique identifier of the user associated with the.
32
29
  */
33
30
  export interface Job {
34
31
  /**
@@ -107,17 +104,11 @@ export interface Job {
107
104
  updated_at?: string | null;
108
105
  }
109
106
  export type StopReasonType = 'end_turn' | 'error' | 'llm_api_error' | 'invalid_llm_response' | 'invalid_tool_call' | 'max_steps' | 'no_tool_call' | 'tool_rule' | 'cancelled' | 'requires_approval';
110
- export type RunListResponse = Array<MessagesAPI.Run>;
111
- export interface RunListParams {
107
+ export interface RunListParams extends ArrayPageParams {
112
108
  /**
113
109
  * Filter for active runs.
114
110
  */
115
111
  active?: boolean;
116
- /**
117
- * Run ID cursor for pagination. Returns runs that come after this run ID in the
118
- * specified sort order
119
- */
120
- after?: string | null;
121
112
  /**
122
113
  * The unique identifier of the agent associated with the run.
123
114
  */
@@ -136,24 +127,6 @@ export interface RunListParams {
136
127
  * If True, filters for runs that were created in background mode.
137
128
  */
138
129
  background?: boolean | null;
139
- /**
140
- * Run ID cursor for pagination. Returns runs that come before this run ID in the
141
- * specified sort order
142
- */
143
- before?: string | null;
144
- /**
145
- * Maximum number of runs to return
146
- */
147
- limit?: number | null;
148
- /**
149
- * Sort order for runs by creation time. 'asc' for oldest first, 'desc' for newest
150
- * first
151
- */
152
- order?: 'asc' | 'desc';
153
- /**
154
- * Field to sort by
155
- */
156
- order_by?: 'created_at';
157
130
  /**
158
131
  * Filter runs by status. Can specify multiple statuses.
159
132
  */
@@ -164,9 +137,10 @@ export interface RunListParams {
164
137
  stop_reason?: StopReasonType | null;
165
138
  }
166
139
  export declare namespace Runs {
167
- export { type Job as Job, type StopReasonType as StopReasonType, type RunListResponse as RunListResponse, type RunListParams as RunListParams, };
140
+ export { type Job as Job, type StopReasonType as StopReasonType, type RunListParams as RunListParams };
168
141
  export { Messages as Messages, type MessageStreamResponse as MessageStreamResponse, type MessageListParams as MessageListParams, type MessageStreamParams as MessageStreamParams, };
169
142
  export { Usage as Usage, type UsageRetrieveResponse as UsageRetrieveResponse };
170
143
  export { Steps as Steps, type StepListParams as StepListParams };
171
144
  }
145
+ export { type RunsArrayPage };
172
146
  //# sourceMappingURL=runs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runs.d.mts","sourceRoot":"","sources":["../../src/resources/runs/runs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf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