@celigo/api-specs 0.2.300 → 0.2.302
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/agent.yml +7 -1
- package/dist/ai-agent.yml +6 -1
- package/dist/api.yml +14 -7
- package/dist/connection.yml +88 -11
- package/dist/ediprofile.yml +150 -21
- package/dist/enduser.yml +51 -15
- package/dist/export.yml +49 -7
- package/dist/filedefinition.yml +26 -14
- package/dist/fileserver.yml +13 -13
- package/dist/filestorage.yml +127 -28
- package/dist/flow.yml +20 -6
- package/dist/import.yml +59 -5
- package/dist/integration.yml +284 -0
- package/dist/mcp-server.yml +80 -31
- package/dist/sync.yml +362 -46
- package/dist/tag.yml +5 -1
- package/dist/tool.yml +118 -17
- package/package.json +1 -1
- package/schemas.json +408 -347
package/dist/import.yml
CHANGED
|
@@ -1699,7 +1699,14 @@ components:
|
|
|
1699
1699
|
sendPostMappedData:
|
|
1700
1700
|
type: boolean
|
|
1701
1701
|
default: true
|
|
1702
|
-
description: When true,
|
|
1702
|
+
description: When true, an import with no `body` template sends the record as the request body — as its mapping step leaves it, or unchanged when the import has no mapping. When false, an import with no `body` template sends its request with no body. A `body` template is rendered against the mapped record under either value.
|
|
1703
|
+
x-celigo-ai-guidance:
|
|
1704
|
+
- |-
|
|
1705
|
+
Leave this ``true`` (the default) on an import that sends its record: ``false`` does
|
|
1706
|
+
not send the record as it was before mapping. Live-verified 2026-11-13 on HTTP imports
|
|
1707
|
+
under Mapper 2.0 and Mapper 1.0: with no ``body`` template, ``false`` sent an empty
|
|
1708
|
+
request body with a mapping and without one; with a ``body`` template the request was
|
|
1709
|
+
the same under ``true`` and ``false``.
|
|
1703
1710
|
isRest:
|
|
1704
1711
|
type: boolean
|
|
1705
1712
|
description: Internal flag indicating the import was built with the legacy REST form rather than the unified HTTP framework. Set by the form; not configured directly.
|
|
@@ -6143,6 +6150,14 @@ components:
|
|
|
6143
6150
|
```json
|
|
6144
6151
|
"queryType": ["first_page"]
|
|
6145
6152
|
```
|
|
6153
|
+
database:
|
|
6154
|
+
type: string
|
|
6155
|
+
description: |-
|
|
6156
|
+
Database to run the import's queries in when it differs from the connection's
|
|
6157
|
+
`rdbms.database`. Leading and trailing whitespace is trimmed on save, and a
|
|
6158
|
+
whitespace-only value is not stored. A PUT that omits it removes it.
|
|
6159
|
+
examples:
|
|
6160
|
+
- analytics
|
|
6146
6161
|
bulkInsert:
|
|
6147
6162
|
type: object
|
|
6148
6163
|
description: |-
|
|
@@ -9163,7 +9178,10 @@ components:
|
|
|
9163
9178
|
bring-your-own-keys connection model: the tool declares abstract connection slots, and the
|
|
9164
9179
|
consumer binds concrete connections here so one tool definition can run against different
|
|
9165
9180
|
systems without being modified. Bind every connection the tool's steps use; to keep the
|
|
9166
|
-
connection a step was authored against, bind it to itself.
|
|
9181
|
+
connection a step was authored against, bind it to itself. A branch `inputFilter` sent
|
|
9182
|
+
under `overrides.routers` takes `version` and `rules` directly; in the export-filter
|
|
9183
|
+
wrapper `{type: "expression", expression: {...}}` it fails the save with 422
|
|
9184
|
+
`invalid_router_branch_input_filter`.
|
|
9167
9185
|
x-celigo-ai-guidance:
|
|
9168
9186
|
- |-
|
|
9169
9187
|
Per-consumer overrides applied when the wrapper invokes the underlying Tool.
|
|
@@ -9790,7 +9808,9 @@ components:
|
|
|
9790
9808
|
description: |-
|
|
9791
9809
|
Which batches of a run's records become separate output files. EDI file definitions
|
|
9792
9810
|
(`file.type: filedefinition`) are written per page or per key, never per run; `key`
|
|
9793
|
-
is accepted only for them and only when the account has B2B Manager
|
|
9811
|
+
is accepted only for them and only when the account has B2B Manager, and not for a
|
|
9812
|
+
`delimited/tradacoms` definition (422 `not_supported` "Aggregation type key is only
|
|
9813
|
+
supported for B2B Manager"). The grouping
|
|
9794
9814
|
key and the line-item loop it merges come from the EDI file definition's document
|
|
9795
9815
|
type, so there is no separate key field to configure.
|
|
9796
9816
|
examples:
|
|
@@ -10328,6 +10348,7 @@ components:
|
|
|
10328
10348
|
description: Name of the JSON schema, for `json_schema` output.
|
|
10329
10349
|
strict:
|
|
10330
10350
|
type: boolean
|
|
10351
|
+
default: false
|
|
10331
10352
|
description: When true, the model must conform exactly to `jsonSchema`.
|
|
10332
10353
|
jsonSchema:
|
|
10333
10354
|
type: object
|
|
@@ -10861,7 +10882,11 @@ components:
|
|
|
10861
10882
|
description: Reference to the Tool resource
|
|
10862
10883
|
overrides:
|
|
10863
10884
|
type: object
|
|
10864
|
-
description:
|
|
10885
|
+
description: |-
|
|
10886
|
+
Per-agent overrides for the tool's internal resources. A branch
|
|
10887
|
+
`inputFilter` sent under `overrides.routers` takes `version` and `rules`
|
|
10888
|
+
directly; in the export-filter wrapper `{type: "expression", expression:
|
|
10889
|
+
{...}}` it fails the save with 422 `invalid_router_branch_input_filter`.
|
|
10865
10890
|
properties:
|
|
10866
10891
|
connections:
|
|
10867
10892
|
type: array
|
|
@@ -17738,6 +17763,35 @@ components:
|
|
|
17738
17763
|
unencrypted:
|
|
17739
17764
|
type: object
|
|
17740
17765
|
description: Custom configuration values stored without encryption and returned in API responses.
|
|
17766
|
+
properties:
|
|
17767
|
+
apiType:
|
|
17768
|
+
type: string
|
|
17769
|
+
enum:
|
|
17770
|
+
- Amazon-SP-API
|
|
17771
|
+
- ''
|
|
17772
|
+
x-enumDescriptions:
|
|
17773
|
+
Amazon-SP-API: The import calls Amazon's Selling Partner API
|
|
17774
|
+
'': The import calls Amazon's legacy Marketplace Web Service (MWS) API
|
|
17775
|
+
description: |-
|
|
17776
|
+
Selects which Amazon API family the import calls when its connection is an Amazon
|
|
17777
|
+
Seller Central connection of type `Amazon-Hybrid`, which serves both the Selling
|
|
17778
|
+
Partner API and the legacy Marketplace Web Service (MWS).
|
|
17779
|
+
x-celigo-ai-guidance:
|
|
17780
|
+
- |-
|
|
17781
|
+
This is a field of the import, not of its connection: the connection's `http.type`
|
|
17782
|
+
says which API families it can reach, and each import on an `Amazon-Hybrid`
|
|
17783
|
+
connection names its own. Set `Amazon-SP-API` on every import that calls a Selling
|
|
17784
|
+
Partner API endpoint through such a connection.
|
|
17785
|
+
- |-
|
|
17786
|
+
The import form offers this choice only when the connection's `http.type` is
|
|
17787
|
+
`Amazon-Hybrid`, and writes `Amazon-SP-API` itself on every import whose connection's
|
|
17788
|
+
`http.type` is `Amazon-SP-API`.
|
|
17789
|
+
- |-
|
|
17790
|
+
A full PUT that omits `unencrypted` clears this field, so resend the stored value on
|
|
17791
|
+
every update. On an `Amazon-Hybrid` connection a value outside the enum fails the save
|
|
17792
|
+
with 422 `invalid_value_for_amazon_api_type` on `unencrypted.apiType`.
|
|
17793
|
+
examples:
|
|
17794
|
+
- Amazon-SP-API
|
|
17741
17795
|
sampleData:
|
|
17742
17796
|
type:
|
|
17743
17797
|
- object
|
|
@@ -18125,7 +18179,7 @@ components:
|
|
|
18125
18179
|
format: objectId
|
|
18126
18180
|
x-celigo-refModel: ediprofiles
|
|
18127
18181
|
description: |-
|
|
18128
|
-
EDI profile this import uses to generate outbound X12 or
|
|
18182
|
+
EDI profile this import uses to generate outbound X12, EDIFACT, or TRADACOMS documents — it supplies
|
|
18129
18183
|
the envelope qualifiers, delimiters, version, and validation rules. Set it when the
|
|
18130
18184
|
import produces EDI output; omit it otherwise. Accepted on the file-writing imports —
|
|
18131
18185
|
FTP, AS2, S3 and HTTP file mode (`http.type: "file"`).
|
package/dist/integration.yml
CHANGED
|
@@ -2489,6 +2489,264 @@ paths:
|
|
|
2489
2489
|
errors:
|
|
2490
2490
|
- code: not_found
|
|
2491
2491
|
message: 'The topics with following _id''s: 6aab2870bb44c84f7b77e9f7 don''t exist.'
|
|
2492
|
+
/v1/integrations/{_id}/knowledgebases/{_knowledgeBaseId}/register:
|
|
2493
|
+
put:
|
|
2494
|
+
x-internal: false
|
|
2495
|
+
operationId: registerKnowledgeBaseToIntegration
|
|
2496
|
+
tags:
|
|
2497
|
+
- Integrations
|
|
2498
|
+
summary: Register a knowledge base to an integration (by path)
|
|
2499
|
+
description: |-
|
|
2500
|
+
Adds a single knowledge base to the integration's `_registeredKnowledgeBaseIds` so AI agent and
|
|
2501
|
+
guardrail steps in the integration can attach it. No request body is needed; registering an
|
|
2502
|
+
already-registered knowledge base succeeds without duplicating it, and the id is matched
|
|
2503
|
+
case-insensitively. To unregister, use `DELETE` on the same path; to register several knowledge
|
|
2504
|
+
bases at once, use `PUT /v1/integrations/{_id}/knowledgebases/register`.
|
|
2505
|
+
|
|
2506
|
+
Registration also happens automatically when a flow in the integration is saved with a step
|
|
2507
|
+
whose AI agent attaches the knowledge base.
|
|
2508
|
+
parameters:
|
|
2509
|
+
- name: _id
|
|
2510
|
+
in: path
|
|
2511
|
+
required: true
|
|
2512
|
+
description: Integration id.
|
|
2513
|
+
schema:
|
|
2514
|
+
type: string
|
|
2515
|
+
format: objectId
|
|
2516
|
+
x-celigo-refModel: integrations
|
|
2517
|
+
examples:
|
|
2518
|
+
- 6842261335b64c0bcb308e4f
|
|
2519
|
+
- name: _knowledgeBaseId
|
|
2520
|
+
in: path
|
|
2521
|
+
required: true
|
|
2522
|
+
description: Knowledge base id to register.
|
|
2523
|
+
schema:
|
|
2524
|
+
type: string
|
|
2525
|
+
format: objectId
|
|
2526
|
+
x-celigo-refModel: knowledgebases
|
|
2527
|
+
examples:
|
|
2528
|
+
- 6aee9c66c049b57246ffb05c
|
|
2529
|
+
responses:
|
|
2530
|
+
'204':
|
|
2531
|
+
description: Knowledge base registered successfully. No body returned.
|
|
2532
|
+
'400':
|
|
2533
|
+
description: The integration id or the knowledge base id is not a valid id (`invalid_ref`).
|
|
2534
|
+
content:
|
|
2535
|
+
application/json:
|
|
2536
|
+
schema:
|
|
2537
|
+
$ref: '#/components/schemas/Error'
|
|
2538
|
+
examples:
|
|
2539
|
+
bad_knowledge_base_id:
|
|
2540
|
+
value:
|
|
2541
|
+
errors:
|
|
2542
|
+
- code: invalid_ref
|
|
2543
|
+
message: Please provide a valid _knowledgeBaseId.
|
|
2544
|
+
bad_integration_id:
|
|
2545
|
+
value:
|
|
2546
|
+
errors:
|
|
2547
|
+
- code: invalid_ref
|
|
2548
|
+
message: Please provide a valid _integrationId.
|
|
2549
|
+
'401':
|
|
2550
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
2551
|
+
'403':
|
|
2552
|
+
$ref: '#/components/responses/403-forbidden'
|
|
2553
|
+
'404':
|
|
2554
|
+
description: |-
|
|
2555
|
+
The integration does not exist (`invalid_ref`), or no knowledge base has this id
|
|
2556
|
+
(`not_found`).
|
|
2557
|
+
content:
|
|
2558
|
+
application/json:
|
|
2559
|
+
schema:
|
|
2560
|
+
$ref: '#/components/schemas/Error'
|
|
2561
|
+
examples:
|
|
2562
|
+
knowledge_base_not_found:
|
|
2563
|
+
value:
|
|
2564
|
+
errors:
|
|
2565
|
+
- code: not_found
|
|
2566
|
+
message: 'The knowledge bases with following _id''s: 6aee9c66c049b57246ffb05c don''t exist.'
|
|
2567
|
+
integration_not_found:
|
|
2568
|
+
value:
|
|
2569
|
+
errors:
|
|
2570
|
+
- code: invalid_ref
|
|
2571
|
+
message: Integration not found.
|
|
2572
|
+
delete:
|
|
2573
|
+
x-internal: false
|
|
2574
|
+
operationId: unregisterKnowledgeBaseFromIntegration
|
|
2575
|
+
tags:
|
|
2576
|
+
- Integrations
|
|
2577
|
+
summary: Unregister a knowledge base from an integration
|
|
2578
|
+
description: |-
|
|
2579
|
+
Removes a knowledge base's registration from the integration. This does not delete the knowledge
|
|
2580
|
+
base — it only removes it from the integration's `_registeredKnowledgeBaseIds`. Fails when the
|
|
2581
|
+
knowledge base is not registered on the integration, or while a step in the integration uses an
|
|
2582
|
+
AI agent or guardrail that attaches it. Remove that step or detach the knowledge base first,
|
|
2583
|
+
then retry.
|
|
2584
|
+
parameters:
|
|
2585
|
+
- name: _id
|
|
2586
|
+
in: path
|
|
2587
|
+
required: true
|
|
2588
|
+
description: Integration id.
|
|
2589
|
+
schema:
|
|
2590
|
+
type: string
|
|
2591
|
+
format: objectId
|
|
2592
|
+
x-celigo-refModel: integrations
|
|
2593
|
+
examples:
|
|
2594
|
+
- 6842261335b64c0bcb308e4f
|
|
2595
|
+
- name: _knowledgeBaseId
|
|
2596
|
+
in: path
|
|
2597
|
+
required: true
|
|
2598
|
+
description: Knowledge base id to unregister.
|
|
2599
|
+
schema:
|
|
2600
|
+
type: string
|
|
2601
|
+
format: objectId
|
|
2602
|
+
x-celigo-refModel: knowledgebases
|
|
2603
|
+
examples:
|
|
2604
|
+
- 6aee9c66c049b57246ffb05c
|
|
2605
|
+
responses:
|
|
2606
|
+
'204':
|
|
2607
|
+
description: Knowledge base unregistered successfully. No body returned.
|
|
2608
|
+
'400':
|
|
2609
|
+
description: |-
|
|
2610
|
+
The knowledge base is not registered on this integration, or a step in the integration
|
|
2611
|
+
still attaches it (`not_allowed` for both); or the integration id or the knowledge base id
|
|
2612
|
+
is not a valid id (`invalid_ref`).
|
|
2613
|
+
content:
|
|
2614
|
+
application/json:
|
|
2615
|
+
schema:
|
|
2616
|
+
$ref: '#/components/schemas/Error'
|
|
2617
|
+
examples:
|
|
2618
|
+
in_use:
|
|
2619
|
+
value:
|
|
2620
|
+
errors:
|
|
2621
|
+
- code: not_allowed
|
|
2622
|
+
message: The knowledge base is attached to an AI agent or guardrail used by a step in this integration. Detach it from all steps before deregistering.
|
|
2623
|
+
not_registered:
|
|
2624
|
+
value:
|
|
2625
|
+
errors:
|
|
2626
|
+
- code: not_allowed
|
|
2627
|
+
message: The knowledge base which you are trying to deregister is not registered on the integration.
|
|
2628
|
+
bad_knowledge_base_id:
|
|
2629
|
+
value:
|
|
2630
|
+
errors:
|
|
2631
|
+
- code: invalid_ref
|
|
2632
|
+
message: Please provide a valid _knowledgeBaseId.
|
|
2633
|
+
'401':
|
|
2634
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
2635
|
+
'403':
|
|
2636
|
+
$ref: '#/components/responses/403-forbidden'
|
|
2637
|
+
'404':
|
|
2638
|
+
description: |-
|
|
2639
|
+
The integration does not exist (`invalid_ref`), or no knowledge base has this id
|
|
2640
|
+
(`not_found`).
|
|
2641
|
+
content:
|
|
2642
|
+
application/json:
|
|
2643
|
+
schema:
|
|
2644
|
+
$ref: '#/components/schemas/Error'
|
|
2645
|
+
examples:
|
|
2646
|
+
knowledge_base_not_found:
|
|
2647
|
+
value:
|
|
2648
|
+
errors:
|
|
2649
|
+
- code: not_found
|
|
2650
|
+
message: 'The knowledge bases with following _id''s: 6aee9c66c049b57246ffb05c don''t exist.'
|
|
2651
|
+
integration_not_found:
|
|
2652
|
+
value:
|
|
2653
|
+
errors:
|
|
2654
|
+
- code: invalid_ref
|
|
2655
|
+
message: Integration not found.
|
|
2656
|
+
/v1/integrations/{_id}/knowledgebases/register:
|
|
2657
|
+
put:
|
|
2658
|
+
x-internal: false
|
|
2659
|
+
operationId: registerKnowledgeBasesToIntegration
|
|
2660
|
+
tags:
|
|
2661
|
+
- Integrations
|
|
2662
|
+
summary: Register knowledge bases to an integration (by body)
|
|
2663
|
+
description: |-
|
|
2664
|
+
Adds one or more knowledge bases to the integration's `_registeredKnowledgeBaseIds`. The request
|
|
2665
|
+
body is a bare JSON array of knowledge base ids, matched case-insensitively; an id that is
|
|
2666
|
+
already registered is not duplicated, and an empty array is accepted as a no-op. Every id must
|
|
2667
|
+
name an existing knowledge base or nothing is registered.
|
|
2668
|
+
Alternatively, use `PUT /v1/integrations/{_id}/knowledgebases/{_knowledgeBaseId}/register` to
|
|
2669
|
+
register a single knowledge base by path parameter.
|
|
2670
|
+
parameters:
|
|
2671
|
+
- name: _id
|
|
2672
|
+
in: path
|
|
2673
|
+
required: true
|
|
2674
|
+
description: Integration id.
|
|
2675
|
+
schema:
|
|
2676
|
+
type: string
|
|
2677
|
+
format: objectId
|
|
2678
|
+
x-celigo-refModel: integrations
|
|
2679
|
+
examples:
|
|
2680
|
+
- 6842261335b64c0bcb308e4f
|
|
2681
|
+
requestBody:
|
|
2682
|
+
required: true
|
|
2683
|
+
content:
|
|
2684
|
+
application/json:
|
|
2685
|
+
schema:
|
|
2686
|
+
type: array
|
|
2687
|
+
maxItems: 500
|
|
2688
|
+
uniqueItems: true
|
|
2689
|
+
description: Knowledge base ids to register.
|
|
2690
|
+
items:
|
|
2691
|
+
type: string
|
|
2692
|
+
format: objectId
|
|
2693
|
+
x-celigo-refModel: knowledgebases
|
|
2694
|
+
examples:
|
|
2695
|
+
default:
|
|
2696
|
+
value:
|
|
2697
|
+
- 6aee9c66c049b57246ffb05c
|
|
2698
|
+
- 6af435ad39fad8fd3fe9ea24
|
|
2699
|
+
responses:
|
|
2700
|
+
'204':
|
|
2701
|
+
description: Knowledge bases registered successfully. No body returned.
|
|
2702
|
+
'400':
|
|
2703
|
+
description: |-
|
|
2704
|
+
The body is not a JSON array (`invalid_request`), an entry is not a valid knowledge base id
|
|
2705
|
+
(`invalid_ref`), or the array holds more than 500 distinct ids (`batch_size_exceeded`).
|
|
2706
|
+
content:
|
|
2707
|
+
application/json:
|
|
2708
|
+
schema:
|
|
2709
|
+
$ref: '#/components/schemas/Error'
|
|
2710
|
+
examples:
|
|
2711
|
+
not_an_array:
|
|
2712
|
+
summary: 'An object body such as {"_knowledgeBaseId": "..."}'
|
|
2713
|
+
value:
|
|
2714
|
+
errors:
|
|
2715
|
+
- code: invalid_request
|
|
2716
|
+
message: Request body should be a JSON array of _knowledgeBaseId values.
|
|
2717
|
+
bad_id:
|
|
2718
|
+
value:
|
|
2719
|
+
errors:
|
|
2720
|
+
- code: invalid_ref
|
|
2721
|
+
message: Please provide a valid _knowledgeBaseId.
|
|
2722
|
+
too_many:
|
|
2723
|
+
value:
|
|
2724
|
+
errors:
|
|
2725
|
+
- code: batch_size_exceeded
|
|
2726
|
+
message: Maximum batch size is 500.
|
|
2727
|
+
'401':
|
|
2728
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
2729
|
+
'403':
|
|
2730
|
+
$ref: '#/components/responses/403-forbidden'
|
|
2731
|
+
'404':
|
|
2732
|
+
description: |-
|
|
2733
|
+
The integration does not exist (`invalid_ref`), or an id names no knowledge base
|
|
2734
|
+
(`not_found`, listing every such id).
|
|
2735
|
+
content:
|
|
2736
|
+
application/json:
|
|
2737
|
+
schema:
|
|
2738
|
+
$ref: '#/components/schemas/Error'
|
|
2739
|
+
examples:
|
|
2740
|
+
knowledge_base_not_found:
|
|
2741
|
+
value:
|
|
2742
|
+
errors:
|
|
2743
|
+
- code: not_found
|
|
2744
|
+
message: 'The knowledge bases with following _id''s: 6af435ad39fad8fd3fe9ea24 don''t exist.'
|
|
2745
|
+
integration_not_found:
|
|
2746
|
+
value:
|
|
2747
|
+
errors:
|
|
2748
|
+
- code: invalid_ref
|
|
2749
|
+
message: Integration not found.
|
|
2492
2750
|
/v1/integrations/{_id}/tree/metadata:
|
|
2493
2751
|
get:
|
|
2494
2752
|
x-internal: false
|
|
@@ -4854,6 +5112,19 @@ components:
|
|
|
4854
5112
|
x-celigo-refModel: topics
|
|
4855
5113
|
examples:
|
|
4856
5114
|
- - 6aab2870265e1cf39fcbee4d
|
|
5115
|
+
_registeredKnowledgeBaseIds:
|
|
5116
|
+
type: array
|
|
5117
|
+
readOnly: true
|
|
5118
|
+
description: |-
|
|
5119
|
+
Knowledge bases registered to this integration. Maintained by the platform: a
|
|
5120
|
+
value sent on a create or update is ignored. With none registered it is an empty
|
|
5121
|
+
array, or absent on an integration last saved before the field existed.
|
|
5122
|
+
items:
|
|
5123
|
+
type: string
|
|
5124
|
+
format: objectId
|
|
5125
|
+
x-celigo-refModel: knowledgebases
|
|
5126
|
+
examples:
|
|
5127
|
+
- - 6b3a1c2d4e5f60718293a4b5
|
|
4857
5128
|
Error:
|
|
4858
5129
|
type: object
|
|
4859
5130
|
description: Standard error response envelope returned by integrator.io APIs.
|
|
@@ -5889,5 +6160,18 @@ components:
|
|
|
5889
6160
|
errors:
|
|
5890
6161
|
- code: not_found
|
|
5891
6162
|
message: The requested resource was not found.
|
|
6163
|
+
403-forbidden:
|
|
6164
|
+
description: |
|
|
6165
|
+
Forbidden. The authenticated caller does not have permission to perform this operation.
|
|
6166
|
+
content:
|
|
6167
|
+
application/json:
|
|
6168
|
+
schema:
|
|
6169
|
+
$ref: '#/components/schemas/Error'
|
|
6170
|
+
examples:
|
|
6171
|
+
default:
|
|
6172
|
+
value:
|
|
6173
|
+
errors:
|
|
6174
|
+
- code: forbidden
|
|
6175
|
+
message: You do not have permission to access this resource.
|
|
5892
6176
|
x-enable-proxy: true
|
|
5893
6177
|
x-internal: false
|
package/dist/mcp-server.yml
CHANGED
|
@@ -1755,10 +1755,13 @@ paths:
|
|
|
1755
1755
|
description: |-
|
|
1756
1756
|
Returns the connections attached to the server as full Connection
|
|
1757
1757
|
documents, sorted by name. By default these are the parents — every
|
|
1758
|
-
connection named in `connections[]
|
|
1759
|
-
`overrides.connections[]`,
|
|
1758
|
+
connection named in `connections[]`, in a tool's
|
|
1759
|
+
`overrides.connections[]`, or as the `_connectionId` of a proxied
|
|
1760
|
+
`upstreamMcpConnections[]` row, whether or not it requires end-user
|
|
1760
1761
|
credentials (connections reached only through `overrides.exports[]` or
|
|
1761
|
-
`overrides.imports[]` are not included).
|
|
1762
|
+
`overrides.imports[]` are not included). Each parent row carries
|
|
1763
|
+
`isUpstreamMcpConnection`, which tells a proxied attachment from the
|
|
1764
|
+
others. With `connectionRole=mcpChild`
|
|
1762
1765
|
it returns instead the `mcpChild` connections end users hold against
|
|
1763
1766
|
those parents — the only route that serves a child document, since
|
|
1764
1767
|
`GET /v1/connections` never lists one and `GET /v1/connections/{_id}`
|
|
@@ -1838,7 +1841,18 @@ paths:
|
|
|
1838
1841
|
schema:
|
|
1839
1842
|
type: array
|
|
1840
1843
|
items:
|
|
1841
|
-
|
|
1844
|
+
allOf:
|
|
1845
|
+
- $ref: '#/components/schemas/Connection'
|
|
1846
|
+
- type: object
|
|
1847
|
+
properties:
|
|
1848
|
+
isUpstreamMcpConnection:
|
|
1849
|
+
type: boolean
|
|
1850
|
+
description: |-
|
|
1851
|
+
When true, the row is the connection's proxied
|
|
1852
|
+
`upstreamMcpConnections[]` attachment; when false, its
|
|
1853
|
+
`connections[]` or tool-override attachment. Present on every
|
|
1854
|
+
parent row and absent on `mcpChild` rows. Computed per
|
|
1855
|
+
response, never stored on the connection.
|
|
1842
1856
|
examples:
|
|
1843
1857
|
parents:
|
|
1844
1858
|
summary: Parents attached to the server (default)
|
|
@@ -1847,6 +1861,7 @@ paths:
|
|
|
1847
1861
|
name: Partner order API
|
|
1848
1862
|
type: http
|
|
1849
1863
|
connectionRole: standard
|
|
1864
|
+
isUpstreamMcpConnection: false
|
|
1850
1865
|
endUserProvidedFields:
|
|
1851
1866
|
- http.auth.token.token
|
|
1852
1867
|
http:
|
|
@@ -3157,7 +3172,8 @@ components:
|
|
|
3157
3172
|
type: object
|
|
3158
3173
|
description: |-
|
|
3159
3174
|
Branch filter override. Not applied on an MCP server; stored, but calls
|
|
3160
|
-
ignore it.
|
|
3175
|
+
ignore it. The export-filter wrapper `{type: "expression", expression: {...}}`
|
|
3176
|
+
fails the save with 422 `invalid_router_branch_input_filter`.
|
|
3161
3177
|
properties:
|
|
3162
3178
|
version:
|
|
3163
3179
|
type: string
|
|
@@ -3706,9 +3722,10 @@ components:
|
|
|
3706
3722
|
_promptIds:
|
|
3707
3723
|
type: array
|
|
3708
3724
|
description: |-
|
|
3709
|
-
Prompts included in the set, referenced by `prompts[]._id
|
|
3710
|
-
|
|
3711
|
-
|
|
3725
|
+
Prompts included in the set, referenced by `prompts[]._id` or by an
|
|
3726
|
+
attached upstream prompt row's `upstreamMcpConnections[].prompts[]._id`
|
|
3727
|
+
(a disabled upstream row stays valid). Any other id is
|
|
3728
|
+
rejected with 422 `resource_invalid`. Absent from responses for sets saved before
|
|
3712
3729
|
prompt grants existed.
|
|
3713
3730
|
items:
|
|
3714
3731
|
type: string
|
|
@@ -3828,7 +3845,7 @@ components:
|
|
|
3828
3845
|
default: false
|
|
3829
3846
|
description: |-
|
|
3830
3847
|
When true, the row stays attached but is hidden from MCP clients and
|
|
3831
|
-
does not count toward
|
|
3848
|
+
does not count toward `enabledItemCount`.
|
|
3832
3849
|
examples:
|
|
3833
3850
|
- false
|
|
3834
3851
|
overrides:
|
|
@@ -3858,8 +3875,7 @@ components:
|
|
|
3858
3875
|
default: false
|
|
3859
3876
|
description: |-
|
|
3860
3877
|
When true, the last discovery run no longer found this `upstreamName`
|
|
3861
|
-
in the upstream catalog; the row is kept but not served
|
|
3862
|
-
count toward enablement.
|
|
3878
|
+
in the upstream catalog; the row is kept but not served.
|
|
3863
3879
|
examples:
|
|
3864
3880
|
- false
|
|
3865
3881
|
discoveredAt:
|
|
@@ -3901,6 +3917,22 @@ components:
|
|
|
3901
3917
|
`overrides.name` is set.
|
|
3902
3918
|
examples:
|
|
3903
3919
|
- ask_about_repo
|
|
3920
|
+
UpstreamToolItem:
|
|
3921
|
+
allOf:
|
|
3922
|
+
- $ref: '#/components/schemas/UpstreamItem'
|
|
3923
|
+
- type: object
|
|
3924
|
+
description: |-
|
|
3925
|
+
One whitelisted upstream tool. Same shape as a prompt row plus a per-tool
|
|
3926
|
+
end-user credential setting.
|
|
3927
|
+
properties:
|
|
3928
|
+
requiresEndUserCredentials:
|
|
3929
|
+
type: boolean
|
|
3930
|
+
description: |-
|
|
3931
|
+
When true or false, overrides the attachment's `requiresEndUserCredentials`
|
|
3932
|
+
for this tool; unset inherits it. No default, so unset stays distinct from
|
|
3933
|
+
`false`. A PUT whose row omits it keeps the stored value.
|
|
3934
|
+
examples:
|
|
3935
|
+
- true
|
|
3904
3936
|
UpstreamResourceItem:
|
|
3905
3937
|
allOf:
|
|
3906
3938
|
- $ref: '#/components/schemas/UpstreamItem'
|
|
@@ -3927,7 +3959,8 @@ components:
|
|
|
3927
3959
|
the integrator.io UI, fills the read-only catalog fields (`discoveryStatus`,
|
|
3928
3960
|
`lastDiscoveredAt`, and each row's `title`, `description`, `annotations`,
|
|
3929
3961
|
`discoveredAt`, `unavailable`). A write carries only `_connectionId`,
|
|
3930
|
-
`alias`, and each row's `upstreamName`,
|
|
3962
|
+
`alias`, `requiresEndUserCredentials`, and each row's `upstreamName`,
|
|
3963
|
+
`disabled`, `overrides`, `uri`, and (tool rows) `requiresEndUserCredentials` —
|
|
3931
3964
|
every other field is taken from the stored row, and a write that includes
|
|
3932
3965
|
`upstreamMcpConnections` re-approves the current upstream definitions
|
|
3933
3966
|
(`approvedDefinitionHash` is re-pinned and `changedSinceApproval` reset).
|
|
@@ -3995,6 +4028,18 @@ components:
|
|
|
3995
4028
|
examples:
|
|
3996
4029
|
- deepwiki
|
|
3997
4030
|
- crm_tools
|
|
4031
|
+
requiresEndUserCredentials:
|
|
4032
|
+
type: boolean
|
|
4033
|
+
default: false
|
|
4034
|
+
description: |-
|
|
4035
|
+
When true, a proxied call from a Celigo end user runs on that user's own credentials for
|
|
4036
|
+
`_connectionId` instead of the shared connection. Accepted only on a server that uses
|
|
4037
|
+
Celigo OAuth (`oauth.useCeligoOauth: true`); otherwise the save fails with 422
|
|
4038
|
+
`mcp_upstream_end_user_auth_requires_celigo_oauth`. A PUT whose row omits it keeps the
|
|
4039
|
+
stored value — only an explicit `false` clears it — and PATCH does not reach it. A row
|
|
4040
|
+
last saved before the field existed omits it.
|
|
4041
|
+
examples:
|
|
4042
|
+
- false
|
|
3998
4043
|
name:
|
|
3999
4044
|
type: string
|
|
4000
4045
|
readOnly: true
|
|
@@ -4046,7 +4091,7 @@ components:
|
|
|
4046
4091
|
whose `upstreamName` disappears from the upstream catalog is kept and
|
|
4047
4092
|
flagged `unavailable`.
|
|
4048
4093
|
items:
|
|
4049
|
-
$ref: '#/components/schemas/
|
|
4094
|
+
$ref: '#/components/schemas/UpstreamToolItem'
|
|
4050
4095
|
prompts:
|
|
4051
4096
|
type: array
|
|
4052
4097
|
description: Upstream prompts this server exposes, whitelisted by `upstreamName`.
|
|
@@ -4070,11 +4115,13 @@ components:
|
|
|
4070
4115
|
rejected with 422 `mcp_server_duplicate_policy`. A rejected call is not
|
|
4071
4116
|
executed, does not count toward usage, and receives HTTP 429 with a
|
|
4072
4117
|
`Retry-After` header (seconds until the allowance refills or the quota
|
|
4073
|
-
period resets), an `X-RateLimit-Limit` header
|
|
4074
|
-
(
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4118
|
+
period resets), an `X-RateLimit-Limit` header when a rate limit refused it
|
|
4119
|
+
(`X-Quota-Remaining` and `X-Quota-Reset` when a quota did), and a JSON-RPC
|
|
4120
|
+
error (code -32004) whose message names the policy:
|
|
4121
|
+
`Rate limit exceeded: <name>` or `Usage quota exceeded: <name>`. A quota
|
|
4122
|
+
counts only calls accepted after it was added; editing the limit keeps the
|
|
4123
|
+
running count for the current UTC period, and removing then re-adding the
|
|
4124
|
+
quota starts a new count.
|
|
4078
4125
|
x-celigo-ai-guidance:
|
|
4079
4126
|
- |-
|
|
4080
4127
|
Configure one policy per kind — one server-level rate limit, one per-user
|
|
@@ -4082,10 +4129,11 @@ components:
|
|
|
4082
4129
|
same `type` and `keyResolver` is rejected with 422
|
|
4083
4130
|
`mcp_server_duplicate_policy`.
|
|
4084
4131
|
- |-
|
|
4085
|
-
A `tools/call` counts against every enabled
|
|
4086
|
-
does not exist
|
|
4087
|
-
|
|
4088
|
-
`
|
|
4132
|
+
A `tools/call`, `prompts/get`, or `resources/read` counts against every enabled
|
|
4133
|
+
policy, even when the named tool, prompt, or resource does not exist, and one
|
|
4134
|
+
sent after the allowance is used up is refused with 429 and JSON-RPC -32004;
|
|
4135
|
+
`initialize`, `tools/list`, `prompts/list`, and `resources/list` are never
|
|
4136
|
+
counted or rejected (all live-verified).
|
|
4089
4137
|
- |-
|
|
4090
4138
|
Bearer API-token traffic is evaluated by `endpoint`-keyed rate limits and by
|
|
4091
4139
|
quotas only; a `consumer`-keyed rate limit applies to OAuth end users, each
|
|
@@ -4449,14 +4497,14 @@ components:
|
|
|
4449
4497
|
default: false
|
|
4450
4498
|
description: |-
|
|
4451
4499
|
When true, the server refuses MCP clients: on the alias URL
|
|
4452
|
-
(`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server
|
|
4453
|
-
unknown alias answers HTTP 404
|
|
4454
|
-
`WWW-Authenticate` header, whatever
|
|
4455
|
-
`/mcp{relativeURI}` route still
|
|
4456
|
-
JSON-RPC error `1006` ("MCP
|
|
4457
|
-
|
|
4458
|
-
`
|
|
4459
|
-
resources until an item is enabled.
|
|
4500
|
+
(`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server, a
|
|
4501
|
+
`relativeURI` no server has, or an unknown alias answers HTTP 404
|
|
4502
|
+
`resource_not_found` with no `WWW-Authenticate` header, whatever
|
|
4503
|
+
credential is sent, while the direct `/mcp{relativeURI}` route still
|
|
4504
|
+
authenticates the call and then returns JSON-RPC error `1006` ("MCP
|
|
4505
|
+
Server not found for relativeURI: …"). A new server is created enabled
|
|
4506
|
+
with `enabledItemCount` 0: it answers `initialize` on both URLs but
|
|
4507
|
+
lists no tools, prompts, or resources until an item is enabled.
|
|
4460
4508
|
x-celigo-ai-guidance:
|
|
4461
4509
|
- |-
|
|
4462
4510
|
Create the server with its items enabled, or enable them right after: a server
|
|
@@ -10490,7 +10538,8 @@ components:
|
|
|
10490
10538
|
headers:
|
|
10491
10539
|
type: array
|
|
10492
10540
|
description: |
|
|
10493
|
-
Default HTTP headers included in every request to the MCP server.
|
|
10541
|
+
Default HTTP headers included in every request to the MCP server. On PUT, an
|
|
10542
|
+
`mcp.http` block that omits `headers` or sends `[]` clears the stored list.
|
|
10494
10543
|
items:
|
|
10495
10544
|
type: object
|
|
10496
10545
|
properties:
|