@celigo/api-specs 0.2.289 → 0.2.290
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/ai-agent.yml +15 -10
- package/dist/guardrail.yml +15 -9
- package/dist/import.yml +32 -21
- package/dist/tool.yml +30 -19
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/ai-agent.yml
CHANGED
|
@@ -1359,13 +1359,12 @@ components:
|
|
|
1359
1359
|
uniqueItems: true
|
|
1360
1360
|
default: []
|
|
1361
1361
|
description: |-
|
|
1362
|
-
Knowledge bases the agent retrieves from, for every provider.
|
|
1363
|
-
|
|
1364
|
-
`
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
`/aiAgent/attachedKnowledgeBaseIds`.
|
|
1362
|
+
Knowledge bases the agent retrieves from, for every provider. A PUT stores exactly the list
|
|
1363
|
+
its body carries: an array becomes the stored list (duplicate ids collapse to their first
|
|
1364
|
+
occurrence, `[]` detaches every knowledge base), and a body without the field, or with
|
|
1365
|
+
`null`, removes it. A stored empty list reads back as `[]` — what an agent created without
|
|
1366
|
+
the field gets — and the key is omitted where the list was never written (an agent created
|
|
1367
|
+
before this field existed) or was removed, by such a PUT or by a PATCH `remove`.
|
|
1369
1368
|
items:
|
|
1370
1369
|
type: string
|
|
1371
1370
|
format: objectId
|
|
@@ -1377,9 +1376,15 @@ components:
|
|
|
1377
1376
|
with 422 `attached_knowledge_base_invalid` naming the ids, and more than 50 distinct
|
|
1378
1377
|
ids fails with 422 `invalid_field` on `aiAgent.attachedKnowledgeBaseIds`.
|
|
1379
1378
|
- |-
|
|
1380
|
-
|
|
1381
|
-
`
|
|
1382
|
-
|
|
1379
|
+
A PUT that leaves the field out detaches every knowledge base, exactly like `[]` or
|
|
1380
|
+
`null`: when a PUT changes anything else on the agent, send the list back as it was
|
|
1381
|
+
read.
|
|
1382
|
+
- |-
|
|
1383
|
+
To change the list alone use `PATCH /v1/imports/{_id}`: `replace` on
|
|
1384
|
+
`/aiAgent/attachedKnowledgeBaseIds` with the complete list (`[]` detaches all), or `add`
|
|
1385
|
+
at `/aiAgent/attachedKnowledgeBaseIds/-` to append one id — an id already attached
|
|
1386
|
+
changes nothing. `remove` at an array index fails with 422 ("Remove at array index is
|
|
1387
|
+
not supported"), so detach one id by replacing the list without it.
|
|
1383
1388
|
openai:
|
|
1384
1389
|
type: object
|
|
1385
1390
|
description: |
|
package/dist/guardrail.yml
CHANGED
|
@@ -871,11 +871,10 @@ components:
|
|
|
871
871
|
uniqueItems: true
|
|
872
872
|
description: |-
|
|
873
873
|
Knowledge bases the guardrail's model retrieves from, for every provider. Present only once
|
|
874
|
-
set: a guardrail created without the list has no field, and a PATCH `remove
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
`/guardrail/aiAgent/attachedKnowledgeBaseIds`.
|
|
874
|
+
set: a guardrail created without the list has no field, and a PATCH `remove`, or a PUT
|
|
875
|
+
that omits the list or sends `null`, drops it again. A PUT stores exactly the list its body
|
|
876
|
+
carries — duplicate ids collapse to their first occurrence, and `[]` detaches every
|
|
877
|
+
knowledge base.
|
|
879
878
|
items:
|
|
880
879
|
type: string
|
|
881
880
|
format: objectId
|
|
@@ -888,10 +887,17 @@ components:
|
|
|
888
887
|
ids fails with 422 `invalid_field` on `guardrail.aiAgent.attachedKnowledgeBaseIds`
|
|
889
888
|
(the message names `aiAgent.attachedKnowledgeBaseIds`).
|
|
890
889
|
- |-
|
|
891
|
-
|
|
892
|
-
`
|
|
893
|
-
|
|
894
|
-
|
|
890
|
+
A PUT that leaves the field out detaches every knowledge base, exactly like `[]` or
|
|
891
|
+
`null`: when a PUT changes anything else on the guardrail, send the list back as it was
|
|
892
|
+
read.
|
|
893
|
+
- |-
|
|
894
|
+
To change the list alone use `PATCH /v1/imports/{_id}`: `replace` on
|
|
895
|
+
`/guardrail/aiAgent/attachedKnowledgeBaseIds` with the complete list (`[]` detaches
|
|
896
|
+
all) works whether or not the field exists. `add` at
|
|
897
|
+
`/guardrail/aiAgent/attachedKnowledgeBaseIds/-` appends one id only where the field
|
|
898
|
+
exists — on a guardrail without it the request fails with 422
|
|
899
|
+
("guardrail.aiAgent.attachedKnowledgeBaseIds is not an array") — and `remove` at an
|
|
900
|
+
array index fails with 422.
|
|
895
901
|
openai:
|
|
896
902
|
type: object
|
|
897
903
|
description: |
|
package/dist/import.yml
CHANGED
|
@@ -333,8 +333,8 @@ paths:
|
|
|
333
333
|
| Path | Operations | Description |
|
|
334
334
|
|------|------------|-------------|
|
|
335
335
|
| `/debugUntil` | `replace`, `add`, `remove` | Step debug-capture expiry (ISO-8601, at most 3600 seconds from now — a later value is rejected with 422 `update_not_allowed`); `remove` stops capture and succeeds even when the field is absent |
|
|
336
|
-
| `/aiAgent/attachedKnowledgeBaseIds` | `replace`, `add`, `remove` | Knowledge bases an AI agent import retrieves from
|
|
337
|
-
| `/guardrail/aiAgent/attachedKnowledgeBaseIds` | `replace`, `add`, `remove` | The same list on an `ai_agent` guardrail import, with the same operations and errors |
|
|
336
|
+
| `/aiAgent/attachedKnowledgeBaseIds` | `replace`, `add`, `remove` | Knowledge bases an AI agent import retrieves from: `replace` sets the whole list (`[]` detaches all), `add` with a full array also replaces it, `add` at `/-` appends one id, and `remove` drops the field. An id that is not a knowledge base in this environment is rejected with 422 `attached_knowledge_base_invalid`, and `remove` at an array index with 422 |
|
|
337
|
+
| `/guardrail/aiAgent/attachedKnowledgeBaseIds` | `replace`, `add`, `remove` | The same list on an `ai_agent` guardrail import, with the same operations and errors, except that `add` at `/-` is rejected with 422 while the field is absent |
|
|
338
338
|
|
|
339
339
|
All other paths are rejected with `422` (`"/name is not a whitelisted property"`).
|
|
340
340
|
operationId: patchImport
|
|
@@ -10384,13 +10384,12 @@ components:
|
|
|
10384
10384
|
uniqueItems: true
|
|
10385
10385
|
default: []
|
|
10386
10386
|
description: |-
|
|
10387
|
-
Knowledge bases the agent retrieves from, for every provider.
|
|
10388
|
-
|
|
10389
|
-
`
|
|
10390
|
-
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
`/aiAgent/attachedKnowledgeBaseIds`.
|
|
10387
|
+
Knowledge bases the agent retrieves from, for every provider. A PUT stores exactly the list
|
|
10388
|
+
its body carries: an array becomes the stored list (duplicate ids collapse to their first
|
|
10389
|
+
occurrence, `[]` detaches every knowledge base), and a body without the field, or with
|
|
10390
|
+
`null`, removes it. A stored empty list reads back as `[]` — what an agent created without
|
|
10391
|
+
the field gets — and the key is omitted where the list was never written (an agent created
|
|
10392
|
+
before this field existed) or was removed, by such a PUT or by a PATCH `remove`.
|
|
10394
10393
|
items:
|
|
10395
10394
|
type: string
|
|
10396
10395
|
format: objectId
|
|
@@ -10402,9 +10401,15 @@ components:
|
|
|
10402
10401
|
with 422 `attached_knowledge_base_invalid` naming the ids, and more than 50 distinct
|
|
10403
10402
|
ids fails with 422 `invalid_field` on `aiAgent.attachedKnowledgeBaseIds`.
|
|
10404
10403
|
- |-
|
|
10405
|
-
|
|
10406
|
-
`
|
|
10407
|
-
|
|
10404
|
+
A PUT that leaves the field out detaches every knowledge base, exactly like `[]` or
|
|
10405
|
+
`null`: when a PUT changes anything else on the agent, send the list back as it was
|
|
10406
|
+
read.
|
|
10407
|
+
- |-
|
|
10408
|
+
To change the list alone use `PATCH /v1/imports/{_id}`: `replace` on
|
|
10409
|
+
`/aiAgent/attachedKnowledgeBaseIds` with the complete list (`[]` detaches all), or `add`
|
|
10410
|
+
at `/aiAgent/attachedKnowledgeBaseIds/-` to append one id — an id already attached
|
|
10411
|
+
changes nothing. `remove` at an array index fails with 422 ("Remove at array index is
|
|
10412
|
+
not supported"), so detach one id by replacing the list without it.
|
|
10408
10413
|
openai:
|
|
10409
10414
|
type: object
|
|
10410
10415
|
description: |
|
|
@@ -11929,11 +11934,10 @@ components:
|
|
|
11929
11934
|
uniqueItems: true
|
|
11930
11935
|
description: |-
|
|
11931
11936
|
Knowledge bases the guardrail's model retrieves from, for every provider. Present only once
|
|
11932
|
-
set: a guardrail created without the list has no field, and a PATCH `remove
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
`/guardrail/aiAgent/attachedKnowledgeBaseIds`.
|
|
11937
|
+
set: a guardrail created without the list has no field, and a PATCH `remove`, or a PUT
|
|
11938
|
+
that omits the list or sends `null`, drops it again. A PUT stores exactly the list its body
|
|
11939
|
+
carries — duplicate ids collapse to their first occurrence, and `[]` detaches every
|
|
11940
|
+
knowledge base.
|
|
11937
11941
|
items:
|
|
11938
11942
|
type: string
|
|
11939
11943
|
format: objectId
|
|
@@ -11946,10 +11950,17 @@ components:
|
|
|
11946
11950
|
ids fails with 422 `invalid_field` on `guardrail.aiAgent.attachedKnowledgeBaseIds`
|
|
11947
11951
|
(the message names `aiAgent.attachedKnowledgeBaseIds`).
|
|
11948
11952
|
- |-
|
|
11949
|
-
|
|
11950
|
-
`
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
+
A PUT that leaves the field out detaches every knowledge base, exactly like `[]` or
|
|
11954
|
+
`null`: when a PUT changes anything else on the guardrail, send the list back as it was
|
|
11955
|
+
read.
|
|
11956
|
+
- |-
|
|
11957
|
+
To change the list alone use `PATCH /v1/imports/{_id}`: `replace` on
|
|
11958
|
+
`/guardrail/aiAgent/attachedKnowledgeBaseIds` with the complete list (`[]` detaches
|
|
11959
|
+
all) works whether or not the field exists. `add` at
|
|
11960
|
+
`/guardrail/aiAgent/attachedKnowledgeBaseIds/-` appends one id only where the field
|
|
11961
|
+
exists — on a guardrail without it the request fails with 422
|
|
11962
|
+
("guardrail.aiAgent.attachedKnowledgeBaseIds is not an array") — and `remove` at an
|
|
11963
|
+
array index fails with 422.
|
|
11953
11964
|
openai:
|
|
11954
11965
|
type: object
|
|
11955
11966
|
description: |
|
package/dist/tool.yml
CHANGED
|
@@ -22726,13 +22726,12 @@ components:
|
|
|
22726
22726
|
uniqueItems: true
|
|
22727
22727
|
default: []
|
|
22728
22728
|
description: |-
|
|
22729
|
-
Knowledge bases the agent retrieves from, for every provider.
|
|
22730
|
-
|
|
22731
|
-
`
|
|
22732
|
-
|
|
22733
|
-
|
|
22734
|
-
|
|
22735
|
-
`/aiAgent/attachedKnowledgeBaseIds`.
|
|
22729
|
+
Knowledge bases the agent retrieves from, for every provider. A PUT stores exactly the list
|
|
22730
|
+
its body carries: an array becomes the stored list (duplicate ids collapse to their first
|
|
22731
|
+
occurrence, `[]` detaches every knowledge base), and a body without the field, or with
|
|
22732
|
+
`null`, removes it. A stored empty list reads back as `[]` — what an agent created without
|
|
22733
|
+
the field gets — and the key is omitted where the list was never written (an agent created
|
|
22734
|
+
before this field existed) or was removed, by such a PUT or by a PATCH `remove`.
|
|
22736
22735
|
items:
|
|
22737
22736
|
type: string
|
|
22738
22737
|
format: objectId
|
|
@@ -22744,9 +22743,15 @@ components:
|
|
|
22744
22743
|
with 422 `attached_knowledge_base_invalid` naming the ids, and more than 50 distinct
|
|
22745
22744
|
ids fails with 422 `invalid_field` on `aiAgent.attachedKnowledgeBaseIds`.
|
|
22746
22745
|
- |-
|
|
22747
|
-
|
|
22748
|
-
`
|
|
22749
|
-
|
|
22746
|
+
A PUT that leaves the field out detaches every knowledge base, exactly like `[]` or
|
|
22747
|
+
`null`: when a PUT changes anything else on the agent, send the list back as it was
|
|
22748
|
+
read.
|
|
22749
|
+
- |-
|
|
22750
|
+
To change the list alone use `PATCH /v1/imports/{_id}`: `replace` on
|
|
22751
|
+
`/aiAgent/attachedKnowledgeBaseIds` with the complete list (`[]` detaches all), or `add`
|
|
22752
|
+
at `/aiAgent/attachedKnowledgeBaseIds/-` to append one id — an id already attached
|
|
22753
|
+
changes nothing. `remove` at an array index fails with 422 ("Remove at array index is
|
|
22754
|
+
not supported"), so detach one id by replacing the list without it.
|
|
22750
22755
|
openai:
|
|
22751
22756
|
type: object
|
|
22752
22757
|
description: |
|
|
@@ -24271,11 +24276,10 @@ components:
|
|
|
24271
24276
|
uniqueItems: true
|
|
24272
24277
|
description: |-
|
|
24273
24278
|
Knowledge bases the guardrail's model retrieves from, for every provider. Present only once
|
|
24274
|
-
set: a guardrail created without the list has no field, and a PATCH `remove
|
|
24275
|
-
|
|
24276
|
-
|
|
24277
|
-
|
|
24278
|
-
`/guardrail/aiAgent/attachedKnowledgeBaseIds`.
|
|
24279
|
+
set: a guardrail created without the list has no field, and a PATCH `remove`, or a PUT
|
|
24280
|
+
that omits the list or sends `null`, drops it again. A PUT stores exactly the list its body
|
|
24281
|
+
carries — duplicate ids collapse to their first occurrence, and `[]` detaches every
|
|
24282
|
+
knowledge base.
|
|
24279
24283
|
items:
|
|
24280
24284
|
type: string
|
|
24281
24285
|
format: objectId
|
|
@@ -24288,10 +24292,17 @@ components:
|
|
|
24288
24292
|
ids fails with 422 `invalid_field` on `guardrail.aiAgent.attachedKnowledgeBaseIds`
|
|
24289
24293
|
(the message names `aiAgent.attachedKnowledgeBaseIds`).
|
|
24290
24294
|
- |-
|
|
24291
|
-
|
|
24292
|
-
`
|
|
24293
|
-
|
|
24294
|
-
|
|
24295
|
+
A PUT that leaves the field out detaches every knowledge base, exactly like `[]` or
|
|
24296
|
+
`null`: when a PUT changes anything else on the guardrail, send the list back as it was
|
|
24297
|
+
read.
|
|
24298
|
+
- |-
|
|
24299
|
+
To change the list alone use `PATCH /v1/imports/{_id}`: `replace` on
|
|
24300
|
+
`/guardrail/aiAgent/attachedKnowledgeBaseIds` with the complete list (`[]` detaches
|
|
24301
|
+
all) works whether or not the field exists. `add` at
|
|
24302
|
+
`/guardrail/aiAgent/attachedKnowledgeBaseIds/-` appends one id only where the field
|
|
24303
|
+
exists — on a guardrail without it the request fails with 422
|
|
24304
|
+
("guardrail.aiAgent.attachedKnowledgeBaseIds is not an array") — and `remove` at an
|
|
24305
|
+
array index fails with 422.
|
|
24295
24306
|
openai:
|
|
24296
24307
|
type: object
|
|
24297
24308
|
description: |
|
package/package.json
CHANGED