@llamaindex/llama-cloud-mcp 2.8.0 → 2.9.1

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 (58) hide show
  1. package/README.md +3 -3
  2. package/code-tool-worker.d.mts.map +1 -1
  3. package/code-tool-worker.d.ts.map +1 -1
  4. package/code-tool-worker.js +5 -0
  5. package/code-tool-worker.js.map +1 -1
  6. package/code-tool-worker.mjs +5 -0
  7. package/code-tool-worker.mjs.map +1 -1
  8. package/code-tool.d.mts.map +1 -1
  9. package/code-tool.d.ts.map +1 -1
  10. package/code-tool.js +2 -53
  11. package/code-tool.js.map +1 -1
  12. package/code-tool.mjs +3 -54
  13. package/code-tool.mjs.map +1 -1
  14. package/docs-search-tool.d.mts.map +1 -1
  15. package/docs-search-tool.d.ts.map +1 -1
  16. package/docs-search-tool.js +1 -41
  17. package/docs-search-tool.js.map +1 -1
  18. package/docs-search-tool.mjs +1 -41
  19. package/docs-search-tool.mjs.map +1 -1
  20. package/instructions.d.mts.map +1 -1
  21. package/instructions.d.ts.map +1 -1
  22. package/instructions.js +2 -18
  23. package/instructions.js.map +1 -1
  24. package/instructions.mjs +2 -18
  25. package/instructions.mjs.map +1 -1
  26. package/local-docs-search.d.mts.map +1 -1
  27. package/local-docs-search.d.ts.map +1 -1
  28. package/local-docs-search.js +1521 -746
  29. package/local-docs-search.js.map +1 -1
  30. package/local-docs-search.mjs +1521 -746
  31. package/local-docs-search.mjs.map +1 -1
  32. package/methods.d.mts.map +1 -1
  33. package/methods.d.ts.map +1 -1
  34. package/methods.js +220 -190
  35. package/methods.js.map +1 -1
  36. package/methods.mjs +220 -190
  37. package/methods.mjs.map +1 -1
  38. package/options.d.mts +2 -2
  39. package/options.d.mts.map +1 -1
  40. package/options.d.ts +2 -2
  41. package/options.d.ts.map +1 -1
  42. package/options.js +6 -6
  43. package/options.js.map +1 -1
  44. package/options.mjs +6 -6
  45. package/options.mjs.map +1 -1
  46. package/package.json +2 -2
  47. package/server.js +2 -2
  48. package/server.js.map +1 -1
  49. package/server.mjs +2 -2
  50. package/server.mjs.map +1 -1
  51. package/src/code-tool-worker.ts +5 -0
  52. package/src/code-tool.ts +4 -83
  53. package/src/docs-search-tool.ts +2 -61
  54. package/src/instructions.ts +2 -28
  55. package/src/local-docs-search.ts +1826 -881
  56. package/src/methods.ts +220 -190
  57. package/src/options.ts +9 -9
  58. package/src/server.ts +2 -2
package/src/methods.ts CHANGED
@@ -16,6 +16,12 @@ export const sdkMethods: SdkMethod[] = [
16
16
  httpMethod: 'post',
17
17
  httpPath: '/api/v1/beta/files',
18
18
  },
