@celigo/api-specs 0.2.268 → 0.2.270
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/audit.yml +6 -3
- package/dist/connection.yml +22 -5
- package/dist/enduser.yml +68 -4
- package/dist/export.yml +10 -8
- package/dist/integration.yml +82 -11
- package/dist/mcp-server.yml +31 -37
- package/dist/networkpolicy.yml +1 -1
- package/dist/stack.yml +33 -5
- package/dist/tool.yml +12 -9
- package/dist/topic.yml +3 -2
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/audit.yml
CHANGED
|
@@ -1378,7 +1378,10 @@ components:
|
|
|
1378
1378
|
schemas:
|
|
1379
1379
|
FieldChange:
|
|
1380
1380
|
type: object
|
|
1381
|
-
description:
|
|
1381
|
+
description: |-
|
|
1382
|
+
A single field-level change within an audit entry. A value of about 10 KB or more is left
|
|
1383
|
+
out, so `oldValue` or `newValue` can be absent even on an `update`; the entry still carries
|
|
1384
|
+
the `fieldPath`.
|
|
1382
1385
|
properties:
|
|
1383
1386
|
fieldPath:
|
|
1384
1387
|
type: string
|
|
@@ -1389,9 +1392,9 @@ components:
|
|
|
1389
1392
|
examples:
|
|
1390
1393
|
- http.auth.token.token
|
|
1391
1394
|
oldValue:
|
|
1392
|
-
description: Previous value (may be any JSON type).
|
|
1395
|
+
description: Previous value (may be any JSON type). Omitted when the value is about 10 KB or larger.
|
|
1393
1396
|
newValue:
|
|
1394
|
-
description: New value (may be any JSON type).
|
|
1397
|
+
description: New value (may be any JSON type). Omitted when the value is about 10 KB or larger.
|
|
1395
1398
|
DeletedInfo:
|
|
1396
1399
|
type: object
|
|
1397
1400
|
description: Extra context recorded for delete events (when available).
|
package/dist/connection.yml
CHANGED
|
@@ -10296,6 +10296,9 @@ components:
|
|
|
10296
10296
|
with 422 `enum` — and uses it to resolve the HTTP connector link on every save (see
|
|
10297
10297
|
`http._httpConnectorId`), so send it only when the application really is a legacy
|
|
10298
10298
|
adaptor: on an Azure Data Lake Storage Gen2 connection it drops the connector ids.
|
|
10299
|
+
`celigofilestorage` (Celigo File storage) is such a slug: the save links the connector
|
|
10300
|
+
`GET /v1/httpconnectors` lists with that `legacyId`, and the connection must carry
|
|
10301
|
+
`accessScope` (see below).
|
|
10299
10302
|
examples:
|
|
10300
10303
|
- shopify
|
|
10301
10304
|
x-celigo-ai-guidance:
|
|
@@ -10312,11 +10315,15 @@ components:
|
|
|
10312
10315
|
accessScope:
|
|
10313
10316
|
type: object
|
|
10314
10317
|
description: |-
|
|
10315
|
-
What a Celigo APIs connection (`assistant: integratorceligoapi`)
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
the stored scope
|
|
10318
|
+
What a Celigo APIs connection (`assistant: integratorceligoapi`) or a Celigo File
|
|
10319
|
+
storage connection (`assistant: celigofilestorage`) may reach in the account: the
|
|
10320
|
+
account's custom APIs, listeners, standard integrator.io APIs and Celigo Storage
|
|
10321
|
+
folders. Neither connection can be created without it — the rule keys on the body
|
|
10322
|
+
`assistant` — and an update that omits it leaves the stored scope unchanged. A File
|
|
10323
|
+
storage connection's `custom` scope takes Celigo Storage folders only: a non-empty
|
|
10324
|
+
`_apiIds` or `_exportIds` on it fails with 422 `invalid_access_scope` ("<field> is not
|
|
10325
|
+
supported on access scopes for this connector."). The connection document never
|
|
10326
|
+
carries it — the stored scope is read from `GET /v1/accessScope/connections/{_id}`.
|
|
10320
10327
|
required:
|
|
10321
10328
|
- type
|
|
10322
10329
|
properties:
|
|
@@ -10430,6 +10437,16 @@ components:
|
|
|
10430
10437
|
The connection document never carries `accessScope`; read the stored scope from
|
|
10431
10438
|
`GET /v1/accessScope/connections/{_id}` (`scope`, `apis`, `exports`, `integrations`,
|
|
10432
10439
|
`fileStoragePaths`) rather than inferring it from the document.
|
|
10440
|
+
- |-
|
|
10441
|
+
A Celigo File storage connection (`type: http`, `assistant: celigofilestorage`) POST
|
|
10442
|
+
without `accessScope` fails with 422 `missing_required_field` ("Scope is required for
|
|
10443
|
+
this connection. Please select Full access or Custom."): send `{type: full}` or
|
|
10444
|
+
`{type: custom, _fileStoragePaths: [...]}`. A non-empty `_apiIds` or `_exportIds` on
|
|
10445
|
+
it fails, on POST and PUT, with 422 `invalid_access_scope` ("_apiIds is not supported
|
|
10446
|
+
on access scopes for this connector."). The save fills `http._httpConnectorId` and
|
|
10447
|
+
`http._httpConnectorVersionId` from the connector whose `legacyId` is
|
|
10448
|
+
`celigofilestorage` in `GET /v1/httpconnectors` — look the id up there rather than
|
|
10449
|
+
hardcoding one.
|
|
10433
10450
|
_agentId:
|
|
10434
10451
|
type: string
|
|
10435
10452
|
format: objectId
|
package/dist/enduser.yml
CHANGED
|
@@ -1081,7 +1081,25 @@ paths:
|
|
|
1081
1081
|
createdAt: '2026-07-01T09:15:32Z'
|
|
1082
1082
|
lastModified: '2026-07-01T09:15:32Z'
|
|
1083
1083
|
'400':
|
|
1084
|
-
|
|
1084
|
+
description: |-
|
|
1085
|
+
A grant fails validation: its `resourceType` is not `mcpServer`, or its
|
|
1086
|
+
`_resourceId` is not an MCP server in the account. Error code:
|
|
1087
|
+
`validation_failed`.
|
|
1088
|
+
content:
|
|
1089
|
+
application/json:
|
|
1090
|
+
schema:
|
|
1091
|
+
$ref: '#/components/schemas/Error'
|
|
1092
|
+
examples:
|
|
1093
|
+
unknown_resource_type:
|
|
1094
|
+
value:
|
|
1095
|
+
errors:
|
|
1096
|
+
- code: validation_failed
|
|
1097
|
+
message: 'Validation failed. Invalid resourceType: mcpserver. Supported resourceTypes: mcpServer.'
|
|
1098
|
+
server_not_found:
|
|
1099
|
+
value:
|
|
1100
|
+
errors:
|
|
1101
|
+
- code: validation_failed
|
|
1102
|
+
message: Validation failed. MCP server 000000000000000000000000 was not found in this account.
|
|
1085
1103
|
'401':
|
|
1086
1104
|
$ref: '#/components/responses/401-unauthorized'
|
|
1087
1105
|
'403':
|
|
@@ -1093,7 +1111,21 @@ paths:
|
|
|
1093
1111
|
schema:
|
|
1094
1112
|
$ref: '#/components/schemas/Error'
|
|
1095
1113
|
'422':
|
|
1096
|
-
|
|
1114
|
+
description: |-
|
|
1115
|
+
The body carries a field other than `name`, `description`, or
|
|
1116
|
+
`resourceGrants`; read-only fields such as `_id`, `createdAt`, and
|
|
1117
|
+
`lastModified` are ignored rather than refused.
|
|
1118
|
+
content:
|
|
1119
|
+
application/json:
|
|
1120
|
+
schema:
|
|
1121
|
+
$ref: '#/components/schemas/Error'
|
|
1122
|
+
examples:
|
|
1123
|
+
unknown_field:
|
|
1124
|
+
value:
|
|
1125
|
+
errors:
|
|
1126
|
+
- code: invalid_field
|
|
1127
|
+
field: permissions
|
|
1128
|
+
message: 'Unknown field permissions is not allowed on a role. Supported fields: name, description, resourceGrants.'
|
|
1097
1129
|
/v1/roles/{_id}:
|
|
1098
1130
|
get:
|
|
1099
1131
|
x-internal: false
|
|
@@ -1170,7 +1202,25 @@ paths:
|
|
|
1170
1202
|
schema:
|
|
1171
1203
|
$ref: '#/components/schemas/Role'
|
|
1172
1204
|
'400':
|
|
1173
|
-
|
|
1205
|
+
description: |-
|
|
1206
|
+
A grant fails validation: its `resourceType` is not `mcpServer`, or its
|
|
1207
|
+
`_resourceId` is not an MCP server in the account. Error code:
|
|
1208
|
+
`validation_failed`.
|
|
1209
|
+
content:
|
|
1210
|
+
application/json:
|
|
1211
|
+
schema:
|
|
1212
|
+
$ref: '#/components/schemas/Error'
|
|
1213
|
+
examples:
|
|
1214
|
+
unknown_resource_type:
|
|
1215
|
+
value:
|
|
1216
|
+
errors:
|
|
1217
|
+
- code: validation_failed
|
|
1218
|
+
message: 'Validation failed. Invalid resourceType: mcpserver. Supported resourceTypes: mcpServer.'
|
|
1219
|
+
server_not_found:
|
|
1220
|
+
value:
|
|
1221
|
+
errors:
|
|
1222
|
+
- code: validation_failed
|
|
1223
|
+
message: Validation failed. MCP server 000000000000000000000000 was not found in this account.
|
|
1174
1224
|
'401':
|
|
1175
1225
|
$ref: '#/components/responses/401-unauthorized'
|
|
1176
1226
|
'403':
|
|
@@ -1184,7 +1234,21 @@ paths:
|
|
|
1184
1234
|
schema:
|
|
1185
1235
|
$ref: '#/components/schemas/Error'
|
|
1186
1236
|
'422':
|
|
1187
|
-
|
|
1237
|
+
description: |-
|
|
1238
|
+
The body carries a field other than `name`, `description`, or
|
|
1239
|
+
`resourceGrants`; read-only fields such as `_id`, `createdAt`, and
|
|
1240
|
+
`lastModified` are ignored rather than refused.
|
|
1241
|
+
content:
|
|
1242
|
+
application/json:
|
|
1243
|
+
schema:
|
|
1244
|
+
$ref: '#/components/schemas/Error'
|
|
1245
|
+
examples:
|
|
1246
|
+
unknown_field:
|
|
1247
|
+
value:
|
|
1248
|
+
errors:
|
|
1249
|
+
- code: invalid_field
|
|
1250
|
+
field: permissions
|
|
1251
|
+
message: 'Unknown field permissions is not allowed on a role. Supported fields: name, description, resourceGrants.'
|
|
1188
1252
|
delete:
|
|
1189
1253
|
x-internal: false
|
|
1190
1254
|
summary: Delete a role
|
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/integration.yml
CHANGED
|
@@ -1670,14 +1670,20 @@ paths:
|
|
|
1670
1670
|
- 626168f90b6ef816b50c82d7
|
|
1671
1671
|
responses:
|
|
1672
1672
|
'204':
|
|
1673
|
-
description:
|
|
1673
|
+
description: |-
|
|
1674
|
+
Connection unregistered successfully. No body returned. Deleting a registered
|
|
1675
|
+
connection (`DELETE /v1/connections/{_id}`) already removes it from
|
|
1676
|
+
`_registeredConnectionIds`, so this call is not needed afterwards — on a deleted
|
|
1677
|
+
connection it returns 404.
|
|
1674
1678
|
'400':
|
|
1675
1679
|
description: |-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1680
|
+
The connection is not registered on this integration ("The connection which you are
|
|
1681
|
+
trying to deregister is not registered on the integration."), or a resource in the
|
|
1682
|
+
integration still uses it -- a flow, Tool, or API step bound to it ("The connection
|
|
1683
|
+
is being actively used by the integration..."), or an alias on the integration or
|
|
1684
|
+
one of its flows that points at it ("This connection is being referenced by an
|
|
1685
|
+
alias. Delete the alias before deregistering the connection."). Error code:
|
|
1686
|
+
`not_allowed` for all three.
|
|
1681
1687
|
content:
|
|
1682
1688
|
application/json:
|
|
1683
1689
|
schema:
|
|
@@ -1693,10 +1699,33 @@ paths:
|
|
|
1693
1699
|
errors:
|
|
1694
1700
|
- code: not_allowed
|
|
1695
1701
|
message: This connection is being referenced by an alias. Delete the alias before deregistering the connection.
|
|
1702
|
+
not_registered:
|
|
1703
|
+
value:
|
|
1704
|
+
errors:
|
|
1705
|
+
- code: not_allowed
|
|
1706
|
+
message: The connection which you are trying to deregister is not registered on the integration.
|
|
1696
1707
|
'401':
|
|
1697
1708
|
$ref: '#/components/responses/401-unauthorized'
|
|
1698
1709
|
'404':
|
|
1699
|
-
|
|
1710
|
+
description: |-
|
|
1711
|
+
The integration does not exist (`invalid_ref`), or no connection with this id exists
|
|
1712
|
+
in the account — including one already deleted, which its deletion unregistered
|
|
1713
|
+
(`not_found`).
|
|
1714
|
+
content:
|
|
1715
|
+
application/json:
|
|
1716
|
+
schema:
|
|
1717
|
+
$ref: '#/components/schemas/Error'
|
|
1718
|
+
examples:
|
|
1719
|
+
connection_not_found:
|
|
1720
|
+
value:
|
|
1721
|
+
errors:
|
|
1722
|
+
- code: not_found
|
|
1723
|
+
message: 'The connections with following _id''s: 626168f90b6ef816b50c82d7 don''t exist.'
|
|
1724
|
+
integration_not_found:
|
|
1725
|
+
value:
|
|
1726
|
+
errors:
|
|
1727
|
+
- code: invalid_ref
|
|
1728
|
+
message: Integration not found.
|
|
1700
1729
|
/v1/integrations/{_id}/connections/register:
|
|
1701
1730
|
put:
|
|
1702
1731
|
x-internal: false
|
|
@@ -1974,7 +2003,11 @@ paths:
|
|
|
1974
2003
|
- 68680d7111d1437fbcbce534
|
|
1975
2004
|
responses:
|
|
1976
2005
|
'204':
|
|
1977
|
-
description:
|
|
2006
|
+
description: |-
|
|
2007
|
+
Lookup cache unregistered successfully. No body returned. Deleting a registered
|
|
2008
|
+
cache (`DELETE /v1/lookupcaches/{_id}`, once its alias is removed) already removes
|
|
2009
|
+
it from `_registeredLookupCacheIds`, so this call is not needed afterwards — on a
|
|
2010
|
+
deleted cache it returns 404.
|
|
1978
2011
|
'400':
|
|
1979
2012
|
description: |-
|
|
1980
2013
|
The cache is not registered on this integration ("The lookup cache
|
|
@@ -2003,7 +2036,25 @@ paths:
|
|
|
2003
2036
|
'401':
|
|
2004
2037
|
$ref: '#/components/responses/401-unauthorized'
|
|
2005
2038
|
'404':
|
|
2006
|
-
|
|
2039
|
+
description: |-
|
|
2040
|
+
The integration does not exist (`invalid_ref`), or no lookup cache with this id exists
|
|
2041
|
+
in the account — including one already deleted, which its deletion unregistered
|
|
2042
|
+
(`not_found`).
|
|
2043
|
+
content:
|
|
2044
|
+
application/json:
|
|
2045
|
+
schema:
|
|
2046
|
+
$ref: '#/components/schemas/Error'
|
|
2047
|
+
examples:
|
|
2048
|
+
lookup_cache_not_found:
|
|
2049
|
+
value:
|
|
2050
|
+
errors:
|
|
2051
|
+
- code: not_found
|
|
2052
|
+
message: 'The lookupcaches with following _id''s: 68680d7111d1437fbcbce534 don''t exist.'
|
|
2053
|
+
integration_not_found:
|
|
2054
|
+
value:
|
|
2055
|
+
errors:
|
|
2056
|
+
- code: invalid_ref
|
|
2057
|
+
message: Integration not found.
|
|
2007
2058
|
/v1/integrations/{_id}/lookupcaches/register:
|
|
2008
2059
|
put:
|
|
2009
2060
|
x-internal: false
|
|
@@ -2307,7 +2358,10 @@ paths:
|
|
|
2307
2358
|
- 6aab2870265e1cf39fcbee4d
|
|
2308
2359
|
responses:
|
|
2309
2360
|
'204':
|
|
2310
|
-
description:
|
|
2361
|
+
description: |-
|
|
2362
|
+
Topic unregistered successfully. No body returned. Deleting a registered topic
|
|
2363
|
+
(`DELETE /v1/topics/{_id}`) already removes it from `_registeredTopicIds`, so this
|
|
2364
|
+
call is not needed afterwards — on a deleted topic it returns 404.
|
|
2311
2365
|
'400':
|
|
2312
2366
|
description: |-
|
|
2313
2367
|
The topic is not registered on this integration ("The topic which you are trying to
|
|
@@ -2332,7 +2386,24 @@ paths:
|
|
|
2332
2386
|
'401':
|
|
2333
2387
|
$ref: '#/components/responses/401-unauthorized'
|
|
2334
2388
|
'404':
|
|
2335
|
-
|
|
2389
|
+
description: |-
|
|
2390
|
+
The integration does not exist (`invalid_ref`), or no topic with this id exists in the
|
|
2391
|
+
account — including one already deleted, which its deletion unregistered (`not_found`).
|
|
2392
|
+
content:
|
|
2393
|
+
application/json:
|
|
2394
|
+
schema:
|
|
2395
|
+
$ref: '#/components/schemas/Error'
|
|
2396
|
+
examples:
|
|
2397
|
+
topic_not_found:
|
|
2398
|
+
value:
|
|
2399
|
+
errors:
|
|
2400
|
+
- code: not_found
|
|
2401
|
+
message: 'The topics with following _id''s: 6aab2870265e1cf39fcbee4d don''t exist.'
|
|
2402
|
+
integration_not_found:
|
|
2403
|
+
value:
|
|
2404
|
+
errors:
|
|
2405
|
+
- code: invalid_ref
|
|
2406
|
+
message: Integration not found.
|
|
2336
2407
|
/v1/integrations/{_id}/topics/register:
|
|
2337
2408
|
put:
|
|
2338
2409
|
x-internal: false
|
package/dist/mcp-server.yml
CHANGED
|
@@ -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
|
|
@@ -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:
|
|
@@ -3584,9 +3580,8 @@ components:
|
|
|
3584
3580
|
`prompts/list` and not fetchable via `prompts/get`. A prompt sent
|
|
3585
3581
|
without `disabled` is saved enabled, unlike tool, API and resource
|
|
3586
3582
|
entries, which default to disabled; send `true` to keep a new prompt
|
|
3587
|
-
hidden.
|
|
3588
|
-
|
|
3589
|
-
as `disabled: false`.
|
|
3583
|
+
hidden. Prompts saved before this field existed are reported as
|
|
3584
|
+
`disabled: false`.
|
|
3590
3585
|
examples:
|
|
3591
3586
|
- false
|
|
3592
3587
|
- true
|
|
@@ -4416,23 +4411,22 @@ components:
|
|
|
4416
4411
|
- Exposes customer management tools for AI agent consumption
|
|
4417
4412
|
disabled:
|
|
4418
4413
|
type: boolean
|
|
4419
|
-
default:
|
|
4414
|
+
default: false
|
|
4420
4415
|
description: |-
|
|
4421
4416
|
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`.
|
|
4417
|
+
(`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server or an
|
|
4418
|
+
unknown alias answers HTTP 404 `resource_not_found` with no
|
|
4419
|
+
`WWW-Authenticate` header, whatever credential is sent, while the direct
|
|
4420
|
+
`/mcp{relativeURI}` route still authenticates the call and then returns
|
|
4421
|
+
JSON-RPC error `1006` ("MCP Server not found for relativeURI: …"). A new
|
|
4422
|
+
server is created enabled with `enabledItemCount` 0: it answers
|
|
4423
|
+
`initialize` on the direct route but lists no tools, prompts, or
|
|
4424
|
+
resources until an item is enabled.
|
|
4431
4425
|
x-celigo-ai-guidance:
|
|
4432
4426
|
- |-
|
|
4433
|
-
|
|
4434
|
-
disabled
|
|
4435
|
-
|
|
4427
|
+
Create the server with its items enabled, or enable them right after: a server
|
|
4428
|
+
saved with disabled false and no enabled item is reachable but returns an empty
|
|
4429
|
+
tools, prompts, and resources list to every client.
|
|
4436
4430
|
examples:
|
|
4437
4431
|
- false
|
|
4438
4432
|
- true
|
package/dist/networkpolicy.yml
CHANGED
|
@@ -1207,7 +1207,7 @@ components:
|
|
|
1207
1207
|
value:
|
|
1208
1208
|
errors:
|
|
1209
1209
|
- code: conflict
|
|
1210
|
-
message: A network policy with this name already exists in the
|
|
1210
|
+
message: A network policy with this name already exists in the environment.
|
|
1211
1211
|
404-not-found:
|
|
1212
1212
|
description: |
|
|
1213
1213
|
Not found. The requested resource does not exist or is not visible to the caller.
|
package/dist/stack.yml
CHANGED
|
@@ -357,17 +357,30 @@ paths:
|
|
|
357
357
|
$ref: '#/components/responses/401-unauthorized'
|
|
358
358
|
'404':
|
|
359
359
|
description: |-
|
|
360
|
-
|
|
361
|
-
|
|
360
|
+
No stack with this id exists in the account. The message still reads
|
|
361
|
+
"Stack of type server not found."; a stack that exists but is not a
|
|
362
|
+
server stack answers 422 instead.
|
|
362
363
|
content:
|
|
363
364
|
application/json:
|
|
364
365
|
schema:
|
|
365
366
|
$ref: '#/components/schemas/Error'
|
|
366
367
|
examples:
|
|
367
|
-
|
|
368
|
+
not_found:
|
|
368
369
|
value:
|
|
369
370
|
errors:
|
|
370
371
|
- message: Stack of type server not found.
|
|
372
|
+
'422':
|
|
373
|
+
description: The stack exists but is not a server stack. Error code `not_supported`.
|
|
374
|
+
content:
|
|
375
|
+
application/json:
|
|
376
|
+
schema:
|
|
377
|
+
$ref: '#/components/schemas/Error'
|
|
378
|
+
examples:
|
|
379
|
+
not_server_stack:
|
|
380
|
+
value:
|
|
381
|
+
errors:
|
|
382
|
+
- code: not_supported
|
|
383
|
+
message: System tokens are supported only for stacks of type server.
|
|
371
384
|
x-celigo-ai-guidance:
|
|
372
385
|
- |-
|
|
373
386
|
Returns the **actual** `systemToken` for a server stack.
|
|
@@ -397,16 +410,31 @@ paths:
|
|
|
397
410
|
'401':
|
|
398
411
|
$ref: '#/components/responses/401-unauthorized'
|
|
399
412
|
'404':
|
|
400
|
-
description:
|
|
413
|
+
description: |-
|
|
414
|
+
No stack with this id exists in the account. The message still reads
|
|
415
|
+
"Stack of type server not found."; a stack that exists but is not a
|
|
416
|
+
server stack answers 422 instead.
|
|
401
417
|
content:
|
|
402
418
|
application/json:
|
|
403
419
|
schema:
|
|
404
420
|
$ref: '#/components/schemas/Error'
|
|
405
421
|
examples:
|
|
406
|
-
|
|
422
|
+
not_found:
|
|
407
423
|
value:
|
|
408
424
|
errors:
|
|
409
425
|
- message: Stack of type server not found.
|
|
426
|
+
'422':
|
|
427
|
+
description: The stack exists but is not a server stack. Error code `not_supported`.
|
|
428
|
+
content:
|
|
429
|
+
application/json:
|
|
430
|
+
schema:
|
|
431
|
+
$ref: '#/components/schemas/Error'
|
|
432
|
+
examples:
|
|
433
|
+
not_server_stack:
|
|
434
|
+
value:
|
|
435
|
+
errors:
|
|
436
|
+
- code: not_supported
|
|
437
|
+
message: System tokens are supported only for stacks of type server.
|
|
410
438
|
x-celigo-ai-guidance:
|
|
411
439
|
- |-
|
|
412
440
|
Rotates (recycles) the server stack's system token.
|
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/dist/topic.yml
CHANGED
|
@@ -55,6 +55,7 @@ paths:
|
|
|
55
55
|
schema:
|
|
56
56
|
type: integer
|
|
57
57
|
minimum: 1
|
|
58
|
+
maximum: 1000
|
|
58
59
|
examples:
|
|
59
60
|
- 100
|
|
60
61
|
- name: sort_by
|
|
@@ -135,7 +136,7 @@ paths:
|
|
|
135
136
|
'401':
|
|
136
137
|
$ref: '#/components/responses/401-unauthorized'
|
|
137
138
|
'422':
|
|
138
|
-
description: '`limit` is not a positive integer. Error code: `invalid_query_param`.'
|
|
139
|
+
description: '`limit` is not a positive integer or is greater than 1000. Error code: `invalid_query_param`.'
|
|
139
140
|
content:
|
|
140
141
|
application/json:
|
|
141
142
|
schema:
|
|
@@ -145,7 +146,7 @@ paths:
|
|
|
145
146
|
value:
|
|
146
147
|
errors:
|
|
147
148
|
- code: invalid_query_param
|
|
148
|
-
message: Invalid limit sent in request.
|
|
149
|
+
message: Invalid limit sent in request. limit must be a positive integer no greater than 1000.
|
|
149
150
|
post:
|
|
150
151
|
x-internal: false
|
|
151
152
|
summary: Create a topic
|
package/package.json
CHANGED