@relevanceai/sdk 1.67.0 → 1.69.0
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.
|
@@ -7,135 +7,592 @@ interface definitions {
|
|
|
7
7
|
*/
|
|
8
8
|
export interface paths {
|
|
9
9
|
"/deployables/create": {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Create a private deployable.
|
|
12
|
+
*
|
|
13
|
+
* ### Required permissions
|
|
14
|
+
* > [
|
|
15
|
+
* {
|
|
16
|
+
* "actions": [
|
|
17
|
+
* "deployables:write",
|
|
18
|
+
* "datasets:read"
|
|
19
|
+
* ],
|
|
20
|
+
* "datasets": [
|
|
21
|
+
* {
|
|
22
|
+
* "body": "dataset_id"
|
|
23
|
+
* }
|
|
24
|
+
* ]
|
|
25
|
+
* }
|
|
26
|
+
* ]
|
|
27
|
+
*/
|
|
11
28
|
post: operations["CreateDeployable"];
|
|
12
29
|
};
|
|
13
30
|
"/deployables/{deployable_id}/get": {
|
|
14
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Get a deployable.
|
|
33
|
+
*
|
|
34
|
+
* ### Required permissions
|
|
35
|
+
* > [
|
|
36
|
+
* {
|
|
37
|
+
* "actions": [
|
|
38
|
+
* "deployables:read"
|
|
39
|
+
* ],
|
|
40
|
+
* "deployables": [
|
|
41
|
+
* {
|
|
42
|
+
* "params": "deployable_id"
|
|
43
|
+
* }
|
|
44
|
+
* ]
|
|
45
|
+
* }
|
|
46
|
+
* ]
|
|
47
|
+
*/
|
|
15
48
|
get: operations["GetDeployable"];
|
|
16
49
|
};
|
|
17
50
|
"/deployables/{deployable_id}/update": {
|
|
18
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Update a deployable
|
|
53
|
+
*
|
|
54
|
+
* ### Required permissions
|
|
55
|
+
* > [
|
|
56
|
+
* {
|
|
57
|
+
* "actions": [
|
|
58
|
+
* "deployables:write"
|
|
59
|
+
* ],
|
|
60
|
+
* "deployables": [
|
|
61
|
+
* {
|
|
62
|
+
* "params": "deployable_id"
|
|
63
|
+
* }
|
|
64
|
+
* ]
|
|
65
|
+
* },
|
|
66
|
+
* {
|
|
67
|
+
* "actions": [
|
|
68
|
+
* "datasets:read"
|
|
69
|
+
* ],
|
|
70
|
+
* "datasets": [
|
|
71
|
+
* {
|
|
72
|
+
* "body": "dataset_id"
|
|
73
|
+
* }
|
|
74
|
+
* ]
|
|
75
|
+
* }
|
|
76
|
+
* ]
|
|
77
|
+
*/
|
|
19
78
|
post: operations["UpdateDeployable"];
|
|
20
79
|
};
|
|
21
80
|
"/deployables/delete": {
|
|
81
|
+
/**
|
|
82
|
+
* ### Required permissions
|
|
83
|
+
* > [
|
|
84
|
+
* {
|
|
85
|
+
* "actions": [
|
|
86
|
+
* "deployables:write"
|
|
87
|
+
* ],
|
|
88
|
+
* "deployables": [
|
|
89
|
+
* {
|
|
90
|
+
* "body": "id"
|
|
91
|
+
* }
|
|
92
|
+
* ]
|
|
93
|
+
* }
|
|
94
|
+
* ]
|
|
95
|
+
*/
|
|
22
96
|
post: operations["DeleteDeployable"];
|
|
23
97
|
};
|
|
24
98
|
"/deployables/{deployable_id}/share": {
|
|
25
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* Share a private deployable.
|
|
101
|
+
*
|
|
102
|
+
* ### Required permissions
|
|
103
|
+
* > [
|
|
104
|
+
* {
|
|
105
|
+
* "actions": [
|
|
106
|
+
* "sharing:write",
|
|
107
|
+
* "deployables:read"
|
|
108
|
+
* ],
|
|
109
|
+
* "deployables": [
|
|
110
|
+
* {
|
|
111
|
+
* "params": "deployable_id"
|
|
112
|
+
* }
|
|
113
|
+
* ]
|
|
114
|
+
* }
|
|
115
|
+
* ]
|
|
116
|
+
*/
|
|
26
117
|
post: operations["CreateDeployableKey"];
|
|
27
118
|
};
|
|
28
119
|
"/deployables/{deployable_id}/invite": {
|
|
120
|
+
/**
|
|
121
|
+
* ### Required permissions
|
|
122
|
+
* > [
|
|
123
|
+
* {
|
|
124
|
+
* "actions": [
|
|
125
|
+
* "users:write",
|
|
126
|
+
* "deployables:read"
|
|
127
|
+
* ],
|
|
128
|
+
* "deployables": [
|
|
129
|
+
* {
|
|
130
|
+
* "params": "deployable_id"
|
|
131
|
+
* }
|
|
132
|
+
* ]
|
|
133
|
+
* }
|
|
134
|
+
* ]
|
|
135
|
+
*/
|
|
29
136
|
post: operations["CreateDeployableInvite"];
|
|
30
137
|
};
|
|
31
138
|
"/deployables/{deployable_id}/users/{user_id}/update": {
|
|
139
|
+
/**
|
|
140
|
+
* ### Required permissions
|
|
141
|
+
* > [
|
|
142
|
+
* {
|
|
143
|
+
* "actions": [
|
|
144
|
+
* "users:write",
|
|
145
|
+
* "deployables:read"
|
|
146
|
+
* ],
|
|
147
|
+
* "deployables": [
|
|
148
|
+
* {
|
|
149
|
+
* "params": "deployable_id"
|
|
150
|
+
* }
|
|
151
|
+
* ]
|
|
152
|
+
* }
|
|
153
|
+
* ]
|
|
154
|
+
*/
|
|
32
155
|
post: operations["UpdateUsersDeployablePermissions"];
|
|
33
156
|
};
|
|
34
157
|
"/deployables/{deployable_id}/private": {
|
|
35
|
-
/**
|
|
158
|
+
/**
|
|
159
|
+
* Unshare a shared deployable, making it private.
|
|
160
|
+
*
|
|
161
|
+
* ### Required permissions
|
|
162
|
+
* > [
|
|
163
|
+
* {
|
|
164
|
+
* "actions": [
|
|
165
|
+
* "sharing:write",
|
|
166
|
+
* "deployables:read"
|
|
167
|
+
* ],
|
|
168
|
+
* "deployables": [
|
|
169
|
+
* {
|
|
170
|
+
* "params": "deployable_id"
|
|
171
|
+
* }
|
|
172
|
+
* ]
|
|
173
|
+
* }
|
|
174
|
+
* ]
|
|
175
|
+
*/
|
|
36
176
|
post: operations["DeleteDeployableKey"];
|
|
37
177
|
};
|
|
38
178
|
"/deployables/list": {
|
|
39
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* List all deployables.
|
|
181
|
+
*
|
|
182
|
+
* ### Required permissions
|
|
183
|
+
* > [
|
|
184
|
+
* {
|
|
185
|
+
* "actions": []
|
|
186
|
+
* }
|
|
187
|
+
* ]
|
|
188
|
+
*/
|
|
40
189
|
get: operations["ListDeployables"];
|
|
41
190
|
};
|
|
42
191
|
"/deployablegroups/{deployablegroup_id}/delete": {
|
|
192
|
+
/**
|
|
193
|
+
* ### Required permissions
|
|
194
|
+
* > []
|
|
195
|
+
*/
|
|
43
196
|
post: operations["DeleteDeployableGroup"];
|
|
44
197
|
};
|
|
45
198
|
"/deployablegroups/list": {
|
|
199
|
+
/**
|
|
200
|
+
* ### Required permissions
|
|
201
|
+
* > []
|
|
202
|
+
*/
|
|
46
203
|
post: operations["ListDeployableGroups"];
|
|
47
204
|
};
|
|
48
|
-
"/deployablegroups/{deployablegroup_id}/update": {
|
|
49
|
-
post: operations["UpdateDeployableGroup"];
|
|
50
|
-
};
|
|
51
205
|
"/deployablegroups/create": {
|
|
206
|
+
/**
|
|
207
|
+
* ### Required permissions
|
|
208
|
+
* > []
|
|
209
|
+
*/
|
|
52
210
|
post: operations["CreateDeployableGroup"];
|
|
53
211
|
};
|
|
54
212
|
"/deployablegroups/{deployablegroup_id}/get": {
|
|
213
|
+
/**
|
|
214
|
+
* ### Required permissions
|
|
215
|
+
* > []
|
|
216
|
+
*/
|
|
55
217
|
get: operations["GetDeployableGroup"];
|
|
56
218
|
};
|
|
219
|
+
"/deployablegroups/{deployablegroup_id}/update": {
|
|
220
|
+
/**
|
|
221
|
+
* ### Required permissions
|
|
222
|
+
* > []
|
|
223
|
+
*/
|
|
224
|
+
post: operations["UpdateDeployableGroup"];
|
|
225
|
+
};
|
|
57
226
|
"/deployablegroups/{deployablegroup_id}/share": {
|
|
58
|
-
/**
|
|
227
|
+
/**
|
|
228
|
+
* Share a private deployable group. Required read access to all deployables that are shared, and the datasets deployables are tied to.
|
|
229
|
+
*
|
|
230
|
+
* ### Required permissions
|
|
231
|
+
* > [
|
|
232
|
+
* {
|
|
233
|
+
* "actions": [
|
|
234
|
+
* "sharing:write"
|
|
235
|
+
* ]
|
|
236
|
+
* }
|
|
237
|
+
* ]
|
|
238
|
+
*/
|
|
59
239
|
post: operations["CreateDeployableGroupKey"];
|
|
60
240
|
};
|
|
61
241
|
"/deployablegroups/{deployablegroup_id}/private": {
|
|
62
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* Unshare a shared deployable group, making it private.
|
|
244
|
+
*
|
|
245
|
+
* ### Required permissions
|
|
246
|
+
* > [
|
|
247
|
+
* {
|
|
248
|
+
* "actions": [
|
|
249
|
+
* "sharing:write"
|
|
250
|
+
* ]
|
|
251
|
+
* }
|
|
252
|
+
* ]
|
|
253
|
+
*/
|
|
63
254
|
post: operations["DeleteDeployableGroupKey"];
|
|
64
255
|
};
|
|
65
256
|
"/projects/create": {
|
|
66
|
-
/**
|
|
257
|
+
/**
|
|
258
|
+
* Create a new Project that your user will have access to
|
|
259
|
+
*
|
|
260
|
+
* ### Required permissions
|
|
261
|
+
* > [
|
|
262
|
+
* {
|
|
263
|
+
* "actions": [
|
|
264
|
+
* "organizations:write"
|
|
265
|
+
* ],
|
|
266
|
+
* "organizations": [
|
|
267
|
+
* {
|
|
268
|
+
* "body": "organization_id"
|
|
269
|
+
* }
|
|
270
|
+
* ]
|
|
271
|
+
* }
|
|
272
|
+
* ]
|
|
273
|
+
*/
|
|
67
274
|
post: operations["CreateProject"];
|
|
68
275
|
};
|
|
69
276
|
"/projects/update": {
|
|
70
|
-
/**
|
|
277
|
+
/**
|
|
278
|
+
* Update metadata of a Project
|
|
279
|
+
*
|
|
280
|
+
* ### Required permissions
|
|
281
|
+
* > [
|
|
282
|
+
* {
|
|
283
|
+
* "actions": [
|
|
284
|
+
* "admin"
|
|
285
|
+
* ]
|
|
286
|
+
* }
|
|
287
|
+
* ]
|
|
288
|
+
*/
|
|
71
289
|
post: operations["UpdateProject"];
|
|
72
290
|
};
|
|
73
291
|
"/projects/transfer_to_organization": {
|
|
74
|
-
/**
|
|
292
|
+
/**
|
|
293
|
+
* Tie a project to an organization. This requires admin privileges over project and organization.
|
|
294
|
+
*
|
|
295
|
+
* ### Required permissions
|
|
296
|
+
* > [
|
|
297
|
+
* {
|
|
298
|
+
* "actions": [
|
|
299
|
+
* "admin"
|
|
300
|
+
* ],
|
|
301
|
+
* "projects": [
|
|
302
|
+
* {
|
|
303
|
+
* "user_info": "username"
|
|
304
|
+
* }
|
|
305
|
+
* ]
|
|
306
|
+
* },
|
|
307
|
+
* {
|
|
308
|
+
* "actions": [
|
|
309
|
+
* "organizations:write"
|
|
310
|
+
* ],
|
|
311
|
+
* "organizations": [
|
|
312
|
+
* {
|
|
313
|
+
* "body": "organization_id"
|
|
314
|
+
* }
|
|
315
|
+
* ]
|
|
316
|
+
* }
|
|
317
|
+
* ]
|
|
318
|
+
*/
|
|
75
319
|
post: operations["TransferProjectToOrganization"];
|
|
76
320
|
};
|
|
77
321
|
"/projects/list": {
|
|
78
|
-
/**
|
|
322
|
+
/**
|
|
323
|
+
* List all projects and their metadata
|
|
324
|
+
*
|
|
325
|
+
* ### Required permissions
|
|
326
|
+
* > []
|
|
327
|
+
*/
|
|
79
328
|
get: operations["ListProjects"];
|
|
80
329
|
};
|
|
81
330
|
"/auth/users/create": {
|
|
331
|
+
/**
|
|
332
|
+
* ### Required permissions
|
|
333
|
+
* > [
|
|
334
|
+
* {
|
|
335
|
+
* "actions": [
|
|
336
|
+
* "users:write"
|
|
337
|
+
* ]
|
|
338
|
+
* }
|
|
339
|
+
* ]
|
|
340
|
+
*/
|
|
82
341
|
post: operations["CreateUser"];
|
|
83
342
|
};
|
|
84
343
|
"/auth/users/list": {
|
|
344
|
+
/**
|
|
345
|
+
* ### Required permissions
|
|
346
|
+
* > [
|
|
347
|
+
* {
|
|
348
|
+
* "actions": []
|
|
349
|
+
* }
|
|
350
|
+
* ]
|
|
351
|
+
*/
|
|
85
352
|
post: operations["ListUsers"];
|
|
86
353
|
};
|
|
87
354
|
"/auth/is_authorized": {
|
|
355
|
+
/**
|
|
356
|
+
* ### Required permissions
|
|
357
|
+
* > []
|
|
358
|
+
*/
|
|
88
359
|
post: operations["IsUserAuthorized"];
|
|
89
360
|
};
|
|
90
361
|
"/auth/info": {
|
|
91
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* Get user_id, key_id and permissions from an auth header.
|
|
364
|
+
*
|
|
365
|
+
* ### Required permissions
|
|
366
|
+
* > []
|
|
367
|
+
*/
|
|
92
368
|
get: operations["GetAuthHeaderInfo"];
|
|
93
369
|
};
|
|
94
370
|
"/auth/invite/create": {
|
|
95
|
-
/**
|
|
371
|
+
/**
|
|
372
|
+
* Invite a user to a project using either their email or their user_id
|
|
373
|
+
*
|
|
374
|
+
* ### Required permissions
|
|
375
|
+
* > [
|
|
376
|
+
* {
|
|
377
|
+
* "actions": [
|
|
378
|
+
* "users:write"
|
|
379
|
+
* ]
|
|
380
|
+
* }
|
|
381
|
+
* ]
|
|
382
|
+
*/
|
|
96
383
|
post: operations["CreateProjectInvite"];
|
|
97
384
|
};
|
|
98
385
|
"/auth/invite/list": {
|
|
386
|
+
/**
|
|
387
|
+
* ### Required permissions
|
|
388
|
+
* > []
|
|
389
|
+
*/
|
|
99
390
|
post: operations["ListProjectInvites"];
|
|
100
391
|
};
|
|
101
392
|
"/auth/invite/accept": {
|
|
393
|
+
/**
|
|
394
|
+
* ### Required permissions
|
|
395
|
+
* > []
|
|
396
|
+
*/
|
|
102
397
|
post: operations["AcceptProjectInvite"];
|
|
103
398
|
};
|
|
104
399
|
"/auth/invite/delete": {
|
|
400
|
+
/**
|
|
401
|
+
* ### Required permissions
|
|
402
|
+
* > [
|
|
403
|
+
* {
|
|
404
|
+
* "actions": [
|
|
405
|
+
* "users:write"
|
|
406
|
+
* ]
|
|
407
|
+
* }
|
|
408
|
+
* ]
|
|
409
|
+
*/
|
|
105
410
|
post: operations["DeleteProjectInvite"];
|
|
106
411
|
};
|
|
107
412
|
"/auth/invite/resend": {
|
|
413
|
+
/**
|
|
414
|
+
* ### Required permissions
|
|
415
|
+
* > [
|
|
416
|
+
* {
|
|
417
|
+
* "actions": [
|
|
418
|
+
* "users:write"
|
|
419
|
+
* ]
|
|
420
|
+
* }
|
|
421
|
+
* ]
|
|
422
|
+
*/
|
|
108
423
|
post: operations["ResendProjectInvite"];
|
|
109
424
|
};
|
|
110
425
|
"/auth/users/{user_id}": {
|
|
426
|
+
/**
|
|
427
|
+
* ### Required permissions
|
|
428
|
+
* > [
|
|
429
|
+
* {
|
|
430
|
+
* "users": [
|
|
431
|
+
* {
|
|
432
|
+
* "params": "user_id"
|
|
433
|
+
* }
|
|
434
|
+
* ],
|
|
435
|
+
* "actions": [
|
|
436
|
+
* "users:read"
|
|
437
|
+
* ]
|
|
438
|
+
* }
|
|
439
|
+
* ]
|
|
440
|
+
*/
|
|
111
441
|
get: operations["GetUser"];
|
|
112
442
|
};
|
|
113
443
|
"/auth/users/{user_id}/update": {
|
|
444
|
+
/**
|
|
445
|
+
* ### Required permissions
|
|
446
|
+
* > [
|
|
447
|
+
* {
|
|
448
|
+
* "users": [
|
|
449
|
+
* {
|
|
450
|
+
* "params": "user_id"
|
|
451
|
+
* }
|
|
452
|
+
* ],
|
|
453
|
+
* "actions": [
|
|
454
|
+
* "users:write"
|
|
455
|
+
* ]
|
|
456
|
+
* }
|
|
457
|
+
* ]
|
|
458
|
+
*/
|
|
114
459
|
post: operations["UpdateUser"];
|
|
115
460
|
};
|
|
116
461
|
"/auth/users/{user_id}/delete": {
|
|
117
|
-
/**
|
|
462
|
+
/**
|
|
463
|
+
* Deletes a User from ONLY your project. If they have permissions for other projects, they will still have acces to them.
|
|
464
|
+
*
|
|
465
|
+
* ### Required permissions
|
|
466
|
+
* > [
|
|
467
|
+
* {
|
|
468
|
+
* "users": [
|
|
469
|
+
* {
|
|
470
|
+
* "params": "user_id"
|
|
471
|
+
* }
|
|
472
|
+
* ],
|
|
473
|
+
* "actions": [
|
|
474
|
+
* "users:write"
|
|
475
|
+
* ]
|
|
476
|
+
* }
|
|
477
|
+
* ]
|
|
478
|
+
*/
|
|
118
479
|
post: operations["DeleteUser"];
|
|
119
480
|
};
|
|
120
481
|
"/auth/users/{user_id}/keys/create": {
|
|
482
|
+
/**
|
|
483
|
+
* ### Required permissions
|
|
484
|
+
* > [
|
|
485
|
+
* {
|
|
486
|
+
* "users": [
|
|
487
|
+
* {
|
|
488
|
+
* "params": "user_id"
|
|
489
|
+
* }
|
|
490
|
+
* ],
|
|
491
|
+
* "actions": [
|
|
492
|
+
* "users:write"
|
|
493
|
+
* ]
|
|
494
|
+
* }
|
|
495
|
+
* ]
|
|
496
|
+
*/
|
|
121
497
|
post: operations["CreateUserKey"];
|
|
122
498
|
};
|
|
123
499
|
"/auth/users/{user_id}/keys/list": {
|
|
500
|
+
/**
|
|
501
|
+
* ### Required permissions
|
|
502
|
+
* > [
|
|
503
|
+
* {
|
|
504
|
+
* "users": [
|
|
505
|
+
* {
|
|
506
|
+
* "params": "user_id"
|
|
507
|
+
* }
|
|
508
|
+
* ],
|
|
509
|
+
* "actions": [
|
|
510
|
+
* "users:read"
|
|
511
|
+
* ]
|
|
512
|
+
* }
|
|
513
|
+
* ]
|
|
514
|
+
*/
|
|
124
515
|
post: operations["ListUserKeys"];
|
|
125
516
|
};
|
|
126
517
|
"/auth/users/{user_id}/keys/delete": {
|
|
518
|
+
/**
|
|
519
|
+
* ### Required permissions
|
|
520
|
+
* > [
|
|
521
|
+
* {
|
|
522
|
+
* "users": [
|
|
523
|
+
* {
|
|
524
|
+
* "params": "user_id"
|
|
525
|
+
* }
|
|
526
|
+
* ],
|
|
527
|
+
* "actions": [
|
|
528
|
+
* "users:write"
|
|
529
|
+
* ]
|
|
530
|
+
* }
|
|
531
|
+
* ]
|
|
532
|
+
*/
|
|
127
533
|
post: operations["DeleteUserKey"];
|
|
128
534
|
};
|
|
129
535
|
"/datasets/{dataset_id}/cluster/centroids/insert": {
|
|
130
|
-
/**
|
|
536
|
+
/**
|
|
537
|
+
* Insert your own cluster centroids for it to be used in approximate search settings and cluster aggregations.
|
|
538
|
+
*
|
|
539
|
+
* ### Required permissions
|
|
540
|
+
* > [
|
|
541
|
+
* {
|
|
542
|
+
* "actions": [
|
|
543
|
+
* "datasets:write"
|
|
544
|
+
* ],
|
|
545
|
+
* "datasets": [
|
|
546
|
+
* {
|
|
547
|
+
* "params": "dataset_id"
|
|
548
|
+
* }
|
|
549
|
+
* ]
|
|
550
|
+
* }
|
|
551
|
+
* ]
|
|
552
|
+
*/
|
|
131
553
|
post: operations["InsertClusterCentroids"];
|
|
132
554
|
};
|
|
133
555
|
"/datasets/{dataset_id}/cluster/centroids/update": {
|
|
134
|
-
/**
|
|
556
|
+
/**
|
|
557
|
+
* Update your own cluster centroids for it to be used in approximate search settings and cluster aggregations. Will merge rather than replace centroids.
|
|
558
|
+
*
|
|
559
|
+
* ### Required permissions
|
|
560
|
+
* > [
|
|
561
|
+
* {
|
|
562
|
+
* "actions": [
|
|
563
|
+
* "datasets:write"
|
|
564
|
+
* ],
|
|
565
|
+
* "datasets": [
|
|
566
|
+
* {
|
|
567
|
+
* "params": "dataset_id"
|
|
568
|
+
* }
|
|
569
|
+
* ]
|
|
570
|
+
* }
|
|
571
|
+
* ]
|
|
572
|
+
*/
|
|
135
573
|
post: operations["UpdateClusterCentroids"];
|
|
136
574
|
};
|
|
137
575
|
"/datasets/{dataset_id}/cluster/centroids/compare_centroids": {
|
|
138
|
-
/**
|
|
576
|
+
/**
|
|
577
|
+
* For each centroid in a list of centroids, find the closest centroids in another set of centroids.
|
|
578
|
+
*
|
|
579
|
+
* ### Required permissions
|
|
580
|
+
* > [
|
|
581
|
+
* {
|
|
582
|
+
* "actions": [
|
|
583
|
+
* "datasets:read"
|
|
584
|
+
* ],
|
|
585
|
+
* "datasets": [
|
|
586
|
+
* {
|
|
587
|
+
* "params": "dataset_id"
|
|
588
|
+
* },
|
|
589
|
+
* {
|
|
590
|
+
* "body": "comparison_centroids.dataset_id"
|
|
591
|
+
* }
|
|
592
|
+
* ]
|
|
593
|
+
* }
|
|
594
|
+
* ]
|
|
595
|
+
*/
|
|
139
596
|
post: operations["CompareClusterCentroids"];
|
|
140
597
|
};
|
|
141
598
|
"/datasets/{dataset_id}/aggregate": {
|
|
@@ -194,78 +651,402 @@ export interface paths {
|
|
|
194
651
|
* {"title": {"title": "books", "frequency": 200, "documents": [{...}, {...}]}, {"title": "books", "frequency": 100, "documents": [{...}, {...}]}}
|
|
195
652
|
*
|
|
196
653
|
* For array-aggregations, you can add "agg": "array" into the aggregation query.
|
|
654
|
+
*
|
|
655
|
+
*
|
|
656
|
+
*
|
|
657
|
+
* ### Required permissions
|
|
658
|
+
* > [
|
|
659
|
+
* {
|
|
660
|
+
* "actions": [
|
|
661
|
+
* "datasets:read"
|
|
662
|
+
* ],
|
|
663
|
+
* "datasets": [
|
|
664
|
+
* {
|
|
665
|
+
* "params": "dataset_id"
|
|
666
|
+
* }
|
|
667
|
+
* ]
|
|
668
|
+
* }
|
|
669
|
+
* ]
|
|
197
670
|
*/
|
|
198
671
|
post: operations["Aggregate"];
|
|
199
672
|
};
|
|
200
673
|
"/datasets/{dataset_id}/cluster/aggregate": {
|
|
201
|
-
/**
|
|
674
|
+
/**
|
|
675
|
+
* Takes an aggregation query and gets the aggregate of each cluster in a collection. This helps you interpret each cluster and what is in them.
|
|
676
|
+
*
|
|
677
|
+
* ### Required permissions
|
|
678
|
+
* > [
|
|
679
|
+
* {
|
|
680
|
+
* "actions": [
|
|
681
|
+
* "datasets:read"
|
|
682
|
+
* ],
|
|
683
|
+
* "datasets": [
|
|
684
|
+
* {
|
|
685
|
+
* "params": "dataset_id"
|
|
686
|
+
* }
|
|
687
|
+
* ]
|
|
688
|
+
* }
|
|
689
|
+
* ]
|
|
690
|
+
*/
|
|
202
691
|
post: operations["AggregateClusters"];
|
|
203
692
|
};
|
|
204
693
|
"/datasets/{dataset_id}/cluster/facets": {
|
|
205
|
-
/**
|
|
694
|
+
/**
|
|
695
|
+
* Takes a high level aggregation of every field and every cluster in a collection. This helps you interpret each cluster and what is in them.
|
|
696
|
+
*
|
|
697
|
+
* ### Required permissions
|
|
698
|
+
* > [
|
|
699
|
+
* {
|
|
700
|
+
* "actions": [
|
|
701
|
+
* "datasets:read"
|
|
702
|
+
* ],
|
|
703
|
+
* "datasets": [
|
|
704
|
+
* {
|
|
705
|
+
* "params": "dataset_id"
|
|
706
|
+
* }
|
|
707
|
+
* ]
|
|
708
|
+
* }
|
|
709
|
+
* ]
|
|
710
|
+
*/
|
|
206
711
|
post: operations["ListClusterFacets"];
|
|
207
712
|
};
|
|
208
713
|
"/datasets/{dataset_id}/cluster/centroids/list_closest_to_center": {
|
|
209
|
-
/**
|
|
714
|
+
/**
|
|
715
|
+
* List documents with vector fields closest to centroids.
|
|
716
|
+
*
|
|
717
|
+
* ### Required permissions
|
|
718
|
+
* > [
|
|
719
|
+
* {
|
|
720
|
+
* "actions": [
|
|
721
|
+
* "datasets:read"
|
|
722
|
+
* ],
|
|
723
|
+
* "datasets": [
|
|
724
|
+
* {
|
|
725
|
+
* "params": "dataset_id"
|
|
726
|
+
* }
|
|
727
|
+
* ]
|
|
728
|
+
* }
|
|
729
|
+
* ]
|
|
730
|
+
*/
|
|
210
731
|
post: operations["ListClosestToCentroids"];
|
|
211
732
|
};
|
|
212
733
|
"/datasets/{dataset_id}/cluster/centroids/list_furthest_from_center": {
|
|
213
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* List documents with vector fields furthest from centroids.
|
|
736
|
+
*
|
|
737
|
+
* ### Required permissions
|
|
738
|
+
* > [
|
|
739
|
+
* {
|
|
740
|
+
* "actions": [
|
|
741
|
+
* "datasets:read"
|
|
742
|
+
* ],
|
|
743
|
+
* "datasets": [
|
|
744
|
+
* {
|
|
745
|
+
* "params": "dataset_id"
|
|
746
|
+
* }
|
|
747
|
+
* ]
|
|
748
|
+
* }
|
|
749
|
+
* ]
|
|
750
|
+
*/
|
|
214
751
|
post: operations["ListFurthestFromCentroids"];
|
|
215
752
|
};
|
|
216
753
|
"/datasets/{dataset_id}/cluster/centroids/documents": {
|
|
217
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* List centroids, optionally filtering by their ids.
|
|
756
|
+
*
|
|
757
|
+
* ### Required permissions
|
|
758
|
+
* > [
|
|
759
|
+
* {
|
|
760
|
+
* "actions": [
|
|
761
|
+
* "datasets:read"
|
|
762
|
+
* ],
|
|
763
|
+
* "datasets": [
|
|
764
|
+
* {
|
|
765
|
+
* "params": "dataset_id"
|
|
766
|
+
* }
|
|
767
|
+
* ]
|
|
768
|
+
* }
|
|
769
|
+
* ]
|
|
770
|
+
*/
|
|
218
771
|
post: operations["ListCentroids"];
|
|
219
772
|
};
|
|
220
773
|
"/datasets/{dataset_id}/cluster/centroids/configs/list": {
|
|
221
|
-
/**
|
|
774
|
+
/**
|
|
775
|
+
* List centroids configs for a dataset.
|
|
776
|
+
*
|
|
777
|
+
* ### Required permissions
|
|
778
|
+
* > [
|
|
779
|
+
* {
|
|
780
|
+
* "actions": [
|
|
781
|
+
* "datasets:read"
|
|
782
|
+
* ],
|
|
783
|
+
* "datasets": [
|
|
784
|
+
* {
|
|
785
|
+
* "params": "dataset_id"
|
|
786
|
+
* }
|
|
787
|
+
* ]
|
|
788
|
+
* }
|
|
789
|
+
* ]
|
|
790
|
+
*/
|
|
222
791
|
get: operations["ListCentroidConfigs"];
|
|
223
792
|
};
|
|
224
793
|
"/datasets/{dataset_id}/cluster/centroids/{centroid_id}/delete": {
|
|
225
|
-
/**
|
|
794
|
+
/**
|
|
795
|
+
* Delete a centroid by ID
|
|
796
|
+
*
|
|
797
|
+
* ### Required permissions
|
|
798
|
+
* > [
|
|
799
|
+
* {
|
|
800
|
+
* "actions": [
|
|
801
|
+
* "datasets:write"
|
|
802
|
+
* ],
|
|
803
|
+
* "datasets": [
|
|
804
|
+
* {
|
|
805
|
+
* "params": "dataset_id"
|
|
806
|
+
* }
|
|
807
|
+
* ]
|
|
808
|
+
* }
|
|
809
|
+
* ]
|
|
810
|
+
*/
|
|
226
811
|
post: operations["DeleteCentroid"];
|
|
227
812
|
};
|
|
228
813
|
"/datasets/{dataset_id}/cluster/realtime": {
|
|
814
|
+
/**
|
|
815
|
+
* ### Required permissions
|
|
816
|
+
* > [
|
|
817
|
+
* {
|
|
818
|
+
* "actions": [
|
|
819
|
+
* "datasets:read"
|
|
820
|
+
* ],
|
|
821
|
+
* "datasets": [
|
|
822
|
+
* {
|
|
823
|
+
* "body": "dataset_id"
|
|
824
|
+
* }
|
|
825
|
+
* ]
|
|
826
|
+
* }
|
|
827
|
+
* ]
|
|
828
|
+
*/
|
|
229
829
|
post: operations["RealtimeClustering"];
|
|
230
830
|
};
|
|
231
831
|
"/datasets/{dataset_id}/cluster/merge": {
|
|
832
|
+
/**
|
|
833
|
+
* ### Required permissions
|
|
834
|
+
* > [
|
|
835
|
+
* {
|
|
836
|
+
* "actions": [
|
|
837
|
+
* "datasets:write"
|
|
838
|
+
* ],
|
|
839
|
+
* "datasets": [
|
|
840
|
+
* {
|
|
841
|
+
* "params": "dataset_id"
|
|
842
|
+
* }
|
|
843
|
+
* ]
|
|
844
|
+
* }
|
|
845
|
+
* ]
|
|
846
|
+
*/
|
|
232
847
|
post: operations["MergeClusters"];
|
|
233
848
|
};
|
|
234
849
|
"/datasets/{dataset_id}/cluster/centroids/summaries/create": {
|
|
850
|
+
/**
|
|
851
|
+
* ### Required permissions
|
|
852
|
+
* > [
|
|
853
|
+
* {
|
|
854
|
+
* "actions": [
|
|
855
|
+
* "datasets:read",
|
|
856
|
+
* "datasets:write"
|
|
857
|
+
* ],
|
|
858
|
+
* "datasets": [
|
|
859
|
+
* {
|
|
860
|
+
* "params": "dataset_id"
|
|
861
|
+
* }
|
|
862
|
+
* ]
|
|
863
|
+
* }
|
|
864
|
+
* ]
|
|
865
|
+
*/
|
|
235
866
|
post: operations["CreateClusterSummaries"];
|
|
236
867
|
};
|
|
237
868
|
"/datasets/{dataset_id}/cluster/centroids/summaries/list": {
|
|
869
|
+
/**
|
|
870
|
+
* ### Required permissions
|
|
871
|
+
* > [
|
|
872
|
+
* {
|
|
873
|
+
* "actions": [
|
|
874
|
+
* "datasets:read"
|
|
875
|
+
* ],
|
|
876
|
+
* "datasets": [
|
|
877
|
+
* {
|
|
878
|
+
* "params": "dataset_id"
|
|
879
|
+
* }
|
|
880
|
+
* ]
|
|
881
|
+
* }
|
|
882
|
+
* ]
|
|
883
|
+
*/
|
|
238
884
|
post: operations["ListClusterSummaries"];
|
|
239
885
|
};
|
|
240
886
|
"/datasets/{dataset_id}/cluster/centroids/summaries/bulk_delete": {
|
|
887
|
+
/**
|
|
888
|
+
* ### Required permissions
|
|
889
|
+
* > [
|
|
890
|
+
* {
|
|
891
|
+
* "actions": [
|
|
892
|
+
* "datasets:write"
|
|
893
|
+
* ],
|
|
894
|
+
* "datasets": [
|
|
895
|
+
* {
|
|
896
|
+
* "params": "dataset_id"
|
|
897
|
+
* }
|
|
898
|
+
* ]
|
|
899
|
+
* }
|
|
900
|
+
* ]
|
|
901
|
+
*/
|
|
241
902
|
post: operations["DeleteClusterSummaries"];
|
|
242
903
|
};
|
|
243
904
|
"/organizations/create": {
|
|
905
|
+
/**
|
|
906
|
+
* ### Required permissions
|
|
907
|
+
* > []
|
|
908
|
+
*/
|
|
244
909
|
post: operations["CreateOrganization"];
|
|
245
910
|
};
|
|
246
911
|
"/organizations/{organization_id}/update": {
|
|
912
|
+
/**
|
|
913
|
+
* ### Required permissions
|
|
914
|
+
* > [
|
|
915
|
+
* {
|
|
916
|
+
* "actions": [
|
|
917
|
+
* "organizations:write"
|
|
918
|
+
* ],
|
|
919
|
+
* "organizations": [
|
|
920
|
+
* {
|
|
921
|
+
* "params": "organization_id"
|
|
922
|
+
* }
|
|
923
|
+
* ]
|
|
924
|
+
* }
|
|
925
|
+
* ]
|
|
926
|
+
*/
|
|
247
927
|
post: operations["UpdateOrganization"];
|
|
248
928
|
};
|
|
249
929
|
"/admin/organizations/{organization_id}/update": {
|
|
930
|
+
/**
|
|
931
|
+
* ### Required permissions
|
|
932
|
+
* > [
|
|
933
|
+
* {
|
|
934
|
+
* "actions": [
|
|
935
|
+
* "support:write"
|
|
936
|
+
* ],
|
|
937
|
+
* "organizations": [
|
|
938
|
+
* {
|
|
939
|
+
* "params": "organization_id"
|
|
940
|
+
* }
|
|
941
|
+
* ]
|
|
942
|
+
* }
|
|
943
|
+
* ]
|
|
944
|
+
*/
|
|
250
945
|
post: operations["UpdateOrganizationAdmin"];
|
|
251
946
|
};
|
|
252
947
|
"/organizations/list": {
|
|
253
|
-
/**
|
|
948
|
+
/**
|
|
949
|
+
* List all organizations and their metadata
|
|
950
|
+
*
|
|
951
|
+
* ### Required permissions
|
|
952
|
+
* > [
|
|
953
|
+
* {
|
|
954
|
+
* "actions": [
|
|
955
|
+
* "organizations:read"
|
|
956
|
+
* ]
|
|
957
|
+
* }
|
|
958
|
+
* ]
|
|
959
|
+
*/
|
|
254
960
|
get: operations["ListOrganizations"];
|
|
255
961
|
};
|
|
256
962
|
"/organizations/{organization_id}/delete": {
|
|
963
|
+
/**
|
|
964
|
+
* ### Required permissions
|
|
965
|
+
* > [
|
|
966
|
+
* {
|
|
967
|
+
* "actions": [
|
|
968
|
+
* "organizations:write"
|
|
969
|
+
* ],
|
|
970
|
+
* "organizations": [
|
|
971
|
+
* {
|
|
972
|
+
* "params": "organization_id"
|
|
973
|
+
* }
|
|
974
|
+
* ]
|
|
975
|
+
* }
|
|
976
|
+
* ]
|
|
977
|
+
*/
|
|
257
978
|
post: operations["DeleteOrganization"];
|
|
258
979
|
};
|
|
259
980
|
"/organizations/{organization_id}/get": {
|
|
981
|
+
/**
|
|
982
|
+
* ### Required permissions
|
|
983
|
+
* > [
|
|
984
|
+
* {
|
|
985
|
+
* "actions": [
|
|
986
|
+
* "organizations:read"
|
|
987
|
+
* ],
|
|
988
|
+
* "organizations": [
|
|
989
|
+
* {
|
|
990
|
+
* "params": "organization_id"
|
|
991
|
+
* }
|
|
992
|
+
* ]
|
|
993
|
+
* }
|
|
994
|
+
* ]
|
|
995
|
+
*/
|
|
260
996
|
get: operations["GetOrganization"];
|
|
261
997
|
};
|
|
262
998
|
"/organizations/{organization_id}/usage/get": {
|
|
999
|
+
/**
|
|
1000
|
+
* ### Required permissions
|
|
1001
|
+
* > [
|
|
1002
|
+
* {
|
|
1003
|
+
* "actions": [
|
|
1004
|
+
* "organizations:read"
|
|
1005
|
+
* ],
|
|
1006
|
+
* "organizations": [
|
|
1007
|
+
* {
|
|
1008
|
+
* "params": "organization_id"
|
|
1009
|
+
* }
|
|
1010
|
+
* ]
|
|
1011
|
+
* }
|
|
1012
|
+
* ]
|
|
1013
|
+
*/
|
|
263
1014
|
get: operations["GetOrganizationUsage"];
|
|
264
1015
|
};
|
|
265
1016
|
"/organizations/{organization_id}/users/list": {
|
|
1017
|
+
/**
|
|
1018
|
+
* ### Required permissions
|
|
1019
|
+
* > [
|
|
1020
|
+
* {
|
|
1021
|
+
* "actions": [
|
|
1022
|
+
* "organizations:read"
|
|
1023
|
+
* ],
|
|
1024
|
+
* "organizations": [
|
|
1025
|
+
* {
|
|
1026
|
+
* "params": "organization_id"
|
|
1027
|
+
* }
|
|
1028
|
+
* ]
|
|
1029
|
+
* }
|
|
1030
|
+
* ]
|
|
1031
|
+
*/
|
|
266
1032
|
get: operations["ListUsersInOrganization"];
|
|
267
1033
|
};
|
|
268
1034
|
"/organizations/{organization_id}/projects/list": {
|
|
1035
|
+
/**
|
|
1036
|
+
* ### Required permissions
|
|
1037
|
+
* > [
|
|
1038
|
+
* {
|
|
1039
|
+
* "actions": [
|
|
1040
|
+
* "organizations:read"
|
|
1041
|
+
* ],
|
|
1042
|
+
* "organizations": [
|
|
1043
|
+
* {
|
|
1044
|
+
* "params": "organization_id"
|
|
1045
|
+
* }
|
|
1046
|
+
* ]
|
|
1047
|
+
* }
|
|
1048
|
+
* ]
|
|
1049
|
+
*/
|
|
269
1050
|
get: operations["ListProjectsInOrganization"];
|
|
270
1051
|
};
|
|
271
1052
|
"/datasets/{dataset_id}/documents/insert": {
|
|
@@ -278,6 +1059,21 @@ export interface paths {
|
|
|
278
1059
|
*
|
|
279
1060
|
* If inserting many items in a short timespan, use bulkInsert, or set update_schema to false.
|
|
280
1061
|
* Every insert api call temporarily locks and updates the schema, so will slow down with many inserts in quick succession.
|
|
1062
|
+
*
|
|
1063
|
+
*
|
|
1064
|
+
* ### Required permissions
|
|
1065
|
+
* > [
|
|
1066
|
+
* {
|
|
1067
|
+
* "actions": [
|
|
1068
|
+
* "datasets:write"
|
|
1069
|
+
* ],
|
|
1070
|
+
* "datasets": [
|
|
1071
|
+
* {
|
|
1072
|
+
* "params": "dataset_id"
|
|
1073
|
+
* }
|
|
1074
|
+
* ]
|
|
1075
|
+
* }
|
|
1076
|
+
* ]
|
|
281
1077
|
*/
|
|
282
1078
|
post: operations["Insert"];
|
|
283
1079
|
};
|
|
@@ -295,31 +1091,132 @@ export interface paths {
|
|
|
295
1091
|
* If the provided dataset doesn't exist, one will be automatically created.
|
|
296
1092
|
*
|
|
297
1093
|
* Limit the payload of documents to a maximum 100MB for optimal performance.
|
|
1094
|
+
*
|
|
1095
|
+
*
|
|
1096
|
+
* ### Required permissions
|
|
1097
|
+
* > [
|
|
1098
|
+
* {
|
|
1099
|
+
* "actions": [
|
|
1100
|
+
* "datasets:write"
|
|
1101
|
+
* ],
|
|
1102
|
+
* "datasets": [
|
|
1103
|
+
* {
|
|
1104
|
+
* "params": "dataset_id"
|
|
1105
|
+
* }
|
|
1106
|
+
* ]
|
|
1107
|
+
* }
|
|
1108
|
+
* ]
|
|
298
1109
|
*/
|
|
299
1110
|
post: operations["BulkInsert"];
|
|
300
1111
|
};
|
|
301
1112
|
"/datasets/{dataset_id}/get_file_upload_urls": {
|
|
302
|
-
/**
|
|
1113
|
+
/**
|
|
1114
|
+
* specify a list of file paths. For each file path, a url upload_url is returned. files can be POSTed on upload_url to upload them. They can then be accessed on url. Upon dataset deletion, these files will be deleted.
|
|
1115
|
+
*
|
|
1116
|
+
* ### Required permissions
|
|
1117
|
+
* > [
|
|
1118
|
+
* {
|
|
1119
|
+
* "actions": [
|
|
1120
|
+
* "datasets:write"
|
|
1121
|
+
* ],
|
|
1122
|
+
* "datasets": [
|
|
1123
|
+
* {
|
|
1124
|
+
* "params": "dataset_id"
|
|
1125
|
+
* }
|
|
1126
|
+
* ]
|
|
1127
|
+
* }
|
|
1128
|
+
* ]
|
|
1129
|
+
*/
|
|
303
1130
|
post: operations["GetFileUploadUrlsForDataset"];
|
|
304
1131
|
};
|
|
305
1132
|
"/datasets/{dataset_id}/list_file_uploads": {
|
|
306
|
-
/**
|
|
1133
|
+
/**
|
|
1134
|
+
* Return up to 1000 files uploaded for a dataset.
|
|
1135
|
+
*
|
|
1136
|
+
* ### Required permissions
|
|
1137
|
+
* > [
|
|
1138
|
+
* {
|
|
1139
|
+
* "actions": [
|
|
1140
|
+
* "datasets:read"
|
|
1141
|
+
* ],
|
|
1142
|
+
* "datasets": [
|
|
1143
|
+
* {
|
|
1144
|
+
* "params": "dataset_id"
|
|
1145
|
+
* }
|
|
1146
|
+
* ]
|
|
1147
|
+
* }
|
|
1148
|
+
* ]
|
|
1149
|
+
*/
|
|
307
1150
|
get: operations["ListFileUploadsForDataset"];
|
|
308
1151
|
};
|
|
309
1152
|
"/datasets/{dataset_id}/parse_blob": {
|
|
310
|
-
/**
|
|
1153
|
+
/**
|
|
1154
|
+
* Bulk insert a large number of documents by downloading a file using "download url". This bypasses the need to directly send documents to the api, as happens in BulkInsert.
|
|
1155
|
+
*
|
|
1156
|
+
* ### Required permissions
|
|
1157
|
+
* > [
|
|
1158
|
+
* {
|
|
1159
|
+
* "actions": [
|
|
1160
|
+
* "datasets:write"
|
|
1161
|
+
* ],
|
|
1162
|
+
* "datasets": [
|
|
1163
|
+
* {
|
|
1164
|
+
* "params": "dataset_id"
|
|
1165
|
+
* }
|
|
1166
|
+
* ]
|
|
1167
|
+
* }
|
|
1168
|
+
* ]
|
|
1169
|
+
*/
|
|
311
1170
|
post: operations["ParseBlob"];
|
|
312
1171
|
};
|
|
313
1172
|
"/admin/copy_foreign_dataset": {
|
|
314
|
-
/**
|
|
1173
|
+
/**
|
|
1174
|
+
* Copy a dataset from another users projects into your project. This is considered a project job.
|
|
1175
|
+
*
|
|
1176
|
+
* ### Required permissions
|
|
1177
|
+
* > []
|
|
1178
|
+
*/
|
|
315
1179
|
post: operations["CopyForeignDataset"];
|
|
316
1180
|
};
|
|
317
1181
|
"/admin/request_read_api_key": {
|
|
318
|
-
/**
|
|
1182
|
+
/**
|
|
1183
|
+
* Creates a read only key for your project. Make sure to save the api key somewhere safe. When doing a search the admin username should still be used.
|
|
1184
|
+
*
|
|
1185
|
+
* ### Required permissions
|
|
1186
|
+
* > [
|
|
1187
|
+
* {
|
|
1188
|
+
* "actions": [
|
|
1189
|
+
* "users:write",
|
|
1190
|
+
* "datasets:read"
|
|
1191
|
+
* ],
|
|
1192
|
+
* "datasets": [
|
|
1193
|
+
* {
|
|
1194
|
+
* "raw": "*"
|
|
1195
|
+
* }
|
|
1196
|
+
* ]
|
|
1197
|
+
* }
|
|
1198
|
+
* ]
|
|
1199
|
+
*/
|
|
319
1200
|
post: operations["CreateProjectReadKey"];
|
|
320
1201
|
};
|
|
321
1202
|
"/datasets/{dataset_id}/delete": {
|
|
322
|
-
/**
|
|
1203
|
+
/**
|
|
1204
|
+
* Delete a dataset.
|
|
1205
|
+
*
|
|
1206
|
+
* ### Required permissions
|
|
1207
|
+
* > [
|
|
1208
|
+
* {
|
|
1209
|
+
* "actions": [
|
|
1210
|
+
* "datasets:write"
|
|
1211
|
+
* ],
|
|
1212
|
+
* "datasets": [
|
|
1213
|
+
* {
|
|
1214
|
+
* "params": "dataset_id"
|
|
1215
|
+
* }
|
|
1216
|
+
* ]
|
|
1217
|
+
* }
|
|
1218
|
+
* ]
|
|
1219
|
+
*/
|
|
323
1220
|
post: operations["DeleteDataset"];
|
|
324
1221
|
};
|
|
325
1222
|
"/datasets/create": {
|
|
@@ -357,40 +1254,183 @@ export interface paths {
|
|
|
357
1254
|
*
|
|
358
1255
|
* For more information about vectors check out the 'Vectorizing' section, **\/services/search/vector** or out blog at [https://relevance.ai/blog](https://relevance.ai/blog).
|
|
359
1256
|
* For more information about chunks and chunk vectors check out **\/services/search/chunk**.
|
|
1257
|
+
*
|
|
1258
|
+
*
|
|
1259
|
+
*
|
|
1260
|
+
*
|
|
1261
|
+
* ### Required permissions
|
|
1262
|
+
* > [
|
|
1263
|
+
* {
|
|
1264
|
+
* "actions": [
|
|
1265
|
+
* "datasets:write"
|
|
1266
|
+
* ],
|
|
1267
|
+
* "datasets": [
|
|
1268
|
+
* {
|
|
1269
|
+
* "body": "id"
|
|
1270
|
+
* }
|
|
1271
|
+
* ]
|
|
1272
|
+
* }
|
|
1273
|
+
* ]
|
|
360
1274
|
*/
|
|
361
1275
|
post: operations["CreateDataset"];
|
|
362
1276
|
};
|
|
363
1277
|
"/datasets/{dataset_id}/schema": {
|
|
1278
|
+
/**
|
|
1279
|
+
* ### Required permissions
|
|
1280
|
+
* > [
|
|
1281
|
+
* {
|
|
1282
|
+
* "actions": [
|
|
1283
|
+
* "datasets:read"
|
|
1284
|
+
* ],
|
|
1285
|
+
* "datasets": [
|
|
1286
|
+
* {
|
|
1287
|
+
* "params": "dataset_id"
|
|
1288
|
+
* }
|
|
1289
|
+
* ]
|
|
1290
|
+
* }
|
|
1291
|
+
* ]
|
|
1292
|
+
*/
|
|
364
1293
|
get: operations["GetSchema"];
|
|
365
1294
|
};
|
|
366
1295
|
"/datasets/list": {
|
|
367
|
-
/**
|
|
1296
|
+
/**
|
|
1297
|
+
* List all datasets in a project that you are authorized to read/write.
|
|
1298
|
+
*
|
|
1299
|
+
* ### Required permissions
|
|
1300
|
+
* > [
|
|
1301
|
+
* {
|
|
1302
|
+
* "actions": []
|
|
1303
|
+
* }
|
|
1304
|
+
* ]
|
|
1305
|
+
*/
|
|
368
1306
|
get: operations["ListDatasets"];
|
|
369
1307
|
};
|
|
370
1308
|
"/datasets/combine": {
|
|
1309
|
+
/**
|
|
1310
|
+
* ### Required permissions
|
|
1311
|
+
* > [
|
|
1312
|
+
* {
|
|
1313
|
+
* "actions": [
|
|
1314
|
+
* "datasets:read"
|
|
1315
|
+
* ],
|
|
1316
|
+
* "datasets": [
|
|
1317
|
+
* {
|
|
1318
|
+
* "body": "dataset_ids"
|
|
1319
|
+
* }
|
|
1320
|
+
* ]
|
|
1321
|
+
* },
|
|
1322
|
+
* {
|
|
1323
|
+
* "actions": [
|
|
1324
|
+
* "datasets:write"
|
|
1325
|
+
* ],
|
|
1326
|
+
* "datasets": [
|
|
1327
|
+
* {
|
|
1328
|
+
* "body": "new_dataset_id"
|
|
1329
|
+
* }
|
|
1330
|
+
* ]
|
|
1331
|
+
* }
|
|
1332
|
+
* ]
|
|
1333
|
+
*/
|
|
371
1334
|
post: operations["CombineDatasets"];
|
|
372
1335
|
};
|
|
373
1336
|
"/datasets/combine/{job_id}/get": {
|
|
1337
|
+
/**
|
|
1338
|
+
* ### Required permissions
|
|
1339
|
+
* > []
|
|
1340
|
+
*/
|
|
374
1341
|
post: operations["GetCombineJobStatus"];
|
|
375
1342
|
};
|
|
376
1343
|
"/datasets/search": {
|
|
377
|
-
/**
|
|
1344
|
+
/**
|
|
1345
|
+
* Search all datasets in a project that you are authorized to read/write.
|
|
1346
|
+
*
|
|
1347
|
+
* ### Required permissions
|
|
1348
|
+
* > [
|
|
1349
|
+
* {
|
|
1350
|
+
* "actions": []
|
|
1351
|
+
* }
|
|
1352
|
+
* ]
|
|
1353
|
+
*/
|
|
378
1354
|
get: operations["SearchDatasets"];
|
|
379
1355
|
};
|
|
380
1356
|
"/datasets/{dataset_id}/monitor/health": {
|
|
381
|
-
/**
|
|
1357
|
+
/**
|
|
1358
|
+
* Gives you a summary of the health of your vectors, e.g. how many documents with vectors are missing, how many documents with zero vectors
|
|
1359
|
+
*
|
|
1360
|
+
* ### Required permissions
|
|
1361
|
+
* > [
|
|
1362
|
+
* {
|
|
1363
|
+
* "actions": [
|
|
1364
|
+
* "datasets:read"
|
|
1365
|
+
* ],
|
|
1366
|
+
* "datasets": [
|
|
1367
|
+
* {
|
|
1368
|
+
* "params": "dataset_id"
|
|
1369
|
+
* }
|
|
1370
|
+
* ]
|
|
1371
|
+
* }
|
|
1372
|
+
* ]
|
|
1373
|
+
*/
|
|
382
1374
|
get: operations["GetFieldHealth"];
|
|
383
1375
|
};
|
|
384
1376
|
"/datasets/{dataset_id}/monitor/stats": {
|
|
385
|
-
/**
|
|
1377
|
+
/**
|
|
1378
|
+
* View the usage statistics of a dataset.
|
|
1379
|
+
*
|
|
1380
|
+
* ### Required permissions
|
|
1381
|
+
* > [
|
|
1382
|
+
* {
|
|
1383
|
+
* "actions": [
|
|
1384
|
+
* "datasets:read"
|
|
1385
|
+
* ],
|
|
1386
|
+
* "datasets": [
|
|
1387
|
+
* {
|
|
1388
|
+
* "params": "dataset_id"
|
|
1389
|
+
* }
|
|
1390
|
+
* ]
|
|
1391
|
+
* }
|
|
1392
|
+
* ]
|
|
1393
|
+
*/
|
|
386
1394
|
get: operations["GetDatasetStats"];
|
|
387
1395
|
};
|
|
388
1396
|
"/datasets/{dataset_id}/monitor/usage": {
|
|
389
|
-
/**
|
|
1397
|
+
/**
|
|
1398
|
+
* View api call usage statistics for a dataset.
|
|
1399
|
+
*
|
|
1400
|
+
* ### Required permissions
|
|
1401
|
+
* > [
|
|
1402
|
+
* {
|
|
1403
|
+
* "actions": [
|
|
1404
|
+
* "datasets:read"
|
|
1405
|
+
* ],
|
|
1406
|
+
* "datasets": [
|
|
1407
|
+
* {
|
|
1408
|
+
* "params": "dataset_id"
|
|
1409
|
+
* }
|
|
1410
|
+
* ]
|
|
1411
|
+
* }
|
|
1412
|
+
* ]
|
|
1413
|
+
*/
|
|
390
1414
|
post: operations["GetDatasetUsage"];
|
|
391
1415
|
};
|
|
392
1416
|
"/datasets/{dataset_id}/vector_mappings": {
|
|
393
|
-
/**
|
|
1417
|
+
/**
|
|
1418
|
+
* DEPRECATED !!!! Retrieve the mapping of vectors generated through fields, dictionary, array, etc
|
|
1419
|
+
*
|
|
1420
|
+
* ### Required permissions
|
|
1421
|
+
* > [
|
|
1422
|
+
* {
|
|
1423
|
+
* "actions": [
|
|
1424
|
+
* "datasets:read"
|
|
1425
|
+
* ],
|
|
1426
|
+
* "datasets": [
|
|
1427
|
+
* {
|
|
1428
|
+
* "params": "dataset_id"
|
|
1429
|
+
* }
|
|
1430
|
+
* ]
|
|
1431
|
+
* }
|
|
1432
|
+
* ]
|
|
1433
|
+
*/
|
|
394
1434
|
get: operations["GetVectorMappings"];
|
|
395
1435
|
};
|
|
396
1436
|
"/datasets/{dataset_id}/details": {
|
|
@@ -405,6 +1445,21 @@ export interface paths {
|
|
|
405
1445
|
* | vector_health | Number of zero vectors stored. (returns same data as **\/dataset/{dataset_id}/monitor/health**) |
|
|
406
1446
|
* | schema_stats | Fields and number of documents missing/not missing for that field. (returns same data as **\/dataset/{dataset_id}/monitor/stats**) |
|
|
407
1447
|
* | active_jobs | All active jobs/tasks on the dataset. (returns same data as **\/dataset/{dataset_id}/tasks/list**) |
|
|
1448
|
+
*
|
|
1449
|
+
*
|
|
1450
|
+
* ### Required permissions
|
|
1451
|
+
* > [
|
|
1452
|
+
* {
|
|
1453
|
+
* "actions": [
|
|
1454
|
+
* "datasets:read"
|
|
1455
|
+
* ],
|
|
1456
|
+
* "datasets": [
|
|
1457
|
+
* {
|
|
1458
|
+
* "params": "dataset_id"
|
|
1459
|
+
* }
|
|
1460
|
+
* ]
|
|
1461
|
+
* }
|
|
1462
|
+
* ]
|
|
408
1463
|
*/
|
|
409
1464
|
post: operations["GetDatasetDetails"];
|
|
410
1465
|
};
|
|
@@ -413,6 +1468,21 @@ export interface paths {
|
|
|
413
1468
|
* Retrieve a document by its `_id`.
|
|
414
1469
|
*
|
|
415
1470
|
* This is the most performant method to get a document or check if it exists, faster than filtering a dataset for by an `_id`.
|
|
1471
|
+
*
|
|
1472
|
+
*
|
|
1473
|
+
* ### Required permissions
|
|
1474
|
+
* > [
|
|
1475
|
+
* {
|
|
1476
|
+
* "actions": [
|
|
1477
|
+
* "datasets:read"
|
|
1478
|
+
* ],
|
|
1479
|
+
* "datasets": [
|
|
1480
|
+
* {
|
|
1481
|
+
* "params": "dataset_id"
|
|
1482
|
+
* }
|
|
1483
|
+
* ]
|
|
1484
|
+
* }
|
|
1485
|
+
* ]
|
|
416
1486
|
*/
|
|
417
1487
|
get: operations["GetDocument"];
|
|
418
1488
|
};
|
|
@@ -421,19 +1491,98 @@ export interface paths {
|
|
|
421
1491
|
* Delete a document by its `_id` and remove it from the dataset.
|
|
422
1492
|
*
|
|
423
1493
|
* Support for deleting many documents at once is available through [`/bulk_delete`](/reference/bulk_delete_api_datasets__dataset_id__documents_bulk_delete_post).
|
|
1494
|
+
*
|
|
1495
|
+
*
|
|
1496
|
+
* ### Required permissions
|
|
1497
|
+
* > [
|
|
1498
|
+
* {
|
|
1499
|
+
* "actions": [
|
|
1500
|
+
* "datasets:write"
|
|
1501
|
+
* ],
|
|
1502
|
+
* "datasets": [
|
|
1503
|
+
* {
|
|
1504
|
+
* "params": "dataset_id"
|
|
1505
|
+
* }
|
|
1506
|
+
* ]
|
|
1507
|
+
* }
|
|
1508
|
+
* ]
|
|
424
1509
|
*/
|
|
425
1510
|
post: operations["DeleteDocument"];
|
|
426
1511
|
};
|
|
427
1512
|
"/datasets/{dataset_id}/settings": {
|
|
428
|
-
/**
|
|
1513
|
+
/**
|
|
1514
|
+
* Retreives settings for dataset.
|
|
1515
|
+
*
|
|
1516
|
+
* ### Required permissions
|
|
1517
|
+
* > [
|
|
1518
|
+
* {
|
|
1519
|
+
* "actions": [
|
|
1520
|
+
* "datasets:read"
|
|
1521
|
+
* ],
|
|
1522
|
+
* "datasets": [
|
|
1523
|
+
* {
|
|
1524
|
+
* "params": "dataset_id"
|
|
1525
|
+
* }
|
|
1526
|
+
* ]
|
|
1527
|
+
* }
|
|
1528
|
+
* ]
|
|
1529
|
+
*/
|
|
429
1530
|
get: operations["GetDatasetSettings"];
|
|
430
|
-
/**
|
|
1531
|
+
/**
|
|
1532
|
+
* Add and overwrite settings about a dataset. Notably description, data source, etc.
|
|
1533
|
+
*
|
|
1534
|
+
* ### Required permissions
|
|
1535
|
+
* > [
|
|
1536
|
+
* {
|
|
1537
|
+
* "actions": [
|
|
1538
|
+
* "datasets:write"
|
|
1539
|
+
* ],
|
|
1540
|
+
* "datasets": [
|
|
1541
|
+
* {
|
|
1542
|
+
* "params": "dataset_id"
|
|
1543
|
+
* }
|
|
1544
|
+
* ]
|
|
1545
|
+
* }
|
|
1546
|
+
* ]
|
|
1547
|
+
*/
|
|
431
1548
|
post: operations["UpsertDatasetSettings"];
|
|
432
1549
|
};
|
|
433
1550
|
"/datasets/{dataset_id}/metadata": {
|
|
434
|
-
/**
|
|
1551
|
+
/**
|
|
1552
|
+
* Retreives metadata about a dataset. Notably description, data source, etc
|
|
1553
|
+
*
|
|
1554
|
+
* ### Required permissions
|
|
1555
|
+
* > [
|
|
1556
|
+
* {
|
|
1557
|
+
* "actions": [
|
|
1558
|
+
* "datasets:read"
|
|
1559
|
+
* ],
|
|
1560
|
+
* "datasets": [
|
|
1561
|
+
* {
|
|
1562
|
+
* "params": "dataset_id"
|
|
1563
|
+
* }
|
|
1564
|
+
* ]
|
|
1565
|
+
* }
|
|
1566
|
+
* ]
|
|
1567
|
+
*/
|
|
435
1568
|
get: operations["GetDatasetMetadata"];
|
|
436
|
-
/**
|
|
1569
|
+
/**
|
|
1570
|
+
* Retreives metadata about a dataset. Notably description, data source, etc
|
|
1571
|
+
*
|
|
1572
|
+
* ### Required permissions
|
|
1573
|
+
* > [
|
|
1574
|
+
* {
|
|
1575
|
+
* "actions": [
|
|
1576
|
+
* "datasets:write"
|
|
1577
|
+
* ],
|
|
1578
|
+
* "datasets": [
|
|
1579
|
+
* {
|
|
1580
|
+
* "params": "dataset_id"
|
|
1581
|
+
* }
|
|
1582
|
+
* ]
|
|
1583
|
+
* }
|
|
1584
|
+
* ]
|
|
1585
|
+
*/
|
|
437
1586
|
post: operations["UpsertDatasetMetadata"];
|
|
438
1587
|
};
|
|
439
1588
|
"/datasets/{dataset_id}/documents/update": {
|
|
@@ -445,11 +1594,42 @@ export interface paths {
|
|
|
445
1594
|
* If the provided `_id` has no matching document in the dataset, a new document will be created. Likewise, if the provided `dataset_id` does not match a dataset in your project a new one will be created.
|
|
446
1595
|
*
|
|
447
1596
|
* Support for updating many documents at once with a filter condition is available through [`/update_where`](/reference/updatewhere).
|
|
1597
|
+
*
|
|
1598
|
+
*
|
|
1599
|
+
* ### Required permissions
|
|
1600
|
+
* > [
|
|
1601
|
+
* {
|
|
1602
|
+
* "actions": [
|
|
1603
|
+
* "datasets:write"
|
|
1604
|
+
* ],
|
|
1605
|
+
* "datasets": [
|
|
1606
|
+
* {
|
|
1607
|
+
* "params": "dataset_id"
|
|
1608
|
+
* }
|
|
1609
|
+
* ]
|
|
1610
|
+
* }
|
|
1611
|
+
* ]
|
|
448
1612
|
*/
|
|
449
1613
|
post: operations["Update"];
|
|
450
1614
|
};
|
|
451
1615
|
"/datasets/{dataset_id}/documents/delete_fields": {
|
|
452
|
-
/**
|
|
1616
|
+
/**
|
|
1617
|
+
* Delete fields in a document in a dataset by its id.
|
|
1618
|
+
*
|
|
1619
|
+
* ### Required permissions
|
|
1620
|
+
* > [
|
|
1621
|
+
* {
|
|
1622
|
+
* "actions": [
|
|
1623
|
+
* "datasets:write"
|
|
1624
|
+
* ],
|
|
1625
|
+
* "datasets": [
|
|
1626
|
+
* {
|
|
1627
|
+
* "params": "dataset_id"
|
|
1628
|
+
* }
|
|
1629
|
+
* ]
|
|
1630
|
+
* }
|
|
1631
|
+
* ]
|
|
1632
|
+
*/
|
|
453
1633
|
post: operations["DeleteDocumentFields"];
|
|
454
1634
|
};
|
|
455
1635
|
"/datasets/{dataset_id}/documents/bulk_update": {
|
|
@@ -459,6 +1639,21 @@ export interface paths {
|
|
|
459
1639
|
* If updating many items in a short timespan, please use BulkUpdate.
|
|
460
1640
|
*
|
|
461
1641
|
* Every update api call temporarily locks and updates the schema, so will slow down with many updates in quick succession.
|
|
1642
|
+
*
|
|
1643
|
+
*
|
|
1644
|
+
* ### Required permissions
|
|
1645
|
+
* > [
|
|
1646
|
+
* {
|
|
1647
|
+
* "actions": [
|
|
1648
|
+
* "datasets:write"
|
|
1649
|
+
* ],
|
|
1650
|
+
* "datasets": [
|
|
1651
|
+
* {
|
|
1652
|
+
* "params": "dataset_id"
|
|
1653
|
+
* }
|
|
1654
|
+
* ]
|
|
1655
|
+
* }
|
|
1656
|
+
* ]
|
|
462
1657
|
*/
|
|
463
1658
|
post: operations["BulkUpdate"];
|
|
464
1659
|
};
|
|
@@ -469,11 +1664,42 @@ export interface paths {
|
|
|
469
1664
|
* This method supports a partial update so you may add new fields or update only those you need. Other fields will remain unaffected.
|
|
470
1665
|
*
|
|
471
1666
|
* If the provided `dataset_id` does not match a dataset in your project, a new one will be created.
|
|
1667
|
+
*
|
|
1668
|
+
*
|
|
1669
|
+
* ### Required permissions
|
|
1670
|
+
* > [
|
|
1671
|
+
* {
|
|
1672
|
+
* "actions": [
|
|
1673
|
+
* "datasets:write"
|
|
1674
|
+
* ],
|
|
1675
|
+
* "datasets": [
|
|
1676
|
+
* {
|
|
1677
|
+
* "params": "dataset_id"
|
|
1678
|
+
* }
|
|
1679
|
+
* ]
|
|
1680
|
+
* }
|
|
1681
|
+
* ]
|
|
472
1682
|
*/
|
|
473
1683
|
post: operations["UpdateWhere"];
|
|
474
1684
|
};
|
|
475
1685
|
"/datasets/{dataset_id}/facets": {
|
|
476
|
-
/**
|
|
1686
|
+
/**
|
|
1687
|
+
* Takes a high level aggregation of every field, return their unique values and frequencies. This is used to help create the filter bar for search.
|
|
1688
|
+
*
|
|
1689
|
+
* ### Required permissions
|
|
1690
|
+
* > [
|
|
1691
|
+
* {
|
|
1692
|
+
* "actions": [
|
|
1693
|
+
* "datasets:read"
|
|
1694
|
+
* ],
|
|
1695
|
+
* "datasets": [
|
|
1696
|
+
* {
|
|
1697
|
+
* "params": "dataset_id"
|
|
1698
|
+
* }
|
|
1699
|
+
* ]
|
|
1700
|
+
* }
|
|
1701
|
+
* ]
|
|
1702
|
+
*/
|
|
477
1703
|
post: operations["ListFacets"];
|
|
478
1704
|
};
|
|
479
1705
|
"/datasets/{dataset_id}/documents/get_where": {
|
|
@@ -481,6 +1707,20 @@ export interface paths {
|
|
|
481
1707
|
* Retrieve documents with filters.
|
|
482
1708
|
* afterId is provided to retrieve even more documents. Loop through it to retrieve all documents in the database.
|
|
483
1709
|
* Filter is used to retrieve documents that match the conditions set in a filter query.
|
|
1710
|
+
*
|
|
1711
|
+
* ### Required permissions
|
|
1712
|
+
* > [
|
|
1713
|
+
* {
|
|
1714
|
+
* "actions": [
|
|
1715
|
+
* "datasets:read"
|
|
1716
|
+
* ],
|
|
1717
|
+
* "datasets": [
|
|
1718
|
+
* {
|
|
1719
|
+
* "params": "dataset_id"
|
|
1720
|
+
* }
|
|
1721
|
+
* ]
|
|
1722
|
+
* }
|
|
1723
|
+
* ]
|
|
484
1724
|
*/
|
|
485
1725
|
post: operations["GetWhere"];
|
|
486
1726
|
};
|
|
@@ -489,15 +1729,61 @@ export interface paths {
|
|
|
489
1729
|
* Retrieve documents with filters.
|
|
490
1730
|
* afterId is provided to retrieve even more documents. Loop through it to retrieve all documents in the database.
|
|
491
1731
|
* Filter is used to retrieve documents that match the conditions set in a filter query.
|
|
1732
|
+
*
|
|
1733
|
+
* ### Required permissions
|
|
1734
|
+
* > [
|
|
1735
|
+
* {
|
|
1736
|
+
* "actions": [
|
|
1737
|
+
* "datasets:read"
|
|
1738
|
+
* ],
|
|
1739
|
+
* "datasets": [
|
|
1740
|
+
* {
|
|
1741
|
+
* "params": "dataset_id"
|
|
1742
|
+
* }
|
|
1743
|
+
* ]
|
|
1744
|
+
* }
|
|
1745
|
+
* ]
|
|
492
1746
|
*/
|
|
493
1747
|
post: operations["PaginateDocuments"];
|
|
494
1748
|
};
|
|
495
1749
|
"/datasets/{dataset_id}/documents/bulk_get": {
|
|
496
|
-
/**
|
|
1750
|
+
/**
|
|
1751
|
+
* Retrieve documents by their IDs ("_id" field). This will retrieve the documents faster than a filter applied on the "_id" field. For single id lookup version of this request use /datasets/{dataset_id}/documents/get.
|
|
1752
|
+
*
|
|
1753
|
+
* ### Required permissions
|
|
1754
|
+
* > [
|
|
1755
|
+
* {
|
|
1756
|
+
* "actions": [
|
|
1757
|
+
* "datasets:read"
|
|
1758
|
+
* ],
|
|
1759
|
+
* "datasets": [
|
|
1760
|
+
* {
|
|
1761
|
+
* "params": "dataset_id"
|
|
1762
|
+
* }
|
|
1763
|
+
* ]
|
|
1764
|
+
* }
|
|
1765
|
+
* ]
|
|
1766
|
+
*/
|
|
497
1767
|
post: operations["BulkGetDocuments"];
|
|
498
1768
|
};
|
|
499
1769
|
"/datasets/{dataset_id}/documents/bulk_delete": {
|
|
500
|
-
/**
|
|
1770
|
+
/**
|
|
1771
|
+
* Delete a list of documents by their IDs. For deleting a single document refer to /datasets/{dataset_id}/documents/delete or deleting documents by filters refer to /datasets/{dataset_id}/documents/delete_where.
|
|
1772
|
+
*
|
|
1773
|
+
* ### Required permissions
|
|
1774
|
+
* > [
|
|
1775
|
+
* {
|
|
1776
|
+
* "actions": [
|
|
1777
|
+
* "datasets:write"
|
|
1778
|
+
* ],
|
|
1779
|
+
* "datasets": [
|
|
1780
|
+
* {
|
|
1781
|
+
* "params": "dataset_id"
|
|
1782
|
+
* }
|
|
1783
|
+
* ]
|
|
1784
|
+
* }
|
|
1785
|
+
* ]
|
|
1786
|
+
*/
|
|
501
1787
|
post: operations["BulkDeleteDocuments"];
|
|
502
1788
|
};
|
|
503
1789
|
"/datasets/{dataset_id}/documents/list": {
|
|
@@ -505,99 +1791,373 @@ export interface paths {
|
|
|
505
1791
|
* Retrieve documents with filters.
|
|
506
1792
|
* afterId is provided to retrieve even more documents. Loop through it to retrieve all documents in the database.
|
|
507
1793
|
* Filter is used to retrieve documents that match the conditions set in a filter query.
|
|
1794
|
+
*
|
|
1795
|
+
* ### Required permissions
|
|
1796
|
+
* > [
|
|
1797
|
+
* {
|
|
1798
|
+
* "actions": [
|
|
1799
|
+
* "datasets:read"
|
|
1800
|
+
* ],
|
|
1801
|
+
* "datasets": [
|
|
1802
|
+
* {
|
|
1803
|
+
* "params": "dataset_id"
|
|
1804
|
+
* }
|
|
1805
|
+
* ]
|
|
1806
|
+
* }
|
|
1807
|
+
* ]
|
|
508
1808
|
*/
|
|
509
1809
|
get: operations["ListDocuments"];
|
|
510
1810
|
};
|
|
511
1811
|
"/datasets/{dataset_id}/documents/delete_where": {
|
|
512
|
-
/**
|
|
1812
|
+
/**
|
|
1813
|
+
* Delete documents that match on a filters. At least one filter must be provided.
|
|
1814
|
+
*
|
|
1815
|
+
* ### Required permissions
|
|
1816
|
+
* > [
|
|
1817
|
+
* {
|
|
1818
|
+
* "actions": [
|
|
1819
|
+
* "datasets:write"
|
|
1820
|
+
* ],
|
|
1821
|
+
* "datasets": [
|
|
1822
|
+
* {
|
|
1823
|
+
* "params": "dataset_id"
|
|
1824
|
+
* }
|
|
1825
|
+
* ]
|
|
1826
|
+
* }
|
|
1827
|
+
* ]
|
|
1828
|
+
*/
|
|
513
1829
|
post: operations["DeleteWhere"];
|
|
514
1830
|
};
|
|
515
1831
|
"/datasets/{dataset_id}/simple_search": {
|
|
516
|
-
/**
|
|
1832
|
+
/**
|
|
1833
|
+
* SimpleSearch is an easy way to use vector search and traditional text matching to search your dataset. It also supports filtering, sorting and aggregating results.
|
|
1834
|
+
*
|
|
1835
|
+
* ### Required permissions
|
|
1836
|
+
* > [
|
|
1837
|
+
* {
|
|
1838
|
+
* "actions": [
|
|
1839
|
+
* "datasets:read"
|
|
1840
|
+
* ],
|
|
1841
|
+
* "datasets": [
|
|
1842
|
+
* {
|
|
1843
|
+
* "params": "dataset_id"
|
|
1844
|
+
* }
|
|
1845
|
+
* ]
|
|
1846
|
+
* }
|
|
1847
|
+
* ]
|
|
1848
|
+
*/
|
|
517
1849
|
post: operations["SimpleSearchPost"];
|
|
518
1850
|
};
|
|
519
1851
|
"/datasets/{dataset_id}/search": {
|
|
520
|
-
/**
|
|
1852
|
+
/**
|
|
1853
|
+
* SimpleSearch is an easy way to use vector search and traditional text matching to search your dataset. It also supports filtering, sorting and aggregating results.
|
|
1854
|
+
*
|
|
1855
|
+
* ### Required permissions
|
|
1856
|
+
* > [
|
|
1857
|
+
* {
|
|
1858
|
+
* "actions": [
|
|
1859
|
+
* "datasets:read"
|
|
1860
|
+
* ],
|
|
1861
|
+
* "datasets": [
|
|
1862
|
+
* {
|
|
1863
|
+
* "params": "dataset_id"
|
|
1864
|
+
* }
|
|
1865
|
+
* ]
|
|
1866
|
+
* }
|
|
1867
|
+
* ]
|
|
1868
|
+
*/
|
|
521
1869
|
post: operations["Search"];
|
|
522
1870
|
};
|
|
523
1871
|
"/datasets/{dataset_id}/recommend": {
|
|
524
|
-
/**
|
|
1872
|
+
/**
|
|
1873
|
+
* Recommend documents similar to specific documents. Specify which vector field must be used for recommendation using the documentsToRecommend property.
|
|
1874
|
+
*
|
|
1875
|
+
* ### Required permissions
|
|
1876
|
+
* > [
|
|
1877
|
+
* {
|
|
1878
|
+
* "actions": [
|
|
1879
|
+
* "datasets:read"
|
|
1880
|
+
* ],
|
|
1881
|
+
* "datasets": [
|
|
1882
|
+
* {
|
|
1883
|
+
* "params": "dataset_id"
|
|
1884
|
+
* }
|
|
1885
|
+
* ]
|
|
1886
|
+
* }
|
|
1887
|
+
* ]
|
|
1888
|
+
*/
|
|
525
1889
|
post: operations["Recommend"];
|
|
526
1890
|
};
|
|
527
1891
|
"/datasets/{dataset_id}/clone": {
|
|
1892
|
+
/**
|
|
1893
|
+
* ### Required permissions
|
|
1894
|
+
* > [
|
|
1895
|
+
* {
|
|
1896
|
+
* "actions": [
|
|
1897
|
+
* "datasets:read"
|
|
1898
|
+
* ],
|
|
1899
|
+
* "datasets": [
|
|
1900
|
+
* {
|
|
1901
|
+
* "params": "dataset_id"
|
|
1902
|
+
* }
|
|
1903
|
+
* ]
|
|
1904
|
+
* },
|
|
1905
|
+
* {
|
|
1906
|
+
* "actions": [
|
|
1907
|
+
* "datasets:write"
|
|
1908
|
+
* ],
|
|
1909
|
+
* "datasets": [
|
|
1910
|
+
* {
|
|
1911
|
+
* "body": "new_dataset_id"
|
|
1912
|
+
* }
|
|
1913
|
+
* ]
|
|
1914
|
+
* }
|
|
1915
|
+
* ]
|
|
1916
|
+
*/
|
|
528
1917
|
post: operations["CloneDataset"];
|
|
529
1918
|
};
|
|
530
1919
|
"/services/prediction/regression/knn": {
|
|
531
|
-
/**
|
|
1920
|
+
/**
|
|
1921
|
+
* Predict using KNN regression.
|
|
1922
|
+
*
|
|
1923
|
+
* ### Required permissions
|
|
1924
|
+
* > [
|
|
1925
|
+
* {
|
|
1926
|
+
* "actions": [
|
|
1927
|
+
* "datasets:read"
|
|
1928
|
+
* ],
|
|
1929
|
+
* "datasets": [
|
|
1930
|
+
* {
|
|
1931
|
+
* "body": "dataset_id"
|
|
1932
|
+
* }
|
|
1933
|
+
* ]
|
|
1934
|
+
* }
|
|
1935
|
+
* ]
|
|
1936
|
+
*/
|
|
532
1937
|
post: operations["PredictKNNRegression"];
|
|
533
1938
|
};
|
|
534
1939
|
"/services/prediction/knn_from_results": {
|
|
535
|
-
/**
|
|
1940
|
+
/**
|
|
1941
|
+
* Predict using KNN regression from search results.
|
|
1942
|
+
*
|
|
1943
|
+
* ### Required permissions
|
|
1944
|
+
* > []
|
|
1945
|
+
*/
|
|
536
1946
|
post: operations["PredictKNNFromResults"];
|
|
537
1947
|
};
|
|
538
1948
|
"/services/evaluation/bias": {
|
|
1949
|
+
/**
|
|
1950
|
+
* ### Required permissions
|
|
1951
|
+
* > []
|
|
1952
|
+
*/
|
|
539
1953
|
post: operations["BiasEvaluation"];
|
|
540
1954
|
};
|
|
541
1955
|
"/services/vectorize": {
|
|
1956
|
+
/**
|
|
1957
|
+
* ### Required permissions
|
|
1958
|
+
* > []
|
|
1959
|
+
*/
|
|
542
1960
|
post: operations["Vectorize"];
|
|
543
1961
|
};
|
|
544
1962
|
"/services/vectorize/{dataset_id}/vectorize_and_insert": {
|
|
1963
|
+
/**
|
|
1964
|
+
* ### Required permissions
|
|
1965
|
+
* > [
|
|
1966
|
+
* {
|
|
1967
|
+
* "actions": [
|
|
1968
|
+
* "datasets:write"
|
|
1969
|
+
* ],
|
|
1970
|
+
* "datasets": [
|
|
1971
|
+
* {
|
|
1972
|
+
* "params": "dataset_id"
|
|
1973
|
+
* }
|
|
1974
|
+
* ]
|
|
1975
|
+
* }
|
|
1976
|
+
* ]
|
|
1977
|
+
*/
|
|
545
1978
|
post: operations["VectorizeAndInsert"];
|
|
546
1979
|
};
|
|
547
1980
|
"/services/vectorize/{dataset_id}": {
|
|
1981
|
+
/**
|
|
1982
|
+
* ### Required permissions
|
|
1983
|
+
* > [
|
|
1984
|
+
* {
|
|
1985
|
+
* "actions": [
|
|
1986
|
+
* "datasets:write"
|
|
1987
|
+
* ],
|
|
1988
|
+
* "datasets": [
|
|
1989
|
+
* {
|
|
1990
|
+
* "params": "dataset_id"
|
|
1991
|
+
* }
|
|
1992
|
+
* ]
|
|
1993
|
+
* }
|
|
1994
|
+
* ]
|
|
1995
|
+
*/
|
|
548
1996
|
post: operations["VectorizeField"];
|
|
549
1997
|
};
|
|
550
1998
|
"/workflows/trigger": {
|
|
1999
|
+
/**
|
|
2000
|
+
* ### Required permissions
|
|
2001
|
+
* > [
|
|
2002
|
+
* {
|
|
2003
|
+
* "actions": [
|
|
2004
|
+
* "datasets:read",
|
|
2005
|
+
* "datasets:write"
|
|
2006
|
+
* ],
|
|
2007
|
+
* "datasets": [
|
|
2008
|
+
* {
|
|
2009
|
+
* "body": "dataset_id"
|
|
2010
|
+
* }
|
|
2011
|
+
* ]
|
|
2012
|
+
* }
|
|
2013
|
+
* ]
|
|
2014
|
+
*/
|
|
551
2015
|
post: operations["TriggerWorkflow"];
|
|
552
2016
|
};
|
|
553
2017
|
"/workflows/list": {
|
|
2018
|
+
/**
|
|
2019
|
+
* ### Required permissions
|
|
2020
|
+
* > [
|
|
2021
|
+
* {
|
|
2022
|
+
* "actions": [
|
|
2023
|
+
* "datasets:read"
|
|
2024
|
+
* ]
|
|
2025
|
+
* }
|
|
2026
|
+
* ]
|
|
2027
|
+
*/
|
|
554
2028
|
get: operations["ListWorkflows"];
|
|
555
2029
|
};
|
|
556
2030
|
"/workflows/{workflow_id}/get": {
|
|
2031
|
+
/**
|
|
2032
|
+
* ### Required permissions
|
|
2033
|
+
* > [
|
|
2034
|
+
* {
|
|
2035
|
+
* "actions": [
|
|
2036
|
+
* "datasets:read"
|
|
2037
|
+
* ]
|
|
2038
|
+
* }
|
|
2039
|
+
* ]
|
|
2040
|
+
*/
|
|
557
2041
|
post: operations["GetWorkflowStatus"];
|
|
558
2042
|
};
|
|
559
2043
|
"/workflows/{workflow_id}/delete": {
|
|
2044
|
+
/**
|
|
2045
|
+
* ### Required permissions
|
|
2046
|
+
* > [
|
|
2047
|
+
* {
|
|
2048
|
+
* "actions": [
|
|
2049
|
+
* "datasets:write"
|
|
2050
|
+
* ]
|
|
2051
|
+
* }
|
|
2052
|
+
* ]
|
|
2053
|
+
*/
|
|
560
2054
|
post: operations["DeleteWorkflowStatus"];
|
|
561
2055
|
};
|
|
562
2056
|
"/workflows/{workflow_id}/metadata": {
|
|
563
|
-
/**
|
|
2057
|
+
/**
|
|
2058
|
+
* Update metadata for a workflow run
|
|
2059
|
+
*
|
|
2060
|
+
* ### Required permissions
|
|
2061
|
+
* > [
|
|
2062
|
+
* {
|
|
2063
|
+
* "actions": [
|
|
2064
|
+
* "datasets:write"
|
|
2065
|
+
* ]
|
|
2066
|
+
* }
|
|
2067
|
+
* ]
|
|
2068
|
+
*/
|
|
564
2069
|
post: operations["UpsertWorkflowMetadata"];
|
|
565
2070
|
};
|
|
566
2071
|
"/workflows/{workflow_id}/status": {
|
|
567
|
-
/**
|
|
2072
|
+
/**
|
|
2073
|
+
* Update status for a workflow run
|
|
2074
|
+
*
|
|
2075
|
+
* ### Required permissions
|
|
2076
|
+
* > [
|
|
2077
|
+
* {
|
|
2078
|
+
* "actions": [
|
|
2079
|
+
* "datasets:write"
|
|
2080
|
+
* ]
|
|
2081
|
+
* }
|
|
2082
|
+
* ]
|
|
2083
|
+
*/
|
|
568
2084
|
post: operations["UpsertWorkflowStatus"];
|
|
569
2085
|
};
|
|
570
2086
|
"/datasets/{dataset_id}/field_children/{fieldchildren_id}/delete": {
|
|
2087
|
+
/**
|
|
2088
|
+
* ### Required permissions
|
|
2089
|
+
* > []
|
|
2090
|
+
*/
|
|
571
2091
|
post: operations["DeleteFieldChildren"];
|
|
572
2092
|
};
|
|
573
2093
|
"/datasets/{dataset_id}/field_children/list": {
|
|
2094
|
+
/**
|
|
2095
|
+
* ### Required permissions
|
|
2096
|
+
* > []
|
|
2097
|
+
*/
|
|
574
2098
|
post: operations["ListFieldChildrens"];
|
|
575
2099
|
};
|
|
576
2100
|
"/datasets/{dataset_id}/field_children/{fieldchildren_id}/update": {
|
|
2101
|
+
/**
|
|
2102
|
+
* ### Required permissions
|
|
2103
|
+
* > []
|
|
2104
|
+
*/
|
|
577
2105
|
post: operations["UpdateFieldChildren"];
|
|
578
2106
|
};
|
|
579
2107
|
"/workflows/favourites/{favouriteworkflow_id}/delete": {
|
|
2108
|
+
/**
|
|
2109
|
+
* ### Required permissions
|
|
2110
|
+
* > []
|
|
2111
|
+
*/
|
|
580
2112
|
post: operations["DeleteFavouriteWorkflow"];
|
|
581
2113
|
};
|
|
582
2114
|
"/workflows/favourites/list": {
|
|
2115
|
+
/**
|
|
2116
|
+
* ### Required permissions
|
|
2117
|
+
* > []
|
|
2118
|
+
*/
|
|
583
2119
|
post: operations["ListFavouriteWorkflows"];
|
|
584
2120
|
};
|
|
585
2121
|
"/workflows/favourites/{favouriteworkflow_id}/update": {
|
|
2122
|
+
/**
|
|
2123
|
+
* ### Required permissions
|
|
2124
|
+
* > []
|
|
2125
|
+
*/
|
|
586
2126
|
post: operations["UpdateFavouriteWorkflow"];
|
|
587
2127
|
};
|
|
588
2128
|
"/savedfilters/{savedfilter_id}/delete": {
|
|
2129
|
+
/**
|
|
2130
|
+
* ### Required permissions
|
|
2131
|
+
* > []
|
|
2132
|
+
*/
|
|
589
2133
|
post: operations["DeleteSavedFilter"];
|
|
590
2134
|
};
|
|
591
2135
|
"/savedfilters/list": {
|
|
2136
|
+
/**
|
|
2137
|
+
* ### Required permissions
|
|
2138
|
+
* > []
|
|
2139
|
+
*/
|
|
592
2140
|
post: operations["ListSavedFilters"];
|
|
593
2141
|
};
|
|
594
2142
|
"/savedfilters/{savedfilter_id}/update": {
|
|
2143
|
+
/**
|
|
2144
|
+
* ### Required permissions
|
|
2145
|
+
* > []
|
|
2146
|
+
*/
|
|
595
2147
|
post: operations["UpdateSavedFilter"];
|
|
596
2148
|
};
|
|
597
2149
|
"/savedfilters/{savedfilter_id}/get": {
|
|
2150
|
+
/**
|
|
2151
|
+
* ### Required permissions
|
|
2152
|
+
* > []
|
|
2153
|
+
*/
|
|
598
2154
|
get: operations["GetSavedFilter"];
|
|
599
2155
|
};
|
|
600
2156
|
"/savedfilters/create": {
|
|
2157
|
+
/**
|
|
2158
|
+
* ### Required permissions
|
|
2159
|
+
* > []
|
|
2160
|
+
*/
|
|
601
2161
|
post: operations["CreateSavedFilter"];
|
|
602
2162
|
};
|
|
603
2163
|
}
|
|
@@ -713,7 +2273,7 @@ export interface components {
|
|
|
713
2273
|
}[];
|
|
714
2274
|
}[];
|
|
715
2275
|
};
|
|
716
|
-
|
|
2276
|
+
CreateDeployableGroupInput: {
|
|
717
2277
|
_id?: string;
|
|
718
2278
|
name?: string;
|
|
719
2279
|
description?: string;
|
|
@@ -724,8 +2284,11 @@ export interface components {
|
|
|
724
2284
|
private?: boolean;
|
|
725
2285
|
}[];
|
|
726
2286
|
};
|
|
727
|
-
|
|
728
|
-
|
|
2287
|
+
CreateDeployableGroupOutput: {
|
|
2288
|
+
id: string;
|
|
2289
|
+
};
|
|
2290
|
+
GetDeployableGroupInput: unknown;
|
|
2291
|
+
GetDeployableGroupOutput: {
|
|
729
2292
|
_id?: string;
|
|
730
2293
|
name?: string;
|
|
731
2294
|
description?: string;
|
|
@@ -736,11 +2299,7 @@ export interface components {
|
|
|
736
2299
|
private?: boolean;
|
|
737
2300
|
}[];
|
|
738
2301
|
};
|
|
739
|
-
|
|
740
|
-
id: string;
|
|
741
|
-
};
|
|
742
|
-
GetDeployableGroupInput: unknown;
|
|
743
|
-
GetDeployableGroupOutput: {
|
|
2302
|
+
UpdateDeployableGroupInput: {
|
|
744
2303
|
_id?: string;
|
|
745
2304
|
name?: string;
|
|
746
2305
|
description?: string;
|
|
@@ -751,6 +2310,7 @@ export interface components {
|
|
|
751
2310
|
private?: boolean;
|
|
752
2311
|
}[];
|
|
753
2312
|
};
|
|
2313
|
+
UpdateDeployableGroupOutput: unknown;
|
|
754
2314
|
CreateDeployableGroupKeyInput: unknown;
|
|
755
2315
|
CreateDeployableGroupKeyOutput: unknown;
|
|
756
2316
|
DeleteDeployableGroupKeyInput: unknown;
|
|
@@ -4112,7 +5672,7 @@ export interface components {
|
|
|
4112
5672
|
/** @description The model url to use */
|
|
4113
5673
|
model_url?: string;
|
|
4114
5674
|
/** @description The model name to use. */
|
|
4115
|
-
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers";
|
|
5675
|
+
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers" | "similarity-all-mpnet-base-v2";
|
|
4116
5676
|
/** @description Can be 'url' or 'text'. Use 'url' for image models and 'text' for text models. */
|
|
4117
5677
|
body?: string;
|
|
4118
5678
|
/** @description The document field to encode. */
|
|
@@ -4184,7 +5744,7 @@ export interface components {
|
|
|
4184
5744
|
/** @description The model url to use */
|
|
4185
5745
|
model_url?: string;
|
|
4186
5746
|
/** @description The model name to use. */
|
|
4187
|
-
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers";
|
|
5747
|
+
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers" | "similarity-all-mpnet-base-v2";
|
|
4188
5748
|
/** @description Can be 'url' or 'text'. Use 'url' for image models and 'text' for text models. */
|
|
4189
5749
|
body?: string;
|
|
4190
5750
|
/** @description The document field to encode. */
|
|
@@ -4924,7 +6484,7 @@ export interface components {
|
|
|
4924
6484
|
/** @description The model url to use */
|
|
4925
6485
|
model_url?: string;
|
|
4926
6486
|
/** @description The model name to use. */
|
|
4927
|
-
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers";
|
|
6487
|
+
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers" | "similarity-all-mpnet-base-v2";
|
|
4928
6488
|
/** @description Can be 'url' or 'text'. Use 'url' for image models and 'text' for text models. */
|
|
4929
6489
|
body?: string;
|
|
4930
6490
|
/** @description The document field to encode. */
|
|
@@ -5009,7 +6569,7 @@ export interface components {
|
|
|
5009
6569
|
/** @description The model url to use */
|
|
5010
6570
|
model_url?: string;
|
|
5011
6571
|
/** @description The model name to use. */
|
|
5012
|
-
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers";
|
|
6572
|
+
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers" | "similarity-all-mpnet-base-v2";
|
|
5013
6573
|
/** @description Can be 'url' or 'text'. Use 'url' for image models and 'text' for text models. */
|
|
5014
6574
|
body?: string;
|
|
5015
6575
|
/** @description The document field to encode. */
|
|
@@ -7536,7 +9096,7 @@ export interface components {
|
|
|
7536
9096
|
/** @description The model url to use */
|
|
7537
9097
|
model_url?: string;
|
|
7538
9098
|
/** @description The model name to use. */
|
|
7539
|
-
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers";
|
|
9099
|
+
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers" | "similarity-all-mpnet-base-v2";
|
|
7540
9100
|
/** @description Can be 'url' or 'text'. Use 'url' for image models and 'text' for text models. */
|
|
7541
9101
|
body?: string;
|
|
7542
9102
|
/** @description The document field to encode. */
|
|
@@ -7554,7 +9114,7 @@ export interface components {
|
|
|
7554
9114
|
/** @description The model url to use */
|
|
7555
9115
|
model_url?: string;
|
|
7556
9116
|
/** @description The model name to use. */
|
|
7557
|
-
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers";
|
|
9117
|
+
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers" | "similarity-all-mpnet-base-v2";
|
|
7558
9118
|
/** @description Can be 'url' or 'text'. Use 'url' for image models and 'text' for text models. */
|
|
7559
9119
|
body?: string;
|
|
7560
9120
|
/** @description The document field to encode. */
|
|
@@ -7581,7 +9141,7 @@ export interface components {
|
|
|
7581
9141
|
/** @description The model url to use */
|
|
7582
9142
|
model_url?: string;
|
|
7583
9143
|
/** @description The model name to use. */
|
|
7584
|
-
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers";
|
|
9144
|
+
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers" | "similarity-all-mpnet-base-v2";
|
|
7585
9145
|
/** @description Can be 'url' or 'text'. Use 'url' for image models and 'text' for text models. */
|
|
7586
9146
|
body?: string;
|
|
7587
9147
|
/** @description The document field to encode. */
|
|
@@ -7621,7 +9181,7 @@ export interface components {
|
|
|
7621
9181
|
/** @description The model url to use */
|
|
7622
9182
|
model_url?: string;
|
|
7623
9183
|
/** @description The model name to use. */
|
|
7624
|
-
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers";
|
|
9184
|
+
model_name?: "image_text" | "text_image" | "all-mpnet-base-v2" | "clip-vit-b-32-image" | "clip-vit-b-32-text" | "sentence-transformers" | "similarity-all-mpnet-base-v2";
|
|
7625
9185
|
/** @description Can be 'url' or 'text'. Use 'url' for image models and 'text' for text models. */
|
|
7626
9186
|
body?: string;
|
|
7627
9187
|
/** @description The document field to encode. */
|
|
@@ -7651,6 +9211,7 @@ export interface components {
|
|
|
7651
9211
|
notebook_path: string;
|
|
7652
9212
|
instance_type?: string;
|
|
7653
9213
|
dataset_id: string;
|
|
9214
|
+
workflow_id?: string;
|
|
7654
9215
|
};
|
|
7655
9216
|
TriggerWorkflowOutput: {
|
|
7656
9217
|
job_id: string;
|
|
@@ -7666,6 +9227,7 @@ export interface components {
|
|
|
7666
9227
|
[key: string]: unknown;
|
|
7667
9228
|
};
|
|
7668
9229
|
_id?: string;
|
|
9230
|
+
workflow_id?: string;
|
|
7669
9231
|
metadata?: {
|
|
7670
9232
|
[key: string]: unknown;
|
|
7671
9233
|
};
|
|
@@ -7686,6 +9248,7 @@ export interface components {
|
|
|
7686
9248
|
[key: string]: unknown;
|
|
7687
9249
|
};
|
|
7688
9250
|
_id?: string;
|
|
9251
|
+
workflow_id?: string;
|
|
7689
9252
|
metadata?: {
|
|
7690
9253
|
[key: string]: unknown;
|
|
7691
9254
|
};
|
|
@@ -7735,6 +9298,7 @@ export interface components {
|
|
|
7735
9298
|
metadata?: {
|
|
7736
9299
|
[key: string]: unknown;
|
|
7737
9300
|
};
|
|
9301
|
+
category?: string;
|
|
7738
9302
|
}[];
|
|
7739
9303
|
};
|
|
7740
9304
|
UpdateFieldChildrenInput: {
|
|
@@ -7744,6 +9308,7 @@ export interface components {
|
|
|
7744
9308
|
metadata?: {
|
|
7745
9309
|
[key: string]: unknown;
|
|
7746
9310
|
};
|
|
9311
|
+
category?: string;
|
|
7747
9312
|
};
|
|
7748
9313
|
UpdateFieldChildrenOutput: unknown;
|
|
7749
9314
|
DeleteFavouriteWorkflowInput: unknown;
|
|
@@ -7768,22 +9333,38 @@ export interface components {
|
|
|
7768
9333
|
ListSavedFiltersOutput: {
|
|
7769
9334
|
results: {
|
|
7770
9335
|
_id?: string;
|
|
7771
|
-
filters?:
|
|
9336
|
+
filters?: {
|
|
9337
|
+
[key: string]: unknown;
|
|
9338
|
+
};
|
|
9339
|
+
label?: string;
|
|
9340
|
+
name?: string;
|
|
7772
9341
|
}[];
|
|
7773
9342
|
};
|
|
7774
9343
|
UpdateSavedFilterInput: {
|
|
7775
9344
|
_id?: string;
|
|
7776
|
-
filters?:
|
|
9345
|
+
filters?: {
|
|
9346
|
+
[key: string]: unknown;
|
|
9347
|
+
};
|
|
9348
|
+
label?: string;
|
|
9349
|
+
name?: string;
|
|
7777
9350
|
};
|
|
7778
9351
|
UpdateSavedFilterOutput: unknown;
|
|
7779
9352
|
GetSavedFilterInput: unknown;
|
|
7780
9353
|
GetSavedFilterOutput: {
|
|
7781
9354
|
_id?: string;
|
|
7782
|
-
filters?:
|
|
9355
|
+
filters?: {
|
|
9356
|
+
[key: string]: unknown;
|
|
9357
|
+
};
|
|
9358
|
+
label?: string;
|
|
9359
|
+
name?: string;
|
|
7783
9360
|
};
|
|
7784
9361
|
CreateSavedFilterInput: {
|
|
7785
9362
|
_id?: string;
|
|
7786
|
-
filters?:
|
|
9363
|
+
filters?: {
|
|
9364
|
+
[key: string]: unknown;
|
|
9365
|
+
};
|
|
9366
|
+
label?: string;
|
|
9367
|
+
name?: string;
|
|
7787
9368
|
};
|
|
7788
9369
|
CreateSavedFilterOutput: {
|
|
7789
9370
|
id: string;
|
|
@@ -7791,7 +9372,24 @@ export interface components {
|
|
|
7791
9372
|
};
|
|
7792
9373
|
}
|
|
7793
9374
|
export interface operations {
|
|
7794
|
-
/**
|
|
9375
|
+
/**
|
|
9376
|
+
* Create a private deployable.
|
|
9377
|
+
*
|
|
9378
|
+
* ### Required permissions
|
|
9379
|
+
* > [
|
|
9380
|
+
* {
|
|
9381
|
+
* "actions": [
|
|
9382
|
+
* "deployables:write",
|
|
9383
|
+
* "datasets:read"
|
|
9384
|
+
* ],
|
|
9385
|
+
* "datasets": [
|
|
9386
|
+
* {
|
|
9387
|
+
* "body": "dataset_id"
|
|
9388
|
+
* }
|
|
9389
|
+
* ]
|
|
9390
|
+
* }
|
|
9391
|
+
* ]
|
|
9392
|
+
*/
|
|
7795
9393
|
CreateDeployable: {
|
|
7796
9394
|
parameters: {};
|
|
7797
9395
|
responses: {
|
|
@@ -7808,7 +9406,23 @@ export interface operations {
|
|
|
7808
9406
|
};
|
|
7809
9407
|
};
|
|
7810
9408
|
};
|
|
7811
|
-
/**
|
|
9409
|
+
/**
|
|
9410
|
+
* Get a deployable.
|
|
9411
|
+
*
|
|
9412
|
+
* ### Required permissions
|
|
9413
|
+
* > [
|
|
9414
|
+
* {
|
|
9415
|
+
* "actions": [
|
|
9416
|
+
* "deployables:read"
|
|
9417
|
+
* ],
|
|
9418
|
+
* "deployables": [
|
|
9419
|
+
* {
|
|
9420
|
+
* "params": "deployable_id"
|
|
9421
|
+
* }
|
|
9422
|
+
* ]
|
|
9423
|
+
* }
|
|
9424
|
+
* ]
|
|
9425
|
+
*/
|
|
7812
9426
|
GetDeployable: {
|
|
7813
9427
|
parameters: {
|
|
7814
9428
|
path: {
|
|
@@ -7825,7 +9439,33 @@ export interface operations {
|
|
|
7825
9439
|
};
|
|
7826
9440
|
};
|
|
7827
9441
|
};
|
|
7828
|
-
/**
|
|
9442
|
+
/**
|
|
9443
|
+
* Update a deployable
|
|
9444
|
+
*
|
|
9445
|
+
* ### Required permissions
|
|
9446
|
+
* > [
|
|
9447
|
+
* {
|
|
9448
|
+
* "actions": [
|
|
9449
|
+
* "deployables:write"
|
|
9450
|
+
* ],
|
|
9451
|
+
* "deployables": [
|
|
9452
|
+
* {
|
|
9453
|
+
* "params": "deployable_id"
|
|
9454
|
+
* }
|
|
9455
|
+
* ]
|
|
9456
|
+
* },
|
|
9457
|
+
* {
|
|
9458
|
+
* "actions": [
|
|
9459
|
+
* "datasets:read"
|
|
9460
|
+
* ],
|
|
9461
|
+
* "datasets": [
|
|
9462
|
+
* {
|
|
9463
|
+
* "body": "dataset_id"
|
|
9464
|
+
* }
|
|
9465
|
+
* ]
|
|
9466
|
+
* }
|
|
9467
|
+
* ]
|
|
9468
|
+
*/
|
|
7829
9469
|
UpdateDeployable: {
|
|
7830
9470
|
parameters: {
|
|
7831
9471
|
path: {
|
|
@@ -7847,6 +9487,21 @@ export interface operations {
|
|
|
7847
9487
|
};
|
|
7848
9488
|
};
|
|
7849
9489
|
};
|
|
9490
|
+
/**
|
|
9491
|
+
* ### Required permissions
|
|
9492
|
+
* > [
|
|
9493
|
+
* {
|
|
9494
|
+
* "actions": [
|
|
9495
|
+
* "deployables:write"
|
|
9496
|
+
* ],
|
|
9497
|
+
* "deployables": [
|
|
9498
|
+
* {
|
|
9499
|
+
* "body": "id"
|
|
9500
|
+
* }
|
|
9501
|
+
* ]
|
|
9502
|
+
* }
|
|
9503
|
+
* ]
|
|
9504
|
+
*/
|
|
7850
9505
|
DeleteDeployable: {
|
|
7851
9506
|
parameters: {};
|
|
7852
9507
|
responses: {
|
|
@@ -7863,7 +9518,24 @@ export interface operations {
|
|
|
7863
9518
|
};
|
|
7864
9519
|
};
|
|
7865
9520
|
};
|
|
7866
|
-
/**
|
|
9521
|
+
/**
|
|
9522
|
+
* Share a private deployable.
|
|
9523
|
+
*
|
|
9524
|
+
* ### Required permissions
|
|
9525
|
+
* > [
|
|
9526
|
+
* {
|
|
9527
|
+
* "actions": [
|
|
9528
|
+
* "sharing:write",
|
|
9529
|
+
* "deployables:read"
|
|
9530
|
+
* ],
|
|
9531
|
+
* "deployables": [
|
|
9532
|
+
* {
|
|
9533
|
+
* "params": "deployable_id"
|
|
9534
|
+
* }
|
|
9535
|
+
* ]
|
|
9536
|
+
* }
|
|
9537
|
+
* ]
|
|
9538
|
+
*/
|
|
7867
9539
|
CreateDeployableKey: {
|
|
7868
9540
|
parameters: {
|
|
7869
9541
|
path: {
|
|
@@ -7885,6 +9557,22 @@ export interface operations {
|
|
|
7885
9557
|
};
|
|
7886
9558
|
};
|
|
7887
9559
|
};
|
|
9560
|
+
/**
|
|
9561
|
+
* ### Required permissions
|
|
9562
|
+
* > [
|
|
9563
|
+
* {
|
|
9564
|
+
* "actions": [
|
|
9565
|
+
* "users:write",
|
|
9566
|
+
* "deployables:read"
|
|
9567
|
+
* ],
|
|
9568
|
+
* "deployables": [
|
|
9569
|
+
* {
|
|
9570
|
+
* "params": "deployable_id"
|
|
9571
|
+
* }
|
|
9572
|
+
* ]
|
|
9573
|
+
* }
|
|
9574
|
+
* ]
|
|
9575
|
+
*/
|
|
7888
9576
|
CreateDeployableInvite: {
|
|
7889
9577
|
parameters: {
|
|
7890
9578
|
path: {
|
|
@@ -7906,6 +9594,22 @@ export interface operations {
|
|
|
7906
9594
|
};
|
|
7907
9595
|
};
|
|
7908
9596
|
};
|
|
9597
|
+
/**
|
|
9598
|
+
* ### Required permissions
|
|
9599
|
+
* > [
|
|
9600
|
+
* {
|
|
9601
|
+
* "actions": [
|
|
9602
|
+
* "users:write",
|
|
9603
|
+
* "deployables:read"
|
|
9604
|
+
* ],
|
|
9605
|
+
* "deployables": [
|
|
9606
|
+
* {
|
|
9607
|
+
* "params": "deployable_id"
|
|
9608
|
+
* }
|
|
9609
|
+
* ]
|
|
9610
|
+
* }
|
|
9611
|
+
* ]
|
|
9612
|
+
*/
|
|
7909
9613
|
UpdateUsersDeployablePermissions: {
|
|
7910
9614
|
parameters: {
|
|
7911
9615
|
path: {
|
|
@@ -7929,7 +9633,24 @@ export interface operations {
|
|
|
7929
9633
|
};
|
|
7930
9634
|
};
|
|
7931
9635
|
};
|
|
7932
|
-
/**
|
|
9636
|
+
/**
|
|
9637
|
+
* Unshare a shared deployable, making it private.
|
|
9638
|
+
*
|
|
9639
|
+
* ### Required permissions
|
|
9640
|
+
* > [
|
|
9641
|
+
* {
|
|
9642
|
+
* "actions": [
|
|
9643
|
+
* "sharing:write",
|
|
9644
|
+
* "deployables:read"
|
|
9645
|
+
* ],
|
|
9646
|
+
* "deployables": [
|
|
9647
|
+
* {
|
|
9648
|
+
* "params": "deployable_id"
|
|
9649
|
+
* }
|
|
9650
|
+
* ]
|
|
9651
|
+
* }
|
|
9652
|
+
* ]
|
|
9653
|
+
*/
|
|
7933
9654
|
DeleteDeployableKey: {
|
|
7934
9655
|
parameters: {
|
|
7935
9656
|
path: {
|
|
@@ -7951,7 +9672,16 @@ export interface operations {
|
|
|
7951
9672
|
};
|
|
7952
9673
|
};
|
|
7953
9674
|
};
|
|
7954
|
-
/**
|
|
9675
|
+
/**
|
|
9676
|
+
* List all deployables.
|
|
9677
|
+
*
|
|
9678
|
+
* ### Required permissions
|
|
9679
|
+
* > [
|
|
9680
|
+
* {
|
|
9681
|
+
* "actions": []
|
|
9682
|
+
* }
|
|
9683
|
+
* ]
|
|
9684
|
+
*/
|
|
7955
9685
|
ListDeployables: {
|
|
7956
9686
|
parameters: {
|
|
7957
9687
|
query: {
|
|
@@ -7972,6 +9702,10 @@ export interface operations {
|
|
|
7972
9702
|
};
|
|
7973
9703
|
};
|
|
7974
9704
|
};
|
|
9705
|
+
/**
|
|
9706
|
+
* ### Required permissions
|
|
9707
|
+
* > []
|
|
9708
|
+
*/
|
|
7975
9709
|
DeleteDeployableGroup: {
|
|
7976
9710
|
parameters: {
|
|
7977
9711
|
path: {
|
|
@@ -7993,6 +9727,10 @@ export interface operations {
|
|
|
7993
9727
|
};
|
|
7994
9728
|
};
|
|
7995
9729
|
};
|
|
9730
|
+
/**
|
|
9731
|
+
* ### Required permissions
|
|
9732
|
+
* > []
|
|
9733
|
+
*/
|
|
7996
9734
|
ListDeployableGroups: {
|
|
7997
9735
|
parameters: {};
|
|
7998
9736
|
responses: {
|
|
@@ -8009,44 +9747,51 @@ export interface operations {
|
|
|
8009
9747
|
};
|
|
8010
9748
|
};
|
|
8011
9749
|
};
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
};
|
|
9750
|
+
/**
|
|
9751
|
+
* ### Required permissions
|
|
9752
|
+
* > []
|
|
9753
|
+
*/
|
|
9754
|
+
CreateDeployableGroup: {
|
|
9755
|
+
parameters: {};
|
|
8019
9756
|
responses: {
|
|
8020
9757
|
/** successful operation */
|
|
8021
9758
|
200: {
|
|
8022
9759
|
content: {
|
|
8023
|
-
"application/json": components["schemas"]["
|
|
9760
|
+
"application/json": components["schemas"]["CreateDeployableGroupOutput"];
|
|
8024
9761
|
};
|
|
8025
9762
|
};
|
|
8026
9763
|
};
|
|
8027
9764
|
requestBody: {
|
|
8028
9765
|
content: {
|
|
8029
|
-
"application/json": components["schemas"]["
|
|
9766
|
+
"application/json": components["schemas"]["CreateDeployableGroupInput"];
|
|
8030
9767
|
};
|
|
8031
9768
|
};
|
|
8032
9769
|
};
|
|
8033
|
-
|
|
8034
|
-
|
|
9770
|
+
/**
|
|
9771
|
+
* ### Required permissions
|
|
9772
|
+
* > []
|
|
9773
|
+
*/
|
|
9774
|
+
GetDeployableGroup: {
|
|
9775
|
+
parameters: {
|
|
9776
|
+
path: {
|
|
9777
|
+
/** ID of deployablegroup */
|
|
9778
|
+
deployablegroup_id: string;
|
|
9779
|
+
};
|
|
9780
|
+
};
|
|
8035
9781
|
responses: {
|
|
8036
9782
|
/** successful operation */
|
|
8037
9783
|
200: {
|
|
8038
9784
|
content: {
|
|
8039
|
-
"application/json": components["schemas"]["
|
|
9785
|
+
"application/json": components["schemas"]["GetDeployableGroupOutput"];
|
|
8040
9786
|
};
|
|
8041
9787
|
};
|
|
8042
9788
|
};
|
|
8043
|
-
requestBody: {
|
|
8044
|
-
content: {
|
|
8045
|
-
"application/json": components["schemas"]["CreateDeployableGroupInput"];
|
|
8046
|
-
};
|
|
8047
|
-
};
|
|
8048
9789
|
};
|
|
8049
|
-
|
|
9790
|
+
/**
|
|
9791
|
+
* ### Required permissions
|
|
9792
|
+
* > []
|
|
9793
|
+
*/
|
|
9794
|
+
UpdateDeployableGroup: {
|
|
8050
9795
|
parameters: {
|
|
8051
9796
|
path: {
|
|
8052
9797
|
/** ID of deployablegroup */
|
|
@@ -8057,12 +9802,28 @@ export interface operations {
|
|
|
8057
9802
|
/** successful operation */
|
|
8058
9803
|
200: {
|
|
8059
9804
|
content: {
|
|
8060
|
-
"application/json": components["schemas"]["
|
|
9805
|
+
"application/json": components["schemas"]["UpdateDeployableGroupOutput"];
|
|
8061
9806
|
};
|
|
8062
9807
|
};
|
|
8063
9808
|
};
|
|
9809
|
+
requestBody: {
|
|
9810
|
+
content: {
|
|
9811
|
+
"application/json": components["schemas"]["UpdateDeployableGroupInput"];
|
|
9812
|
+
};
|
|
9813
|
+
};
|
|
8064
9814
|
};
|
|
8065
|
-
/**
|
|
9815
|
+
/**
|
|
9816
|
+
* Share a private deployable group. Required read access to all deployables that are shared, and the datasets deployables are tied to.
|
|
9817
|
+
*
|
|
9818
|
+
* ### Required permissions
|
|
9819
|
+
* > [
|
|
9820
|
+
* {
|
|
9821
|
+
* "actions": [
|
|
9822
|
+
* "sharing:write"
|
|
9823
|
+
* ]
|
|
9824
|
+
* }
|
|
9825
|
+
* ]
|
|
9826
|
+
*/
|
|
8066
9827
|
CreateDeployableGroupKey: {
|
|
8067
9828
|
parameters: {
|
|
8068
9829
|
path: {
|
|
@@ -8084,7 +9845,18 @@ export interface operations {
|
|
|
8084
9845
|
};
|
|
8085
9846
|
};
|
|
8086
9847
|
};
|
|
8087
|
-
/**
|
|
9848
|
+
/**
|
|
9849
|
+
* Unshare a shared deployable group, making it private.
|
|
9850
|
+
*
|
|
9851
|
+
* ### Required permissions
|
|
9852
|
+
* > [
|
|
9853
|
+
* {
|
|
9854
|
+
* "actions": [
|
|
9855
|
+
* "sharing:write"
|
|
9856
|
+
* ]
|
|
9857
|
+
* }
|
|
9858
|
+
* ]
|
|
9859
|
+
*/
|
|
8088
9860
|
DeleteDeployableGroupKey: {
|
|
8089
9861
|
parameters: {
|
|
8090
9862
|
path: {
|
|
@@ -8106,7 +9878,23 @@ export interface operations {
|
|
|
8106
9878
|
};
|
|
8107
9879
|
};
|
|
8108
9880
|
};
|
|
8109
|
-
/**
|
|
9881
|
+
/**
|
|
9882
|
+
* Create a new Project that your user will have access to
|
|
9883
|
+
*
|
|
9884
|
+
* ### Required permissions
|
|
9885
|
+
* > [
|
|
9886
|
+
* {
|
|
9887
|
+
* "actions": [
|
|
9888
|
+
* "organizations:write"
|
|
9889
|
+
* ],
|
|
9890
|
+
* "organizations": [
|
|
9891
|
+
* {
|
|
9892
|
+
* "body": "organization_id"
|
|
9893
|
+
* }
|
|
9894
|
+
* ]
|
|
9895
|
+
* }
|
|
9896
|
+
* ]
|
|
9897
|
+
*/
|
|
8110
9898
|
CreateProject: {
|
|
8111
9899
|
parameters: {};
|
|
8112
9900
|
responses: {
|
|
@@ -8123,7 +9911,18 @@ export interface operations {
|
|
|
8123
9911
|
};
|
|
8124
9912
|
};
|
|
8125
9913
|
};
|
|
8126
|
-
/**
|
|
9914
|
+
/**
|
|
9915
|
+
* Update metadata of a Project
|
|
9916
|
+
*
|
|
9917
|
+
* ### Required permissions
|
|
9918
|
+
* > [
|
|
9919
|
+
* {
|
|
9920
|
+
* "actions": [
|
|
9921
|
+
* "admin"
|
|
9922
|
+
* ]
|
|
9923
|
+
* }
|
|
9924
|
+
* ]
|
|
9925
|
+
*/
|
|
8127
9926
|
UpdateProject: {
|
|
8128
9927
|
parameters: {};
|
|
8129
9928
|
responses: {
|
|
@@ -8140,7 +9939,33 @@ export interface operations {
|
|
|
8140
9939
|
};
|
|
8141
9940
|
};
|
|
8142
9941
|
};
|
|
8143
|
-
/**
|
|
9942
|
+
/**
|
|
9943
|
+
* Tie a project to an organization. This requires admin privileges over project and organization.
|
|
9944
|
+
*
|
|
9945
|
+
* ### Required permissions
|
|
9946
|
+
* > [
|
|
9947
|
+
* {
|
|
9948
|
+
* "actions": [
|
|
9949
|
+
* "admin"
|
|
9950
|
+
* ],
|
|
9951
|
+
* "projects": [
|
|
9952
|
+
* {
|
|
9953
|
+
* "user_info": "username"
|
|
9954
|
+
* }
|
|
9955
|
+
* ]
|
|
9956
|
+
* },
|
|
9957
|
+
* {
|
|
9958
|
+
* "actions": [
|
|
9959
|
+
* "organizations:write"
|
|
9960
|
+
* ],
|
|
9961
|
+
* "organizations": [
|
|
9962
|
+
* {
|
|
9963
|
+
* "body": "organization_id"
|
|
9964
|
+
* }
|
|
9965
|
+
* ]
|
|
9966
|
+
* }
|
|
9967
|
+
* ]
|
|
9968
|
+
*/
|
|
8144
9969
|
TransferProjectToOrganization: {
|
|
8145
9970
|
parameters: {};
|
|
8146
9971
|
responses: {
|
|
@@ -8157,7 +9982,12 @@ export interface operations {
|
|
|
8157
9982
|
};
|
|
8158
9983
|
};
|
|
8159
9984
|
};
|
|
8160
|
-
/**
|
|
9985
|
+
/**
|
|
9986
|
+
* List all projects and their metadata
|
|
9987
|
+
*
|
|
9988
|
+
* ### Required permissions
|
|
9989
|
+
* > []
|
|
9990
|
+
*/
|
|
8161
9991
|
ListProjects: {
|
|
8162
9992
|
parameters: {};
|
|
8163
9993
|
responses: {
|
|
@@ -8169,6 +9999,16 @@ export interface operations {
|
|
|
8169
9999
|
};
|
|
8170
10000
|
};
|
|
8171
10001
|
};
|
|
10002
|
+
/**
|
|
10003
|
+
* ### Required permissions
|
|
10004
|
+
* > [
|
|
10005
|
+
* {
|
|
10006
|
+
* "actions": [
|
|
10007
|
+
* "users:write"
|
|
10008
|
+
* ]
|
|
10009
|
+
* }
|
|
10010
|
+
* ]
|
|
10011
|
+
*/
|
|
8172
10012
|
CreateUser: {
|
|
8173
10013
|
parameters: {};
|
|
8174
10014
|
responses: {
|
|
@@ -8185,6 +10025,14 @@ export interface operations {
|
|
|
8185
10025
|
};
|
|
8186
10026
|
};
|
|
8187
10027
|
};
|
|
10028
|
+
/**
|
|
10029
|
+
* ### Required permissions
|
|
10030
|
+
* > [
|
|
10031
|
+
* {
|
|
10032
|
+
* "actions": []
|
|
10033
|
+
* }
|
|
10034
|
+
* ]
|
|
10035
|
+
*/
|
|
8188
10036
|
ListUsers: {
|
|
8189
10037
|
parameters: {};
|
|
8190
10038
|
responses: {
|
|
@@ -8201,6 +10049,10 @@ export interface operations {
|
|
|
8201
10049
|
};
|
|
8202
10050
|
};
|
|
8203
10051
|
};
|
|
10052
|
+
/**
|
|
10053
|
+
* ### Required permissions
|
|
10054
|
+
* > []
|
|
10055
|
+
*/
|
|
8204
10056
|
IsUserAuthorized: {
|
|
8205
10057
|
parameters: {};
|
|
8206
10058
|
responses: {
|
|
@@ -8217,7 +10069,12 @@ export interface operations {
|
|
|
8217
10069
|
};
|
|
8218
10070
|
};
|
|
8219
10071
|
};
|
|
8220
|
-
/**
|
|
10072
|
+
/**
|
|
10073
|
+
* Get user_id, key_id and permissions from an auth header.
|
|
10074
|
+
*
|
|
10075
|
+
* ### Required permissions
|
|
10076
|
+
* > []
|
|
10077
|
+
*/
|
|
8221
10078
|
GetAuthHeaderInfo: {
|
|
8222
10079
|
parameters: {};
|
|
8223
10080
|
responses: {
|
|
@@ -8229,7 +10086,18 @@ export interface operations {
|
|
|
8229
10086
|
};
|
|
8230
10087
|
};
|
|
8231
10088
|
};
|
|
8232
|
-
/**
|
|
10089
|
+
/**
|
|
10090
|
+
* Invite a user to a project using either their email or their user_id
|
|
10091
|
+
*
|
|
10092
|
+
* ### Required permissions
|
|
10093
|
+
* > [
|
|
10094
|
+
* {
|
|
10095
|
+
* "actions": [
|
|
10096
|
+
* "users:write"
|
|
10097
|
+
* ]
|
|
10098
|
+
* }
|
|
10099
|
+
* ]
|
|
10100
|
+
*/
|
|
8233
10101
|
CreateProjectInvite: {
|
|
8234
10102
|
parameters: {};
|
|
8235
10103
|
responses: {
|
|
@@ -8246,6 +10114,10 @@ export interface operations {
|
|
|
8246
10114
|
};
|
|
8247
10115
|
};
|
|
8248
10116
|
};
|
|
10117
|
+
/**
|
|
10118
|
+
* ### Required permissions
|
|
10119
|
+
* > []
|
|
10120
|
+
*/
|
|
8249
10121
|
ListProjectInvites: {
|
|
8250
10122
|
parameters: {};
|
|
8251
10123
|
responses: {
|
|
@@ -8262,6 +10134,10 @@ export interface operations {
|
|
|
8262
10134
|
};
|
|
8263
10135
|
};
|
|
8264
10136
|
};
|
|
10137
|
+
/**
|
|
10138
|
+
* ### Required permissions
|
|
10139
|
+
* > []
|
|
10140
|
+
*/
|
|
8265
10141
|
AcceptProjectInvite: {
|
|
8266
10142
|
parameters: {};
|
|
8267
10143
|
responses: {
|
|
@@ -8278,6 +10154,16 @@ export interface operations {
|
|
|
8278
10154
|
};
|
|
8279
10155
|
};
|
|
8280
10156
|
};
|
|
10157
|
+
/**
|
|
10158
|
+
* ### Required permissions
|
|
10159
|
+
* > [
|
|
10160
|
+
* {
|
|
10161
|
+
* "actions": [
|
|
10162
|
+
* "users:write"
|
|
10163
|
+
* ]
|
|
10164
|
+
* }
|
|
10165
|
+
* ]
|
|
10166
|
+
*/
|
|
8281
10167
|
DeleteProjectInvite: {
|
|
8282
10168
|
parameters: {};
|
|
8283
10169
|
responses: {
|
|
@@ -8294,6 +10180,16 @@ export interface operations {
|
|
|
8294
10180
|
};
|
|
8295
10181
|
};
|
|
8296
10182
|
};
|
|
10183
|
+
/**
|
|
10184
|
+
* ### Required permissions
|
|
10185
|
+
* > [
|
|
10186
|
+
* {
|
|
10187
|
+
* "actions": [
|
|
10188
|
+
* "users:write"
|
|
10189
|
+
* ]
|
|
10190
|
+
* }
|
|
10191
|
+
* ]
|
|
10192
|
+
*/
|
|
8297
10193
|
ResendProjectInvite: {
|
|
8298
10194
|
parameters: {};
|
|
8299
10195
|
responses: {
|
|
@@ -8310,6 +10206,21 @@ export interface operations {
|
|
|
8310
10206
|
};
|
|
8311
10207
|
};
|
|
8312
10208
|
};
|
|
10209
|
+
/**
|
|
10210
|
+
* ### Required permissions
|
|
10211
|
+
* > [
|
|
10212
|
+
* {
|
|
10213
|
+
* "users": [
|
|
10214
|
+
* {
|
|
10215
|
+
* "params": "user_id"
|
|
10216
|
+
* }
|
|
10217
|
+
* ],
|
|
10218
|
+
* "actions": [
|
|
10219
|
+
* "users:read"
|
|
10220
|
+
* ]
|
|
10221
|
+
* }
|
|
10222
|
+
* ]
|
|
10223
|
+
*/
|
|
8313
10224
|
GetUser: {
|
|
8314
10225
|
parameters: {
|
|
8315
10226
|
path: {
|
|
@@ -8326,6 +10237,21 @@ export interface operations {
|
|
|
8326
10237
|
};
|
|
8327
10238
|
};
|
|
8328
10239
|
};
|
|
10240
|
+
/**
|
|
10241
|
+
* ### Required permissions
|
|
10242
|
+
* > [
|
|
10243
|
+
* {
|
|
10244
|
+
* "users": [
|
|
10245
|
+
* {
|
|
10246
|
+
* "params": "user_id"
|
|
10247
|
+
* }
|
|
10248
|
+
* ],
|
|
10249
|
+
* "actions": [
|
|
10250
|
+
* "users:write"
|
|
10251
|
+
* ]
|
|
10252
|
+
* }
|
|
10253
|
+
* ]
|
|
10254
|
+
*/
|
|
8329
10255
|
UpdateUser: {
|
|
8330
10256
|
parameters: {
|
|
8331
10257
|
path: {
|
|
@@ -8347,7 +10273,23 @@ export interface operations {
|
|
|
8347
10273
|
};
|
|
8348
10274
|
};
|
|
8349
10275
|
};
|
|
8350
|
-
/**
|
|
10276
|
+
/**
|
|
10277
|
+
* Deletes a User from ONLY your project. If they have permissions for other projects, they will still have acces to them.
|
|
10278
|
+
*
|
|
10279
|
+
* ### Required permissions
|
|
10280
|
+
* > [
|
|
10281
|
+
* {
|
|
10282
|
+
* "users": [
|
|
10283
|
+
* {
|
|
10284
|
+
* "params": "user_id"
|
|
10285
|
+
* }
|
|
10286
|
+
* ],
|
|
10287
|
+
* "actions": [
|
|
10288
|
+
* "users:write"
|
|
10289
|
+
* ]
|
|
10290
|
+
* }
|
|
10291
|
+
* ]
|
|
10292
|
+
*/
|
|
8351
10293
|
DeleteUser: {
|
|
8352
10294
|
parameters: {
|
|
8353
10295
|
path: {
|
|
@@ -8369,6 +10311,21 @@ export interface operations {
|
|
|
8369
10311
|
};
|
|
8370
10312
|
};
|
|
8371
10313
|
};
|
|
10314
|
+
/**
|
|
10315
|
+
* ### Required permissions
|
|
10316
|
+
* > [
|
|
10317
|
+
* {
|
|
10318
|
+
* "users": [
|
|
10319
|
+
* {
|
|
10320
|
+
* "params": "user_id"
|
|
10321
|
+
* }
|
|
10322
|
+
* ],
|
|
10323
|
+
* "actions": [
|
|
10324
|
+
* "users:write"
|
|
10325
|
+
* ]
|
|
10326
|
+
* }
|
|
10327
|
+
* ]
|
|
10328
|
+
*/
|
|
8372
10329
|
CreateUserKey: {
|
|
8373
10330
|
parameters: {
|
|
8374
10331
|
path: {
|
|
@@ -8390,6 +10347,21 @@ export interface operations {
|
|
|
8390
10347
|
};
|
|
8391
10348
|
};
|
|
8392
10349
|
};
|
|
10350
|
+
/**
|
|
10351
|
+
* ### Required permissions
|
|
10352
|
+
* > [
|
|
10353
|
+
* {
|
|
10354
|
+
* "users": [
|
|
10355
|
+
* {
|
|
10356
|
+
* "params": "user_id"
|
|
10357
|
+
* }
|
|
10358
|
+
* ],
|
|
10359
|
+
* "actions": [
|
|
10360
|
+
* "users:read"
|
|
10361
|
+
* ]
|
|
10362
|
+
* }
|
|
10363
|
+
* ]
|
|
10364
|
+
*/
|
|
8393
10365
|
ListUserKeys: {
|
|
8394
10366
|
parameters: {
|
|
8395
10367
|
path: {
|
|
@@ -8411,6 +10383,21 @@ export interface operations {
|
|
|
8411
10383
|
};
|
|
8412
10384
|
};
|
|
8413
10385
|
};
|
|
10386
|
+
/**
|
|
10387
|
+
* ### Required permissions
|
|
10388
|
+
* > [
|
|
10389
|
+
* {
|
|
10390
|
+
* "users": [
|
|
10391
|
+
* {
|
|
10392
|
+
* "params": "user_id"
|
|
10393
|
+
* }
|
|
10394
|
+
* ],
|
|
10395
|
+
* "actions": [
|
|
10396
|
+
* "users:write"
|
|
10397
|
+
* ]
|
|
10398
|
+
* }
|
|
10399
|
+
* ]
|
|
10400
|
+
*/
|
|
8414
10401
|
DeleteUserKey: {
|
|
8415
10402
|
parameters: {
|
|
8416
10403
|
path: {
|
|
@@ -8432,7 +10419,23 @@ export interface operations {
|
|
|
8432
10419
|
};
|
|
8433
10420
|
};
|
|
8434
10421
|
};
|
|
8435
|
-
/**
|
|
10422
|
+
/**
|
|
10423
|
+
* Insert your own cluster centroids for it to be used in approximate search settings and cluster aggregations.
|
|
10424
|
+
*
|
|
10425
|
+
* ### Required permissions
|
|
10426
|
+
* > [
|
|
10427
|
+
* {
|
|
10428
|
+
* "actions": [
|
|
10429
|
+
* "datasets:write"
|
|
10430
|
+
* ],
|
|
10431
|
+
* "datasets": [
|
|
10432
|
+
* {
|
|
10433
|
+
* "params": "dataset_id"
|
|
10434
|
+
* }
|
|
10435
|
+
* ]
|
|
10436
|
+
* }
|
|
10437
|
+
* ]
|
|
10438
|
+
*/
|
|
8436
10439
|
InsertClusterCentroids: {
|
|
8437
10440
|
parameters: {
|
|
8438
10441
|
path: {
|
|
@@ -8454,7 +10457,23 @@ export interface operations {
|
|
|
8454
10457
|
};
|
|
8455
10458
|
};
|
|
8456
10459
|
};
|
|
8457
|
-
/**
|
|
10460
|
+
/**
|
|
10461
|
+
* Update your own cluster centroids for it to be used in approximate search settings and cluster aggregations. Will merge rather than replace centroids.
|
|
10462
|
+
*
|
|
10463
|
+
* ### Required permissions
|
|
10464
|
+
* > [
|
|
10465
|
+
* {
|
|
10466
|
+
* "actions": [
|
|
10467
|
+
* "datasets:write"
|
|
10468
|
+
* ],
|
|
10469
|
+
* "datasets": [
|
|
10470
|
+
* {
|
|
10471
|
+
* "params": "dataset_id"
|
|
10472
|
+
* }
|
|
10473
|
+
* ]
|
|
10474
|
+
* }
|
|
10475
|
+
* ]
|
|
10476
|
+
*/
|
|
8458
10477
|
UpdateClusterCentroids: {
|
|
8459
10478
|
parameters: {
|
|
8460
10479
|
path: {
|
|
@@ -8476,7 +10495,26 @@ export interface operations {
|
|
|
8476
10495
|
};
|
|
8477
10496
|
};
|
|
8478
10497
|
};
|
|
8479
|
-
/**
|
|
10498
|
+
/**
|
|
10499
|
+
* For each centroid in a list of centroids, find the closest centroids in another set of centroids.
|
|
10500
|
+
*
|
|
10501
|
+
* ### Required permissions
|
|
10502
|
+
* > [
|
|
10503
|
+
* {
|
|
10504
|
+
* "actions": [
|
|
10505
|
+
* "datasets:read"
|
|
10506
|
+
* ],
|
|
10507
|
+
* "datasets": [
|
|
10508
|
+
* {
|
|
10509
|
+
* "params": "dataset_id"
|
|
10510
|
+
* },
|
|
10511
|
+
* {
|
|
10512
|
+
* "body": "comparison_centroids.dataset_id"
|
|
10513
|
+
* }
|
|
10514
|
+
* ]
|
|
10515
|
+
* }
|
|
10516
|
+
* ]
|
|
10517
|
+
*/
|
|
8480
10518
|
CompareClusterCentroids: {
|
|
8481
10519
|
parameters: {
|
|
8482
10520
|
path: {
|
|
@@ -8553,6 +10591,22 @@ export interface operations {
|
|
|
8553
10591
|
* {"title": {"title": "books", "frequency": 200, "documents": [{...}, {...}]}, {"title": "books", "frequency": 100, "documents": [{...}, {...}]}}
|
|
8554
10592
|
*
|
|
8555
10593
|
* For array-aggregations, you can add "agg": "array" into the aggregation query.
|
|
10594
|
+
*
|
|
10595
|
+
*
|
|
10596
|
+
*
|
|
10597
|
+
* ### Required permissions
|
|
10598
|
+
* > [
|
|
10599
|
+
* {
|
|
10600
|
+
* "actions": [
|
|
10601
|
+
* "datasets:read"
|
|
10602
|
+
* ],
|
|
10603
|
+
* "datasets": [
|
|
10604
|
+
* {
|
|
10605
|
+
* "params": "dataset_id"
|
|
10606
|
+
* }
|
|
10607
|
+
* ]
|
|
10608
|
+
* }
|
|
10609
|
+
* ]
|
|
8556
10610
|
*/
|
|
8557
10611
|
Aggregate: {
|
|
8558
10612
|
parameters: {
|
|
@@ -8575,7 +10629,23 @@ export interface operations {
|
|
|
8575
10629
|
};
|
|
8576
10630
|
};
|
|
8577
10631
|
};
|
|
8578
|
-
/**
|
|
10632
|
+
/**
|
|
10633
|
+
* Takes an aggregation query and gets the aggregate of each cluster in a collection. This helps you interpret each cluster and what is in them.
|
|
10634
|
+
*
|
|
10635
|
+
* ### Required permissions
|
|
10636
|
+
* > [
|
|
10637
|
+
* {
|
|
10638
|
+
* "actions": [
|
|
10639
|
+
* "datasets:read"
|
|
10640
|
+
* ],
|
|
10641
|
+
* "datasets": [
|
|
10642
|
+
* {
|
|
10643
|
+
* "params": "dataset_id"
|
|
10644
|
+
* }
|
|
10645
|
+
* ]
|
|
10646
|
+
* }
|
|
10647
|
+
* ]
|
|
10648
|
+
*/
|
|
8579
10649
|
AggregateClusters: {
|
|
8580
10650
|
parameters: {
|
|
8581
10651
|
path: {
|
|
@@ -8597,7 +10667,23 @@ export interface operations {
|
|
|
8597
10667
|
};
|
|
8598
10668
|
};
|
|
8599
10669
|
};
|
|
8600
|
-
/**
|
|
10670
|
+
/**
|
|
10671
|
+
* Takes a high level aggregation of every field and every cluster in a collection. This helps you interpret each cluster and what is in them.
|
|
10672
|
+
*
|
|
10673
|
+
* ### Required permissions
|
|
10674
|
+
* > [
|
|
10675
|
+
* {
|
|
10676
|
+
* "actions": [
|
|
10677
|
+
* "datasets:read"
|
|
10678
|
+
* ],
|
|
10679
|
+
* "datasets": [
|
|
10680
|
+
* {
|
|
10681
|
+
* "params": "dataset_id"
|
|
10682
|
+
* }
|
|
10683
|
+
* ]
|
|
10684
|
+
* }
|
|
10685
|
+
* ]
|
|
10686
|
+
*/
|
|
8601
10687
|
ListClusterFacets: {
|
|
8602
10688
|
parameters: {
|
|
8603
10689
|
path: {
|
|
@@ -8619,7 +10705,23 @@ export interface operations {
|
|
|
8619
10705
|
};
|
|
8620
10706
|
};
|
|
8621
10707
|
};
|
|
8622
|
-
/**
|
|
10708
|
+
/**
|
|
10709
|
+
* List documents with vector fields closest to centroids.
|
|
10710
|
+
*
|
|
10711
|
+
* ### Required permissions
|
|
10712
|
+
* > [
|
|
10713
|
+
* {
|
|
10714
|
+
* "actions": [
|
|
10715
|
+
* "datasets:read"
|
|
10716
|
+
* ],
|
|
10717
|
+
* "datasets": [
|
|
10718
|
+
* {
|
|
10719
|
+
* "params": "dataset_id"
|
|
10720
|
+
* }
|
|
10721
|
+
* ]
|
|
10722
|
+
* }
|
|
10723
|
+
* ]
|
|
10724
|
+
*/
|
|
8623
10725
|
ListClosestToCentroids: {
|
|
8624
10726
|
parameters: {
|
|
8625
10727
|
path: {
|
|
@@ -8641,7 +10743,23 @@ export interface operations {
|
|
|
8641
10743
|
};
|
|
8642
10744
|
};
|
|
8643
10745
|
};
|
|
8644
|
-
/**
|
|
10746
|
+
/**
|
|
10747
|
+
* List documents with vector fields furthest from centroids.
|
|
10748
|
+
*
|
|
10749
|
+
* ### Required permissions
|
|
10750
|
+
* > [
|
|
10751
|
+
* {
|
|
10752
|
+
* "actions": [
|
|
10753
|
+
* "datasets:read"
|
|
10754
|
+
* ],
|
|
10755
|
+
* "datasets": [
|
|
10756
|
+
* {
|
|
10757
|
+
* "params": "dataset_id"
|
|
10758
|
+
* }
|
|
10759
|
+
* ]
|
|
10760
|
+
* }
|
|
10761
|
+
* ]
|
|
10762
|
+
*/
|
|
8645
10763
|
ListFurthestFromCentroids: {
|
|
8646
10764
|
parameters: {
|
|
8647
10765
|
path: {
|
|
@@ -8663,7 +10781,23 @@ export interface operations {
|
|
|
8663
10781
|
};
|
|
8664
10782
|
};
|
|
8665
10783
|
};
|
|
8666
|
-
/**
|
|
10784
|
+
/**
|
|
10785
|
+
* List centroids, optionally filtering by their ids.
|
|
10786
|
+
*
|
|
10787
|
+
* ### Required permissions
|
|
10788
|
+
* > [
|
|
10789
|
+
* {
|
|
10790
|
+
* "actions": [
|
|
10791
|
+
* "datasets:read"
|
|
10792
|
+
* ],
|
|
10793
|
+
* "datasets": [
|
|
10794
|
+
* {
|
|
10795
|
+
* "params": "dataset_id"
|
|
10796
|
+
* }
|
|
10797
|
+
* ]
|
|
10798
|
+
* }
|
|
10799
|
+
* ]
|
|
10800
|
+
*/
|
|
8667
10801
|
ListCentroids: {
|
|
8668
10802
|
parameters: {
|
|
8669
10803
|
path: {
|
|
@@ -8685,7 +10819,23 @@ export interface operations {
|
|
|
8685
10819
|
};
|
|
8686
10820
|
};
|
|
8687
10821
|
};
|
|
8688
|
-
/**
|
|
10822
|
+
/**
|
|
10823
|
+
* List centroids configs for a dataset.
|
|
10824
|
+
*
|
|
10825
|
+
* ### Required permissions
|
|
10826
|
+
* > [
|
|
10827
|
+
* {
|
|
10828
|
+
* "actions": [
|
|
10829
|
+
* "datasets:read"
|
|
10830
|
+
* ],
|
|
10831
|
+
* "datasets": [
|
|
10832
|
+
* {
|
|
10833
|
+
* "params": "dataset_id"
|
|
10834
|
+
* }
|
|
10835
|
+
* ]
|
|
10836
|
+
* }
|
|
10837
|
+
* ]
|
|
10838
|
+
*/
|
|
8689
10839
|
ListCentroidConfigs: {
|
|
8690
10840
|
parameters: {
|
|
8691
10841
|
path: {
|
|
@@ -8702,7 +10852,23 @@ export interface operations {
|
|
|
8702
10852
|
};
|
|
8703
10853
|
};
|
|
8704
10854
|
};
|
|
8705
|
-
/**
|
|
10855
|
+
/**
|
|
10856
|
+
* Delete a centroid by ID
|
|
10857
|
+
*
|
|
10858
|
+
* ### Required permissions
|
|
10859
|
+
* > [
|
|
10860
|
+
* {
|
|
10861
|
+
* "actions": [
|
|
10862
|
+
* "datasets:write"
|
|
10863
|
+
* ],
|
|
10864
|
+
* "datasets": [
|
|
10865
|
+
* {
|
|
10866
|
+
* "params": "dataset_id"
|
|
10867
|
+
* }
|
|
10868
|
+
* ]
|
|
10869
|
+
* }
|
|
10870
|
+
* ]
|
|
10871
|
+
*/
|
|
8706
10872
|
DeleteCentroid: {
|
|
8707
10873
|
parameters: {
|
|
8708
10874
|
path: {
|
|
@@ -8726,6 +10892,21 @@ export interface operations {
|
|
|
8726
10892
|
};
|
|
8727
10893
|
};
|
|
8728
10894
|
};
|
|
10895
|
+
/**
|
|
10896
|
+
* ### Required permissions
|
|
10897
|
+
* > [
|
|
10898
|
+
* {
|
|
10899
|
+
* "actions": [
|
|
10900
|
+
* "datasets:read"
|
|
10901
|
+
* ],
|
|
10902
|
+
* "datasets": [
|
|
10903
|
+
* {
|
|
10904
|
+
* "body": "dataset_id"
|
|
10905
|
+
* }
|
|
10906
|
+
* ]
|
|
10907
|
+
* }
|
|
10908
|
+
* ]
|
|
10909
|
+
*/
|
|
8729
10910
|
RealtimeClustering: {
|
|
8730
10911
|
parameters: {
|
|
8731
10912
|
path: {
|
|
@@ -8747,6 +10928,21 @@ export interface operations {
|
|
|
8747
10928
|
};
|
|
8748
10929
|
};
|
|
8749
10930
|
};
|
|
10931
|
+
/**
|
|
10932
|
+
* ### Required permissions
|
|
10933
|
+
* > [
|
|
10934
|
+
* {
|
|
10935
|
+
* "actions": [
|
|
10936
|
+
* "datasets:write"
|
|
10937
|
+
* ],
|
|
10938
|
+
* "datasets": [
|
|
10939
|
+
* {
|
|
10940
|
+
* "params": "dataset_id"
|
|
10941
|
+
* }
|
|
10942
|
+
* ]
|
|
10943
|
+
* }
|
|
10944
|
+
* ]
|
|
10945
|
+
*/
|
|
8750
10946
|
MergeClusters: {
|
|
8751
10947
|
parameters: {
|
|
8752
10948
|
path: {
|
|
@@ -8768,6 +10964,22 @@ export interface operations {
|
|
|
8768
10964
|
};
|
|
8769
10965
|
};
|
|
8770
10966
|
};
|
|
10967
|
+
/**
|
|
10968
|
+
* ### Required permissions
|
|
10969
|
+
* > [
|
|
10970
|
+
* {
|
|
10971
|
+
* "actions": [
|
|
10972
|
+
* "datasets:read",
|
|
10973
|
+
* "datasets:write"
|
|
10974
|
+
* ],
|
|
10975
|
+
* "datasets": [
|
|
10976
|
+
* {
|
|
10977
|
+
* "params": "dataset_id"
|
|
10978
|
+
* }
|
|
10979
|
+
* ]
|
|
10980
|
+
* }
|
|
10981
|
+
* ]
|
|
10982
|
+
*/
|
|
8771
10983
|
CreateClusterSummaries: {
|
|
8772
10984
|
parameters: {
|
|
8773
10985
|
path: {
|
|
@@ -8789,6 +11001,21 @@ export interface operations {
|
|
|
8789
11001
|
};
|
|
8790
11002
|
};
|
|
8791
11003
|
};
|
|
11004
|
+
/**
|
|
11005
|
+
* ### Required permissions
|
|
11006
|
+
* > [
|
|
11007
|
+
* {
|
|
11008
|
+
* "actions": [
|
|
11009
|
+
* "datasets:read"
|
|
11010
|
+
* ],
|
|
11011
|
+
* "datasets": [
|
|
11012
|
+
* {
|
|
11013
|
+
* "params": "dataset_id"
|
|
11014
|
+
* }
|
|
11015
|
+
* ]
|
|
11016
|
+
* }
|
|
11017
|
+
* ]
|
|
11018
|
+
*/
|
|
8792
11019
|
ListClusterSummaries: {
|
|
8793
11020
|
parameters: {
|
|
8794
11021
|
path: {
|
|
@@ -8810,6 +11037,21 @@ export interface operations {
|
|
|
8810
11037
|
};
|
|
8811
11038
|
};
|
|
8812
11039
|
};
|
|
11040
|
+
/**
|
|
11041
|
+
* ### Required permissions
|
|
11042
|
+
* > [
|
|
11043
|
+
* {
|
|
11044
|
+
* "actions": [
|
|
11045
|
+
* "datasets:write"
|
|
11046
|
+
* ],
|
|
11047
|
+
* "datasets": [
|
|
11048
|
+
* {
|
|
11049
|
+
* "params": "dataset_id"
|
|
11050
|
+
* }
|
|
11051
|
+
* ]
|
|
11052
|
+
* }
|
|
11053
|
+
* ]
|
|
11054
|
+
*/
|
|
8813
11055
|
DeleteClusterSummaries: {
|
|
8814
11056
|
parameters: {
|
|
8815
11057
|
path: {
|
|
@@ -8831,6 +11073,10 @@ export interface operations {
|
|
|
8831
11073
|
};
|
|
8832
11074
|
};
|
|
8833
11075
|
};
|
|
11076
|
+
/**
|
|
11077
|
+
* ### Required permissions
|
|
11078
|
+
* > []
|
|
11079
|
+
*/
|
|
8834
11080
|
CreateOrganization: {
|
|
8835
11081
|
parameters: {};
|
|
8836
11082
|
responses: {
|
|
@@ -8847,6 +11093,21 @@ export interface operations {
|
|
|
8847
11093
|
};
|
|
8848
11094
|
};
|
|
8849
11095
|
};
|
|
11096
|
+
/**
|
|
11097
|
+
* ### Required permissions
|
|
11098
|
+
* > [
|
|
11099
|
+
* {
|
|
11100
|
+
* "actions": [
|
|
11101
|
+
* "organizations:write"
|
|
11102
|
+
* ],
|
|
11103
|
+
* "organizations": [
|
|
11104
|
+
* {
|
|
11105
|
+
* "params": "organization_id"
|
|
11106
|
+
* }
|
|
11107
|
+
* ]
|
|
11108
|
+
* }
|
|
11109
|
+
* ]
|
|
11110
|
+
*/
|
|
8850
11111
|
UpdateOrganization: {
|
|
8851
11112
|
parameters: {
|
|
8852
11113
|
path: {
|
|
@@ -8868,6 +11129,21 @@ export interface operations {
|
|
|
8868
11129
|
};
|
|
8869
11130
|
};
|
|
8870
11131
|
};
|
|
11132
|
+
/**
|
|
11133
|
+
* ### Required permissions
|
|
11134
|
+
* > [
|
|
11135
|
+
* {
|
|
11136
|
+
* "actions": [
|
|
11137
|
+
* "support:write"
|
|
11138
|
+
* ],
|
|
11139
|
+
* "organizations": [
|
|
11140
|
+
* {
|
|
11141
|
+
* "params": "organization_id"
|
|
11142
|
+
* }
|
|
11143
|
+
* ]
|
|
11144
|
+
* }
|
|
11145
|
+
* ]
|
|
11146
|
+
*/
|
|
8871
11147
|
UpdateOrganizationAdmin: {
|
|
8872
11148
|
parameters: {
|
|
8873
11149
|
path: {
|
|
@@ -8889,7 +11165,18 @@ export interface operations {
|
|
|
8889
11165
|
};
|
|
8890
11166
|
};
|
|
8891
11167
|
};
|
|
8892
|
-
/**
|
|
11168
|
+
/**
|
|
11169
|
+
* List all organizations and their metadata
|
|
11170
|
+
*
|
|
11171
|
+
* ### Required permissions
|
|
11172
|
+
* > [
|
|
11173
|
+
* {
|
|
11174
|
+
* "actions": [
|
|
11175
|
+
* "organizations:read"
|
|
11176
|
+
* ]
|
|
11177
|
+
* }
|
|
11178
|
+
* ]
|
|
11179
|
+
*/
|
|
8893
11180
|
ListOrganizations: {
|
|
8894
11181
|
parameters: {};
|
|
8895
11182
|
responses: {
|
|
@@ -8901,6 +11188,21 @@ export interface operations {
|
|
|
8901
11188
|
};
|
|
8902
11189
|
};
|
|
8903
11190
|
};
|
|
11191
|
+
/**
|
|
11192
|
+
* ### Required permissions
|
|
11193
|
+
* > [
|
|
11194
|
+
* {
|
|
11195
|
+
* "actions": [
|
|
11196
|
+
* "organizations:write"
|
|
11197
|
+
* ],
|
|
11198
|
+
* "organizations": [
|
|
11199
|
+
* {
|
|
11200
|
+
* "params": "organization_id"
|
|
11201
|
+
* }
|
|
11202
|
+
* ]
|
|
11203
|
+
* }
|
|
11204
|
+
* ]
|
|
11205
|
+
*/
|
|
8904
11206
|
DeleteOrganization: {
|
|
8905
11207
|
parameters: {
|
|
8906
11208
|
path: {
|
|
@@ -8922,6 +11224,21 @@ export interface operations {
|
|
|
8922
11224
|
};
|
|
8923
11225
|
};
|
|
8924
11226
|
};
|
|
11227
|
+
/**
|
|
11228
|
+
* ### Required permissions
|
|
11229
|
+
* > [
|
|
11230
|
+
* {
|
|
11231
|
+
* "actions": [
|
|
11232
|
+
* "organizations:read"
|
|
11233
|
+
* ],
|
|
11234
|
+
* "organizations": [
|
|
11235
|
+
* {
|
|
11236
|
+
* "params": "organization_id"
|
|
11237
|
+
* }
|
|
11238
|
+
* ]
|
|
11239
|
+
* }
|
|
11240
|
+
* ]
|
|
11241
|
+
*/
|
|
8925
11242
|
GetOrganization: {
|
|
8926
11243
|
parameters: {
|
|
8927
11244
|
path: {
|
|
@@ -8938,6 +11255,21 @@ export interface operations {
|
|
|
8938
11255
|
};
|
|
8939
11256
|
};
|
|
8940
11257
|
};
|
|
11258
|
+
/**
|
|
11259
|
+
* ### Required permissions
|
|
11260
|
+
* > [
|
|
11261
|
+
* {
|
|
11262
|
+
* "actions": [
|
|
11263
|
+
* "organizations:read"
|
|
11264
|
+
* ],
|
|
11265
|
+
* "organizations": [
|
|
11266
|
+
* {
|
|
11267
|
+
* "params": "organization_id"
|
|
11268
|
+
* }
|
|
11269
|
+
* ]
|
|
11270
|
+
* }
|
|
11271
|
+
* ]
|
|
11272
|
+
*/
|
|
8941
11273
|
GetOrganizationUsage: {
|
|
8942
11274
|
parameters: {
|
|
8943
11275
|
path: {
|
|
@@ -8954,6 +11286,21 @@ export interface operations {
|
|
|
8954
11286
|
};
|
|
8955
11287
|
};
|
|
8956
11288
|
};
|
|
11289
|
+
/**
|
|
11290
|
+
* ### Required permissions
|
|
11291
|
+
* > [
|
|
11292
|
+
* {
|
|
11293
|
+
* "actions": [
|
|
11294
|
+
* "organizations:read"
|
|
11295
|
+
* ],
|
|
11296
|
+
* "organizations": [
|
|
11297
|
+
* {
|
|
11298
|
+
* "params": "organization_id"
|
|
11299
|
+
* }
|
|
11300
|
+
* ]
|
|
11301
|
+
* }
|
|
11302
|
+
* ]
|
|
11303
|
+
*/
|
|
8957
11304
|
ListUsersInOrganization: {
|
|
8958
11305
|
parameters: {
|
|
8959
11306
|
path: {
|
|
@@ -8970,6 +11317,21 @@ export interface operations {
|
|
|
8970
11317
|
};
|
|
8971
11318
|
};
|
|
8972
11319
|
};
|
|
11320
|
+
/**
|
|
11321
|
+
* ### Required permissions
|
|
11322
|
+
* > [
|
|
11323
|
+
* {
|
|
11324
|
+
* "actions": [
|
|
11325
|
+
* "organizations:read"
|
|
11326
|
+
* ],
|
|
11327
|
+
* "organizations": [
|
|
11328
|
+
* {
|
|
11329
|
+
* "params": "organization_id"
|
|
11330
|
+
* }
|
|
11331
|
+
* ]
|
|
11332
|
+
* }
|
|
11333
|
+
* ]
|
|
11334
|
+
*/
|
|
8973
11335
|
ListProjectsInOrganization: {
|
|
8974
11336
|
parameters: {
|
|
8975
11337
|
path: {
|
|
@@ -8995,6 +11357,21 @@ export interface operations {
|
|
|
8995
11357
|
*
|
|
8996
11358
|
* If inserting many items in a short timespan, use bulkInsert, or set update_schema to false.
|
|
8997
11359
|
* Every insert api call temporarily locks and updates the schema, so will slow down with many inserts in quick succession.
|
|
11360
|
+
*
|
|
11361
|
+
*
|
|
11362
|
+
* ### Required permissions
|
|
11363
|
+
* > [
|
|
11364
|
+
* {
|
|
11365
|
+
* "actions": [
|
|
11366
|
+
* "datasets:write"
|
|
11367
|
+
* ],
|
|
11368
|
+
* "datasets": [
|
|
11369
|
+
* {
|
|
11370
|
+
* "params": "dataset_id"
|
|
11371
|
+
* }
|
|
11372
|
+
* ]
|
|
11373
|
+
* }
|
|
11374
|
+
* ]
|
|
8998
11375
|
*/
|
|
8999
11376
|
Insert: {
|
|
9000
11377
|
parameters: {
|
|
@@ -9030,6 +11407,21 @@ export interface operations {
|
|
|
9030
11407
|
* If the provided dataset doesn't exist, one will be automatically created.
|
|
9031
11408
|
*
|
|
9032
11409
|
* Limit the payload of documents to a maximum 100MB for optimal performance.
|
|
11410
|
+
*
|
|
11411
|
+
*
|
|
11412
|
+
* ### Required permissions
|
|
11413
|
+
* > [
|
|
11414
|
+
* {
|
|
11415
|
+
* "actions": [
|
|
11416
|
+
* "datasets:write"
|
|
11417
|
+
* ],
|
|
11418
|
+
* "datasets": [
|
|
11419
|
+
* {
|
|
11420
|
+
* "params": "dataset_id"
|
|
11421
|
+
* }
|
|
11422
|
+
* ]
|
|
11423
|
+
* }
|
|
11424
|
+
* ]
|
|
9033
11425
|
*/
|
|
9034
11426
|
BulkInsert: {
|
|
9035
11427
|
parameters: {
|
|
@@ -9052,7 +11444,23 @@ export interface operations {
|
|
|
9052
11444
|
};
|
|
9053
11445
|
};
|
|
9054
11446
|
};
|
|
9055
|
-
/**
|
|
11447
|
+
/**
|
|
11448
|
+
* specify a list of file paths. For each file path, a url upload_url is returned. files can be POSTed on upload_url to upload them. They can then be accessed on url. Upon dataset deletion, these files will be deleted.
|
|
11449
|
+
*
|
|
11450
|
+
* ### Required permissions
|
|
11451
|
+
* > [
|
|
11452
|
+
* {
|
|
11453
|
+
* "actions": [
|
|
11454
|
+
* "datasets:write"
|
|
11455
|
+
* ],
|
|
11456
|
+
* "datasets": [
|
|
11457
|
+
* {
|
|
11458
|
+
* "params": "dataset_id"
|
|
11459
|
+
* }
|
|
11460
|
+
* ]
|
|
11461
|
+
* }
|
|
11462
|
+
* ]
|
|
11463
|
+
*/
|
|
9056
11464
|
GetFileUploadUrlsForDataset: {
|
|
9057
11465
|
parameters: {
|
|
9058
11466
|
path: {
|
|
@@ -9074,7 +11482,23 @@ export interface operations {
|
|
|
9074
11482
|
};
|
|
9075
11483
|
};
|
|
9076
11484
|
};
|
|
9077
|
-
/**
|
|
11485
|
+
/**
|
|
11486
|
+
* Return up to 1000 files uploaded for a dataset.
|
|
11487
|
+
*
|
|
11488
|
+
* ### Required permissions
|
|
11489
|
+
* > [
|
|
11490
|
+
* {
|
|
11491
|
+
* "actions": [
|
|
11492
|
+
* "datasets:read"
|
|
11493
|
+
* ],
|
|
11494
|
+
* "datasets": [
|
|
11495
|
+
* {
|
|
11496
|
+
* "params": "dataset_id"
|
|
11497
|
+
* }
|
|
11498
|
+
* ]
|
|
11499
|
+
* }
|
|
11500
|
+
* ]
|
|
11501
|
+
*/
|
|
9078
11502
|
ListFileUploadsForDataset: {
|
|
9079
11503
|
parameters: {
|
|
9080
11504
|
path: {
|
|
@@ -9091,7 +11515,23 @@ export interface operations {
|
|
|
9091
11515
|
};
|
|
9092
11516
|
};
|
|
9093
11517
|
};
|
|
9094
|
-
/**
|
|
11518
|
+
/**
|
|
11519
|
+
* Bulk insert a large number of documents by downloading a file using "download url". This bypasses the need to directly send documents to the api, as happens in BulkInsert.
|
|
11520
|
+
*
|
|
11521
|
+
* ### Required permissions
|
|
11522
|
+
* > [
|
|
11523
|
+
* {
|
|
11524
|
+
* "actions": [
|
|
11525
|
+
* "datasets:write"
|
|
11526
|
+
* ],
|
|
11527
|
+
* "datasets": [
|
|
11528
|
+
* {
|
|
11529
|
+
* "params": "dataset_id"
|
|
11530
|
+
* }
|
|
11531
|
+
* ]
|
|
11532
|
+
* }
|
|
11533
|
+
* ]
|
|
11534
|
+
*/
|
|
9095
11535
|
ParseBlob: {
|
|
9096
11536
|
parameters: {
|
|
9097
11537
|
path: {
|
|
@@ -9113,7 +11553,12 @@ export interface operations {
|
|
|
9113
11553
|
};
|
|
9114
11554
|
};
|
|
9115
11555
|
};
|
|
9116
|
-
/**
|
|
11556
|
+
/**
|
|
11557
|
+
* Copy a dataset from another users projects into your project. This is considered a project job.
|
|
11558
|
+
*
|
|
11559
|
+
* ### Required permissions
|
|
11560
|
+
* > []
|
|
11561
|
+
*/
|
|
9117
11562
|
CopyForeignDataset: {
|
|
9118
11563
|
parameters: {};
|
|
9119
11564
|
responses: {
|
|
@@ -9130,7 +11575,24 @@ export interface operations {
|
|
|
9130
11575
|
};
|
|
9131
11576
|
};
|
|
9132
11577
|
};
|
|
9133
|
-
/**
|
|
11578
|
+
/**
|
|
11579
|
+
* Creates a read only key for your project. Make sure to save the api key somewhere safe. When doing a search the admin username should still be used.
|
|
11580
|
+
*
|
|
11581
|
+
* ### Required permissions
|
|
11582
|
+
* > [
|
|
11583
|
+
* {
|
|
11584
|
+
* "actions": [
|
|
11585
|
+
* "users:write",
|
|
11586
|
+
* "datasets:read"
|
|
11587
|
+
* ],
|
|
11588
|
+
* "datasets": [
|
|
11589
|
+
* {
|
|
11590
|
+
* "raw": "*"
|
|
11591
|
+
* }
|
|
11592
|
+
* ]
|
|
11593
|
+
* }
|
|
11594
|
+
* ]
|
|
11595
|
+
*/
|
|
9134
11596
|
CreateProjectReadKey: {
|
|
9135
11597
|
parameters: {};
|
|
9136
11598
|
responses: {
|
|
@@ -9147,7 +11609,23 @@ export interface operations {
|
|
|
9147
11609
|
};
|
|
9148
11610
|
};
|
|
9149
11611
|
};
|
|
9150
|
-
/**
|
|
11612
|
+
/**
|
|
11613
|
+
* Delete a dataset.
|
|
11614
|
+
*
|
|
11615
|
+
* ### Required permissions
|
|
11616
|
+
* > [
|
|
11617
|
+
* {
|
|
11618
|
+
* "actions": [
|
|
11619
|
+
* "datasets:write"
|
|
11620
|
+
* ],
|
|
11621
|
+
* "datasets": [
|
|
11622
|
+
* {
|
|
11623
|
+
* "params": "dataset_id"
|
|
11624
|
+
* }
|
|
11625
|
+
* ]
|
|
11626
|
+
* }
|
|
11627
|
+
* ]
|
|
11628
|
+
*/
|
|
9151
11629
|
DeleteDataset: {
|
|
9152
11630
|
parameters: {
|
|
9153
11631
|
path: {
|
|
@@ -9203,6 +11681,23 @@ export interface operations {
|
|
|
9203
11681
|
*
|
|
9204
11682
|
* For more information about vectors check out the 'Vectorizing' section, **\/services/search/vector** or out blog at [https://relevance.ai/blog](https://relevance.ai/blog).
|
|
9205
11683
|
* For more information about chunks and chunk vectors check out **\/services/search/chunk**.
|
|
11684
|
+
*
|
|
11685
|
+
*
|
|
11686
|
+
*
|
|
11687
|
+
*
|
|
11688
|
+
* ### Required permissions
|
|
11689
|
+
* > [
|
|
11690
|
+
* {
|
|
11691
|
+
* "actions": [
|
|
11692
|
+
* "datasets:write"
|
|
11693
|
+
* ],
|
|
11694
|
+
* "datasets": [
|
|
11695
|
+
* {
|
|
11696
|
+
* "body": "id"
|
|
11697
|
+
* }
|
|
11698
|
+
* ]
|
|
11699
|
+
* }
|
|
11700
|
+
* ]
|
|
9206
11701
|
*/
|
|
9207
11702
|
CreateDataset: {
|
|
9208
11703
|
parameters: {};
|
|
@@ -9220,6 +11715,21 @@ export interface operations {
|
|
|
9220
11715
|
};
|
|
9221
11716
|
};
|
|
9222
11717
|
};
|
|
11718
|
+
/**
|
|
11719
|
+
* ### Required permissions
|
|
11720
|
+
* > [
|
|
11721
|
+
* {
|
|
11722
|
+
* "actions": [
|
|
11723
|
+
* "datasets:read"
|
|
11724
|
+
* ],
|
|
11725
|
+
* "datasets": [
|
|
11726
|
+
* {
|
|
11727
|
+
* "params": "dataset_id"
|
|
11728
|
+
* }
|
|
11729
|
+
* ]
|
|
11730
|
+
* }
|
|
11731
|
+
* ]
|
|
11732
|
+
*/
|
|
9223
11733
|
GetSchema: {
|
|
9224
11734
|
parameters: {
|
|
9225
11735
|
path: {
|
|
@@ -9236,7 +11746,16 @@ export interface operations {
|
|
|
9236
11746
|
};
|
|
9237
11747
|
};
|
|
9238
11748
|
};
|
|
9239
|
-
/**
|
|
11749
|
+
/**
|
|
11750
|
+
* List all datasets in a project that you are authorized to read/write.
|
|
11751
|
+
*
|
|
11752
|
+
* ### Required permissions
|
|
11753
|
+
* > [
|
|
11754
|
+
* {
|
|
11755
|
+
* "actions": []
|
|
11756
|
+
* }
|
|
11757
|
+
* ]
|
|
11758
|
+
*/
|
|
9240
11759
|
ListDatasets: {
|
|
9241
11760
|
parameters: {};
|
|
9242
11761
|
responses: {
|
|
@@ -9248,6 +11767,31 @@ export interface operations {
|
|
|
9248
11767
|
};
|
|
9249
11768
|
};
|
|
9250
11769
|
};
|
|
11770
|
+
/**
|
|
11771
|
+
* ### Required permissions
|
|
11772
|
+
* > [
|
|
11773
|
+
* {
|
|
11774
|
+
* "actions": [
|
|
11775
|
+
* "datasets:read"
|
|
11776
|
+
* ],
|
|
11777
|
+
* "datasets": [
|
|
11778
|
+
* {
|
|
11779
|
+
* "body": "dataset_ids"
|
|
11780
|
+
* }
|
|
11781
|
+
* ]
|
|
11782
|
+
* },
|
|
11783
|
+
* {
|
|
11784
|
+
* "actions": [
|
|
11785
|
+
* "datasets:write"
|
|
11786
|
+
* ],
|
|
11787
|
+
* "datasets": [
|
|
11788
|
+
* {
|
|
11789
|
+
* "body": "new_dataset_id"
|
|
11790
|
+
* }
|
|
11791
|
+
* ]
|
|
11792
|
+
* }
|
|
11793
|
+
* ]
|
|
11794
|
+
*/
|
|
9251
11795
|
CombineDatasets: {
|
|
9252
11796
|
parameters: {};
|
|
9253
11797
|
responses: {
|
|
@@ -9264,6 +11808,10 @@ export interface operations {
|
|
|
9264
11808
|
};
|
|
9265
11809
|
};
|
|
9266
11810
|
};
|
|
11811
|
+
/**
|
|
11812
|
+
* ### Required permissions
|
|
11813
|
+
* > []
|
|
11814
|
+
*/
|
|
9267
11815
|
GetCombineJobStatus: {
|
|
9268
11816
|
parameters: {
|
|
9269
11817
|
path: {
|
|
@@ -9285,7 +11833,16 @@ export interface operations {
|
|
|
9285
11833
|
};
|
|
9286
11834
|
};
|
|
9287
11835
|
};
|
|
9288
|
-
/**
|
|
11836
|
+
/**
|
|
11837
|
+
* Search all datasets in a project that you are authorized to read/write.
|
|
11838
|
+
*
|
|
11839
|
+
* ### Required permissions
|
|
11840
|
+
* > [
|
|
11841
|
+
* {
|
|
11842
|
+
* "actions": []
|
|
11843
|
+
* }
|
|
11844
|
+
* ]
|
|
11845
|
+
*/
|
|
9289
11846
|
SearchDatasets: {
|
|
9290
11847
|
parameters: {
|
|
9291
11848
|
query: {
|
|
@@ -9306,7 +11863,23 @@ export interface operations {
|
|
|
9306
11863
|
};
|
|
9307
11864
|
};
|
|
9308
11865
|
};
|
|
9309
|
-
/**
|
|
11866
|
+
/**
|
|
11867
|
+
* Gives you a summary of the health of your vectors, e.g. how many documents with vectors are missing, how many documents with zero vectors
|
|
11868
|
+
*
|
|
11869
|
+
* ### Required permissions
|
|
11870
|
+
* > [
|
|
11871
|
+
* {
|
|
11872
|
+
* "actions": [
|
|
11873
|
+
* "datasets:read"
|
|
11874
|
+
* ],
|
|
11875
|
+
* "datasets": [
|
|
11876
|
+
* {
|
|
11877
|
+
* "params": "dataset_id"
|
|
11878
|
+
* }
|
|
11879
|
+
* ]
|
|
11880
|
+
* }
|
|
11881
|
+
* ]
|
|
11882
|
+
*/
|
|
9310
11883
|
GetFieldHealth: {
|
|
9311
11884
|
parameters: {
|
|
9312
11885
|
path: {
|
|
@@ -9323,7 +11896,23 @@ export interface operations {
|
|
|
9323
11896
|
};
|
|
9324
11897
|
};
|
|
9325
11898
|
};
|
|
9326
|
-
/**
|
|
11899
|
+
/**
|
|
11900
|
+
* View the usage statistics of a dataset.
|
|
11901
|
+
*
|
|
11902
|
+
* ### Required permissions
|
|
11903
|
+
* > [
|
|
11904
|
+
* {
|
|
11905
|
+
* "actions": [
|
|
11906
|
+
* "datasets:read"
|
|
11907
|
+
* ],
|
|
11908
|
+
* "datasets": [
|
|
11909
|
+
* {
|
|
11910
|
+
* "params": "dataset_id"
|
|
11911
|
+
* }
|
|
11912
|
+
* ]
|
|
11913
|
+
* }
|
|
11914
|
+
* ]
|
|
11915
|
+
*/
|
|
9327
11916
|
GetDatasetStats: {
|
|
9328
11917
|
parameters: {
|
|
9329
11918
|
path: {
|
|
@@ -9340,7 +11929,23 @@ export interface operations {
|
|
|
9340
11929
|
};
|
|
9341
11930
|
};
|
|
9342
11931
|
};
|
|
9343
|
-
/**
|
|
11932
|
+
/**
|
|
11933
|
+
* View api call usage statistics for a dataset.
|
|
11934
|
+
*
|
|
11935
|
+
* ### Required permissions
|
|
11936
|
+
* > [
|
|
11937
|
+
* {
|
|
11938
|
+
* "actions": [
|
|
11939
|
+
* "datasets:read"
|
|
11940
|
+
* ],
|
|
11941
|
+
* "datasets": [
|
|
11942
|
+
* {
|
|
11943
|
+
* "params": "dataset_id"
|
|
11944
|
+
* }
|
|
11945
|
+
* ]
|
|
11946
|
+
* }
|
|
11947
|
+
* ]
|
|
11948
|
+
*/
|
|
9344
11949
|
GetDatasetUsage: {
|
|
9345
11950
|
parameters: {
|
|
9346
11951
|
path: {
|
|
@@ -9362,7 +11967,23 @@ export interface operations {
|
|
|
9362
11967
|
};
|
|
9363
11968
|
};
|
|
9364
11969
|
};
|
|
9365
|
-
/**
|
|
11970
|
+
/**
|
|
11971
|
+
* DEPRECATED !!!! Retrieve the mapping of vectors generated through fields, dictionary, array, etc
|
|
11972
|
+
*
|
|
11973
|
+
* ### Required permissions
|
|
11974
|
+
* > [
|
|
11975
|
+
* {
|
|
11976
|
+
* "actions": [
|
|
11977
|
+
* "datasets:read"
|
|
11978
|
+
* ],
|
|
11979
|
+
* "datasets": [
|
|
11980
|
+
* {
|
|
11981
|
+
* "params": "dataset_id"
|
|
11982
|
+
* }
|
|
11983
|
+
* ]
|
|
11984
|
+
* }
|
|
11985
|
+
* ]
|
|
11986
|
+
*/
|
|
9366
11987
|
GetVectorMappings: {
|
|
9367
11988
|
parameters: {
|
|
9368
11989
|
path: {
|
|
@@ -9390,6 +12011,21 @@ export interface operations {
|
|
|
9390
12011
|
* | vector_health | Number of zero vectors stored. (returns same data as **\/dataset/{dataset_id}/monitor/health**) |
|
|
9391
12012
|
* | schema_stats | Fields and number of documents missing/not missing for that field. (returns same data as **\/dataset/{dataset_id}/monitor/stats**) |
|
|
9392
12013
|
* | active_jobs | All active jobs/tasks on the dataset. (returns same data as **\/dataset/{dataset_id}/tasks/list**) |
|
|
12014
|
+
*
|
|
12015
|
+
*
|
|
12016
|
+
* ### Required permissions
|
|
12017
|
+
* > [
|
|
12018
|
+
* {
|
|
12019
|
+
* "actions": [
|
|
12020
|
+
* "datasets:read"
|
|
12021
|
+
* ],
|
|
12022
|
+
* "datasets": [
|
|
12023
|
+
* {
|
|
12024
|
+
* "params": "dataset_id"
|
|
12025
|
+
* }
|
|
12026
|
+
* ]
|
|
12027
|
+
* }
|
|
12028
|
+
* ]
|
|
9393
12029
|
*/
|
|
9394
12030
|
GetDatasetDetails: {
|
|
9395
12031
|
parameters: {
|
|
@@ -9416,6 +12052,21 @@ export interface operations {
|
|
|
9416
12052
|
* Retrieve a document by its `_id`.
|
|
9417
12053
|
*
|
|
9418
12054
|
* This is the most performant method to get a document or check if it exists, faster than filtering a dataset for by an `_id`.
|
|
12055
|
+
*
|
|
12056
|
+
*
|
|
12057
|
+
* ### Required permissions
|
|
12058
|
+
* > [
|
|
12059
|
+
* {
|
|
12060
|
+
* "actions": [
|
|
12061
|
+
* "datasets:read"
|
|
12062
|
+
* ],
|
|
12063
|
+
* "datasets": [
|
|
12064
|
+
* {
|
|
12065
|
+
* "params": "dataset_id"
|
|
12066
|
+
* }
|
|
12067
|
+
* ]
|
|
12068
|
+
* }
|
|
12069
|
+
* ]
|
|
9419
12070
|
*/
|
|
9420
12071
|
GetDocument: {
|
|
9421
12072
|
parameters: {
|
|
@@ -9443,6 +12094,21 @@ export interface operations {
|
|
|
9443
12094
|
* Delete a document by its `_id` and remove it from the dataset.
|
|
9444
12095
|
*
|
|
9445
12096
|
* Support for deleting many documents at once is available through [`/bulk_delete`](/reference/bulk_delete_api_datasets__dataset_id__documents_bulk_delete_post).
|
|
12097
|
+
*
|
|
12098
|
+
*
|
|
12099
|
+
* ### Required permissions
|
|
12100
|
+
* > [
|
|
12101
|
+
* {
|
|
12102
|
+
* "actions": [
|
|
12103
|
+
* "datasets:write"
|
|
12104
|
+
* ],
|
|
12105
|
+
* "datasets": [
|
|
12106
|
+
* {
|
|
12107
|
+
* "params": "dataset_id"
|
|
12108
|
+
* }
|
|
12109
|
+
* ]
|
|
12110
|
+
* }
|
|
12111
|
+
* ]
|
|
9446
12112
|
*/
|
|
9447
12113
|
DeleteDocument: {
|
|
9448
12114
|
parameters: {
|
|
@@ -9465,7 +12131,23 @@ export interface operations {
|
|
|
9465
12131
|
};
|
|
9466
12132
|
};
|
|
9467
12133
|
};
|
|
9468
|
-
/**
|
|
12134
|
+
/**
|
|
12135
|
+
* Retreives settings for dataset.
|
|
12136
|
+
*
|
|
12137
|
+
* ### Required permissions
|
|
12138
|
+
* > [
|
|
12139
|
+
* {
|
|
12140
|
+
* "actions": [
|
|
12141
|
+
* "datasets:read"
|
|
12142
|
+
* ],
|
|
12143
|
+
* "datasets": [
|
|
12144
|
+
* {
|
|
12145
|
+
* "params": "dataset_id"
|
|
12146
|
+
* }
|
|
12147
|
+
* ]
|
|
12148
|
+
* }
|
|
12149
|
+
* ]
|
|
12150
|
+
*/
|
|
9469
12151
|
GetDatasetSettings: {
|
|
9470
12152
|
parameters: {
|
|
9471
12153
|
path: {
|
|
@@ -9482,7 +12164,23 @@ export interface operations {
|
|
|
9482
12164
|
};
|
|
9483
12165
|
};
|
|
9484
12166
|
};
|
|
9485
|
-
/**
|
|
12167
|
+
/**
|
|
12168
|
+
* Add and overwrite settings about a dataset. Notably description, data source, etc.
|
|
12169
|
+
*
|
|
12170
|
+
* ### Required permissions
|
|
12171
|
+
* > [
|
|
12172
|
+
* {
|
|
12173
|
+
* "actions": [
|
|
12174
|
+
* "datasets:write"
|
|
12175
|
+
* ],
|
|
12176
|
+
* "datasets": [
|
|
12177
|
+
* {
|
|
12178
|
+
* "params": "dataset_id"
|
|
12179
|
+
* }
|
|
12180
|
+
* ]
|
|
12181
|
+
* }
|
|
12182
|
+
* ]
|
|
12183
|
+
*/
|
|
9486
12184
|
UpsertDatasetSettings: {
|
|
9487
12185
|
parameters: {
|
|
9488
12186
|
path: {
|
|
@@ -9504,7 +12202,23 @@ export interface operations {
|
|
|
9504
12202
|
};
|
|
9505
12203
|
};
|
|
9506
12204
|
};
|
|
9507
|
-
/**
|
|
12205
|
+
/**
|
|
12206
|
+
* Retreives metadata about a dataset. Notably description, data source, etc
|
|
12207
|
+
*
|
|
12208
|
+
* ### Required permissions
|
|
12209
|
+
* > [
|
|
12210
|
+
* {
|
|
12211
|
+
* "actions": [
|
|
12212
|
+
* "datasets:read"
|
|
12213
|
+
* ],
|
|
12214
|
+
* "datasets": [
|
|
12215
|
+
* {
|
|
12216
|
+
* "params": "dataset_id"
|
|
12217
|
+
* }
|
|
12218
|
+
* ]
|
|
12219
|
+
* }
|
|
12220
|
+
* ]
|
|
12221
|
+
*/
|
|
9508
12222
|
GetDatasetMetadata: {
|
|
9509
12223
|
parameters: {
|
|
9510
12224
|
path: {
|
|
@@ -9521,7 +12235,23 @@ export interface operations {
|
|
|
9521
12235
|
};
|
|
9522
12236
|
};
|
|
9523
12237
|
};
|
|
9524
|
-
/**
|
|
12238
|
+
/**
|
|
12239
|
+
* Retreives metadata about a dataset. Notably description, data source, etc
|
|
12240
|
+
*
|
|
12241
|
+
* ### Required permissions
|
|
12242
|
+
* > [
|
|
12243
|
+
* {
|
|
12244
|
+
* "actions": [
|
|
12245
|
+
* "datasets:write"
|
|
12246
|
+
* ],
|
|
12247
|
+
* "datasets": [
|
|
12248
|
+
* {
|
|
12249
|
+
* "params": "dataset_id"
|
|
12250
|
+
* }
|
|
12251
|
+
* ]
|
|
12252
|
+
* }
|
|
12253
|
+
* ]
|
|
12254
|
+
*/
|
|
9525
12255
|
UpsertDatasetMetadata: {
|
|
9526
12256
|
parameters: {
|
|
9527
12257
|
path: {
|
|
@@ -9551,6 +12281,21 @@ export interface operations {
|
|
|
9551
12281
|
* If the provided `_id` has no matching document in the dataset, a new document will be created. Likewise, if the provided `dataset_id` does not match a dataset in your project a new one will be created.
|
|
9552
12282
|
*
|
|
9553
12283
|
* Support for updating many documents at once with a filter condition is available through [`/update_where`](/reference/updatewhere).
|
|
12284
|
+
*
|
|
12285
|
+
*
|
|
12286
|
+
* ### Required permissions
|
|
12287
|
+
* > [
|
|
12288
|
+
* {
|
|
12289
|
+
* "actions": [
|
|
12290
|
+
* "datasets:write"
|
|
12291
|
+
* ],
|
|
12292
|
+
* "datasets": [
|
|
12293
|
+
* {
|
|
12294
|
+
* "params": "dataset_id"
|
|
12295
|
+
* }
|
|
12296
|
+
* ]
|
|
12297
|
+
* }
|
|
12298
|
+
* ]
|
|
9554
12299
|
*/
|
|
9555
12300
|
Update: {
|
|
9556
12301
|
parameters: {
|
|
@@ -9573,7 +12318,23 @@ export interface operations {
|
|
|
9573
12318
|
};
|
|
9574
12319
|
};
|
|
9575
12320
|
};
|
|
9576
|
-
/**
|
|
12321
|
+
/**
|
|
12322
|
+
* Delete fields in a document in a dataset by its id.
|
|
12323
|
+
*
|
|
12324
|
+
* ### Required permissions
|
|
12325
|
+
* > [
|
|
12326
|
+
* {
|
|
12327
|
+
* "actions": [
|
|
12328
|
+
* "datasets:write"
|
|
12329
|
+
* ],
|
|
12330
|
+
* "datasets": [
|
|
12331
|
+
* {
|
|
12332
|
+
* "params": "dataset_id"
|
|
12333
|
+
* }
|
|
12334
|
+
* ]
|
|
12335
|
+
* }
|
|
12336
|
+
* ]
|
|
12337
|
+
*/
|
|
9577
12338
|
DeleteDocumentFields: {
|
|
9578
12339
|
parameters: {
|
|
9579
12340
|
path: {
|
|
@@ -9601,6 +12362,21 @@ export interface operations {
|
|
|
9601
12362
|
* If updating many items in a short timespan, please use BulkUpdate.
|
|
9602
12363
|
*
|
|
9603
12364
|
* Every update api call temporarily locks and updates the schema, so will slow down with many updates in quick succession.
|
|
12365
|
+
*
|
|
12366
|
+
*
|
|
12367
|
+
* ### Required permissions
|
|
12368
|
+
* > [
|
|
12369
|
+
* {
|
|
12370
|
+
* "actions": [
|
|
12371
|
+
* "datasets:write"
|
|
12372
|
+
* ],
|
|
12373
|
+
* "datasets": [
|
|
12374
|
+
* {
|
|
12375
|
+
* "params": "dataset_id"
|
|
12376
|
+
* }
|
|
12377
|
+
* ]
|
|
12378
|
+
* }
|
|
12379
|
+
* ]
|
|
9604
12380
|
*/
|
|
9605
12381
|
BulkUpdate: {
|
|
9606
12382
|
parameters: {
|
|
@@ -9629,6 +12405,21 @@ export interface operations {
|
|
|
9629
12405
|
* This method supports a partial update so you may add new fields or update only those you need. Other fields will remain unaffected.
|
|
9630
12406
|
*
|
|
9631
12407
|
* If the provided `dataset_id` does not match a dataset in your project, a new one will be created.
|
|
12408
|
+
*
|
|
12409
|
+
*
|
|
12410
|
+
* ### Required permissions
|
|
12411
|
+
* > [
|
|
12412
|
+
* {
|
|
12413
|
+
* "actions": [
|
|
12414
|
+
* "datasets:write"
|
|
12415
|
+
* ],
|
|
12416
|
+
* "datasets": [
|
|
12417
|
+
* {
|
|
12418
|
+
* "params": "dataset_id"
|
|
12419
|
+
* }
|
|
12420
|
+
* ]
|
|
12421
|
+
* }
|
|
12422
|
+
* ]
|
|
9632
12423
|
*/
|
|
9633
12424
|
UpdateWhere: {
|
|
9634
12425
|
parameters: {
|
|
@@ -9651,7 +12442,23 @@ export interface operations {
|
|
|
9651
12442
|
};
|
|
9652
12443
|
};
|
|
9653
12444
|
};
|
|
9654
|
-
/**
|
|
12445
|
+
/**
|
|
12446
|
+
* Takes a high level aggregation of every field, return their unique values and frequencies. This is used to help create the filter bar for search.
|
|
12447
|
+
*
|
|
12448
|
+
* ### Required permissions
|
|
12449
|
+
* > [
|
|
12450
|
+
* {
|
|
12451
|
+
* "actions": [
|
|
12452
|
+
* "datasets:read"
|
|
12453
|
+
* ],
|
|
12454
|
+
* "datasets": [
|
|
12455
|
+
* {
|
|
12456
|
+
* "params": "dataset_id"
|
|
12457
|
+
* }
|
|
12458
|
+
* ]
|
|
12459
|
+
* }
|
|
12460
|
+
* ]
|
|
12461
|
+
*/
|
|
9655
12462
|
ListFacets: {
|
|
9656
12463
|
parameters: {
|
|
9657
12464
|
path: {
|
|
@@ -9677,6 +12484,20 @@ export interface operations {
|
|
|
9677
12484
|
* Retrieve documents with filters.
|
|
9678
12485
|
* afterId is provided to retrieve even more documents. Loop through it to retrieve all documents in the database.
|
|
9679
12486
|
* Filter is used to retrieve documents that match the conditions set in a filter query.
|
|
12487
|
+
*
|
|
12488
|
+
* ### Required permissions
|
|
12489
|
+
* > [
|
|
12490
|
+
* {
|
|
12491
|
+
* "actions": [
|
|
12492
|
+
* "datasets:read"
|
|
12493
|
+
* ],
|
|
12494
|
+
* "datasets": [
|
|
12495
|
+
* {
|
|
12496
|
+
* "params": "dataset_id"
|
|
12497
|
+
* }
|
|
12498
|
+
* ]
|
|
12499
|
+
* }
|
|
12500
|
+
* ]
|
|
9680
12501
|
*/
|
|
9681
12502
|
GetWhere: {
|
|
9682
12503
|
parameters: {
|
|
@@ -9703,6 +12524,20 @@ export interface operations {
|
|
|
9703
12524
|
* Retrieve documents with filters.
|
|
9704
12525
|
* afterId is provided to retrieve even more documents. Loop through it to retrieve all documents in the database.
|
|
9705
12526
|
* Filter is used to retrieve documents that match the conditions set in a filter query.
|
|
12527
|
+
*
|
|
12528
|
+
* ### Required permissions
|
|
12529
|
+
* > [
|
|
12530
|
+
* {
|
|
12531
|
+
* "actions": [
|
|
12532
|
+
* "datasets:read"
|
|
12533
|
+
* ],
|
|
12534
|
+
* "datasets": [
|
|
12535
|
+
* {
|
|
12536
|
+
* "params": "dataset_id"
|
|
12537
|
+
* }
|
|
12538
|
+
* ]
|
|
12539
|
+
* }
|
|
12540
|
+
* ]
|
|
9706
12541
|
*/
|
|
9707
12542
|
PaginateDocuments: {
|
|
9708
12543
|
parameters: {
|
|
@@ -9725,7 +12560,23 @@ export interface operations {
|
|
|
9725
12560
|
};
|
|
9726
12561
|
};
|
|
9727
12562
|
};
|
|
9728
|
-
/**
|
|
12563
|
+
/**
|
|
12564
|
+
* Retrieve documents by their IDs ("_id" field). This will retrieve the documents faster than a filter applied on the "_id" field. For single id lookup version of this request use /datasets/{dataset_id}/documents/get.
|
|
12565
|
+
*
|
|
12566
|
+
* ### Required permissions
|
|
12567
|
+
* > [
|
|
12568
|
+
* {
|
|
12569
|
+
* "actions": [
|
|
12570
|
+
* "datasets:read"
|
|
12571
|
+
* ],
|
|
12572
|
+
* "datasets": [
|
|
12573
|
+
* {
|
|
12574
|
+
* "params": "dataset_id"
|
|
12575
|
+
* }
|
|
12576
|
+
* ]
|
|
12577
|
+
* }
|
|
12578
|
+
* ]
|
|
12579
|
+
*/
|
|
9729
12580
|
BulkGetDocuments: {
|
|
9730
12581
|
parameters: {
|
|
9731
12582
|
path: {
|
|
@@ -9747,7 +12598,23 @@ export interface operations {
|
|
|
9747
12598
|
};
|
|
9748
12599
|
};
|
|
9749
12600
|
};
|
|
9750
|
-
/**
|
|
12601
|
+
/**
|
|
12602
|
+
* Delete a list of documents by their IDs. For deleting a single document refer to /datasets/{dataset_id}/documents/delete or deleting documents by filters refer to /datasets/{dataset_id}/documents/delete_where.
|
|
12603
|
+
*
|
|
12604
|
+
* ### Required permissions
|
|
12605
|
+
* > [
|
|
12606
|
+
* {
|
|
12607
|
+
* "actions": [
|
|
12608
|
+
* "datasets:write"
|
|
12609
|
+
* ],
|
|
12610
|
+
* "datasets": [
|
|
12611
|
+
* {
|
|
12612
|
+
* "params": "dataset_id"
|
|
12613
|
+
* }
|
|
12614
|
+
* ]
|
|
12615
|
+
* }
|
|
12616
|
+
* ]
|
|
12617
|
+
*/
|
|
9751
12618
|
BulkDeleteDocuments: {
|
|
9752
12619
|
parameters: {
|
|
9753
12620
|
path: {
|
|
@@ -9773,6 +12640,20 @@ export interface operations {
|
|
|
9773
12640
|
* Retrieve documents with filters.
|
|
9774
12641
|
* afterId is provided to retrieve even more documents. Loop through it to retrieve all documents in the database.
|
|
9775
12642
|
* Filter is used to retrieve documents that match the conditions set in a filter query.
|
|
12643
|
+
*
|
|
12644
|
+
* ### Required permissions
|
|
12645
|
+
* > [
|
|
12646
|
+
* {
|
|
12647
|
+
* "actions": [
|
|
12648
|
+
* "datasets:read"
|
|
12649
|
+
* ],
|
|
12650
|
+
* "datasets": [
|
|
12651
|
+
* {
|
|
12652
|
+
* "params": "dataset_id"
|
|
12653
|
+
* }
|
|
12654
|
+
* ]
|
|
12655
|
+
* }
|
|
12656
|
+
* ]
|
|
9776
12657
|
*/
|
|
9777
12658
|
ListDocuments: {
|
|
9778
12659
|
parameters: {
|
|
@@ -10043,7 +12924,23 @@ export interface operations {
|
|
|
10043
12924
|
};
|
|
10044
12925
|
};
|
|
10045
12926
|
};
|
|
10046
|
-
/**
|
|
12927
|
+
/**
|
|
12928
|
+
* Delete documents that match on a filters. At least one filter must be provided.
|
|
12929
|
+
*
|
|
12930
|
+
* ### Required permissions
|
|
12931
|
+
* > [
|
|
12932
|
+
* {
|
|
12933
|
+
* "actions": [
|
|
12934
|
+
* "datasets:write"
|
|
12935
|
+
* ],
|
|
12936
|
+
* "datasets": [
|
|
12937
|
+
* {
|
|
12938
|
+
* "params": "dataset_id"
|
|
12939
|
+
* }
|
|
12940
|
+
* ]
|
|
12941
|
+
* }
|
|
12942
|
+
* ]
|
|
12943
|
+
*/
|
|
10047
12944
|
DeleteWhere: {
|
|
10048
12945
|
parameters: {
|
|
10049
12946
|
path: {
|
|
@@ -10065,7 +12962,23 @@ export interface operations {
|
|
|
10065
12962
|
};
|
|
10066
12963
|
};
|
|
10067
12964
|
};
|
|
10068
|
-
/**
|
|
12965
|
+
/**
|
|
12966
|
+
* SimpleSearch is an easy way to use vector search and traditional text matching to search your dataset. It also supports filtering, sorting and aggregating results.
|
|
12967
|
+
*
|
|
12968
|
+
* ### Required permissions
|
|
12969
|
+
* > [
|
|
12970
|
+
* {
|
|
12971
|
+
* "actions": [
|
|
12972
|
+
* "datasets:read"
|
|
12973
|
+
* ],
|
|
12974
|
+
* "datasets": [
|
|
12975
|
+
* {
|
|
12976
|
+
* "params": "dataset_id"
|
|
12977
|
+
* }
|
|
12978
|
+
* ]
|
|
12979
|
+
* }
|
|
12980
|
+
* ]
|
|
12981
|
+
*/
|
|
10069
12982
|
SimpleSearchPost: {
|
|
10070
12983
|
parameters: {
|
|
10071
12984
|
path: {
|
|
@@ -10087,7 +13000,23 @@ export interface operations {
|
|
|
10087
13000
|
};
|
|
10088
13001
|
};
|
|
10089
13002
|
};
|
|
10090
|
-
/**
|
|
13003
|
+
/**
|
|
13004
|
+
* SimpleSearch is an easy way to use vector search and traditional text matching to search your dataset. It also supports filtering, sorting and aggregating results.
|
|
13005
|
+
*
|
|
13006
|
+
* ### Required permissions
|
|
13007
|
+
* > [
|
|
13008
|
+
* {
|
|
13009
|
+
* "actions": [
|
|
13010
|
+
* "datasets:read"
|
|
13011
|
+
* ],
|
|
13012
|
+
* "datasets": [
|
|
13013
|
+
* {
|
|
13014
|
+
* "params": "dataset_id"
|
|
13015
|
+
* }
|
|
13016
|
+
* ]
|
|
13017
|
+
* }
|
|
13018
|
+
* ]
|
|
13019
|
+
*/
|
|
10091
13020
|
Search: {
|
|
10092
13021
|
parameters: {
|
|
10093
13022
|
path: {
|
|
@@ -10109,7 +13038,23 @@ export interface operations {
|
|
|
10109
13038
|
};
|
|
10110
13039
|
};
|
|
10111
13040
|
};
|
|
10112
|
-
/**
|
|
13041
|
+
/**
|
|
13042
|
+
* Recommend documents similar to specific documents. Specify which vector field must be used for recommendation using the documentsToRecommend property.
|
|
13043
|
+
*
|
|
13044
|
+
* ### Required permissions
|
|
13045
|
+
* > [
|
|
13046
|
+
* {
|
|
13047
|
+
* "actions": [
|
|
13048
|
+
* "datasets:read"
|
|
13049
|
+
* ],
|
|
13050
|
+
* "datasets": [
|
|
13051
|
+
* {
|
|
13052
|
+
* "params": "dataset_id"
|
|
13053
|
+
* }
|
|
13054
|
+
* ]
|
|
13055
|
+
* }
|
|
13056
|
+
* ]
|
|
13057
|
+
*/
|
|
10113
13058
|
Recommend: {
|
|
10114
13059
|
parameters: {
|
|
10115
13060
|
path: {
|
|
@@ -10131,6 +13076,31 @@ export interface operations {
|
|
|
10131
13076
|
};
|
|
10132
13077
|
};
|
|
10133
13078
|
};
|
|
13079
|
+
/**
|
|
13080
|
+
* ### Required permissions
|
|
13081
|
+
* > [
|
|
13082
|
+
* {
|
|
13083
|
+
* "actions": [
|
|
13084
|
+
* "datasets:read"
|
|
13085
|
+
* ],
|
|
13086
|
+
* "datasets": [
|
|
13087
|
+
* {
|
|
13088
|
+
* "params": "dataset_id"
|
|
13089
|
+
* }
|
|
13090
|
+
* ]
|
|
13091
|
+
* },
|
|
13092
|
+
* {
|
|
13093
|
+
* "actions": [
|
|
13094
|
+
* "datasets:write"
|
|
13095
|
+
* ],
|
|
13096
|
+
* "datasets": [
|
|
13097
|
+
* {
|
|
13098
|
+
* "body": "new_dataset_id"
|
|
13099
|
+
* }
|
|
13100
|
+
* ]
|
|
13101
|
+
* }
|
|
13102
|
+
* ]
|
|
13103
|
+
*/
|
|
10134
13104
|
CloneDataset: {
|
|
10135
13105
|
parameters: {
|
|
10136
13106
|
path: {
|
|
@@ -10152,7 +13122,23 @@ export interface operations {
|
|
|
10152
13122
|
};
|
|
10153
13123
|
};
|
|
10154
13124
|
};
|
|
10155
|
-
/**
|
|
13125
|
+
/**
|
|
13126
|
+
* Predict using KNN regression.
|
|
13127
|
+
*
|
|
13128
|
+
* ### Required permissions
|
|
13129
|
+
* > [
|
|
13130
|
+
* {
|
|
13131
|
+
* "actions": [
|
|
13132
|
+
* "datasets:read"
|
|
13133
|
+
* ],
|
|
13134
|
+
* "datasets": [
|
|
13135
|
+
* {
|
|
13136
|
+
* "body": "dataset_id"
|
|
13137
|
+
* }
|
|
13138
|
+
* ]
|
|
13139
|
+
* }
|
|
13140
|
+
* ]
|
|
13141
|
+
*/
|
|
10156
13142
|
PredictKNNRegression: {
|
|
10157
13143
|
parameters: {};
|
|
10158
13144
|
responses: {
|
|
@@ -10169,7 +13155,12 @@ export interface operations {
|
|
|
10169
13155
|
};
|
|
10170
13156
|
};
|
|
10171
13157
|
};
|
|
10172
|
-
/**
|
|
13158
|
+
/**
|
|
13159
|
+
* Predict using KNN regression from search results.
|
|
13160
|
+
*
|
|
13161
|
+
* ### Required permissions
|
|
13162
|
+
* > []
|
|
13163
|
+
*/
|
|
10173
13164
|
PredictKNNFromResults: {
|
|
10174
13165
|
parameters: {};
|
|
10175
13166
|
responses: {
|
|
@@ -10186,6 +13177,10 @@ export interface operations {
|
|
|
10186
13177
|
};
|
|
10187
13178
|
};
|
|
10188
13179
|
};
|
|
13180
|
+
/**
|
|
13181
|
+
* ### Required permissions
|
|
13182
|
+
* > []
|
|
13183
|
+
*/
|
|
10189
13184
|
BiasEvaluation: {
|
|
10190
13185
|
parameters: {};
|
|
10191
13186
|
responses: {
|
|
@@ -10202,6 +13197,10 @@ export interface operations {
|
|
|
10202
13197
|
};
|
|
10203
13198
|
};
|
|
10204
13199
|
};
|
|
13200
|
+
/**
|
|
13201
|
+
* ### Required permissions
|
|
13202
|
+
* > []
|
|
13203
|
+
*/
|
|
10205
13204
|
Vectorize: {
|
|
10206
13205
|
parameters: {};
|
|
10207
13206
|
responses: {
|
|
@@ -10218,6 +13217,21 @@ export interface operations {
|
|
|
10218
13217
|
};
|
|
10219
13218
|
};
|
|
10220
13219
|
};
|
|
13220
|
+
/**
|
|
13221
|
+
* ### Required permissions
|
|
13222
|
+
* > [
|
|
13223
|
+
* {
|
|
13224
|
+
* "actions": [
|
|
13225
|
+
* "datasets:write"
|
|
13226
|
+
* ],
|
|
13227
|
+
* "datasets": [
|
|
13228
|
+
* {
|
|
13229
|
+
* "params": "dataset_id"
|
|
13230
|
+
* }
|
|
13231
|
+
* ]
|
|
13232
|
+
* }
|
|
13233
|
+
* ]
|
|
13234
|
+
*/
|
|
10221
13235
|
VectorizeAndInsert: {
|
|
10222
13236
|
parameters: {
|
|
10223
13237
|
path: {
|
|
@@ -10239,6 +13253,21 @@ export interface operations {
|
|
|
10239
13253
|
};
|
|
10240
13254
|
};
|
|
10241
13255
|
};
|
|
13256
|
+
/**
|
|
13257
|
+
* ### Required permissions
|
|
13258
|
+
* > [
|
|
13259
|
+
* {
|
|
13260
|
+
* "actions": [
|
|
13261
|
+
* "datasets:write"
|
|
13262
|
+
* ],
|
|
13263
|
+
* "datasets": [
|
|
13264
|
+
* {
|
|
13265
|
+
* "params": "dataset_id"
|
|
13266
|
+
* }
|
|
13267
|
+
* ]
|
|
13268
|
+
* }
|
|
13269
|
+
* ]
|
|
13270
|
+
*/
|
|
10242
13271
|
VectorizeField: {
|
|
10243
13272
|
parameters: {
|
|
10244
13273
|
path: {
|
|
@@ -10260,6 +13289,22 @@ export interface operations {
|
|
|
10260
13289
|
};
|
|
10261
13290
|
};
|
|
10262
13291
|
};
|
|
13292
|
+
/**
|
|
13293
|
+
* ### Required permissions
|
|
13294
|
+
* > [
|
|
13295
|
+
* {
|
|
13296
|
+
* "actions": [
|
|
13297
|
+
* "datasets:read",
|
|
13298
|
+
* "datasets:write"
|
|
13299
|
+
* ],
|
|
13300
|
+
* "datasets": [
|
|
13301
|
+
* {
|
|
13302
|
+
* "body": "dataset_id"
|
|
13303
|
+
* }
|
|
13304
|
+
* ]
|
|
13305
|
+
* }
|
|
13306
|
+
* ]
|
|
13307
|
+
*/
|
|
10263
13308
|
TriggerWorkflow: {
|
|
10264
13309
|
parameters: {};
|
|
10265
13310
|
responses: {
|
|
@@ -10276,6 +13321,16 @@ export interface operations {
|
|
|
10276
13321
|
};
|
|
10277
13322
|
};
|
|
10278
13323
|
};
|
|
13324
|
+
/**
|
|
13325
|
+
* ### Required permissions
|
|
13326
|
+
* > [
|
|
13327
|
+
* {
|
|
13328
|
+
* "actions": [
|
|
13329
|
+
* "datasets:read"
|
|
13330
|
+
* ]
|
|
13331
|
+
* }
|
|
13332
|
+
* ]
|
|
13333
|
+
*/
|
|
10279
13334
|
ListWorkflows: {
|
|
10280
13335
|
parameters: {
|
|
10281
13336
|
query: {
|
|
@@ -10306,6 +13361,16 @@ export interface operations {
|
|
|
10306
13361
|
};
|
|
10307
13362
|
};
|
|
10308
13363
|
};
|
|
13364
|
+
/**
|
|
13365
|
+
* ### Required permissions
|
|
13366
|
+
* > [
|
|
13367
|
+
* {
|
|
13368
|
+
* "actions": [
|
|
13369
|
+
* "datasets:read"
|
|
13370
|
+
* ]
|
|
13371
|
+
* }
|
|
13372
|
+
* ]
|
|
13373
|
+
*/
|
|
10309
13374
|
GetWorkflowStatus: {
|
|
10310
13375
|
parameters: {
|
|
10311
13376
|
path: {
|
|
@@ -10327,6 +13392,16 @@ export interface operations {
|
|
|
10327
13392
|
};
|
|
10328
13393
|
};
|
|
10329
13394
|
};
|
|
13395
|
+
/**
|
|
13396
|
+
* ### Required permissions
|
|
13397
|
+
* > [
|
|
13398
|
+
* {
|
|
13399
|
+
* "actions": [
|
|
13400
|
+
* "datasets:write"
|
|
13401
|
+
* ]
|
|
13402
|
+
* }
|
|
13403
|
+
* ]
|
|
13404
|
+
*/
|
|
10330
13405
|
DeleteWorkflowStatus: {
|
|
10331
13406
|
parameters: {
|
|
10332
13407
|
path: {
|
|
@@ -10348,7 +13423,18 @@ export interface operations {
|
|
|
10348
13423
|
};
|
|
10349
13424
|
};
|
|
10350
13425
|
};
|
|
10351
|
-
/**
|
|
13426
|
+
/**
|
|
13427
|
+
* Update metadata for a workflow run
|
|
13428
|
+
*
|
|
13429
|
+
* ### Required permissions
|
|
13430
|
+
* > [
|
|
13431
|
+
* {
|
|
13432
|
+
* "actions": [
|
|
13433
|
+
* "datasets:write"
|
|
13434
|
+
* ]
|
|
13435
|
+
* }
|
|
13436
|
+
* ]
|
|
13437
|
+
*/
|
|
10352
13438
|
UpsertWorkflowMetadata: {
|
|
10353
13439
|
parameters: {
|
|
10354
13440
|
path: {
|
|
@@ -10370,7 +13456,18 @@ export interface operations {
|
|
|
10370
13456
|
};
|
|
10371
13457
|
};
|
|
10372
13458
|
};
|
|
10373
|
-
/**
|
|
13459
|
+
/**
|
|
13460
|
+
* Update status for a workflow run
|
|
13461
|
+
*
|
|
13462
|
+
* ### Required permissions
|
|
13463
|
+
* > [
|
|
13464
|
+
* {
|
|
13465
|
+
* "actions": [
|
|
13466
|
+
* "datasets:write"
|
|
13467
|
+
* ]
|
|
13468
|
+
* }
|
|
13469
|
+
* ]
|
|
13470
|
+
*/
|
|
10374
13471
|
UpsertWorkflowStatus: {
|
|
10375
13472
|
parameters: {
|
|
10376
13473
|
path: {
|
|
@@ -10392,6 +13489,10 @@ export interface operations {
|
|
|
10392
13489
|
};
|
|
10393
13490
|
};
|
|
10394
13491
|
};
|
|
13492
|
+
/**
|
|
13493
|
+
* ### Required permissions
|
|
13494
|
+
* > []
|
|
13495
|
+
*/
|
|
10395
13496
|
DeleteFieldChildren: {
|
|
10396
13497
|
parameters: {
|
|
10397
13498
|
path: {
|
|
@@ -10415,6 +13516,10 @@ export interface operations {
|
|
|
10415
13516
|
};
|
|
10416
13517
|
};
|
|
10417
13518
|
};
|
|
13519
|
+
/**
|
|
13520
|
+
* ### Required permissions
|
|
13521
|
+
* > []
|
|
13522
|
+
*/
|
|
10418
13523
|
ListFieldChildrens: {
|
|
10419
13524
|
parameters: {
|
|
10420
13525
|
path: {
|
|
@@ -10436,6 +13541,10 @@ export interface operations {
|
|
|
10436
13541
|
};
|
|
10437
13542
|
};
|
|
10438
13543
|
};
|
|
13544
|
+
/**
|
|
13545
|
+
* ### Required permissions
|
|
13546
|
+
* > []
|
|
13547
|
+
*/
|
|
10439
13548
|
UpdateFieldChildren: {
|
|
10440
13549
|
parameters: {
|
|
10441
13550
|
path: {
|
|
@@ -10459,6 +13568,10 @@ export interface operations {
|
|
|
10459
13568
|
};
|
|
10460
13569
|
};
|
|
10461
13570
|
};
|
|
13571
|
+
/**
|
|
13572
|
+
* ### Required permissions
|
|
13573
|
+
* > []
|
|
13574
|
+
*/
|
|
10462
13575
|
DeleteFavouriteWorkflow: {
|
|
10463
13576
|
parameters: {
|
|
10464
13577
|
path: {
|
|
@@ -10480,6 +13593,10 @@ export interface operations {
|
|
|
10480
13593
|
};
|
|
10481
13594
|
};
|
|
10482
13595
|
};
|
|
13596
|
+
/**
|
|
13597
|
+
* ### Required permissions
|
|
13598
|
+
* > []
|
|
13599
|
+
*/
|
|
10483
13600
|
ListFavouriteWorkflows: {
|
|
10484
13601
|
parameters: {};
|
|
10485
13602
|
responses: {
|
|
@@ -10496,6 +13613,10 @@ export interface operations {
|
|
|
10496
13613
|
};
|
|
10497
13614
|
};
|
|
10498
13615
|
};
|
|
13616
|
+
/**
|
|
13617
|
+
* ### Required permissions
|
|
13618
|
+
* > []
|
|
13619
|
+
*/
|
|
10499
13620
|
UpdateFavouriteWorkflow: {
|
|
10500
13621
|
parameters: {
|
|
10501
13622
|
path: {
|
|
@@ -10517,6 +13638,10 @@ export interface operations {
|
|
|
10517
13638
|
};
|
|
10518
13639
|
};
|
|
10519
13640
|
};
|
|
13641
|
+
/**
|
|
13642
|
+
* ### Required permissions
|
|
13643
|
+
* > []
|
|
13644
|
+
*/
|
|
10520
13645
|
DeleteSavedFilter: {
|
|
10521
13646
|
parameters: {
|
|
10522
13647
|
path: {
|
|
@@ -10538,6 +13663,10 @@ export interface operations {
|
|
|
10538
13663
|
};
|
|
10539
13664
|
};
|
|
10540
13665
|
};
|
|
13666
|
+
/**
|
|
13667
|
+
* ### Required permissions
|
|
13668
|
+
* > []
|
|
13669
|
+
*/
|
|
10541
13670
|
ListSavedFilters: {
|
|
10542
13671
|
parameters: {};
|
|
10543
13672
|
responses: {
|
|
@@ -10554,6 +13683,10 @@ export interface operations {
|
|
|
10554
13683
|
};
|
|
10555
13684
|
};
|
|
10556
13685
|
};
|
|
13686
|
+
/**
|
|
13687
|
+
* ### Required permissions
|
|
13688
|
+
* > []
|
|
13689
|
+
*/
|
|
10557
13690
|
UpdateSavedFilter: {
|
|
10558
13691
|
parameters: {
|
|
10559
13692
|
path: {
|
|
@@ -10575,6 +13708,10 @@ export interface operations {
|
|
|
10575
13708
|
};
|
|
10576
13709
|
};
|
|
10577
13710
|
};
|
|
13711
|
+
/**
|
|
13712
|
+
* ### Required permissions
|
|
13713
|
+
* > []
|
|
13714
|
+
*/
|
|
10578
13715
|
GetSavedFilter: {
|
|
10579
13716
|
parameters: {
|
|
10580
13717
|
path: {
|
|
@@ -10591,6 +13728,10 @@ export interface operations {
|
|
|
10591
13728
|
};
|
|
10592
13729
|
};
|
|
10593
13730
|
};
|
|
13731
|
+
/**
|
|
13732
|
+
* ### Required permissions
|
|
13733
|
+
* > []
|
|
13734
|
+
*/
|
|
10594
13735
|
CreateSavedFilter: {
|
|
10595
13736
|
parameters: {};
|
|
10596
13737
|
responses: {
|