19
+ {
20
+ clientCallName: 'client.files.query',
21
+ fullyQualifiedName: 'files.query',
22
+ httpMethod: 'post',
23
+ httpPath: '/api/v1/beta/files/query',
24
+ },
19
25
  {
20
26
  clientCallName: 'client.files.list',
21
27
  fullyQualifiedName: 'files.list',
@@ -35,21 +41,39 @@ export const sdkMethods: SdkMethod[] = [
35
41
  httpPath: '/api/v1/beta/files/{file_id}/content',
36
42
  },
37
43
  {
38
- clientCallName: 'client.files.query',
39
- fullyQualifiedName: 'files.query',
44
+ clientCallName: 'client.sheets.create',
45
+ fullyQualifiedName: 'sheets.create',
40
46
  httpMethod: 'post',
41
- httpPath: '/api/v1/beta/files/query',
47
+ httpPath: '/api/v1/sheets/jobs',
42
48
  },
43
49
  {
44
- clientCallName: 'client.parsing.create',
45
- fullyQualifiedName: 'parsing.create',
46
- httpMethod: 'post',
47
- httpPath: '/api/v2/parse',
50
+ clientCallName: 'client.sheets.list',
51
+ fullyQualifiedName: 'sheets.list',
52
+ httpMethod: 'get',
53
+ httpPath: '/api/v1/sheets/jobs',
48
54
  },
49
55
  {
50
- clientCallName: 'client.parsing.list',
51
- fullyQualifiedName: 'parsing.list',
56
+ clientCallName: 'client.sheets.get',
57
+ fullyQualifiedName: 'sheets.get',
58
+ httpMethod: 'get',
59
+ httpPath: '/api/v1/sheets/jobs/{spreadsheet_job_id}',
60
+ },
61
+ {
62
+ clientCallName: 'client.sheets.getResultTable',
63
+ fullyQualifiedName: 'sheets.getResultTable',
52
64
  httpMethod: 'get',
65
+ httpPath: '/api/v1/sheets/jobs/{spreadsheet_job_id}/regions/{region_id}/result/{region_type}',
66
+ },
67
+ {
68
+ clientCallName: 'client.sheets.deleteJob',
69
+ fullyQualifiedName: 'sheets.deleteJob',
70
+ httpMethod: 'delete',
71
+ httpPath: '/api/v1/sheets/jobs/{spreadsheet_job_id}',
72
+ },
73
+ {
74
+ clientCallName: 'client.parsing.create',
75
+ fullyQualifiedName: 'parsing.create',
76
+ httpMethod: 'post',
53
77
  httpPath: '/api/v2/parse',
54
78
  },
55
79
  {
@@ -58,6 +82,12 @@ export const sdkMethods: SdkMethod[] = [
58
82
  httpMethod: 'get',
59
83
  httpPath: '/api/v2/parse/{job_id}',
60
84
  },
85
+ {
86
+ clientCallName: 'client.parsing.list',
87
+ fullyQualifiedName: 'parsing.list',
88
+ httpMethod: 'get',
89
+ httpPath: '/api/v2/parse',
90
+ },
61
91
  {
62
92
  clientCallName: 'client.extract.create',
63
93
  fullyQualifiedName: 'extract.create',
@@ -70,30 +100,30 @@ export const sdkMethods: SdkMethod[] = [
70
100
  httpMethod: 'get',
71
101
  httpPath: '/api/v2/extract',
72
102
  },
73
- {
74
- clientCallName: 'client.extract.delete',
75
- fullyQualifiedName: 'extract.delete',
76
- httpMethod: 'delete',
77
- httpPath: '/api/v2/extract/{job_id}',
78
- },
79
- {
80
- clientCallName: 'client.extract.generateSchema',
81
- fullyQualifiedName: 'extract.generateSchema',
82
- httpMethod: 'post',
83
- httpPath: '/api/v2/extract/schema/generate',
84
- },
85
103
  {
86
104
  clientCallName: 'client.extract.get',
87
105
  fullyQualifiedName: 'extract.get',
88
106
  httpMethod: 'get',
89
107
  httpPath: '/api/v2/extract/{job_id}',
90
108
  },
109
+ {
110
+ clientCallName: 'client.extract.delete',
111
+ fullyQualifiedName: 'extract.delete',
112
+ httpMethod: 'delete',
113
+ httpPath: '/api/v2/extract/{job_id}',
114
+ },
91
115
  {
92
116
  clientCallName: 'client.extract.validateSchema',
93
117
  fullyQualifiedName: 'extract.validateSchema',
94
118
  httpMethod: 'post',
95
119
  httpPath: '/api/v2/extract/schema/validation',
96
120
  },
121
+ {
122
+ clientCallName: 'client.extract.generateSchema',
123
+ fullyQualifiedName: 'extract.generateSchema',
124
+ httpMethod: 'post',
125
+ httpPath: '/api/v2/extract/schema/generate',
126
+ },
97
127
  {
98
128
  clientCallName: 'client.classifier.jobs.create',
99
129
  fullyQualifiedName: 'classifier.jobs.create',
@@ -160,6 +190,12 @@ export const sdkMethods: SdkMethod[] = [
160
190
  httpMethod: 'post',
161
191
  httpPath: '/api/v1/beta/configurations',
162
192
  },
193
+ {
194
+ clientCallName: 'client.configurations.list',
195
+ fullyQualifiedName: 'configurations.list',
196
+ httpMethod: 'get',
197
+ httpPath: '/api/v1/beta/configurations',
198
+ },
163
199
  {
164
200
  clientCallName: 'client.configurations.retrieve',
165
201
  fullyQualifiedName: 'configurations.retrieve',
@@ -172,12 +208,6 @@ export const sdkMethods: SdkMethod[] = [
172
208
  httpMethod: 'put',
173
209
  httpPath: '/api/v1/beta/configurations/{config_id}',
174
210
  },
175
- {
176
- clientCallName: 'client.configurations.list',
177
- fullyQualifiedName: 'configurations.list',
178
- httpMethod: 'get',
179
- httpPath: '/api/v1/beta/configurations',
180
- },
181
211
  {
182
212
  clientCallName: 'client.configurations.delete',
183
213
  fullyQualifiedName: 'configurations.delete',
@@ -196,24 +226,30 @@ export const sdkMethods: SdkMethod[] = [
196
226
  httpMethod: 'get',
197
227
  httpPath: '/api/v1/projects/{project_id}',
198
228
  },
229
+ {
230
+ clientCallName: 'client.dataSinks.list',
231
+ fullyQualifiedName: 'dataSinks.list',
232
+ httpMethod: 'get',
233
+ httpPath: '/api/v1/data-sinks',
234
+ },
199
235
  {
200
236
  clientCallName: 'client.dataSinks.create',
201
237
  fullyQualifiedName: 'dataSinks.create',
202
238
  httpMethod: 'post',
203
239
  httpPath: '/api/v1/data-sinks',
204
240
  },
241
+ {
242
+ clientCallName: 'client.dataSinks.get',
243
+ fullyQualifiedName: 'dataSinks.get',
244
+ httpMethod: 'get',
245
+ httpPath: '/api/v1/data-sinks/{data_sink_id}',
246
+ },
205
247
  {
206
248
  clientCallName: 'client.dataSinks.update',
207
249
  fullyQualifiedName: 'dataSinks.update',
208
250
  httpMethod: 'put',
209
251
  httpPath: '/api/v1/data-sinks/{data_sink_id}',
210
252
  },
211
- {
212
- clientCallName: 'client.dataSinks.list',
213
- fullyQualifiedName: 'dataSinks.list',
214
- httpMethod: 'get',
215
- httpPath: '/api/v1/data-sinks',
216
- },
217
253
  {
218
254
  clientCallName: 'client.dataSinks.delete',
219
255
  fullyQualifiedName: 'dataSinks.delete',
@@ -221,10 +257,10 @@ export const sdkMethods: SdkMethod[] = [
221
257
  httpPath: '/api/v1/data-sinks/{data_sink_id}',
222
258
  },
223
259
  {
224
- clientCallName: 'client.dataSinks.get',
225
- fullyQualifiedName: 'dataSinks.get',
260
+ clientCallName: 'client.dataSources.list',
261
+ fullyQualifiedName: 'dataSources.list',
226
262
  httpMethod: 'get',
227
- httpPath: '/api/v1/data-sinks/{data_sink_id}',
263
+ httpPath: '/api/v1/data-sources',
228
264
  },
229
265
  {
230
266
  clientCallName: 'client.dataSources.create',
@@ -232,18 +268,18 @@ export const sdkMethods: SdkMethod[] = [
232
268
  httpMethod: 'post',
233
269
  httpPath: '/api/v1/data-sources',
234
270
  },
271
+ {
272
+ clientCallName: 'client.dataSources.get',
273
+ fullyQualifiedName: 'dataSources.get',
274
+ httpMethod: 'get',
275
+ httpPath: '/api/v1/data-sources/{data_source_id}',
276
+ },
235
277
  {
236
278
  clientCallName: 'client.dataSources.update',
237
279
  fullyQualifiedName: 'dataSources.update',
238
280
  httpMethod: 'put',
239
281
  httpPath: '/api/v1/data-sources/{data_source_id}',
240
282
  },
241
- {
242
- clientCallName: 'client.dataSources.list',
243
- fullyQualifiedName: 'dataSources.list',
244
- httpMethod: 'get',
245
- httpPath: '/api/v1/data-sources',
246
- },
247
283
  {
248
284
  clientCallName: 'client.dataSources.delete',
249
285
  fullyQualifiedName: 'dataSources.delete',
@@ -251,10 +287,10 @@ export const sdkMethods: SdkMethod[] = [
251
287
  httpPath: '/api/v1/data-sources/{data_source_id}',
252
288
  },
253
289
  {
254
- clientCallName: 'client.dataSources.get',
255
- fullyQualifiedName: 'dataSources.get',
290
+ clientCallName: 'client.pipelines.list',
291
+ fullyQualifiedName: 'pipelines.list',
256
292
  httpMethod: 'get',
257
- httpPath: '/api/v1/data-sources/{data_source_id}',
293
+ httpPath: '/api/v1/pipelines',
258
294
  },
259
295
  {
260
296
  clientCallName: 'client.pipelines.create',
@@ -263,10 +299,10 @@ export const sdkMethods: SdkMethod[] = [
263
299
  httpPath: '/api/v1/pipelines',
264
300
  },
265
301
  {
266
- clientCallName: 'client.pipelines.retrieve',
267
- fullyQualifiedName: 'pipelines.retrieve',
268
- httpMethod: 'post',
269
- httpPath: '/api/v1/pipelines/{pipeline_id}/retrieve',
302
+ clientCallName: 'client.pipelines.get',
303
+ fullyQualifiedName: 'pipelines.get',
304
+ httpMethod: 'get',
305
+ httpPath: '/api/v1/pipelines/{pipeline_id}',
270
306
  },
271
307
  {
272
308
  clientCallName: 'client.pipelines.update',
@@ -274,24 +310,12 @@ export const sdkMethods: SdkMethod[] = [
274
310
  httpMethod: 'put',
275
311
  httpPath: '/api/v1/pipelines/{pipeline_id}',
276
312
  },
277
- {
278
- clientCallName: 'client.pipelines.list',
279
- fullyQualifiedName: 'pipelines.list',
280
- httpMethod: 'get',
281
- httpPath: '/api/v1/pipelines',
282
- },
283
313
  {
284
314
  clientCallName: 'client.pipelines.delete',
285
315
  fullyQualifiedName: 'pipelines.delete',
286
316
  httpMethod: 'delete',
287
317
  httpPath: '/api/v1/pipelines/{pipeline_id}',
288
318
  },
289
- {
290
- clientCallName: 'client.pipelines.get',
291
- fullyQualifiedName: 'pipelines.get',
292
- httpMethod: 'get',
293
- httpPath: '/api/v1/pipelines/{pipeline_id}',
294
- },
295
319
  {
296
320
  clientCallName: 'client.pipelines.getStatus',
297
321
  fullyQualifiedName: 'pipelines.getStatus',
@@ -304,6 +328,12 @@ export const sdkMethods: SdkMethod[] = [
304
328
  httpMethod: 'put',
305
329
  httpPath: '/api/v1/pipelines',
306
330
  },
331
+ {
332
+ clientCallName: 'client.pipelines.retrieve',
333
+ fullyQualifiedName: 'pipelines.retrieve',
334
+ httpMethod: 'post',
335
+ httpPath: '/api/v1/pipelines/{pipeline_id}/retrieve',
336
+ },
307
337
  {
308
338
  clientCallName: 'client.pipelines.sync.create',
309
339
  fullyQualifiedName: 'pipelines.sync.create',
@@ -316,18 +346,24 @@ export const sdkMethods: SdkMethod[] = [
316
346
  httpMethod: 'post',
317
347
  httpPath: '/api/v1/pipelines/{pipeline_id}/sync/cancel',
318
348
  },
319
- {
320
- clientCallName: 'client.pipelines.dataSources.update',
321
- fullyQualifiedName: 'pipelines.dataSources.update',
322
- httpMethod: 'put',
323
- httpPath: '/api/v1/pipelines/{pipeline_id}/data-sources/{data_source_id}',
324
- },
325
349
  {
326
350
  clientCallName: 'client.pipelines.dataSources.getDataSources',
327
351
  fullyQualifiedName: 'pipelines.dataSources.getDataSources',
328
352
  httpMethod: 'get',
329
353
  httpPath: '/api/v1/pipelines/{pipeline_id}/data-sources',
330
354
  },
355
+ {
356
+ clientCallName: 'client.pipelines.dataSources.updateDataSources',
357
+ fullyQualifiedName: 'pipelines.dataSources.updateDataSources',
358
+ httpMethod: 'put',
359
+ httpPath: '/api/v1/pipelines/{pipeline_id}/data-sources',
360
+ },
361
+ {
362
+ clientCallName: 'client.pipelines.dataSources.update',
363
+ fullyQualifiedName: 'pipelines.dataSources.update',
364
+ httpMethod: 'put',
365
+ httpPath: '/api/v1/pipelines/{pipeline_id}/data-sources/{data_source_id}',
366
+ },
331
367
  {
332
368
  clientCallName: 'client.pipelines.dataSources.getStatus',
333
369
  fullyQualifiedName: 'pipelines.dataSources.getStatus',
@@ -341,16 +377,10 @@ export const sdkMethods: SdkMethod[] = [
341
377
  httpPath: '/api/v1/pipelines/{pipeline_id}/data-sources/{data_source_id}/sync',
342
378
  },
343
379
  {
344
- clientCallName: 'client.pipelines.dataSources.updateDataSources',
345
- fullyQualifiedName: 'pipelines.dataSources.updateDataSources',
346
- httpMethod: 'put',
347
- httpPath: '/api/v1/pipelines/{pipeline_id}/data-sources',
348
- },
349
- {
350
- clientCallName: 'client.pipelines.images.getPageFigure',
351
- fullyQualifiedName: 'pipelines.images.getPageFigure',
380
+ clientCallName: 'client.pipelines.images.listPageScreenshots',
381
+ fullyQualifiedName: 'pipelines.images.listPageScreenshots',
352
382
  httpMethod: 'get',
353
- httpPath: '/api/v1/files/{id}/page-figures/{page_index}/{figure_name}',
383
+ httpPath: '/api/v1/files/{id}/page_screenshots',
354
384
  },
355
385
  {
356
386
  clientCallName: 'client.pipelines.images.getPageScreenshot',
@@ -358,6 +388,12 @@ export const sdkMethods: SdkMethod[] = [
358
388
  httpMethod: 'get',
359
389
  httpPath: '/api/v1/files/{id}/page_screenshots/{page_index}',
360
390
  },
391
+ {
392
+ clientCallName: 'client.pipelines.images.getPageFigure',
393
+ fullyQualifiedName: 'pipelines.images.getPageFigure',
394
+ httpMethod: 'get',
395
+ httpPath: '/api/v1/files/{id}/page-figures/{page_index}/{figure_name}',
396
+ },
361
397
  {
362
398
  clientCallName: 'client.pipelines.images.listPageFigures',
363
399
  fullyQualifiedName: 'pipelines.images.listPageFigures',
@@ -365,10 +401,16 @@ export const sdkMethods: SdkMethod[] = [
365
401
  httpPath: '/api/v1/files/{id}/page-figures',
366
402
  },
367
403
  {
368
- clientCallName: 'client.pipelines.images.listPageScreenshots',
369
- fullyQualifiedName: 'pipelines.images.listPageScreenshots',
404
+ clientCallName: 'client.pipelines.files.getStatusCounts',
405
+ fullyQualifiedName: 'pipelines.files.getStatusCounts',
370
406
  httpMethod: 'get',
371
- httpPath: '/api/v1/files/{id}/page_screenshots',
407
+ httpPath: '/api/v1/pipelines/{pipeline_id}/files/status-counts',
408
+ },
409
+ {
410
+ clientCallName: 'client.pipelines.files.getStatus',
411
+ fullyQualifiedName: 'pipelines.files.getStatus',
412
+ httpMethod: 'get',
413
+ httpPath: '/api/v1/pipelines/{pipeline_id}/files/{file_id}/status',
372
414
  },
373
415
  {
374
416
  clientCallName: 'client.pipelines.files.create',
@@ -382,12 +424,6 @@ export const sdkMethods: SdkMethod[] = [
382
424
  httpMethod: 'put',
383
425
  httpPath: '/api/v1/pipelines/{pipeline_id}/files/{file_id}',
384
426
  },
385
- {
386
- clientCallName: 'client.pipelines.files.list',
387
- fullyQualifiedName: 'pipelines.files.list',
388
- httpMethod: 'get',
389
- httpPath: '/api/v1/pipelines/{pipeline_id}/files2',
390
- },
391
427
  {
392
428
  clientCallName: 'client.pipelines.files.delete',
393
429
  fullyQualifiedName: 'pipelines.files.delete',
@@ -395,16 +431,10 @@ export const sdkMethods: SdkMethod[] = [
395
431
  httpPath: '/api/v1/pipelines/{pipeline_id}/files/{file_id}',
396
432
  },
397
433
  {
398
- clientCallName: 'client.pipelines.files.getStatus',
399
- fullyQualifiedName: 'pipelines.files.getStatus',
400
- httpMethod: 'get',
401
- httpPath: '/api/v1/pipelines/{pipeline_id}/files/{file_id}/status',
402
- },
403
- {
404
- clientCallName: 'client.pipelines.files.getStatusCounts',
405
- fullyQualifiedName: 'pipelines.files.getStatusCounts',
434
+ clientCallName: 'client.pipelines.files.list',
435
+ fullyQualifiedName: 'pipelines.files.list',
406
436
  httpMethod: 'get',
407
- httpPath: '/api/v1/pipelines/{pipeline_id}/files/status-counts',
437
+ httpPath: '/api/v1/pipelines/{pipeline_id}/files2',
408
438
  },
409
439
  {
410
440
  clientCallName: 'client.pipelines.metadata.create',
@@ -430,12 +460,6 @@ export const sdkMethods: SdkMethod[] = [
430
460
  httpMethod: 'get',
431
461
  httpPath: '/api/v1/pipelines/{pipeline_id}/documents/paginated',
432
462
  },
433
- {
434
- clientCallName: 'client.pipelines.documents.delete',
435
- fullyQualifiedName: 'pipelines.documents.delete',
436
- httpMethod: 'delete',
437
- httpPath: '/api/v1/pipelines/{pipeline_id}/documents/{document_id}',
438
- },
439
463
  {
440
464
  clientCallName: 'client.pipelines.documents.get',
441
465
  fullyQualifiedName: 'pipelines.documents.get',
@@ -443,10 +467,10 @@ export const sdkMethods: SdkMethod[] = [
443
467
  httpPath: '/api/v1/pipelines/{pipeline_id}/documents/{document_id}',
444
468
  },
445
469
  {
446
- clientCallName: 'client.pipelines.documents.getChunks',
447
- fullyQualifiedName: 'pipelines.documents.getChunks',
448
- httpMethod: 'get',
449
- httpPath: '/api/v1/pipelines/{pipeline_id}/documents/{document_id}/chunks',
470
+ clientCallName: 'client.pipelines.documents.delete',
471
+ fullyQualifiedName: 'pipelines.documents.delete',
472
+ httpMethod: 'delete',
473
+ httpPath: '/api/v1/pipelines/{pipeline_id}/documents/{document_id}',
450
474
  },
451
475
  {
452
476
  clientCallName: 'client.pipelines.documents.getStatus',
@@ -460,6 +484,12 @@ export const sdkMethods: SdkMethod[] = [
460
484
  httpMethod: 'post',
461
485
  httpPath: '/api/v1/pipelines/{pipeline_id}/documents/{document_id}/sync',
462
486
  },
487
+ {
488
+ clientCallName: 'client.pipelines.documents.getChunks',
489
+ fullyQualifiedName: 'pipelines.documents.getChunks',
490
+ httpMethod: 'get',
491
+ httpPath: '/api/v1/pipelines/{pipeline_id}/documents/{document_id}/chunks',
492
+ },
463
493
  {
464
494
  clientCallName: 'client.pipelines.documents.upsert',
465
495
  fullyQualifiedName: 'pipelines.documents.upsert',
@@ -473,10 +503,10 @@ export const sdkMethods: SdkMethod[] = [
473
503
  httpPath: '/api/v1/retrievers',
474
504
  },
475
505
  {
476
- clientCallName: 'client.retrievers.update',
477
- fullyQualifiedName: 'retrievers.update',
506
+ clientCallName: 'client.retrievers.upsert',
507
+ fullyQualifiedName: 'retrievers.upsert',
478
508
  httpMethod: 'put',
479
- httpPath: '/api/v1/retrievers/{retriever_id}',
509
+ httpPath: '/api/v1/retrievers',
480
510
  },
481
511
  {
482
512
  clientCallName: 'client.retrievers.list',
@@ -484,30 +514,30 @@ export const sdkMethods: SdkMethod[] = [
484
514
  httpMethod: 'get',
485
515
  httpPath: '/api/v1/retrievers',
486
516
  },
487
- {
488
- clientCallName: 'client.retrievers.delete',
489
- fullyQualifiedName: 'retrievers.delete',
490
- httpMethod: 'delete',
491
- httpPath: '/api/v1/retrievers/{retriever_id}',
492
- },
493
517
  {
494
518
  clientCallName: 'client.retrievers.get',
495
519
  fullyQualifiedName: 'retrievers.get',
496
520
  httpMethod: 'get',
497
521
  httpPath: '/api/v1/retrievers/{retriever_id}',
498
522
  },
523
+ {
524
+ clientCallName: 'client.retrievers.update',
525
+ fullyQualifiedName: 'retrievers.update',
526
+ httpMethod: 'put',
527
+ httpPath: '/api/v1/retrievers/{retriever_id}',
528
+ },
529
+ {
530
+ clientCallName: 'client.retrievers.delete',
531
+ fullyQualifiedName: 'retrievers.delete',
532
+ httpMethod: 'delete',
533
+ httpPath: '/api/v1/retrievers/{retriever_id}',
534
+ },
499
535
  {
500
536
  clientCallName: 'client.retrievers.search',
501
537
  fullyQualifiedName: 'retrievers.search',
502
538
  httpMethod: 'post',
503
539
  httpPath: '/api/v1/retrievers/retrieve',
504
540
  },
505
- {
506
- clientCallName: 'client.retrievers.upsert',
507
- fullyQualifiedName: 'retrievers.upsert',
508
- httpMethod: 'put',
509
- httpPath: '/api/v1/retrievers',
510
- },
511
541
  {
512
542
  clientCallName: 'client.retrievers.retriever.search',
513
543
  fullyQualifiedName: 'retrievers.retriever.search',
@@ -515,16 +545,10 @@ export const sdkMethods: SdkMethod[] = [
515
545
  httpPath: '/api/v1/retrievers/{retriever_id}/retrieve',
516
546
  },
517
547
  {
518
- clientCallName: 'client.beta.indexes.create',
519
- fullyQualifiedName: 'beta.indexes.create',
520
- httpMethod: 'post',
521
- httpPath: '/api/v1/indexes',
522
- },
523
- {
524
- clientCallName: 'client.beta.indexes.list',
525
- fullyQualifiedName: 'beta.indexes.list',
548
+ clientCallName: 'client.beta.indexes.get',
549
+ fullyQualifiedName: 'beta.indexes.get',
526
550
  httpMethod: 'get',
527
- httpPath: '/api/v1/indexes',
551
+ httpPath: '/api/v1/indexes/{index_id}',
528
552
  },
529
553
  {
530
554
  clientCallName: 'client.beta.indexes.delete',
@@ -533,10 +557,10 @@ export const sdkMethods: SdkMethod[] = [
533
557
  httpPath: '/api/v1/indexes/{index_id}',
534
558
  },
535
559
  {
536
- clientCallName: 'client.beta.indexes.get',
537
- fullyQualifiedName: 'beta.indexes.get',
538
- httpMethod: 'get',
539
- httpPath: '/api/v1/indexes/{index_id}',
560
+ clientCallName: 'client.beta.indexes.create',
561
+ fullyQualifiedName: 'beta.indexes.create',
562
+ httpMethod: 'post',
563
+ httpPath: '/api/v1/indexes',
540
564
  },
541
565
  {
542
566
  clientCallName: 'client.beta.indexes.sync',
@@ -544,6 +568,12 @@ export const sdkMethods: SdkMethod[] = [
544
568
  httpMethod: 'post',
545
569
  httpPath: '/api/v1/indexes/{index_id}/sync',
546
570
  },
571
+ {
572
+ clientCallName: 'client.beta.indexes.list',
573
+ fullyQualifiedName: 'beta.indexes.list',
574
+ httpMethod: 'get',
575
+ httpPath: '/api/v1/indexes',
576
+ },
547
577
  {
548
578
  clientCallName: 'client.beta.retrieval.retrieve',
549
579
  fullyQualifiedName: 'beta.retrieval.retrieve',
@@ -568,6 +598,12 @@ export const sdkMethods: SdkMethod[] = [
568
598
  httpMethod: 'post',
569
599
  httpPath: '/api/v1/retrieval/files/read',
570
600
  },
601
+ {
602
+ clientCallName: 'client.beta.chat.list',
603
+ fullyQualifiedName: 'beta.chat.list',
604
+ httpMethod: 'get',
605
+ httpPath: '/api/v1/chat',
606
+ },
571
607
  {
572
608
  clientCallName: 'client.beta.chat.create',
573
609
  fullyQualifiedName: 'beta.chat.create',
@@ -580,12 +616,6 @@ export const sdkMethods: SdkMethod[] = [
580
616
  httpMethod: 'get',
581
617
  httpPath: '/api/v1/chat/{session_id}',
582
618
  },
583
- {
584
- clientCallName: 'client.beta.chat.list',
585
- fullyQualifiedName: 'beta.chat.list',
586
- httpMethod: 'get',
587
- httpPath: '/api/v1/chat',
588
- },
589
619
  {
590
620
  clientCallName: 'client.beta.chat.delete',
591
621
  fullyQualifiedName: 'beta.chat.delete',
@@ -605,10 +635,10 @@ export const sdkMethods: SdkMethod[] = [
605
635
  httpPath: '/api/v1/chat/{session_id}/messages/stream',
606
636
  },
607
637
  {
608
- clientCallName: 'client.beta.agentData.create',
609
- fullyQualifiedName: 'beta.agentData.create',
610
- httpMethod: 'post',
611
- httpPath: '/api/v1/beta/agent-data',
638
+ clientCallName: 'client.beta.agentData.get',
639
+ fullyQualifiedName: 'beta.agentData.get',
640
+ httpMethod: 'get',
641
+ httpPath: '/api/v1/beta/agent-data/{item_id}',
612
642
  },
613
643
  {
614
644
  clientCallName: 'client.beta.agentData.update',
@@ -622,6 +652,18 @@ export const sdkMethods: SdkMethod[] = [
622
652
  httpMethod: 'delete',
623
653
  httpPath: '/api/v1/beta/agent-data/{item_id}',
624
654
  },
655
+ {
656
+ clientCallName: 'client.beta.agentData.create',
657
+ fullyQualifiedName: 'beta.agentData.create',
658
+ httpMethod: 'post',
659
+ httpPath: '/api/v1/beta/agent-data',
660
+ },
661
+ {
662
+ clientCallName: 'client.beta.agentData.search',
663
+ fullyQualifiedName: 'beta.agentData.search',
664
+ httpMethod: 'post',
665
+ httpPath: '/api/v1/beta/agent-data/:search',
666
+ },
625
667
  {
626
668
  clientCallName: 'client.beta.agentData.aggregate',
627
669
  fullyQualifiedName: 'beta.agentData.aggregate',
@@ -634,18 +676,6 @@ export const sdkMethods: SdkMethod[] = [
634
676
  httpMethod: 'post',
635
677
  httpPath: '/api/v1/beta/agent-data/:delete',
636
678
  },
637
- {
638
- clientCallName: 'client.beta.agentData.get',
639
- fullyQualifiedName: 'beta.agentData.get',
640
- httpMethod: 'get',
641
- httpPath: '/api/v1/beta/agent-data/{item_id}',
642
- },
643
- {
644
- clientCallName: 'client.beta.agentData.search',
645
- fullyQualifiedName: 'beta.agentData.search',
646
- httpMethod: 'post',
647
- httpPath: '/api/v1/beta/agent-data/:search',
648
- },
649
679
  {
650
680
  clientCallName: 'client.beta.sheets.create',
651
681
  fullyQualifiedName: 'beta.sheets.create',
@@ -658,12 +688,6 @@ export const sdkMethods: SdkMethod[] = [
658
688
  httpMethod: 'get',
659
689
  httpPath: '/api/v1/beta/sheets/jobs',
660
690
  },
661
- {
662
- clientCallName: 'client.beta.sheets.deleteJob',
663
- fullyQualifiedName: 'beta.sheets.deleteJob',
664
- httpMethod: 'delete',
665
- httpPath: '/api/v1/beta/sheets/jobs/{spreadsheet_job_id}',
666
- },
667
691
  {
668
692
  clientCallName: 'client.beta.sheets.get',
669
693
  fullyQualifiedName: 'beta.sheets.get',
@@ -676,30 +700,24 @@ export const sdkMethods: SdkMethod[] = [
676
700
  httpMethod: 'get',
677
701
  httpPath: '/api/v1/beta/sheets/jobs/{spreadsheet_job_id}/regions/{region_id}/result/{region_type}',
678
702
  },
703
+ {
704
+ clientCallName: 'client.beta.sheets.deleteJob',
705
+ fullyQualifiedName: 'beta.sheets.deleteJob',
706
+ httpMethod: 'delete',
707
+ httpPath: '/api/v1/beta/sheets/jobs/{spreadsheet_job_id}',
708
+ },
679
709
  {
680
710
  clientCallName: 'client.beta.directories.create',
681
711
  fullyQualifiedName: 'beta.directories.create',
682
712
  httpMethod: 'post',
683
713
  httpPath: '/api/v1/beta/directories',
684
714
  },
685
- {
686
- clientCallName: 'client.beta.directories.update',
687
- fullyQualifiedName: 'beta.directories.update',
688
- httpMethod: 'patch',
689
- httpPath: '/api/v1/beta/directories/{directory_id}',
690
- },
691
715
  {
692
716
  clientCallName: 'client.beta.directories.list',
693
717
  fullyQualifiedName: 'beta.directories.list',
694
718
  httpMethod: 'get',
695
719
  httpPath: '/api/v1/beta/directories',
696
720
  },
697
- {
698
- clientCallName: 'client.beta.directories.delete',
699
- fullyQualifiedName: 'beta.directories.delete',
700
- httpMethod: 'delete',
701
- httpPath: '/api/v1/beta/directories/{directory_id}',
702
- },
703
721
  {
704
722
  clientCallName: 'client.beta.directories.get',
705
723
  fullyQualifiedName: 'beta.directories.get',
@@ -707,22 +725,16 @@ export const sdkMethods: SdkMethod[] = [
707
725
  httpPath: '/api/v1/beta/directories/{directory_id}',
708
726
  },
709
727
  {
710
- clientCallName: 'client.beta.directories.files.update',
711
- fullyQualifiedName: 'beta.directories.files.update',
728
+ clientCallName: 'client.beta.directories.update',
729
+ fullyQualifiedName: 'beta.directories.update',
712
730
  httpMethod: 'patch',
713
- httpPath: '/api/v1/beta/directories/{directory_id}/files/{directory_file_id}',
714
- },
715
- {
716
- clientCallName: 'client.beta.directories.files.list',
717
- fullyQualifiedName: 'beta.directories.files.list',
718
- httpMethod: 'get',
719
- httpPath: '/api/v1/beta/directories/{directory_id}/files',
731
+ httpPath: '/api/v1/beta/directories/{directory_id}',
720
732
  },
721
733
  {
722
- clientCallName: 'client.beta.directories.files.delete',
723
- fullyQualifiedName: 'beta.directories.files.delete',
734
+ clientCallName: 'client.beta.directories.delete',
735
+ fullyQualifiedName: 'beta.directories.delete',
724
736
  httpMethod: 'delete',
725
- httpPath: '/api/v1/beta/directories/{directory_id}/files/{directory_file_id}',
737
+ httpPath: '/api/v1/beta/directories/{directory_id}',
726
738
  },
727
739
  {
728
740
  clientCallName: 'client.beta.directories.files.add',
@@ -730,12 +742,30 @@ export const sdkMethods: SdkMethod[] = [
730
742
  httpMethod: 'post',
731
743
  httpPath: '/api/v1/beta/directories/{directory_id}/files',
732
744
  },
745
+ {
746
+ clientCallName: 'client.beta.directories.files.list',
747
+ fullyQualifiedName: 'beta.directories.files.list',
748
+ httpMethod: 'get',
749
+ httpPath: '/api/v1/beta/directories/{directory_id}/files',
750
+ },
733
751
  {
734
752
  clientCallName: 'client.beta.directories.files.get',
735
753
  fullyQualifiedName: 'beta.directories.files.get',
736
754
  httpMethod: 'get',
737
755
  httpPath: '/api/v1/beta/directories/{directory_id}/files/{directory_file_id}',
738
756
  },
757
+ {
758
+ clientCallName: 'client.beta.directories.files.update',
759
+ fullyQualifiedName: 'beta.directories.files.update',
760
+ httpMethod: 'patch',
761
+ httpPath: '/api/v1/beta/directories/{directory_id}/files/{directory_file_id}',
762
+ },
763
+ {
764
+ clientCallName: 'client.beta.directories.files.delete',
765
+ fullyQualifiedName: 'beta.directories.files.delete',
766
+ httpMethod: 'delete',
767
+ httpPath: '/api/v1/beta/directories/{directory_id}/files/{directory_file_id}',
768
+ },
739
769
  {
740
770
  clientCallName: 'client.beta.directories.files.upload',
741
771
  fullyQualifiedName: 'beta.directories.files.upload',
@@ -754,18 +784,18 @@ export const sdkMethods: SdkMethod[] = [
754
784
  httpMethod: 'get',
755
785
  httpPath: '/api/v1/beta/batch-processing',
756
786
  },
757
- {
758
- clientCallName: 'client.beta.batch.cancel',
759
- fullyQualifiedName: 'beta.batch.cancel',
760
- httpMethod: 'post',
761
- httpPath: '/api/v1/beta/batch-processing/{job_id}/cancel',
762
- },
763
787
  {
764
788
  clientCallName: 'client.beta.batch.getStatus',
765
789
  fullyQualifiedName: 'beta.batch.getStatus',
766
790
  httpMethod: 'get',
767
791
  httpPath: '/api/v1/beta/batch-processing/{job_id}',
768
792
  },
793
+ {
794
+ clientCallName: 'client.beta.batch.cancel',
795
+ fullyQualifiedName: 'beta.batch.cancel',
796
+ httpMethod: 'post',
797
+ httpPath: '/api/v1/beta/batch-processing/{job_id}/cancel',
798
+ },
769
799
  {
770
800
  clientCallName: 'client.beta.batch.jobItems.list',
771
801
  fullyQualifiedName: 'beta.batch.jobItems.list',