@celigo/api-specs 0.2.269 → 0.2.271
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/export.yml +10 -8
- package/dist/mcp-server.yml +72 -62
- package/dist/tool.yml +12 -9
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/export.yml
CHANGED
|
@@ -6505,17 +6505,20 @@ components:
|
|
|
6505
6505
|
type: string
|
|
6506
6506
|
format: objectId
|
|
6507
6507
|
x-celigo-refModel: topics
|
|
6508
|
-
x-celigo-ui-override: 'Required by the Event Streams listener form (fieldDefinitions/resources/exports/export.js: ''topic._topicId'' is required:true, validWhen isNot ''''). The API saves a TopicExport without it, so the requirement is encoded on the request schema to mirror the form and keep listeners bound to a topic.'
|
|
6509
6508
|
description: |-
|
|
6510
6509
|
Topic this listener subscribes to. Create or look it up with `GET /v1/topics`; the
|
|
6511
|
-
topic must belong to the same account.
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6510
|
+
topic must belong to the same account. A TopicExport saved without it fails with 422
|
|
6511
|
+
`missing_required_field`. Pointing an existing listener at a different topic starts a
|
|
6512
|
+
new subscription, read from `startPosition`. A clone made in the same environment — of
|
|
6513
|
+
this export, or of a flow that contains it — keeps `_topicId`, so the copy becomes
|
|
6514
|
+
another listener on the topic once its flow is enabled.
|
|
6515
6515
|
x-celigo-ai-guidance:
|
|
6516
6516
|
- |-
|
|
6517
|
-
|
|
6518
|
-
|
|
6517
|
+
Always send `topic._topicId`: a POST without it — `topic` empty, sent with
|
|
6518
|
+
`type: "stream"`, or left out — fails with 422 `missing_required_field`
|
|
6519
|
+
("Expected field: topic._topicId to be present."). An id that is not a topic in the
|
|
6520
|
+
account fails the save with 422 `invalid_ref` ("<id> is not a valid topic._topicId");
|
|
6521
|
+
a malformed id fails with 422 `invalid_field`.
|
|
6519
6522
|
examples:
|
|
6520
6523
|
- 6ab1f48d38d7733b4599875c
|
|
6521
6524
|
startPosition:
|
|
@@ -18299,7 +18302,6 @@ components:
|
|
|
18299
18302
|
required:
|
|
18300
18303
|
- adaptorType
|
|
18301
18304
|
then:
|
|
18302
|
-
x-celigo-ui-override: 'Required by the Event Streams listener form (fieldDefinitions/resources/exports/export.js: ''topic._topicId'' is required:true). Encoded to mirror the form so builders produce listeners that are bound to a topic.'
|
|
18303
18305
|
required:
|
|
18304
18306
|
- topic
|
|
18305
18307
|
properties:
|
package/dist/mcp-server.yml
CHANGED
|
@@ -15,7 +15,7 @@ info:
|
|
|
15
15
|
- Contains a collection of **tools** (referencing Tool resources), **APIs** (referencing builder-mode API resources), **prompts** (inline reusable templates), and **resources** (Celigo Storage files served to clients)
|
|
16
16
|
- Can be enabled or disabled at both the server level and individual tool/API level
|
|
17
17
|
- Supports MCP annotations on tools for hinting behavior (read-only, idempotent, destructive, etc.)
|
|
18
|
-
- Binds the connections each tool's steps run on, per server (`tools[].overrides
|
|
18
|
+
- Binds the connections each tool's steps run on, per server (`tools[].overrides.connections[]`, one pair per connection the Tool's steps were authored on, imports included); a call fails with "Missing connection overrides" when a connection has neither a pair nor a step entry on every step that uses it
|
|
19
19
|
- Exposes prompts via `prompts/list` and `prompts/get` with Handlebars-style argument substitution
|
|
20
20
|
- Carries **permission sets** ("Capability Sets" in the UI) — named bundles of its tools, APIs, prompts, and resources granted to end users via `pset:<_id>` capability strings on end-user, group, and role resource grants
|
|
21
21
|
- Carries optional **traffic limits** (`policies[]`) — a server-level rate limit, a per-user rate limit for OAuth end users, and a usage quota — enforced before a tool runs; a rejected call gets HTTP 429 with `Retry-After`
|
|
@@ -145,9 +145,11 @@ paths:
|
|
|
145
145
|
x-internal: false
|
|
146
146
|
summary: Create an MCP server
|
|
147
147
|
description: |-
|
|
148
|
-
Creates an MCP server.
|
|
149
|
-
|
|
150
|
-
`
|
|
148
|
+
Creates an MCP server. `name` and `relativeURI` are the only required
|
|
149
|
+
fields; `relativeURI` must be unique per account. A minimal request
|
|
150
|
+
creates the server enabled (`disabled: false`) with `enabledItemCount` 0,
|
|
151
|
+
so it serves nothing until a tool, API, resource, prompt, or available
|
|
152
|
+
upstream capability is enabled.
|
|
151
153
|
x-celigo-ai-guidance:
|
|
152
154
|
- |-
|
|
153
155
|
Creates a new MCP server that exposes tools, APIs,
|
|
@@ -158,10 +160,9 @@ paths:
|
|
|
158
160
|
where the segment contains only alphanumeric characters, underscores,
|
|
159
161
|
and hyphens.
|
|
160
162
|
- |-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
write fails with 422 "mcp_server_enablement_requires_enabled_item".
|
|
163
|
+
Send the server's tools, APIs, resources, or prompts enabled in the same
|
|
164
|
+
request: a server created with none enabled is reachable at its URL but
|
|
165
|
+
lists nothing to MCP clients.
|
|
165
166
|
operationId: createMcpServer
|
|
166
167
|
tags:
|
|
167
168
|
- MCP Servers
|
|
@@ -178,7 +179,7 @@ paths:
|
|
|
178
179
|
name: Customer Integration MCP
|
|
179
180
|
relativeURI: /customers
|
|
180
181
|
with_tool:
|
|
181
|
-
summary: With a tool (its
|
|
182
|
+
summary: With a tool (its connection bound with an identity pair) and Celigo OAuth
|
|
182
183
|
value:
|
|
183
184
|
name: Customer Integration MCP
|
|
184
185
|
relativeURI: /customers
|
|
@@ -191,9 +192,9 @@ paths:
|
|
|
191
192
|
annotations:
|
|
192
193
|
readOnlyHint: true
|
|
193
194
|
overrides:
|
|
194
|
-
|
|
195
|
-
- _abstractId:
|
|
196
|
-
_id:
|
|
195
|
+
connections:
|
|
196
|
+
- _abstractId: 6ab1ebb94db5688fd8c7189f
|
|
197
|
+
_id: 6ab1ebb94db5688fd8c7189f
|
|
197
198
|
oauth:
|
|
198
199
|
useCeligoOauth: true
|
|
199
200
|
responses:
|
|
@@ -212,7 +213,7 @@ paths:
|
|
|
212
213
|
name: Customer Integration MCP
|
|
213
214
|
relativeURI: /customers
|
|
214
215
|
description: ''
|
|
215
|
-
disabled:
|
|
216
|
+
disabled: false
|
|
216
217
|
connections: []
|
|
217
218
|
tools: []
|
|
218
219
|
apis: []
|
|
@@ -627,9 +628,9 @@ paths:
|
|
|
627
628
|
tools, connections, permission sets, and traffic limits. An omitted
|
|
628
629
|
logging object is kept, like upstreamMcpConnections and _networkPolicyId.
|
|
629
630
|
- |-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
631
|
+
Enable the server's items in the same PUT that enables the server: a
|
|
632
|
+
server saved with disabled false and no enabled tool, API, prompt,
|
|
633
|
+
resource, or available upstream row is reachable but lists nothing.
|
|
633
634
|
patch:
|
|
634
635
|
x-internal: false
|
|
635
636
|
summary: Patch an MCP server
|
|
@@ -663,9 +664,9 @@ paths:
|
|
|
663
664
|
`/_networkPolicyId` takes `add`,
|
|
664
665
|
`replace` (a policy in the same environment, else 422 `invalid_ref`),
|
|
665
666
|
and `remove` to unassign — `replace` with a `null` value is rejected
|
|
666
|
-
with 422 `missing 'value' property`. Setting `/disabled` to `false`
|
|
667
|
-
with
|
|
668
|
-
|
|
667
|
+
with 422 `missing 'value' property`. Setting `/disabled` to `false` on a
|
|
668
|
+
server with nothing enabled saves; the server then lists no tools, prompts,
|
|
669
|
+
or resources until an item is enabled.
|
|
669
670
|
operationId: patchMcpServer
|
|
670
671
|
tags:
|
|
671
672
|
- MCP Servers
|
|
@@ -778,8 +779,8 @@ paths:
|
|
|
778
779
|
description: |-
|
|
779
780
|
The patch names a path outside the whitelist, an invalid
|
|
780
781
|
`_networkPolicyId`, an invalid policy, a request-log mode or debug
|
|
781
|
-
window the account cannot use, a debug window in the past or beyond
|
|
782
|
-
the license's limit
|
|
782
|
+
window the account cannot use, or a debug window in the past or beyond
|
|
783
|
+
the license's limit.
|
|
783
784
|
content:
|
|
784
785
|
application/json:
|
|
785
786
|
schema:
|
|
@@ -823,11 +824,6 @@ paths:
|
|
|
823
824
|
- field: logging.debugUntil
|
|
824
825
|
code: not_allowed
|
|
825
826
|
message: As per your license, you can only set debug duration up to 72.0 hours. Please contact celigo support to upgrade your license.
|
|
826
|
-
enablement:
|
|
827
|
-
value:
|
|
828
|
-
errors:
|
|
829
|
-
- code: mcp_server_enablement_requires_enabled_item
|
|
830
|
-
message: The MCP server cannot be enabled without at least one enabled API, Tool, Resource, or Prompt. Please enable at least one API, Tool, Resource, or Prompt before enabling the server.
|
|
831
827
|
invalid_network_policy:
|
|
832
828
|
value:
|
|
833
829
|
errors:
|
|
@@ -2771,21 +2767,33 @@ components:
|
|
|
2771
2767
|
Per-server bindings for a tool's steps, applied on this server without changing the
|
|
2772
2768
|
Tool itself.
|
|
2773
2769
|
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
a
|
|
2770
|
+
Write a `connections[]` pair for every connection the Tool's steps were authored on:
|
|
2771
|
+
the pairs are the only binding the integrator.io UI reads and keeps. A `tools/call`
|
|
2772
|
+
fails with "Missing connection overrides. The following connection IDs must be
|
|
2773
|
+
overridden: …" when a connection has neither a pair nor an `exports[]` or `imports[]`
|
|
2774
|
+
entry on every step that uses it. The export and router fields described below as not
|
|
2775
|
+
applied are stored but don't change a call.
|
|
2778
2776
|
x-celigo-ai-guidance:
|
|
2779
2777
|
- |-
|
|
2780
|
-
Bind
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2778
|
+
Bind with `connections[]`: one `{_abstractId, _id}` pair per connection the Tool's
|
|
2779
|
+
steps were authored on (`GET /v1/tools/{_id}/connections` lists them) — `_id` equal to
|
|
2780
|
+
`_abstractId` to use that connection as it is, another connection's id to run every
|
|
2781
|
+
step that uses it there instead. An identity pair is a complete binding. A connection
|
|
2782
|
+
with no pair fails the call with "Missing connection overrides" unless every step that
|
|
2783
|
+
uses it has its own `exports[]` or `imports[]` entry.
|
|
2784
2784
|
- |-
|
|
2785
|
-
|
|
2786
|
-
`
|
|
2787
|
-
|
|
2788
|
-
|
|
2785
|
+
The integrator.io UI reads and writes only the pairs: a tool entry missing a pair with
|
|
2786
|
+
a non-empty `_id` for any of the Tool's connections shows "Configure connection" on the
|
|
2787
|
+
server's Capabilities tab, and a save from the UI replaces the entry's overrides with
|
|
2788
|
+
its pairs, dropping its `exports[]` and `imports[]` entries. Write a step entry only in
|
|
2789
|
+
addition to the pairs, for a step that must run on a different connection from its
|
|
2790
|
+
siblings.
|
|
2791
|
+
- |-
|
|
2792
|
+
A step entry's `_connectionId` wins over the pair for that step. `_id` (the step's own
|
|
2793
|
+
export or import id) is optional beside `_connectionId` — an `exports[]` entry carrying
|
|
2794
|
+
only `_abstractId` and `_connectionId` ran the call (200, live-verified 2026-11-07) —
|
|
2795
|
+
but an entry with `_id` and no `_connectionId` pins the step to its authored
|
|
2796
|
+
connection, so a pair that remaps that connection skips it.
|
|
2789
2797
|
- |-
|
|
2790
2798
|
`connections[]` ids aren't validated on save, and the server caches its configuration,
|
|
2791
2799
|
so a saved change can take tens of seconds to reach `tools/call`.
|
|
@@ -2793,8 +2801,10 @@ components:
|
|
|
2793
2801
|
connections:
|
|
2794
2802
|
type: array
|
|
2795
2803
|
description: |
|
|
2796
|
-
Connection
|
|
2797
|
-
|
|
2804
|
+
Connection bindings, one per connection the Tool's steps were authored on. Each
|
|
2805
|
+
pair maps that connection (`_abstractId`) to the connection the steps run on for
|
|
2806
|
+
this server (`_id`) — the same id, or another one — except a step whose own
|
|
2807
|
+
`exports[]` or `imports[]` entry names a `_connectionId`, which wins for that step.
|
|
2798
2808
|
items:
|
|
2799
2809
|
type: object
|
|
2800
2810
|
properties:
|
|
@@ -2838,9 +2848,10 @@ components:
|
|
|
2838
2848
|
exports:
|
|
2839
2849
|
type: array
|
|
2840
2850
|
description: |
|
|
2841
|
-
Export (lookup) step bindings
|
|
2842
|
-
`
|
|
2843
|
-
|
|
2851
|
+
Export (lookup) step bindings for a step that must run on a connection other than
|
|
2852
|
+
the one its `connections[]` pair gives it, written in addition to the pair. The
|
|
2853
|
+
binding (`_abstractId`, `_id` and `_connectionId`) is applied to calls; the settings
|
|
2854
|
+
marked below as not applied are stored but ignored.
|
|
2844
2855
|
items:
|
|
2845
2856
|
type: object
|
|
2846
2857
|
properties:
|
|
@@ -2955,9 +2966,10 @@ components:
|
|
|
2955
2966
|
imports:
|
|
2956
2967
|
type: array
|
|
2957
2968
|
description: |
|
|
2958
|
-
Import overrides
|
|
2959
|
-
|
|
2960
|
-
|
|
2969
|
+
Import overrides, written in addition to the `connections[]` pairs for a step
|
|
2970
|
+
that must run on a connection other than the one its pair gives it. Customize
|
|
2971
|
+
import resources used within the tool, including connection bindings, hooks,
|
|
2972
|
+
response mappings, and adaptor-specific settings.
|
|
2961
2973
|
items:
|
|
2962
2974
|
type: object
|
|
2963
2975
|
properties:
|
|
@@ -3584,9 +3596,8 @@ components:
|
|
|
3584
3596
|
`prompts/list` and not fetchable via `prompts/get`. A prompt sent
|
|
3585
3597
|
without `disabled` is saved enabled, unlike tool, API and resource
|
|
3586
3598
|
entries, which default to disabled; send `true` to keep a new prompt
|
|
3587
|
-
hidden.
|
|
3588
|
-
|
|
3589
|
-
as `disabled: false`.
|
|
3599
|
+
hidden. Prompts saved before this field existed are reported as
|
|
3600
|
+
`disabled: false`.
|
|
3590
3601
|
examples:
|
|
3591
3602
|
- false
|
|
3592
3603
|
- true
|
|
@@ -4416,23 +4427,22 @@ components:
|
|
|
4416
4427
|
- Exposes customer management tools for AI agent consumption
|
|
4417
4428
|
disabled:
|
|
4418
4429
|
type: boolean
|
|
4419
|
-
default:
|
|
4430
|
+
default: false
|
|
4420
4431
|
description: |-
|
|
4421
4432
|
When true, the server refuses MCP clients: on the alias URL
|
|
4422
|
-
(`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server
|
|
4423
|
-
|
|
4424
|
-
`
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
is rejected with 422 `mcp_server_enablement_requires_enabled_item`.
|
|
4433
|
+
(`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server or an
|
|
4434
|
+
unknown alias answers HTTP 404 `resource_not_found` with no
|
|
4435
|
+
`WWW-Authenticate` header, whatever credential is sent, while the direct
|
|
4436
|
+
`/mcp{relativeURI}` route still authenticates the call and then returns
|
|
4437
|
+
JSON-RPC error `1006` ("MCP Server not found for relativeURI: …"). A new
|
|
4438
|
+
server is created enabled with `enabledItemCount` 0: it answers
|
|
4439
|
+
`initialize` on the direct route but lists no tools, prompts, or
|
|
4440
|
+
resources until an item is enabled.
|
|
4431
4441
|
x-celigo-ai-guidance:
|
|
4432
4442
|
- |-
|
|
4433
|
-
|
|
4434
|
-
disabled
|
|
4435
|
-
|
|
4443
|
+
Create the server with its items enabled, or enable them right after: a server
|
|
4444
|
+
saved with disabled false and no enabled item is reachable but returns an empty
|
|
4445
|
+
tools, prompts, and resources list to every client.
|
|
4436
4446
|
examples:
|
|
4437
4447
|
- false
|
|
4438
4448
|
- true
|
package/dist/tool.yml
CHANGED
|
@@ -33089,17 +33089,20 @@ components:
|
|
|
33089
33089
|
type: string
|
|
33090
33090
|
format: objectId
|
|
33091
33091
|
x-celigo-refModel: topics
|
|
33092
|
-
x-celigo-ui-override: 'Required by the Event Streams listener form (fieldDefinitions/resources/exports/export.js: ''topic._topicId'' is required:true, validWhen isNot ''''). The API saves a TopicExport without it, so the requirement is encoded on the request schema to mirror the form and keep listeners bound to a topic.'
|
|
33093
33092
|
description: |-
|
|
33094
33093
|
Topic this listener subscribes to. Create or look it up with `GET /v1/topics`; the
|
|
33095
|
-
topic must belong to the same account.
|
|
33096
|
-
|
|
33097
|
-
|
|
33098
|
-
|
|
33099
|
-
|
|
33100
|
-
|
|
33101
|
-
|
|
33102
|
-
|
|
33094
|
+
topic must belong to the same account. A TopicExport saved without it fails with 422
|
|
33095
|
+
`missing_required_field`. Pointing an existing listener at a different topic starts a
|
|
33096
|
+
new subscription, read from `startPosition`. A clone made in the same environment — of
|
|
33097
|
+
this export, or of a flow that contains it — keeps `_topicId`, so the copy becomes
|
|
33098
|
+
another listener on the topic once its flow is enabled.
|
|
33099
|
+
x-celigo-ai-guidance:
|
|
33100
|
+
- |-
|
|
33101
|
+
Always send `topic._topicId`: a POST without it — `topic` empty, sent with
|
|
33102
|
+
`type: "stream"`, or left out — fails with 422 `missing_required_field`
|
|
33103
|
+
("Expected field: topic._topicId to be present."). An id that is not a topic in the
|
|
33104
|
+
account fails the save with 422 `invalid_ref` ("<id> is not a valid topic._topicId");
|
|
33105
|
+
a malformed id fails with 422 `invalid_field`.
|
|
33103
33106
|
examples:
|
|
33104
33107
|
- 6ab1f48d38d7733b4599875c
|
|
33105
33108
|
startPosition:
|
package/package.json
CHANGED