@celigo/api-specs 0.2.299 → 0.2.301

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.
@@ -36,17 +36,20 @@ tags:
36
36
  projection, never a write path. The registry is not an MCP server — add
37
37
  each server's own `remotes[].url` to an AI client, never the registry URL.
38
38
 
39
- On a private alias — every account today — a missing, invalid, expired or
40
- revoked bearer draws `401` with `WWW-Authenticate: Bearer
41
- resource_metadata="<registry PRM URL>"`, identical for real and unknown
42
- aliases (a registry reader that sends no credential, such as VS Code's
43
- gallery, sees `401` and no servers), and a valid credential never draws
44
- the challenge: one that can reach nothing, belongs to another account or
45
- environment, or names an unknown alias gets `200` with `{servers: [],
46
- metadata: {count: 0}}` on the listing endpoints, so a response never
47
- reveals which accounts or servers exist. The version item (`GET
48
- …/versions/{version}`, including `latest`) is the only read that answers
49
- `404`, uniformly, when the version is not visible. Registry CORS allows
39
+ An alias no account owns answers `404` `Account not found.` on every
40
+ `/registry/v0.1` read, to every caller and with no challenge (the
41
+ protected resource metadata still answers `200`): account aliases
42
+ are not hidden, servers inside an alias are. On a private alias — every
43
+ account today — a missing, invalid, expired or revoked bearer draws `401`
44
+ with `WWW-Authenticate: Bearer resource_metadata="<registry PRM URL>"` (a
45
+ registry reader that sends no credential, such as VS Code's gallery,
46
+ sees `401` and no servers), and a valid credential never draws the
47
+ challenge: one that can reach nothing or belongs to another account or
48
+ environment gets `200` with `{servers: [], metadata: {count: 0}}` on the
49
+ listing endpoints, so a response never reveals which servers exist. The
50
+ version item (`GET …/versions/{version}`, including `latest`) is the
51
+ only read that answers `404` `Server not found.`, uniformly, when the
52
+ version is not visible. Registry CORS allows
50
53
  every origin on `GET` and exposes `WWW-Authenticate` so browser clients
51
54
  can read the challenge.
52
55
 
@@ -74,17 +77,19 @@ paths:
74
77
  listed, nor is the platform's own `io-mcp-server`. Every registry
75
78
  response carries an `X-Request-Id` header.
76
79
 
77
- On a private alias (every account today — the public-listing opt-in is
78
- pre-GA) a missing or invalid bearer draws `401` with the `WWW-Authenticate`
79
- challenge, and a valid credential never does: when it can reach nothing,
80
- belongs to another account or environment, or the alias is unknown, the
81
- response is `200` with `{servers: [], metadata: {count: 0}}`. On an alias
80
+ An alias no account owns answers `404` `Account not found.` to every
81
+ caller, ahead of the `401` and of query validation. On a private alias
82
+ (every account today — the public-listing opt-in is pre-GA) a missing or
83
+ invalid bearer draws `401` with the `WWW-Authenticate` challenge, and a
84
+ valid credential never does: when it can reach nothing or belongs to
85
+ another account or environment, the response is `200` with
86
+ `{servers: [], metadata: {count: 0}}`. On an alias
82
87
  opted into the public-listing lane, an anonymous or wrong-account caller
83
88
  gets the published set (`200`, possibly empty) instead of the `401` or the
84
89
  empty list, and an authenticated caller its entitled set joined to the
85
90
  published set; an invalid bearer still draws `401` there. This listing
86
- never answers `404` for lack of visibility. Requests carrying
87
- `updated_since` or `include_deleted` receive `400`.
91
+ never answers `404` for lack of visibility inside a known alias. Requests
92
+ carrying `updated_since` or `include_deleted` receive `400`.
88
93
  operationId: listMcpRegistryServers
89
94
  tags:
90
95
  - MCP Registry
@@ -157,6 +162,8 @@ paths:
157
162
  $ref: '#/components/responses/400-bad-request'
158
163
  '401':
159
164
  $ref: '#/components/responses/401-unauthorized'
165
+ '404':
166
+ $ref: '#/components/responses/404-account-not-found'
160
167
  '429':
161
168
  $ref: '#/components/responses/429-too-many-requests'
