@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 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. An agent with none attached
1363
- returns `[]`, except one whose last POST or PUT predates this field and one after a PATCH
1364
- `remove`: both omit the key. On PUT a non-empty array becomes the stored list (duplicate
1365
- ids collapse to their first occurrence), while omitting the list, `null`, and `[]` keep a
1366
- stored list and write `[]` where the key is absent; clear a stored list with
1367
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
1381
- `remove` on the whole path. PATCH `add` at `/aiAgent/attachedKnowledgeBaseIds/-`
1382
- 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.
1383
1388
  openai:
1384
1389
  type: object
1385
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,13 +10384,12 @@ components:
10384
10384
  uniqueItems: true
10385
10385
  default: []
10386
10386
  description: |-
10387
- Knowledge bases the agent retrieves from, for every provider. An agent with none attached
10388
- returns `[]`, except one whose last POST or PUT predates this field and one after a PATCH
10389
- `remove`: both omit the key. On PUT a non-empty array becomes the stored list (duplicate
10390
- ids collapse to their first occurrence), while omitting the list, `null`, and `[]` keep a
10391
- stored list and write `[]` where the key is absent; clear a stored list with
10392
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
10406
- `remove` on the whole path. PATCH `add` at `/aiAgent/attachedKnowledgeBaseIds/-`
10407
- 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.
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` drops it
11933
- again. On PUT a non-empty array replaces the stored list (duplicate ids collapse to their
11934
- first occurrence), while omitting the list, `null`, and `[]` all keep it; clear it with
11935
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
11950
- `remove` on the whole path. PATCH `add` at
11951
- `/guardrail/aiAgent/attachedKnowledgeBaseIds/-` does not append — it fails with
11952
- 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.
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. An agent with none attached
22730
- returns `[]`, except one whose last POST or PUT predates this field and one after a PATCH
22731
- `remove`: both omit the key. On PUT a non-empty array becomes the stored list (duplicate
22732
- ids collapse to their first occurrence), while omitting the list, `null`, and `[]` keep a
22733
- stored list and write `[]` where the key is absent; clear a stored list with
22734
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
22748
- `remove` on the whole path. PATCH `add` at `/aiAgent/attachedKnowledgeBaseIds/-`
22749
- 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.
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` drops it
24275
- again. On PUT a non-empty array replaces the stored list (duplicate ids collapse to their
24276
- first occurrence), while omitting the list, `null`, and `[]` all keep it; clear it with
24277
- `PATCH /v1/imports/{_id}` — `replace` with `[]` or `remove` on
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
- Sending `[]` on PUT does not detach anything; use PATCH `replace` with `[]` or
24292
- `remove` on the whole path. PATCH `add` at
24293
- `/guardrail/aiAgent/attachedKnowledgeBaseIds/-` does not append — it fails with
24294
- 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.
24295
24306
  openai:
24296
24307
  type: object
24297
24308
  description: |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.289",
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": "028b6773",
4
+ "iasCommit": "368883fb",
5
5
  "generatedAt": "2026-11-12"
6
6
  },
7
7
  "roots": {