@arbidocs/client 0.3.29 → 0.3.31
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.
- package/dist/index.d.cts +132 -17
- package/dist/index.d.ts +132 -17
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -726,7 +726,11 @@ interface paths {
|
|
|
726
726
|
};
|
|
727
727
|
/**
|
|
728
728
|
* List Documents
|
|
729
|
-
* @description List
|
|
729
|
+
* @description List documents in the current workspace.
|
|
730
|
+
*
|
|
731
|
+
* By default returns all documents (no pagination) since the frontend needs
|
|
732
|
+
* the full set for client-side sort/search/filter. Pass ``limit``/``offset``
|
|
733
|
+
* to opt into pagination — useful for the CLI when streaming a workspace.
|
|
730
734
|
*/
|
|
731
735
|
get: operations['list_documents'];
|
|
732
736
|
put?: never;
|
|
@@ -794,8 +798,17 @@ interface paths {
|
|
|
794
798
|
* @description Update one or more documents.
|
|
795
799
|
*
|
|
796
800
|
* Special status handling:
|
|
797
|
-
* - status="processing": Smart reprocess
|
|
798
|
-
*
|
|
801
|
+
* - status="processing": Smart reprocess — reindexes if final.pklenc exists in MinIO
|
|
802
|
+
* (regardless of current doc.status), else full re-parse from the original file.
|
|
803
|
+
* Skips if a fresh Redis task already exists for the doc (< 10 min old).
|
|
804
|
+
*
|
|
805
|
+
* Batch behavior: the request handler validates + commits ORM field updates
|
|
806
|
+
* synchronously, then hands the reprocess work off to a FastAPI background task
|
|
807
|
+
* (dispatch_batch_reprocess). The response returns as soon as the background task
|
|
808
|
+
* is scheduled, so a single user asking to reprocess 1000+ docs does not block
|
|
809
|
+
* the event loop or tie up an HTTP worker. The background dispatcher fans out
|
|
810
|
+
* requeue_document_processing calls bounded by the existing deployment-wide
|
|
811
|
+
* _indexing_semaphore to keep other users responsive.
|
|
799
812
|
*/
|
|
800
813
|
patch: operations['update_documents'];
|
|
801
814
|
trace?: never;
|
|
@@ -1027,7 +1040,26 @@ interface paths {
|
|
|
1027
1040
|
};
|
|
1028
1041
|
/**
|
|
1029
1042
|
* Get Threads With Histories
|
|
1030
|
-
* @description Retrieve all conversation threads (leaf messages and their histories)
|
|
1043
|
+
* @description Retrieve all conversation threads (leaf messages and their histories).
|
|
1044
|
+
*
|
|
1045
|
+
* Performance notes
|
|
1046
|
+
* -----------------
|
|
1047
|
+
* This endpoint used to issue 3+ DB round-trips per message in every
|
|
1048
|
+
* history (user_ext_id, config_ext_id, parent_ext_id) and serially decrypt
|
|
1049
|
+
* each message's tools blob on the event loop. For a conversation with N
|
|
1050
|
+
* forks of M messages each that's O(N*M) round-trips. The rewrite is
|
|
1051
|
+
* O(forks) DB calls plus three constant-count batch queries:
|
|
1052
|
+
*
|
|
1053
|
+
* 1. ``get_threads`` to find leaf message ids
|
|
1054
|
+
* 2. one ``get_conversation_history`` recursive CTE per leaf
|
|
1055
|
+
* 3. one batched user-ext-id query (across every message in every fork)
|
|
1056
|
+
* 4. one batched configuration-ext-id query
|
|
1057
|
+
* 5. one ``asyncio.gather`` over ``decrypt_tools_async`` so blobs decrypt
|
|
1058
|
+
* in parallel on worker threads instead of one-at-a-time on the loop
|
|
1059
|
+
*
|
|
1060
|
+
* Parent message ext_ids are read off the already-fetched message set —
|
|
1061
|
+
* parents are by definition ancestors of leaves, so they're always in the
|
|
1062
|
+
* history we just loaded. No extra query.
|
|
1031
1063
|
*/
|
|
1032
1064
|
get: operations['get_conversation_threads'];
|
|
1033
1065
|
put?: never;
|
|
@@ -1272,6 +1304,35 @@ interface paths {
|
|
|
1272
1304
|
patch?: never;
|
|
1273
1305
|
trace?: never;
|
|
1274
1306
|
};
|
|
1307
|
+
'/v1/health/metrics': {
|
|
1308
|
+
parameters: {
|
|
1309
|
+
query?: never;
|
|
1310
|
+
header?: never;
|
|
1311
|
+
path?: never;
|
|
1312
|
+
cookie?: never;
|
|
1313
|
+
};
|
|
1314
|
+
/**
|
|
1315
|
+
* Get Metrics
|
|
1316
|
+
* @description Live operational metrics for this instance (developer-only).
|
|
1317
|
+
*
|
|
1318
|
+
* Returns a structured snapshot of DB pool utilisation, in-process
|
|
1319
|
+
* semaphores (embedder, reranker, indexing, qdrant, doctag_llm, etc.),
|
|
1320
|
+
* Redis queue backpressure for this deployment, and the current
|
|
1321
|
+
* asyncio task count. Same data the periodic concurrency_monitor
|
|
1322
|
+
* logger emits, but as JSON for dashboards / probes / tests.
|
|
1323
|
+
*
|
|
1324
|
+
* Gated to developer accounts because the payload exposes internal
|
|
1325
|
+
* pool sizes and saturation — useful for recon if leaked to end users.
|
|
1326
|
+
*/
|
|
1327
|
+
get: operations['get_metrics'];
|
|
1328
|
+
put?: never;
|
|
1329
|
+
post?: never;
|
|
1330
|
+
delete?: never;
|
|
1331
|
+
options?: never;
|
|
1332
|
+
head?: never;
|
|
1333
|
+
patch?: never;
|
|
1334
|
+
trace?: never;
|
|
1335
|
+
};
|
|
1275
1336
|
'/v1/tag/list': {
|
|
1276
1337
|
parameters: {
|
|
1277
1338
|
query?: never;
|
|
@@ -1373,10 +1434,10 @@ interface paths {
|
|
|
1373
1434
|
};
|
|
1374
1435
|
/**
|
|
1375
1436
|
* Get Notifications
|
|
1376
|
-
* @description Retrieve
|
|
1437
|
+
* @description Retrieve notifications for the current user, newest first.
|
|
1377
1438
|
*
|
|
1378
|
-
*
|
|
1379
|
-
*
|
|
1439
|
+
* Bilateral model: user sees notifications they sent OR received. Capped at
|
|
1440
|
+
* ``limit`` (default 100) so the response stays small for chatty users.
|
|
1380
1441
|
* Use POST /notifications/read to mark specific notifications as read.
|
|
1381
1442
|
*/
|
|
1382
1443
|
get: operations['get_notifications'];
|
|
@@ -2253,7 +2314,7 @@ interface components {
|
|
|
2253
2314
|
* @default {
|
|
2254
2315
|
* "MIN_SCORE": 0.01,
|
|
2255
2316
|
* "MAX_NUMB_OF_CHUNKS": 30,
|
|
2256
|
-
* "MAX_CONCURRENT_REQUESTS":
|
|
2317
|
+
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
2257
2318
|
* "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
|
|
2258
2319
|
* "API_TYPE": "remote",
|
|
2259
2320
|
* "RETRIEVAL_INSTRUCTION": "Judge whether the passage contains the specific facts, figures, names, or references mentioned in the query. Only answer yes if the passage directly contains these details"
|
|
@@ -2279,7 +2340,7 @@ interface components {
|
|
|
2279
2340
|
* "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
|
|
2280
2341
|
* "API_TYPE": "remote",
|
|
2281
2342
|
* "BATCH_SIZE": 128,
|
|
2282
|
-
* "MAX_CONCURRENT_REQUESTS":
|
|
2343
|
+
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
2283
2344
|
* "DOCUMENT_PREFIX": "",
|
|
2284
2345
|
* "QUERY_PREFIX": "Instruct: Represent the user search query for retrieving relevant documents.\nQuery:"
|
|
2285
2346
|
* }
|
|
@@ -3194,6 +3255,8 @@ interface components {
|
|
|
3194
3255
|
file_name?: string | null;
|
|
3195
3256
|
/** Status */
|
|
3196
3257
|
status?: string | null;
|
|
3258
|
+
/** Error Message */
|
|
3259
|
+
error_message?: string | null;
|
|
3197
3260
|
/** N Pages */
|
|
3198
3261
|
n_pages?: number | null;
|
|
3199
3262
|
/** N Chunks */
|
|
@@ -3309,7 +3372,7 @@ interface components {
|
|
|
3309
3372
|
content?: string | null;
|
|
3310
3373
|
/**
|
|
3311
3374
|
* Folder
|
|
3312
|
-
* @description Logical folder path (
|
|
3375
|
+
* @description Logical folder path — preserved as-is for e-discovery (Unicode, spaces allowed)
|
|
3313
3376
|
*/
|
|
3314
3377
|
folder?: string | null;
|
|
3315
3378
|
/**
|
|
@@ -3439,8 +3502,8 @@ interface components {
|
|
|
3439
3502
|
BATCH_SIZE: number;
|
|
3440
3503
|
/**
|
|
3441
3504
|
* Max Concurrent Requests
|
|
3442
|
-
* @description
|
|
3443
|
-
* @default
|
|
3505
|
+
* @description Deployment-wide in-flight embedder requests — sized for ~5 replicas * ~50 concurrent each.
|
|
3506
|
+
* @default 256
|
|
3444
3507
|
*/
|
|
3445
3508
|
MAX_CONCURRENT_REQUESTS: number;
|
|
3446
3509
|
/**
|
|
@@ -4762,6 +4825,8 @@ interface components {
|
|
|
4762
4825
|
storage_gb: components['schemas']['QuotaUsage'];
|
|
4763
4826
|
ai_credits: components['schemas']['QuotaUsage'];
|
|
4764
4827
|
collaborators: components['schemas']['QuotaUsage'];
|
|
4828
|
+
/** Budget Reset At */
|
|
4829
|
+
budget_reset_at?: number | null;
|
|
4765
4830
|
};
|
|
4766
4831
|
/**
|
|
4767
4832
|
* ProjectResponse
|
|
@@ -5066,8 +5131,8 @@ interface components {
|
|
|
5066
5131
|
MAX_NUMB_OF_CHUNKS: number;
|
|
5067
5132
|
/**
|
|
5068
5133
|
* Max Concurrent Requests
|
|
5069
|
-
* @description
|
|
5070
|
-
* @default
|
|
5134
|
+
* @description Deployment-wide in-flight reranker requests — sized for ~5 replicas * ~50 concurrent each.
|
|
5135
|
+
* @default 256
|
|
5071
5136
|
*/
|
|
5072
5137
|
MAX_CONCURRENT_REQUESTS: number;
|
|
5073
5138
|
/**
|
|
@@ -8381,7 +8446,12 @@ interface operations {
|
|
|
8381
8446
|
};
|
|
8382
8447
|
list_documents: {
|
|
8383
8448
|
parameters: {
|
|
8384
|
-
query?:
|
|
8449
|
+
query?: {
|
|
8450
|
+
/** @description Optional page size. Omit to return every document in the workspace (the default — the web UI's sort/search/filter is client-side and needs the full list). Set when paging through huge workspaces from a CLI. */
|
|
8451
|
+
limit?: number | null;
|
|
8452
|
+
/** @description Optional offset for pagination. Requires a stable id-ordered scan. */
|
|
8453
|
+
offset?: number | null;
|
|
8454
|
+
};
|
|
8385
8455
|
header?: never;
|
|
8386
8456
|
path?: never;
|
|
8387
8457
|
cookie?: never;
|
|
@@ -8397,6 +8467,15 @@ interface operations {
|
|
|
8397
8467
|
'application/json': components['schemas']['DocResponse'][];
|
|
8398
8468
|
};
|
|
8399
8469
|
};
|
|
8470
|
+
/** @description Validation Error */
|
|
8471
|
+
422: {
|
|
8472
|
+
headers: {
|
|
8473
|
+
[name: string]: unknown;
|
|
8474
|
+
};
|
|
8475
|
+
content: {
|
|
8476
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
8477
|
+
};
|
|
8478
|
+
};
|
|
8400
8479
|
};
|
|
8401
8480
|
};
|
|
8402
8481
|
get_similar_documents: {
|
|
@@ -8638,7 +8717,7 @@ interface operations {
|
|
|
8638
8717
|
wp_type?: string | null;
|
|
8639
8718
|
/** @description Tag to link the document to */
|
|
8640
8719
|
tag_ext_id?: string | null;
|
|
8641
|
-
/** @description Optional logical folder path (
|
|
8720
|
+
/** @description Optional logical folder path (preserved as-is for e-discovery) */
|
|
8642
8721
|
folder?: string | null;
|
|
8643
8722
|
};
|
|
8644
8723
|
header?: never;
|
|
@@ -9249,6 +9328,28 @@ interface operations {
|
|
|
9249
9328
|
};
|
|
9250
9329
|
};
|
|
9251
9330
|
};
|
|
9331
|
+
get_metrics: {
|
|
9332
|
+
parameters: {
|
|
9333
|
+
query?: never;
|
|
9334
|
+
header?: never;
|
|
9335
|
+
path?: never;
|
|
9336
|
+
cookie?: never;
|
|
9337
|
+
};
|
|
9338
|
+
requestBody?: never;
|
|
9339
|
+
responses: {
|
|
9340
|
+
/** @description Successful Response */
|
|
9341
|
+
200: {
|
|
9342
|
+
headers: {
|
|
9343
|
+
[name: string]: unknown;
|
|
9344
|
+
};
|
|
9345
|
+
content: {
|
|
9346
|
+
'application/json': {
|
|
9347
|
+
[key: string]: unknown;
|
|
9348
|
+
};
|
|
9349
|
+
};
|
|
9350
|
+
};
|
|
9351
|
+
};
|
|
9352
|
+
};
|
|
9252
9353
|
list_tags: {
|
|
9253
9354
|
parameters: {
|
|
9254
9355
|
query?: never;
|
|
@@ -9390,7 +9491,12 @@ interface operations {
|
|
|
9390
9491
|
};
|
|
9391
9492
|
get_notifications: {
|
|
9392
9493
|
parameters: {
|
|
9393
|
-
query?:
|
|
9494
|
+
query?: {
|
|
9495
|
+
/** @description Maximum number of notifications to return, newest first. Defaults to 100 — almost everyone only cares about the latest. Increase or page via offset to walk further back in history. */
|
|
9496
|
+
limit?: number;
|
|
9497
|
+
/** @description Number of notifications to skip from the newest, for paging. */
|
|
9498
|
+
offset?: number;
|
|
9499
|
+
};
|
|
9394
9500
|
header?: never;
|
|
9395
9501
|
path?: never;
|
|
9396
9502
|
cookie?: never;
|
|
@@ -9406,6 +9512,15 @@ interface operations {
|
|
|
9406
9512
|
'application/json': components['schemas']['NotificationResponse'][];
|
|
9407
9513
|
};
|
|
9408
9514
|
};
|
|
9515
|
+
/** @description Validation Error */
|
|
9516
|
+
422: {
|
|
9517
|
+
headers: {
|
|
9518
|
+
[name: string]: unknown;
|
|
9519
|
+
};
|
|
9520
|
+
content: {
|
|
9521
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
9522
|
+
};
|
|
9523
|
+
};
|
|
9409
9524
|
};
|
|
9410
9525
|
};
|
|
9411
9526
|
send_messages: {
|
package/dist/index.d.ts
CHANGED
|
@@ -726,7 +726,11 @@ interface paths {
|
|
|
726
726
|
};
|
|
727
727
|
/**
|
|
728
728
|
* List Documents
|
|
729
|
-
* @description List
|
|
729
|
+
* @description List documents in the current workspace.
|
|
730
|
+
*
|
|
731
|
+
* By default returns all documents (no pagination) since the frontend needs
|
|
732
|
+
* the full set for client-side sort/search/filter. Pass ``limit``/``offset``
|
|
733
|
+
* to opt into pagination — useful for the CLI when streaming a workspace.
|
|
730
734
|
*/
|
|
731
735
|
get: operations['list_documents'];
|
|
732
736
|
put?: never;
|
|
@@ -794,8 +798,17 @@ interface paths {
|
|
|
794
798
|
* @description Update one or more documents.
|
|
795
799
|
*
|
|
796
800
|
* Special status handling:
|
|
797
|
-
* - status="processing": Smart reprocess
|
|
798
|
-
*
|
|
801
|
+
* - status="processing": Smart reprocess — reindexes if final.pklenc exists in MinIO
|
|
802
|
+
* (regardless of current doc.status), else full re-parse from the original file.
|
|
803
|
+
* Skips if a fresh Redis task already exists for the doc (< 10 min old).
|
|
804
|
+
*
|
|
805
|
+
* Batch behavior: the request handler validates + commits ORM field updates
|
|
806
|
+
* synchronously, then hands the reprocess work off to a FastAPI background task
|
|
807
|
+
* (dispatch_batch_reprocess). The response returns as soon as the background task
|
|
808
|
+
* is scheduled, so a single user asking to reprocess 1000+ docs does not block
|
|
809
|
+
* the event loop or tie up an HTTP worker. The background dispatcher fans out
|
|
810
|
+
* requeue_document_processing calls bounded by the existing deployment-wide
|
|
811
|
+
* _indexing_semaphore to keep other users responsive.
|
|
799
812
|
*/
|
|
800
813
|
patch: operations['update_documents'];
|
|
801
814
|
trace?: never;
|
|
@@ -1027,7 +1040,26 @@ interface paths {
|
|
|
1027
1040
|
};
|
|
1028
1041
|
/**
|
|
1029
1042
|
* Get Threads With Histories
|
|
1030
|
-
* @description Retrieve all conversation threads (leaf messages and their histories)
|
|
1043
|
+
* @description Retrieve all conversation threads (leaf messages and their histories).
|
|
1044
|
+
*
|
|
1045
|
+
* Performance notes
|
|
1046
|
+
* -----------------
|
|
1047
|
+
* This endpoint used to issue 3+ DB round-trips per message in every
|
|
1048
|
+
* history (user_ext_id, config_ext_id, parent_ext_id) and serially decrypt
|
|
1049
|
+
* each message's tools blob on the event loop. For a conversation with N
|
|
1050
|
+
* forks of M messages each that's O(N*M) round-trips. The rewrite is
|
|
1051
|
+
* O(forks) DB calls plus three constant-count batch queries:
|
|
1052
|
+
*
|
|
1053
|
+
* 1. ``get_threads`` to find leaf message ids
|
|
1054
|
+
* 2. one ``get_conversation_history`` recursive CTE per leaf
|
|
1055
|
+
* 3. one batched user-ext-id query (across every message in every fork)
|
|
1056
|
+
* 4. one batched configuration-ext-id query
|
|
1057
|
+
* 5. one ``asyncio.gather`` over ``decrypt_tools_async`` so blobs decrypt
|
|
1058
|
+
* in parallel on worker threads instead of one-at-a-time on the loop
|
|
1059
|
+
*
|
|
1060
|
+
* Parent message ext_ids are read off the already-fetched message set —
|
|
1061
|
+
* parents are by definition ancestors of leaves, so they're always in the
|
|
1062
|
+
* history we just loaded. No extra query.
|
|
1031
1063
|
*/
|
|
1032
1064
|
get: operations['get_conversation_threads'];
|
|
1033
1065
|
put?: never;
|
|
@@ -1272,6 +1304,35 @@ interface paths {
|
|
|
1272
1304
|
patch?: never;
|
|
1273
1305
|
trace?: never;
|
|
1274
1306
|
};
|
|
1307
|
+
'/v1/health/metrics': {
|
|
1308
|
+
parameters: {
|
|
1309
|
+
query?: never;
|
|
1310
|
+
header?: never;
|
|
1311
|
+
path?: never;
|
|
1312
|
+
cookie?: never;
|
|
1313
|
+
};
|
|
1314
|
+
/**
|
|
1315
|
+
* Get Metrics
|
|
1316
|
+
* @description Live operational metrics for this instance (developer-only).
|
|
1317
|
+
*
|
|
1318
|
+
* Returns a structured snapshot of DB pool utilisation, in-process
|
|
1319
|
+
* semaphores (embedder, reranker, indexing, qdrant, doctag_llm, etc.),
|
|
1320
|
+
* Redis queue backpressure for this deployment, and the current
|
|
1321
|
+
* asyncio task count. Same data the periodic concurrency_monitor
|
|
1322
|
+
* logger emits, but as JSON for dashboards / probes / tests.
|
|
1323
|
+
*
|
|
1324
|
+
* Gated to developer accounts because the payload exposes internal
|
|
1325
|
+
* pool sizes and saturation — useful for recon if leaked to end users.
|
|
1326
|
+
*/
|
|
1327
|
+
get: operations['get_metrics'];
|
|
1328
|
+
put?: never;
|
|
1329
|
+
post?: never;
|
|
1330
|
+
delete?: never;
|
|
1331
|
+
options?: never;
|
|
1332
|
+
head?: never;
|
|
1333
|
+
patch?: never;
|
|
1334
|
+
trace?: never;
|
|
1335
|
+
};
|
|
1275
1336
|
'/v1/tag/list': {
|
|
1276
1337
|
parameters: {
|
|
1277
1338
|
query?: never;
|
|
@@ -1373,10 +1434,10 @@ interface paths {
|
|
|
1373
1434
|
};
|
|
1374
1435
|
/**
|
|
1375
1436
|
* Get Notifications
|
|
1376
|
-
* @description Retrieve
|
|
1437
|
+
* @description Retrieve notifications for the current user, newest first.
|
|
1377
1438
|
*
|
|
1378
|
-
*
|
|
1379
|
-
*
|
|
1439
|
+
* Bilateral model: user sees notifications they sent OR received. Capped at
|
|
1440
|
+
* ``limit`` (default 100) so the response stays small for chatty users.
|
|
1380
1441
|
* Use POST /notifications/read to mark specific notifications as read.
|
|
1381
1442
|
*/
|
|
1382
1443
|
get: operations['get_notifications'];
|
|
@@ -2253,7 +2314,7 @@ interface components {
|
|
|
2253
2314
|
* @default {
|
|
2254
2315
|
* "MIN_SCORE": 0.01,
|
|
2255
2316
|
* "MAX_NUMB_OF_CHUNKS": 30,
|
|
2256
|
-
* "MAX_CONCURRENT_REQUESTS":
|
|
2317
|
+
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
2257
2318
|
* "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
|
|
2258
2319
|
* "API_TYPE": "remote",
|
|
2259
2320
|
* "RETRIEVAL_INSTRUCTION": "Judge whether the passage contains the specific facts, figures, names, or references mentioned in the query. Only answer yes if the passage directly contains these details"
|
|
@@ -2279,7 +2340,7 @@ interface components {
|
|
|
2279
2340
|
* "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
|
|
2280
2341
|
* "API_TYPE": "remote",
|
|
2281
2342
|
* "BATCH_SIZE": 128,
|
|
2282
|
-
* "MAX_CONCURRENT_REQUESTS":
|
|
2343
|
+
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
2283
2344
|
* "DOCUMENT_PREFIX": "",
|
|
2284
2345
|
* "QUERY_PREFIX": "Instruct: Represent the user search query for retrieving relevant documents.\nQuery:"
|
|
2285
2346
|
* }
|
|
@@ -3194,6 +3255,8 @@ interface components {
|
|
|
3194
3255
|
file_name?: string | null;
|
|
3195
3256
|
/** Status */
|
|
3196
3257
|
status?: string | null;
|
|
3258
|
+
/** Error Message */
|
|
3259
|
+
error_message?: string | null;
|
|
3197
3260
|
/** N Pages */
|
|
3198
3261
|
n_pages?: number | null;
|
|
3199
3262
|
/** N Chunks */
|
|
@@ -3309,7 +3372,7 @@ interface components {
|
|
|
3309
3372
|
content?: string | null;
|
|
3310
3373
|
/**
|
|
3311
3374
|
* Folder
|
|
3312
|
-
* @description Logical folder path (
|
|
3375
|
+
* @description Logical folder path — preserved as-is for e-discovery (Unicode, spaces allowed)
|
|
3313
3376
|
*/
|
|
3314
3377
|
folder?: string | null;
|
|
3315
3378
|
/**
|
|
@@ -3439,8 +3502,8 @@ interface components {
|
|
|
3439
3502
|
BATCH_SIZE: number;
|
|
3440
3503
|
/**
|
|
3441
3504
|
* Max Concurrent Requests
|
|
3442
|
-
* @description
|
|
3443
|
-
* @default
|
|
3505
|
+
* @description Deployment-wide in-flight embedder requests — sized for ~5 replicas * ~50 concurrent each.
|
|
3506
|
+
* @default 256
|
|
3444
3507
|
*/
|
|
3445
3508
|
MAX_CONCURRENT_REQUESTS: number;
|
|
3446
3509
|
/**
|
|
@@ -4762,6 +4825,8 @@ interface components {
|
|
|
4762
4825
|
storage_gb: components['schemas']['QuotaUsage'];
|
|
4763
4826
|
ai_credits: components['schemas']['QuotaUsage'];
|
|
4764
4827
|
collaborators: components['schemas']['QuotaUsage'];
|
|
4828
|
+
/** Budget Reset At */
|
|
4829
|
+
budget_reset_at?: number | null;
|
|
4765
4830
|
};
|
|
4766
4831
|
/**
|
|
4767
4832
|
* ProjectResponse
|
|
@@ -5066,8 +5131,8 @@ interface components {
|
|
|
5066
5131
|
MAX_NUMB_OF_CHUNKS: number;
|
|
5067
5132
|
/**
|
|
5068
5133
|
* Max Concurrent Requests
|
|
5069
|
-
* @description
|
|
5070
|
-
* @default
|
|
5134
|
+
* @description Deployment-wide in-flight reranker requests — sized for ~5 replicas * ~50 concurrent each.
|
|
5135
|
+
* @default 256
|
|
5071
5136
|
*/
|
|
5072
5137
|
MAX_CONCURRENT_REQUESTS: number;
|
|
5073
5138
|
/**
|
|
@@ -8381,7 +8446,12 @@ interface operations {
|
|
|
8381
8446
|
};
|
|
8382
8447
|
list_documents: {
|
|
8383
8448
|
parameters: {
|
|
8384
|
-
query?:
|
|
8449
|
+
query?: {
|
|
8450
|
+
/** @description Optional page size. Omit to return every document in the workspace (the default — the web UI's sort/search/filter is client-side and needs the full list). Set when paging through huge workspaces from a CLI. */
|
|
8451
|
+
limit?: number | null;
|
|
8452
|
+
/** @description Optional offset for pagination. Requires a stable id-ordered scan. */
|
|
8453
|
+
offset?: number | null;
|
|
8454
|
+
};
|
|
8385
8455
|
header?: never;
|
|
8386
8456
|
path?: never;
|
|
8387
8457
|
cookie?: never;
|
|
@@ -8397,6 +8467,15 @@ interface operations {
|
|
|
8397
8467
|
'application/json': components['schemas']['DocResponse'][];
|
|
8398
8468
|
};
|
|
8399
8469
|
};
|
|
8470
|
+
/** @description Validation Error */
|
|
8471
|
+
422: {
|
|
8472
|
+
headers: {
|
|
8473
|
+
[name: string]: unknown;
|
|
8474
|
+
};
|
|
8475
|
+
content: {
|
|
8476
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
8477
|
+
};
|
|
8478
|
+
};
|
|
8400
8479
|
};
|
|
8401
8480
|
};
|
|
8402
8481
|
get_similar_documents: {
|
|
@@ -8638,7 +8717,7 @@ interface operations {
|
|
|
8638
8717
|
wp_type?: string | null;
|
|
8639
8718
|
/** @description Tag to link the document to */
|
|
8640
8719
|
tag_ext_id?: string | null;
|
|
8641
|
-
/** @description Optional logical folder path (
|
|
8720
|
+
/** @description Optional logical folder path (preserved as-is for e-discovery) */
|
|
8642
8721
|
folder?: string | null;
|
|
8643
8722
|
};
|
|
8644
8723
|
header?: never;
|
|
@@ -9249,6 +9328,28 @@ interface operations {
|
|
|
9249
9328
|
};
|
|
9250
9329
|
};
|
|
9251
9330
|
};
|
|
9331
|
+
get_metrics: {
|
|
9332
|
+
parameters: {
|
|
9333
|
+
query?: never;
|
|
9334
|
+
header?: never;
|
|
9335
|
+
path?: never;
|
|
9336
|
+
cookie?: never;
|
|
9337
|
+
};
|
|
9338
|
+
requestBody?: never;
|
|
9339
|
+
responses: {
|
|
9340
|
+
/** @description Successful Response */
|
|
9341
|
+
200: {
|
|
9342
|
+
headers: {
|
|
9343
|
+
[name: string]: unknown;
|
|
9344
|
+
};
|
|
9345
|
+
content: {
|
|
9346
|
+
'application/json': {
|
|
9347
|
+
[key: string]: unknown;
|
|
9348
|
+
};
|
|
9349
|
+
};
|
|
9350
|
+
};
|
|
9351
|
+
};
|
|
9352
|
+
};
|
|
9252
9353
|
list_tags: {
|
|
9253
9354
|
parameters: {
|
|
9254
9355
|
query?: never;
|
|
@@ -9390,7 +9491,12 @@ interface operations {
|
|
|
9390
9491
|
};
|
|
9391
9492
|
get_notifications: {
|
|
9392
9493
|
parameters: {
|
|
9393
|
-
query?:
|
|
9494
|
+
query?: {
|
|
9495
|
+
/** @description Maximum number of notifications to return, newest first. Defaults to 100 — almost everyone only cares about the latest. Increase or page via offset to walk further back in history. */
|
|
9496
|
+
limit?: number;
|
|
9497
|
+
/** @description Number of notifications to skip from the newest, for paging. */
|
|
9498
|
+
offset?: number;
|
|
9499
|
+
};
|
|
9394
9500
|
header?: never;
|
|
9395
9501
|
path?: never;
|
|
9396
9502
|
cookie?: never;
|
|
@@ -9406,6 +9512,15 @@ interface operations {
|
|
|
9406
9512
|
'application/json': components['schemas']['NotificationResponse'][];
|
|
9407
9513
|
};
|
|
9408
9514
|
};
|
|
9515
|
+
/** @description Validation Error */
|
|
9516
|
+
422: {
|
|
9517
|
+
headers: {
|
|
9518
|
+
[name: string]: unknown;
|
|
9519
|
+
};
|
|
9520
|
+
content: {
|
|
9521
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
9522
|
+
};
|
|
9523
|
+
};
|
|
9409
9524
|
};
|
|
9410
9525
|
};
|
|
9411
9526
|
send_messages: {
|
package/package.json
CHANGED