162
169
  '503':
@@ -170,8 +177,9 @@ paths:
170
177
  a visible server returns exactly one entry (`1.0.0`, `isLatest: true`).
171
178
 
172
179
  This is a listing endpoint: a caller allowed on its lane for whom the
173
- server is not visible gets `200` with an empty list — never `404`. On a
174
- private alias a missing or invalid bearer draws `401` with the
180
+ server is not visible gets `200` with an empty list — the only `404` is
181
+ `Account not found.`, which an alias no account owns answers to every
182
+ caller. On a private alias a missing or invalid bearer draws `401` with the
175
183
  `WWW-Authenticate` challenge and a valid credential without access to
176
184
  the server (a wrong-account one included) gets the empty list; on an
177
185
  alias opted into the pre-GA public-listing lane an anonymous or
@@ -230,6 +238,8 @@ paths:
230
238
  count: 0
231
239
  '401':
232
240
  $ref: '#/components/responses/401-unauthorized'
241
+ '404':
242
+ $ref: '#/components/responses/404-account-not-found'
233
243
  '429':
234
244
  $ref: '#/components/responses/429-too-many-requests'
235
245
  '503':
@@ -246,6 +256,8 @@ paths:
246
256
  to the caller the response is a uniform `404` (unknown server, wrong
247
257
  version, unpublished, or no access — indistinguishable), with the body
248
258
  `detail` "Server not found."; listing endpoints never use this `404`.
259
+ An alias no account owns answers `404` `Account not found.` to every
260
+ caller instead.
249
261
  On a private alias a missing or invalid bearer draws `401` with the
250
262
  `WWW-Authenticate` challenge and a valid credential never does (a
251
263
  wrong-account credential gets the `404`); on an alias opted into the
@@ -377,10 +389,13 @@ components:
377
389
  in: path
378
390
  required: true
379
391
  description: |-
380
- Account environment alias that anchors this registry URL. Anonymous callers
381
- cannot distinguish a private alias from an unknown one (`401` plus the same
382
- `WWW-Authenticate` challenge). A valid credential against a private or
383
- unknown alias receives `200` empty on listing endpoints.
392
+ Account environment alias that anchors this registry URL. On the three
393
+ `/registry/v0.1` reads an alias that no account owns answers `404`
394
+ `Account not found.` to every caller, before the credential and the
395
+ query string are checked; the protected resource metadata answers `200`
396
+ for any alias. Within a known private alias, anonymous callers get `401`
397
+ plus the `WWW-Authenticate` challenge, and a valid credential receives
398
+ `200` empty on listing endpoints when it can reach nothing there.
384
399
  schema:
385
400
  type: string
386
401
  examples:
@@ -748,10 +763,10 @@ components:
748
763
  detail: The updated_since parameter is not supported.
749
764
  401-unauthorized:
750
765
  description: |-
751
- Missing or invalid/expired bearer. Body is RFC 9457 problem details
752
- (`title: Unauthorized`, `type: about:blank`). The
753
- `WWW-Authenticate` header is required and identical for real and
754
- unknown aliases.
766
+ Missing or invalid/expired bearer on a known alias. Body is RFC 9457
767
+ problem details (`title: Unauthorized`, `type: about:blank`). The
768
+ `WWW-Authenticate` header is required. An unknown alias never draws this
769
+ response; it answers `404` `Account not found.` instead.
755
770
  headers:
756
771
  WWW-Authenticate:
757
772
  $ref: '#/components/headers/WwwAuthenticate'
@@ -767,6 +782,30 @@ components:
767
782
  status: 401
768
783
  detail: Authentication required.
769
784
  instance: /mcp/acme-corp-prod/registry/v0.1/servers
785
+ 404-account-not-found:
786
+ description: |-
787
+ `Account not found.` — no account owns this alias. Every caller gets
788
+ it — anonymous, an invalid or expired bearer, and a valid credential from
789
+ another account alike — with no `WWW-Authenticate` header, before the
790
+ query string is parsed. Same RFC 9457 schema as `401`.
791
+ headers:
792
+ Cache-Control:
793
+ description: Always `no-store`, so a cache never keeps answering for an alias claimed later.
794
+ schema:
795
+ type: string
796
+ const: no-store
797
+ content:
798
+ application/problem+json:
799
+ schema:
800
+ $ref: '#/components/schemas/Problem'
801
+ examples:
802
+ account_not_found:
803
+ value:
804
+ type: about:blank
805
+ title: Not Found
806
+ status: 404
807
+ detail: Account not found.
808
+ instance: /mcp/no-such-alias/registry/v0.1/servers
770
809
  429-too-many-requests:
