@celigo/api-specs 0.2.288 → 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 -9
- package/dist/guardrail.yml +15 -9
- package/dist/import.yml +32 -20
- package/dist/tool.yml +30 -18
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/ai-agent.yml
CHANGED
|
@@ -1359,12 +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
|
-
|
|
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`.
|
|
1368
1368
|
items:
|
|
1369
1369
|
type: string
|
|
1370
1370
|
format: objectId
|
|
@@ -1376,9 +1376,15 @@ components:
|
|
|
1376
1376
|
with 422 `attached_knowledge_base_invalid` naming the ids, and more than 50 distinct
|
|
1377
1377
|
ids fails with 422 `invalid_field` on `aiAgent.attachedKnowledgeBaseIds`.
|
|
1378
1378
|
- |-
|
|
1379
|
-
|
|
1380
|
-
`
|
|
1381
|
-
|
|
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.
|
|
1382
1388
|
openai:
|
|
1383
1389
|
type: object
|
|
1384
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,12 +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
|
-
|
|
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`.
|
|
10393
10393
|
items:
|
|
10394
10394
|
type: string
|
|
10395
10395
|
format: objectId
|
|
@@ -10401,9 +10401,15 @@ components:
|
|
|
10401
10401
|
with 422 `attached_knowledge_base_invalid` naming the ids, and more than 50 distinct
|
|
10402
10402
|
ids fails with 422 `invalid_field` on `aiAgent.attachedKnowledgeBaseIds`.
|
|
10403
10403
|
- |-
|
|
10404
|
-
|
|
10405
|
-
`
|
|
10406
|
-
|
|
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.
|
|
10407
10413
|
openai:
|
|
10408
10414
|
type: object
|
|
10409
10415
|
description: |
|
|
@@ -11928,11 +11934,10 @@ components:
|
|
|
11928
11934
|
uniqueItems: true
|
|
11929
11935
|
description: |-
|
|
11930
11936
|
Knowledge bases the guardrail's model retrieves from, for every provider. Present only once
|
|
11931
|
-
set: a guardrail created without the list has no field, and a PATCH `remove
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
`/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.
|
|
11936
11941
|
items:
|
|
11937
11942
|
type: string
|
|
11938
11943
|
format: objectId
|
|
@@ -11945,10 +11950,17 @@ components:
|
|
|
11945
11950
|
ids fails with 422 `invalid_field` on `guardrail.aiAgent.attachedKnowledgeBaseIds`
|
|
11946
11951
|
(the message names `aiAgent.attachedKnowledgeBaseIds`).
|
|
11947
11952
|
- |-
|
|
11948
|
-
|
|
11949
|
-
`
|
|
11950
|
-
|
|
11951
|
-
|
|
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.
|
|
11952
11964
|
openai:
|
|
11953
11965
|
type: object
|
|
11954
11966
|
description: |
|
package/dist/tool.yml
CHANGED
|
@@ -22726,12 +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
|
-
|
|
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`.
|
|
22735
22735
|
items:
|
|
22736
22736
|
type: string
|
|
22737
22737
|
format: objectId
|
|
@@ -22743,9 +22743,15 @@ components:
|
|
|
22743
22743
|
with 422 `attached_knowledge_base_invalid` naming the ids, and more than 50 distinct
|
|
22744
22744
|
ids fails with 422 `invalid_field` on `aiAgent.attachedKnowledgeBaseIds`.
|
|
22745
22745
|
- |-
|
|
22746
|
-
|
|
22747
|
-
`
|
|
22748
|
-
|
|
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.
|
|
22749
22755
|
openai:
|
|
22750
22756
|
type: object
|
|
22751
22757
|
description: |
|
|
@@ -24270,11 +24276,10 @@ components:
|
|
|
24270
24276
|
uniqueItems: true
|
|
24271
24277
|
description: |-
|
|
24272
24278
|
Knowledge bases the guardrail's model retrieves from, for every provider. Present only once
|
|
24273
|
-
set: a guardrail created without the list has no field, and a PATCH `remove
|
|
24274
|
-
|
|
24275
|
-
|
|
24276
|
-
|
|
24277
|
-
`/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.
|
|
24278
24283
|
items:
|
|
24279
24284
|
type: string
|
|
24280
24285
|
format: objectId
|
|
@@ -24287,10 +24292,17 @@ components:
|
|
|
24287
24292
|
ids fails with 422 `invalid_field` on `guardrail.aiAgent.attachedKnowledgeBaseIds`
|
|
24288
24293
|
(the message names `aiAgent.attachedKnowledgeBaseIds`).
|
|
24289
24294
|
- |-
|
|
24290
|
-
|
|
24291
|
-
`
|
|
24292
|
-
|
|
24293
|
-
|
|
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.
|
|
24294
24306
|
openai:
|
|
24295
24307
|
type: object
|
|
24296
24308
|
description: |
|
package/package.json
CHANGED