@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 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. Returned on every agent —
1363
- `[]` until one is attached — except after a PATCH `remove`, which drops the field. On PUT
1364
- a non-empty array replaces the stored list (duplicate ids collapse to their first
1365
- occurrence), while omitting the list, `null`, and `[]` all keep it; clear it with
1366
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
1367
- `/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`.
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
1380
- `remove` on the whole path. PATCH `add` at `/aiAgent/attachedKnowledgeBaseIds/-`
1381
- does not append — it fails with 422 — so send the complete list with `replace`.
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: |
@@ -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` drops it
875
- again. On PUT a non-empty array replaces the stored list (duplicate ids collapse to their
876
- first occurrence), while omitting the list, `null`, and `[]` all keep it; clear it with
877
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
892
- `remove` on the whole path. PATCH `add` at
893
- `/guardrail/aiAgent/attachedKnowledgeBaseIds/-` does not append — it fails with
894
- 422 — so send the complete list with `replace`.
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, always as the whole list: `replace` or `add` with the full array (an id that is not a knowledge base in this environment is rejected with 422 `attached_knowledge_base_invalid`), `remove` drops the field. PATCH is the only way to detach — `replace` with `[]` or `remove` clears the list, while a PUT with `[]` keeps the stored ids. `add` at `/-` and `remove` at an array index are rejected with 422 |
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. Returned on every agent —
10388
- `[]` until one is attached — except after a PATCH `remove`, which drops the field. On PUT
10389
- a non-empty array replaces the stored list (duplicate ids collapse to their first
10390
- occurrence), while omitting the list, `null`, and `[]` all keep it; clear it with
10391
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
10392
- `/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`.
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
10405
- `remove` on the whole path. PATCH `add` at `/aiAgent/attachedKnowledgeBaseIds/-`
10406
- does not append — it fails with 422 — so send the complete list with `replace`.
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` drops it
11932
- again. On PUT a non-empty array replaces the stored list (duplicate ids collapse to their
11933
- first occurrence), while omitting the list, `null`, and `[]` all keep it; clear it with
11934
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
11949
- `remove` on the whole path. PATCH `add` at
11950
- `/guardrail/aiAgent/attachedKnowledgeBaseIds/-` does not append — it fails with
11951
- 422 — so send the complete list with `replace`.
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. Returned on every agent —
22730
- `[]` until one is attached — except after a PATCH `remove`, which drops the field. On PUT
22731
- a non-empty array replaces the stored list (duplicate ids collapse to their first
22732
- occurrence), while omitting the list, `null`, and `[]` all keep it; clear it with
22733
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
22734
- `/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`.
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
22747
- `remove` on the whole path. PATCH `add` at `/aiAgent/attachedKnowledgeBaseIds/-`
22748
- does not append — it fails with 422 — so send the complete list with `replace`.
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` drops it
24274
- again. On PUT a non-empty array replaces the stored list (duplicate ids collapse to their
24275
- first occurrence), while omitting the list, `null`, and `[]` all keep it; clear it with
24276
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
24291
- `remove` on the whole path. PATCH `add` at
24292
- `/guardrail/aiAgent/attachedKnowledgeBaseIds/-` does not append — it fails with
24293
- 422 — so send the complete list with `replace`.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.288",
3
+ "version": "0.2.290",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "6358a17b",
4
+ "iasCommit": "368883fb",
5
5
  "generatedAt": "2026-11-12"
6
6
  },
7
7
  "roots": {