771
810
  description: |-
772
811
  Rate limited — keyed per caller identity when authenticated and per source
@@ -821,7 +860,9 @@ components:
821
860
  description: |-
822
861
  The requested version is not visible to this caller — unknown server,
823
862
  unpublished name, wrong version, or unentitled. Uniform `404`; the
824
- cases are indistinguishable. Same RFC 9457 schema as `401`.
863
+ cases are indistinguishable. Same RFC 9457 schema as `401`. An alias no
864
+ account owns answers `404` `Account not found.` instead, to every caller
865
+ and with `Cache-Control: no-store`.
825
866
  content:
826
867
  application/problem+json:
827
868
  schema:
@@ -834,13 +875,21 @@ components:
834
875
  status: 404
835
876
  detail: Server not found.
836
877
  instance: /mcp/acme-corp-prod/registry/v0.1/servers/com.celigo.acme-corp-prod%2Fbilling-tools/versions/1.0.0
878
+ account_not_found:
879
+ value:
880
+ type: about:blank
881
+ title: Not Found
882
+ status: 404
883
+ detail: Account not found.
884
+ instance: /mcp/no-such-alias/registry/v0.1/servers/com.celigo.no-such-alias%2Fbilling-tools/versions/1.0.0
837
885
  headers:
838
886
  WwwAuthenticate:
839
887
  required: true
840
888
  description: |-
841
889
  RFC 6750 challenge. Always
842
890
  `Bearer resource_metadata="<registry PRM URL>"`, pattern-derived from
843
- the request path and identical for real and unknown aliases.
891
+ the request path and the same for every known alias; an unknown alias
892
+ answers `404` with no challenge.
844
893
  schema:
845
894
  type: string
846
895
  examples:
@@ -420,6 +420,7 @@ paths:
420
420
  - _connectionId: 6a6655fce52f3c30d0a53926
421
421
  alias: deepwiki
422
422
  name: DeepWiki MCP
423
+ endUserConnectionCount: 0
423
424
  discoveryStatus: ok
424
425
  lastDiscoveredAt: '2026-09-22T02:53:01.591Z'
425
426
  tools:
@@ -641,7 +642,11 @@ paths:
641
642
  `/upstreamMcpConnections/{index}/alias` — every
642
643
  other path, including the whole `/upstreamMcpConnections` array and any
643
644
  nested upstream row, is rejected with 422 `not a whitelisted property`.
644
- `/logging/mode` takes `replace` with one of the request-log modes;
645
+ A patch of an upstream alias runs the same validation as PUT on the
646
+ resulting rows: the alias is lowercased, and an invalid character or a
647
+ duplicate is 422 `mcp_upstream_invalid_alias_charset` or
648
+ `mcp_upstream_duplicate_alias`. `/logging/mode` takes `replace` with one
649
+ of the request-log modes;
645
650
  `/logging/debugUntil` takes `replace` with a future date-time to start a
646
651
  debug window and `remove` to end it early (a `remove` with no window set
647
652
  is accepted and changes nothing); `add` works on both paths too, and
@@ -3823,7 +3828,7 @@ components:
3823
3828
  default: false
3824
3829
  description: |-
3825
3830
  When true, the row stays attached but is hidden from MCP clients and
3826
- does not count toward the server's enablement rule.
3831
+ does not count toward `enabledItemCount`.
3827
3832
  examples:
3828
3833
  - false
3829
3834
  overrides:
@@ -3853,8 +3858,7 @@ components:
3853
3858
  default: false
3854
3859
  description: |-
3855
3860
  When true, the last discovery run no longer found this `upstreamName`
3856
- in the upstream catalog; the row is kept but not served and does not
3857
- count toward enablement.
3861
+ in the upstream catalog; the row is kept but not served.
3858
3862
  examples:
3859
3863
  - false
3860
3864
  discoveredAt:
@@ -3985,6 +3989,8 @@ components:
3985
3989
  characters to 32 instead of rejecting it: the cut drops trailing `_`
3986
3990
  (and, for a sent value, trailing `-`), and a `_2`, `_3`, … suffix
3987
3991
  within the 32 settles a collision with another alias on the server.
3992
+ A PATCH of `/upstreamMcpConnections/{index}/alias` goes through the
3993
+ same checks as PUT, so it is lowercased and draws the same 422s.
3988
3994
  examples:
3989
3995
  - deepwiki
3990
3996
  - crm_tools
@@ -3996,6 +4002,16 @@ components:
3996
4002
  connection record on GET, list, POST, and PUT responses.
3997
4003
  examples:
3998
4004
  - DeepWiki MCP
4005
+ endUserConnectionCount:
4006
+ type: integer
4007
+ minimum: 0
4008
+ readOnly: true
4009
+ description: |-
4010
+ Number of end users' own connections made from this attached
4011
+ connection. Returned only by `GET /v1/mcpservers/{_id}` — the list
4012
+ and the POST and PUT responses leave it off.
4013
+ examples:
4014
+ - 3
3999
4015
  discoveryStatus:
4000
4016
  type: string
4001
4017
  readOnly: true
@@ -4053,11 +4069,13 @@ components:
4053
4069
  rejected with 422 `mcp_server_duplicate_policy`. A rejected call is not
4054
4070
  executed, does not count toward usage, and receives HTTP 429 with a
4055
4071
  `Retry-After` header (seconds until the allowance refills or the quota
4056
- period resets), an `X-RateLimit-Limit` header, and a JSON-RPC error
4057
- (code -32004) whose message names the policy: `Rate limit exceeded: <name>`
4058
- or `Usage quota exceeded: <name>`. A quota counts only calls accepted after
4059
- it was added; editing the limit keeps the running count for the current UTC
4060
- period, and removing then re-adding the quota starts a new count.
4072
+ period resets), an `X-RateLimit-Limit` header when a rate limit refused it
4073
+ (`X-Quota-Remaining` and `X-Quota-Reset` when a quota did), and a JSON-RPC
4074
+ error (code -32004) whose message names the policy:
4075
+ `Rate limit exceeded: <name>` or `Usage quota exceeded: <name>`. A quota
4076
+ counts only calls accepted after it was added; editing the limit keeps the
4077
+ running count for the current UTC period, and removing then re-adding the
4078
+ quota starts a new count.
4061
4079
  x-celigo-ai-guidance:
4062
4080
  - |-
4063
4081
  Configure one policy per kind — one server-level rate limit, one per-user
@@ -4065,10 +4083,11 @@ components:
4065
4083
  same `type` and `keyResolver` is rejected with 422
4066
4084
  `mcp_server_duplicate_policy`.
4067
4085
  - |-
4068
- A `tools/call` counts against every enabled policy, even when the named tool
4069
- does not exist; `initialize`, `tools/list`, `prompts/list`, and `resources/list`
4070
- are never counted or rejected (all live-verified). Whether `prompts/get` and
4071
- `resources/read` count has not been verified — do not assert either way.
4086
+ A `tools/call`, `prompts/get`, or `resources/read` counts against every enabled
4087
+ policy, even when the named tool, prompt, or resource does not exist, and one
4088
+ sent after the allowance is used up is refused with 429 and JSON-RPC -32004;
4089
+ `initialize`, `tools/list`, `prompts/list`, and `resources/list` are never
4090
+ counted or rejected (all live-verified).
4072
4091
  - |-
4073
4092
  Bearer API-token traffic is evaluated by `endpoint`-keyed rate limits and by
4074
4093
  quotas only; a `consumer`-keyed rate limit applies to OAuth end users, each
@@ -4432,14 +4451,14 @@ components:
4432
4451
  default: false
4433
4452
  description: |-
4434
4453
  When true, the server refuses MCP clients: on the alias URL
4435
- (`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server or an
4436
- unknown alias answers HTTP 404 `resource_not_found` with no
4437
- `WWW-Authenticate` header, whatever credential is sent, while the direct
4438
- `/mcp{relativeURI}` route still authenticates the call and then returns
4439
- JSON-RPC error `1006` ("MCP Server not found for relativeURI: …"). A new
4440
- server is created enabled with `enabledItemCount` 0: it answers
4441
- `initialize` on the direct route but lists no tools, prompts, or
4442
- resources until an item is enabled.
4454
+ (`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server, a
4455
+ `relativeURI` no server has, or an unknown alias answers HTTP 404
4456
+ `resource_not_found` with no `WWW-Authenticate` header, whatever
4457
+ credential is sent, while the direct `/mcp{relativeURI}` route still
4458
+ authenticates the call and then returns JSON-RPC error `1006` ("MCP
4459
+ Server not found for relativeURI: …"). A new server is created enabled
4460
+ with `enabledItemCount` 0: it answers `initialize` on both URLs but
4461
+ lists no tools, prompts, or resources until an item is enabled.
4443
4462
  x-celigo-ai-guidance:
4444
4463
  - |-
4445
4464
  Create the server with its items enabled, or enable them right after: a server
@@ -5731,6 +5750,15 @@ components:
5731
5750
  disableNsFile:
5732
5751
  type: boolean
5733
5752
  description: When true, the NetSuite file worker is disabled for this connection.
5753
+ disableEdiServiceFlowRun:
5754
+ type: boolean
5755
+ description: When true, the EDI service worker is disabled for this connection.
5756
+ enableDemandConcurrency:
5757
+ type: boolean
5758
+ description: When true, demand-based concurrency scaling is on for this connection where the fleet default leaves it off.
5759
+ disableDemandConcurrency:
5760
+ type: boolean
5761
+ description: When true, demand-based concurrency scaling is off for this connection, whatever the fleet default.
5734
5762
  workerGroup:
5735
5763
  type: string
5736
5764
  description: Name of the worker group that processes this connection's traffic.
@@ -343,7 +343,9 @@ paths:
343
343
  Returns the job's lifecycle state and timestamps. Once `status` is `completed` the
344
344
  response also carries the result manifest — `rowCount`, `pageCount`, `truncated`,
345
345
  `columns`, and `executionMs` — which is everything needed to page through
346
- `GET /v1/storage/query/{_id}/results`. A `failed` job carries `error` instead.
346
+ `GET /v1/storage/query/{_id}/results`. A `failed` job carries `error` instead, plus
347
+ `executionMs` when the engine rejected the statement while running it
348
+ (`STORAGE_QUERY_EXECUTION_FAILED`).
347
349
  Jobs are scoped to the submitting account: another account's job, or one that has
348
350
  expired, answers 404 exactly like an unknown id. Requires the account's license to
349
351
  include the Storage Query entitlement (`filesql`).
@@ -403,6 +405,22 @@ paths:
403
405
  columns:
404
406
  - name: one
405
407
  type: INTEGER
408
+ failed:
409
+ summary: Failed while running — error and executionMs, no manifest
410
+ value:
411
+ jobId: 6af8781af5fbf7db3cde9e2f
412
+ status: failed
413
+ createdAt: '2026-11-14T15:02:50.308Z'
414
+ startedAt: '2026-11-14T15:02:50.356Z'
415
+ completedAt: '2026-11-14T15:02:50.373Z'
416
+ error:
417
+ code: STORAGE_QUERY_EXECUTION_FAILED
418
+ message: |-
419
+ Conversion Error: Could not convert string 'x' to INT32
420
+
421
+ LINE 1: SELECT CAST('x' AS INTEGER) AS n
422
+ ^
423
+ executionMs: 5
406
424
  queued:
407
425
  summary: Still waiting for a worker
408
426
  value:
@@ -880,7 +898,11 @@ components:
880
898
  type: integer
881
899
  minimum: 0
882
900
  readOnly: true
883
- description: Only present when `status` is `completed`. Milliseconds the statement took to execute, excluding time spent queued.
901
+ description: |-
902
+ Present when `status` is `completed`, and on a `failed` job whose statement the
903
+ engine rejected while running it (`STORAGE_QUERY_EXECUTION_FAILED`). Milliseconds
904
+ the statement ran on the worker, until it finished or failed, excluding time
905
+ spent queued.
884
906
  examples:
885
907
  - 67
886
908
  rowCount: