@celigo/api-specs 0.2.191 → 0.2.193
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/flow.yml +28 -10
- package/dist/mcp-server.yml +1055 -20
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/flow.yml
CHANGED
|
@@ -2151,12 +2151,17 @@ paths:
|
|
|
2151
2151
|
`pathToMany`, `childIndex`, `traceKey`) identify where in the pipeline the record was when it
|
|
2152
2152
|
failed and how it's structured.
|
|
2153
2153
|
|
|
2154
|
-
The `data` field is the record as
|
|
2155
|
-
|
|
2154
|
+
The `data` field is the record as the failing stage held it: for an import-stage error
|
|
2155
|
+
(`page_processor_import`) on an HTTP import, the record before the import's mappings, not the
|
|
2156
|
+
request the import sent; for a postResponseMap hook's error (`post_response_mapping`), the record
|
|
2157
|
+
after the step's response mapping. Use `PUT .../{retryDataKey}/data` to mutate
|
|
2156
2158
|
the snapshot before retrying. Only errors with a `retryDataKey` expose this endpoint;
|
|
2157
2159
|
connection-class errors are rejected with `no_retrydata_found`. The `stage` field indicates
|
|
2158
|
-
where the retry will resume: `page_processor_import` re-runs the import (most common
|
|
2159
|
-
|
|
2160
|
+
where the retry will resume: `page_processor_import` re-runs the import (most common, and where a
|
|
2161
|
+
postSubmit hook's errors are stored, so their retry writes the records again),
|
|
2162
|
+
`post_response_mapping` (a postResponseMap hook's error) resumes after the import from the stored
|
|
2163
|
+
reply in `adaptorResponse`, sending nothing to the destination again and carrying the record on
|
|
2164
|
+
to the flow's next steps, and `page_generator` means the error was upstream of the processor.
|
|
2160
2165
|
parameters:
|
|
2161
2166
|
- name: _id
|
|
2162
2167
|
in: path
|
|
@@ -7625,8 +7630,8 @@ components:
|
|
|
7625
7630
|
`GET /v1/flows/{_id}/{_stepId}/{retryDataKey}/data` and accepted (full-replace) by the PUT on the
|
|
7626
7631
|
same path.
|
|
7627
7632
|
|
|
7628
|
-
The `data` field carries the record as it reached the failing
|
|
7629
|
-
that
|
|
7633
|
+
The `data` field carries the record as it reached the failing stage, and a retry resumes from
|
|
7634
|
+
that stage (`stage`) — its shape is adaptor-specific. The surrounding fields identify where in the
|
|
7630
7635
|
pipeline the failure happened and how the record was structured.
|
|
7631
7636
|
properties:
|
|
7632
7637
|
retryDataKey:
|
|
@@ -7636,16 +7641,28 @@ components:
|
|
|
7636
7641
|
- 5f8d43a1b9e5a80011a35f2d-rdk-0
|
|
7637
7642
|
data:
|
|
7638
7643
|
description: |-
|
|
7639
|
-
The record as
|
|
7644
|
+
The record as the failing stage held it, which depends on `stage`. At `page_processor_import`
|
|
7645
|
+
(an import's errors, a postSubmit hook's included) it is the incoming record, before the
|
|
7640
7646
|
import's mappings — not the request body the import sent or the response it got back — and a
|
|
7641
7647
|
retry maps it again with the import's current mappings, so a mapping fix reaches the retried
|
|
7642
|
-
record.
|
|
7648
|
+
record. At `post_response_mapping` (a postResponseMap hook's error) it is the record after the
|
|
7649
|
+
step's response mapping, with the mapped fields: a retry neither maps nor sends it again, and
|
|
7650
|
+
the destination's reply is in `adaptorResponse`. Shape varies by adaptor.
|
|
7643
7651
|
additionalProperties: true
|
|
7644
7652
|
stage:
|
|
7645
7653
|
type: string
|
|
7646
|
-
description:
|
|
7654
|
+
description: |-
|
|
7655
|
+
Pipeline stage where the record was when the error occurred, which is where a retry resumes.
|
|
7656
|
+
`page_processor_import` is the record as it entered the import, so a retry sends it to the
|
|
7657
|
+
destination again; a postSubmit hook's errors are stored here, so retrying them writes records
|
|
7658
|
+
the destination already accepted a second time (live, 2026-10-22). `post_response_mapping` is a
|
|
7659
|
+
postResponseMap hook's error, raised after the destination answered: a retry runs the hook from
|
|
7660
|
+
the stored reply and carries the record on to the flow's next steps, sending nothing to that
|
|
7661
|
+
destination again (live, 2026-10-23 and 2026-10-25: the import's request count didn't change,
|
|
7662
|
+
and the next import received the retried records).
|
|
7647
7663
|
examples:
|
|
7648
7664
|
- page_processor_import
|
|
7665
|
+
- post_response_mapping
|
|
7649
7666
|
- importMappingExtract
|
|
7650
7667
|
pgExportId:
|
|
7651
7668
|
type: string
|
|
@@ -7687,7 +7704,8 @@ components:
|
|
|
7687
7704
|
additionalProperties: true
|
|
7688
7705
|
description: |-
|
|
7689
7706
|
Adaptor-level response envelope captured alongside the record payload. Present on failures
|
|
7690
|
-
returned by an HTTP or import adaptor
|
|
7707
|
+
returned by an HTTP or import adaptor, and on a postResponseMap hook's errors, where it is the
|
|
7708
|
+
destination's stored reply (`statusCode`, `id`, `_json`); carries fields like `data[]`, `errors[]`,
|
|
7691
7709
|
`subGroupIdMapForSuccess`, `resultRecordIds`, `dataURIs`, `groupId`, `recordId`,
|
|
7692
7710
|
and `ignoredResults`. Treat the shape as opaque — it varies by adaptor — and pass it through
|
|
7693
7711
|
unchanged when PUT-ing the envelope back.
|
package/dist/mcp-server.yml
CHANGED
|
@@ -226,6 +226,118 @@ paths:
|
|
|
226
226
|
$ref: '#/components/responses/401-unauthorized'
|
|
227
227
|
'422':
|
|
228
228
|
$ref: '#/components/responses/422-unprocessable-entity'
|
|
229
|
+
/v1/mcpservers/logs/filter-options:
|
|
230
|
+
get:
|
|
231
|
+
x-internal: false
|
|
232
|
+
operationId: getMcpServerRequestLogFilterOptions
|
|
233
|
+
tags:
|
|
234
|
+
- MCP Servers
|
|
235
|
+
summary: Get MCP request log filter options
|
|
236
|
+
description: |-
|
|
237
|
+
Returns the filter values to offer for `GET /v1/mcpservers/{_id}/logs`: the JSON-RPC
|
|
238
|
+
methods to pick from and the closed set of `status` outcomes. The `method` list is not
|
|
239
|
+
an allow-list — the list operation's `method` filter also takes the underscore form
|
|
240
|
+
(`tools_call`), methods this endpoint does not list (`initialize`), and an unknown value,
|
|
241
|
+
which returns an empty page. The options are the same for every MCP server, so this
|
|
242
|
+
endpoint takes no server id.
|
|
243
|
+
parameters:
|
|
244
|
+
- name: type
|
|
245
|
+
in: query
|
|
246
|
+
required: false
|
|
247
|
+
description: Return only one option list. Omit to return both.
|
|
248
|
+
schema:
|
|
249
|
+
type: string
|
|
250
|
+
enum:
|
|
251
|
+
- method
|
|
252
|
+
- status
|
|
253
|
+
x-enumDescriptions:
|
|
254
|
+
method: Return only the `method` list.
|
|
255
|
+
status: Return only the `status` list.
|
|
256
|
+
examples:
|
|
257
|
+
- method
|
|
258
|
+
responses:
|
|
259
|
+
'200':
|
|
260
|
+
description: Filter values. A list is present when `type` is omitted or names it.
|
|
261
|
+
content:
|
|
262
|
+
application/json:
|
|
263
|
+
schema:
|
|
264
|
+
type: object
|
|
265
|
+
description: Filter values by filter name.
|
|
266
|
+
properties:
|
|
267
|
+
method:
|
|
268
|
+
type: array
|
|
269
|
+
description: |-
|
|
270
|
+
JSON-RPC methods to offer for the `method` filter; see the list operation
|
|
271
|
+
for every value the filter takes. Present when `type` is omitted or is
|
|
272
|
+
`method`.
|
|
273
|
+
items:
|
|
274
|
+
type: string
|
|
275
|
+
enum:
|
|
276
|
+
- tools/list
|
|
277
|
+
- tools/call
|
|
278
|
+
- prompts/list
|
|
279
|
+
- prompts/get
|
|
280
|
+
- resources/list
|
|
281
|
+
- resources/read
|
|
282
|
+
x-enumDescriptions:
|
|
283
|
+
tools/list: Requests listing the server's tools.
|
|
284
|
+
tools/call: Requests running a tool.
|
|
285
|
+
prompts/list: Requests listing the server's prompts.
|
|
286
|
+
prompts/get: Requests fetching a prompt.
|
|
287
|
+
resources/list: Requests listing the server's resources.
|
|
288
|
+
resources/read: Requests reading a resource.
|
|
289
|
+
status:
|
|
290
|
+
type: array
|
|
291
|
+
description: |-
|
|
292
|
+
Outcomes the `status` filter accepts — a closed set; any other value is
|
|
293
|
+
rejected with 422. Present when `type` is omitted or is `status`.
|
|
294
|
+
items:
|
|
295
|
+
type: string
|
|
296
|
+
enum:
|
|
297
|
+
- success
|
|
298
|
+
- error
|
|
299
|
+
- blocked
|
|
300
|
+
x-enumDescriptions:
|
|
301
|
+
success: Requests that completed without an error.
|
|
302
|
+
error: Requests that failed.
|
|
303
|
+
blocked: Requests rejected before they ran by a traffic limit, an access or OAuth scope check, or the network policy.
|
|
304
|
+
examples:
|
|
305
|
+
default:
|
|
306
|
+
value:
|
|
307
|
+
method:
|
|
308
|
+
- tools/list
|
|
309
|
+
- tools/call
|
|
310
|
+
- prompts/list
|
|
311
|
+
- prompts/get
|
|
312
|
+
- resources/list
|
|
313
|
+
- resources/read
|
|
314
|
+
status:
|
|
315
|
+
- success
|
|
316
|
+
- error
|
|
317
|
+
- blocked
|
|
318
|
+
status_only:
|
|
319
|
+
summary: type=status
|
|
320
|
+
value:
|
|
321
|
+
status:
|
|
322
|
+
- success
|
|
323
|
+
- error
|
|
324
|
+
- blocked
|
|
325
|
+
'401':
|
|
326
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
327
|
+
'403':
|
|
328
|
+
$ref: '#/components/responses/403-forbidden'
|
|
329
|
+
'422':
|
|
330
|
+
description: '`type` is not `method` or `status`.'
|
|
331
|
+
content:
|
|
332
|
+
application/json:
|
|
333
|
+
schema:
|
|
334
|
+
$ref: '#/components/schemas/Error'
|
|
335
|
+
examples:
|
|
336
|
+
invalid_type:
|
|
337
|
+
value:
|
|
338
|
+
errors:
|
|
339
|
+
- code: invalid_query_params
|
|
340
|
+
message: type is not valid.
|
|
229
341
|
/v1/mcpservers/{_id}:
|
|
230
342
|
get:
|
|
231
343
|
x-internal: false
|
|
@@ -1400,28 +1512,490 @@ paths:
|
|
|
1400
1512
|
capabilities:
|
|
1401
1513
|
- pset:6a7b8c9d0e1f2a3b4c5d6e7f
|
|
1402
1514
|
'400':
|
|
1403
|
-
description: |-
|
|
1404
|
-
Validation failed. Pre-flight failures (invalid MCP server id,
|
|
1405
|
-
invalid request body, more than 100 or duplicate `_groupIds`, unknown
|
|
1406
|
-
group ids, capabilities that do not resolve on this server) return a
|
|
1407
|
-
bare `errors` array; a mid-batch failure returns the result body with
|
|
1408
|
-
partial progress plus `errors`.
|
|
1515
|
+
description: |-
|
|
1516
|
+
Validation failed. Pre-flight failures (invalid MCP server id,
|
|
1517
|
+
invalid request body, more than 100 or duplicate `_groupIds`, unknown
|
|
1518
|
+
group ids, capabilities that do not resolve on this server) return a
|
|
1519
|
+
bare `errors` array; a mid-batch failure returns the result body with
|
|
1520
|
+
partial progress plus `errors`.
|
|
1521
|
+
content:
|
|
1522
|
+
application/json:
|
|
1523
|
+
schema:
|
|
1524
|
+
$ref: '#/components/schemas/Error'
|
|
1525
|
+
examples:
|
|
1526
|
+
too_many:
|
|
1527
|
+
value:
|
|
1528
|
+
errors:
|
|
1529
|
+
- code: validation_failed
|
|
1530
|
+
message: Validation failed. _groupIds cannot exceed 100 entries per request.
|
|
1531
|
+
'401':
|
|
1532
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
1533
|
+
'403':
|
|
1534
|
+
$ref: '#/components/responses/403-forbidden'
|
|
1535
|
+
'404':
|
|
1536
|
+
description: MCP server not found in this account.
|
|
1537
|
+
content:
|
|
1538
|
+
application/json:
|
|
1539
|
+
schema:
|
|
1540
|
+
$ref: '#/components/schemas/Error'
|
|
1541
|
+
examples:
|
|
1542
|
+
server_not_found:
|
|
1543
|
+
value:
|
|
1544
|
+
errors:
|
|
1545
|
+
- code: not_found
|
|
1546
|
+
message: MCP server not found in this account.
|
|
1547
|
+
/v1/mcpservers/{_id}/logs:
|
|
1548
|
+
get:
|
|
1549
|
+
x-internal: false
|
|
1550
|
+
operationId: listMcpServerRequestLogs
|
|
1551
|
+
tags:
|
|
1552
|
+
- MCP Servers
|
|
1553
|
+
summary: List MCP server request logs
|
|
1554
|
+
description: |-
|
|
1555
|
+
Lists the MCP JSON-RPC requests this server handled, newest first, 50 per page. Follow
|
|
1556
|
+
`nextPageURL` for the next page. Entries are summaries; when `hasPayload` is true, read
|
|
1557
|
+
the stored request and response with `GET /v1/mcpservers/{_id}/logs/{key}`. Requires
|
|
1558
|
+
MCP operations access on the account.
|
|
1559
|
+
parameters:
|
|
1560
|
+
- name: _id
|
|
1561
|
+
in: path
|
|
1562
|
+
required: true
|
|
1563
|
+
description: MCP server ID.
|
|
1564
|
+
schema:
|
|
1565
|
+
type: string
|
|
1566
|
+
format: objectId
|
|
1567
|
+
x-celigo-refModel: mcpservers
|
|
1568
|
+
examples:
|
|
1569
|
+
- 69eb9fb5b4fc023618e490b8
|
|
1570
|
+
- name: time_gt
|
|
1571
|
+
in: query
|
|
1572
|
+
required: false
|
|
1573
|
+
description: Only return requests recorded after this time (exclusive), as epoch milliseconds.
|
|
1574
|
+
schema:
|
|
1575
|
+
type: integer
|
|
1576
|
+
format: int64
|
|
1577
|
+
examples:
|
|
1578
|
+
- 1792700000000
|
|
1579
|
+
- name: time_lte
|
|
1580
|
+
in: query
|
|
1581
|
+
required: false
|
|
1582
|
+
description: Only return requests recorded at or before this time (inclusive), as epoch milliseconds.
|
|
1583
|
+
schema:
|
|
1584
|
+
type: integer
|
|
1585
|
+
format: int64
|
|
1586
|
+
examples:
|
|
1587
|
+
- 1792786400000
|
|
1588
|
+
- name: method
|
|
1589
|
+
in: query
|
|
1590
|
+
required: false
|
|
1591
|
+
description: |-
|
|
1592
|
+
Only return requests with these JSON-RPC methods. Repeat the parameter for several
|
|
1593
|
+
values. Get the values from `GET /v1/mcpservers/logs/filter-options`; the
|
|
1594
|
+
underscore form the listing returns (`tools_call`) is accepted too, and so is a
|
|
1595
|
+
method filter-options does not list but rows carry, such as `initialize`. A value
|
|
1596
|
+
no request carries is not rejected: the page is empty.
|
|
1597
|
+
style: form
|
|
1598
|
+
explode: true
|
|
1599
|
+
schema:
|
|
1600
|
+
type: array
|
|
1601
|
+
items:
|
|
1602
|
+
type: string
|
|
1603
|
+
examples:
|
|
1604
|
+
- - tools/call
|
|
1605
|
+
- name: status
|
|
1606
|
+
in: query
|
|
1607
|
+
required: false
|
|
1608
|
+
description: Only return requests with these outcomes. Repeat the parameter for several values.
|
|
1609
|
+
style: form
|
|
1610
|
+
explode: true
|
|
1611
|
+
schema:
|
|
1612
|
+
type: array
|
|
1613
|
+
items:
|
|
1614
|
+
type: string
|
|
1615
|
+
enum:
|
|
1616
|
+
- success
|
|
1617
|
+
- error
|
|
1618
|
+
- blocked
|
|
1619
|
+
x-enumDescriptions:
|
|
1620
|
+
success: Requests that completed without an error.
|
|
1621
|
+
error: Requests that failed.
|
|
1622
|
+
blocked: Requests rejected before they ran by a traffic limit, an access or OAuth scope check, or the network policy.
|
|
1623
|
+
examples:
|
|
1624
|
+
- - error
|
|
1625
|
+
- blocked
|
|
1626
|
+
- name: entityName
|
|
1627
|
+
in: query
|
|
1628
|
+
required: false
|
|
1629
|
+
description: |-
|
|
1630
|
+
Only return requests that targeted this tool or prompt name, or resource URI.
|
|
1631
|
+
Exact match after trimming whitespace; pass it once.
|
|
1632
|
+
schema:
|
|
1633
|
+
type: string
|
|
1634
|
+
examples:
|
|
1635
|
+
- get_customer
|
|
1636
|
+
- name: nextPageToken
|
|
1637
|
+
in: query
|
|
1638
|
+
required: false
|
|
1639
|
+
description: Continuation token. Follow the `nextPageURL` of the previous page instead of constructing it.
|
|
1640
|
+
schema:
|
|
1641
|
+
type: string
|
|
1642
|
+
responses:
|
|
1643
|
+
'200':
|
|
1644
|
+
description: One page of request summaries.
|
|
1645
|
+
content:
|
|
1646
|
+
application/json:
|
|
1647
|
+
schema:
|
|
1648
|
+
$ref: '#/components/schemas/MCPServerRequestLogsResponse'
|
|
1649
|
+
examples:
|
|
1650
|
+
populated:
|
|
1651
|
+
value:
|
|
1652
|
+
requests:
|
|
1653
|
+
- time: 1792745012345
|
|
1654
|
+
method: tools_call
|
|
1655
|
+
status: success
|
|
1656
|
+
invocationId: a1b2c3d4e5f60718293a4b5c
|
|
1657
|
+
hasPayload: true
|
|
1658
|
+
key: 5465373387655-3f2a9c0d1e4b4c6f8a7b9d0e1f2a3b4c-tools_call-S
|
|
1659
|
+
entityName: get_customer
|
|
1660
|
+
assetType: IO Tool
|
|
1661
|
+
entityId: 65a98d1ef2b40000098c3a4d
|
|
1662
|
+
opStartedAt: 1792745012100
|
|
1663
|
+
opEndedAt: 1792745012340
|
|
1664
|
+
authType: apiToken
|
|
1665
|
+
accessToken:
|
|
1666
|
+
_id: 66b0c1d2e3f4a5b6c7d8e9f0
|
|
1667
|
+
name: MCP client token
|
|
1668
|
+
deleted: false
|
|
1669
|
+
nextPageURL: /v1/mcpservers/69eb9fb5b4fc023618e490b8/logs?nextPageToken=eyJ0IjoxNzkyNzQ1MDEyMzQ1LCJoIjoiMTIzNDU2Nzg5In0
|
|
1670
|
+
empty:
|
|
1671
|
+
value:
|
|
1672
|
+
requests: []
|
|
1673
|
+
'400':
|
|
1674
|
+
description: The MCP server ID is not a valid ObjectId.
|
|
1675
|
+
content:
|
|
1676
|
+
application/json:
|
|
1677
|
+
schema:
|
|
1678
|
+
$ref: '#/components/schemas/Error'
|
|
1679
|
+
examples:
|
|
1680
|
+
invalid_id:
|
|
1681
|
+
value:
|
|
1682
|
+
errors:
|
|
1683
|
+
- code: invalid_ref
|
|
1684
|
+
message: Please provide a valid _mcpServerId.
|
|
1685
|
+
'401':
|
|
1686
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
1687
|
+
'403':
|
|
1688
|
+
$ref: '#/components/responses/403-forbidden'
|
|
1689
|
+
'404':
|
|
1690
|
+
description: No MCP server with this ID is visible to the caller. Checked before the query parameters.
|
|
1691
|
+
content:
|
|
1692
|
+
application/json:
|
|
1693
|
+
schema:
|
|
1694
|
+
$ref: '#/components/schemas/Error'
|
|
1695
|
+
examples:
|
|
1696
|
+
not_found:
|
|
1697
|
+
value:
|
|
1698
|
+
errors:
|
|
1699
|
+
- code: invalid_ref
|
|
1700
|
+
message: McpServer not found.
|
|
1701
|
+
'422':
|
|
1702
|
+
description: |-
|
|
1703
|
+
A query parameter is invalid — `time_gt` or `time_lte` is not epoch milliseconds,
|
|
1704
|
+
`status` has an unknown value, `entityName` is repeated, or `nextPageToken` is not a
|
|
1705
|
+
token from `nextPageURL`. The message names the parameter.
|
|
1706
|
+
content:
|
|
1707
|
+
application/json:
|
|
1708
|
+
schema:
|
|
1709
|
+
$ref: '#/components/schemas/Error'
|
|
1710
|
+
examples:
|
|
1711
|
+
invalid_status:
|
|
1712
|
+
value:
|
|
1713
|
+
errors:
|
|
1714
|
+
- code: invalid_query_params
|
|
1715
|
+
message: status is not valid.
|
|
1716
|
+
'500':
|
|
1717
|
+
description: The request log store could not be queried.
|
|
1718
|
+
content:
|
|
1719
|
+
application/json:
|
|
1720
|
+
schema:
|
|
1721
|
+
$ref: '#/components/schemas/Error'
|
|
1722
|
+
examples:
|
|
1723
|
+
query_failed:
|
|
1724
|
+
value:
|
|
1725
|
+
errors:
|
|
1726
|
+
- code: clickhouse_error
|
|
1727
|
+
message: Unable to retrieve the request logs.
|
|
1728
|
+
store_unavailable:
|
|
1729
|
+
value:
|
|
1730
|
+
errors:
|
|
1731
|
+
- code: clickhouse_connection_not_established
|
|
1732
|
+
message: ClickHouse connection is not established
|
|
1733
|
+
/v1/mcpservers/{_id}/logs/purge:
|
|
1734
|
+
post:
|
|
1735
|
+
x-internal: false
|
|
1736
|
+
operationId: purgeMcpServerRequestLogs
|
|
1737
|
+
tags:
|
|
1738
|
+
- MCP Servers
|
|
1739
|
+
summary: Purge MCP server request log payloads
|
|
1740
|
+
description: |-
|
|
1741
|
+
Permanently deletes the stored request/response payloads of this server's requests
|
|
1742
|
+
recorded between `time_gte` and `time_lte`, both inclusive. The listing rows stay in
|
|
1743
|
+
`GET /v1/mcpservers/{_id}/logs` with `hasPayload` false. Also queues deletion of the run
|
|
1744
|
+
logs of each enabled Tool on the server for the same window; a Tool whose deletion
|
|
1745
|
+
could not be queued is reported in `errors[]` without failing the call. Writes a
|
|
1746
|
+
`purgelogs` audit entry. The window is passed as query parameters; a request body is
|
|
1747
|
+
ignored. Up to 10,000 payloads per call — narrow the window when the range holds more.
|
|
1748
|
+
Requires MCP operations access on the account.
|
|
1749
|
+
parameters:
|
|
1750
|
+
- name: _id
|
|
1751
|
+
in: path
|
|
1752
|
+
required: true
|
|
1753
|
+
description: MCP server ID.
|
|
1754
|
+
schema:
|
|
1755
|
+
type: string
|
|
1756
|
+
format: objectId
|
|
1757
|
+
x-celigo-refModel: mcpservers
|
|
1758
|
+
examples:
|
|
1759
|
+
- 69eb9fb5b4fc023618e490b8
|
|
1760
|
+
- name: time_gte
|
|
1761
|
+
in: query
|
|
1762
|
+
required: true
|
|
1763
|
+
description: Start of the window (inclusive), as an ISO 8601 date-time. Epoch milliseconds are rejected.
|
|
1764
|
+
schema:
|
|
1765
|
+
type: string
|
|
1766
|
+
format: date-time
|
|
1767
|
+
examples:
|
|
1768
|
+
- '2026-10-01T00:00:00Z'
|
|
1769
|
+
- name: time_lte
|
|
1770
|
+
in: query
|
|
1771
|
+
required: true
|
|
1772
|
+
description: End of the window (inclusive), as an ISO 8601 date-time. Must not be before `time_gte` or in the future.
|
|
1773
|
+
schema:
|
|
1774
|
+
type: string
|
|
1775
|
+
format: date-time
|
|
1776
|
+
examples:
|
|
1777
|
+
- '2026-10-22T23:59:59Z'
|
|
1778
|
+
responses:
|
|
1779
|
+
'200':
|
|
1780
|
+
description: Purge outcome. `purged` is empty when the window held no stored payloads.
|
|
1781
|
+
content:
|
|
1782
|
+
application/json:
|
|
1783
|
+
schema:
|
|
1784
|
+
type: object
|
|
1785
|
+
description: Purge result envelope.
|
|
1786
|
+
required:
|
|
1787
|
+
- purged
|
|
1788
|
+
- errors
|
|
1789
|
+
properties:
|
|
1790
|
+
purged:
|
|
1791
|
+
type: array
|
|
1792
|
+
description: Log keys whose payloads were deleted.
|
|
1793
|
+
items:
|
|
1794
|
+
type: string
|
|
1795
|
+
errors:
|
|
1796
|
+
type: array
|
|
1797
|
+
description: Tools whose run-log deletion could not be queued. Empty when every Tool was queued.
|
|
1798
|
+
items:
|
|
1799
|
+
type: object
|
|
1800
|
+
required:
|
|
1801
|
+
- code
|
|
1802
|
+
- message
|
|
1803
|
+
- _toolId
|
|
1804
|
+
properties:
|
|
1805
|
+
code:
|
|
1806
|
+
type: string
|
|
1807
|
+
description: Always `tool_log_purge_failed`.
|
|
1808
|
+
examples:
|
|
1809
|
+
- tool_log_purge_failed
|
|
1810
|
+
message:
|
|
1811
|
+
type: string
|
|
1812
|
+
description: Human-readable description of the failure.
|
|
1813
|
+
examples:
|
|
1814
|
+
- Unable to queue Tool Builder log deletion for the selected range.
|
|
1815
|
+
_toolId:
|
|
1816
|
+
type: string
|
|
1817
|
+
format: objectId
|
|
1818
|
+
x-celigo-refModel: tools
|
|
1819
|
+
description: Tool whose run logs were not queued for deletion. Retrying the purge with the same window queues it again.
|
|
1820
|
+
examples:
|
|
1821
|
+
- 65a98d1ef2b40000098c3a4d
|
|
1822
|
+
examples:
|
|
1823
|
+
default:
|
|
1824
|
+
value:
|
|
1825
|
+
purged:
|
|
1826
|
+
- 5465373387655-3f2a9c0d1e4b4c6f8a7b9d0e1f2a3b4c-tools_call-S
|
|
1827
|
+
errors: []
|
|
1828
|
+
tool_cascade_failed:
|
|
1829
|
+
summary: Payloads purged, one Tool not queued
|
|
1830
|
+
value:
|
|
1831
|
+
purged:
|
|
1832
|
+
- 5465373387655-3f2a9c0d1e4b4c6f8a7b9d0e1f2a3b4c-tools_call-S
|
|
1833
|
+
errors:
|
|
1834
|
+
- code: tool_log_purge_failed
|
|
1835
|
+
message: Unable to queue Tool Builder log deletion for the selected range.
|
|
1836
|
+
_toolId: 65a98d1ef2b40000098c3a4d
|
|
1837
|
+
'400':
|
|
1838
|
+
description: |-
|
|
1839
|
+
Invalid request, checked in this order — the MCP server ID is not a valid ObjectId;
|
|
1840
|
+
`time_gte` or `time_lte` is missing or not a date-time (the message names the
|
|
1841
|
+
parameter); the window is reversed or ends in the future;
|
|
1842
|
+
or, after the server is found, the window holds more than 10,000 payloads.
|
|
1843
|
+
content:
|
|
1844
|
+
application/json:
|
|
1845
|
+
schema:
|
|
1846
|
+
$ref: '#/components/schemas/Error'
|
|
1847
|
+
examples:
|
|
1848
|
+
invalid_id:
|
|
1849
|
+
value:
|
|
1850
|
+
errors:
|
|
1851
|
+
- code: invalid_ref
|
|
1852
|
+
message: Please provide a valid _mcpServerId.
|
|
1853
|
+
missing_time_gte:
|
|
1854
|
+
value:
|
|
1855
|
+
errors:
|
|
1856
|
+
- code: invalid_query_params
|
|
1857
|
+
message: time_gte is not valid.
|
|
1858
|
+
invalid_range:
|
|
1859
|
+
value:
|
|
1860
|
+
errors:
|
|
1861
|
+
- code: invalid_query_params
|
|
1862
|
+
message: time_gte and time_lte must be valid ISO datetimes, a non-future window, with time_gte <= time_lte.
|
|
1863
|
+
range_too_large:
|
|
1864
|
+
value:
|
|
1865
|
+
errors:
|
|
1866
|
+
- code: invalid_request
|
|
1867
|
+
message: The selected range contains too many request logs to purge in one call. Narrow the date range.
|
|
1868
|
+
'401':
|
|
1869
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
1870
|
+
'403':
|
|
1871
|
+
$ref: '#/components/responses/403-forbidden'
|
|
1872
|
+
'404':
|
|
1873
|
+
description: No MCP server with this ID is visible to the caller. Checked after the time window.
|
|
1874
|
+
content:
|
|
1875
|
+
application/json:
|
|
1876
|
+
schema:
|
|
1877
|
+
$ref: '#/components/schemas/Error'
|
|
1878
|
+
examples:
|
|
1879
|
+
not_found:
|
|
1880
|
+
value:
|
|
1881
|
+
errors:
|
|
1882
|
+
- code: invalid_ref
|
|
1883
|
+
message: McpServer not found.
|
|
1884
|
+
'500':
|
|
1885
|
+
description: |-
|
|
1886
|
+
The request log store could not be queried, or payload deletion failed partway.
|
|
1887
|
+
Payloads deleted before the failure stay deleted; retry the same window.
|
|
1888
|
+
content:
|
|
1889
|
+
application/json:
|
|
1890
|
+
schema:
|
|
1891
|
+
$ref: '#/components/schemas/Error'
|
|
1892
|
+
examples:
|
|
1893
|
+
purge_failed:
|
|
1894
|
+
value:
|
|
1895
|
+
errors:
|
|
1896
|
+
- code: log_purge_failed
|
|
1897
|
+
message: Unable to purge the request log.
|
|
1898
|
+
query_failed:
|
|
1899
|
+
value:
|
|
1900
|
+
errors:
|
|
1901
|
+
- code: clickhouse_error
|
|
1902
|
+
message: Unable to retrieve the request logs.
|
|
1903
|
+
/v1/mcpservers/{_id}/logs/{key}:
|
|
1904
|
+
get:
|
|
1905
|
+
x-internal: false
|
|
1906
|
+
operationId: getMcpServerRequestLog
|
|
1907
|
+
tags:
|
|
1908
|
+
- MCP Servers
|
|
1909
|
+
summary: Get an MCP server request log
|
|
1910
|
+
description: |-
|
|
1911
|
+
Returns the stored request and response for one MCP request, looked up by a `key` from
|
|
1912
|
+
`GET /v1/mcpservers/{_id}/logs`. Only entries with `hasPayload` true have a key. A key
|
|
1913
|
+
whose payload was purged, a key that names no stored payload, and a malformed key all
|
|
1914
|
+
answer `422` `log_file_unavailable`. The stored `Authorization` request header is
|
|
1915
|
+
masked. Requires MCP operations access on the account.
|
|
1916
|
+
parameters:
|
|
1917
|
+
- name: _id
|
|
1918
|
+
in: path
|
|
1919
|
+
required: true
|
|
1920
|
+
description: MCP server ID.
|
|
1921
|
+
schema:
|
|
1922
|
+
type: string
|
|
1923
|
+
format: objectId
|
|
1924
|
+
x-celigo-refModel: mcpservers
|
|
1925
|
+
examples:
|
|
1926
|
+
- 69eb9fb5b4fc023618e490b8
|
|
1927
|
+
- name: key
|
|
1928
|
+
in: path
|
|
1929
|
+
required: true
|
|
1930
|
+
description: Log key from the `GET /v1/mcpservers/{_id}/logs` listing, used exactly as returned.
|
|
1931
|
+
schema:
|
|
1932
|
+
type: string
|
|
1933
|
+
examples:
|
|
1934
|
+
- 5465373387655-3f2a9c0d1e4b4c6f8a7b9d0e1f2a3b4c-tools_call-S
|
|
1935
|
+
responses:
|
|
1936
|
+
'200':
|
|
1937
|
+
description: The stored record with the fields decoded from `key` added.
|
|
1938
|
+
content:
|
|
1939
|
+
application/json:
|
|
1940
|
+
schema:
|
|
1941
|
+
$ref: '#/components/schemas/MCPServerRequestLogDetail'
|
|
1942
|
+
examples:
|
|
1943
|
+
default:
|
|
1944
|
+
value:
|
|
1945
|
+
key: 5465373387655-3f2a9c0d1e4b4c6f8a7b9d0e1f2a3b4c-tools_call-S
|
|
1946
|
+
id: 3f2a9c0d1e4b4c6f8a7b9d0e1f2a3b4c
|
|
1947
|
+
time: 1792745012345
|
|
1948
|
+
method: tools_call
|
|
1949
|
+
status: success
|
|
1950
|
+
request:
|
|
1951
|
+
headers:
|
|
1952
|
+
content-type: application/json
|
|
1953
|
+
authorization: Bearer ********
|
|
1954
|
+
body: '{"jsonrpc":"2.0","id":7,"method":"tools/call","params":{"name":"get_customer","arguments":{"customerId":"C-1042"}}}'
|
|
1955
|
+
httpVersion: '1.1'
|
|
1956
|
+
url: /customer-integration
|
|
1957
|
+
clientAddress: 203.0.113.7
|
|
1958
|
+
size: 234
|
|
1959
|
+
response:
|
|
1960
|
+
body: '{"jsonrpc":"2.0","id":7,"result":{"content":[{"type":"text","text":"{\"customerId\":\"C-1042\"}"}]}}'
|
|
1961
|
+
headers:
|
|
1962
|
+
content-type: application/json
|
|
1963
|
+
size: 196
|
|
1964
|
+
entityName: get_customer
|
|
1965
|
+
assetType: IO Tool
|
|
1966
|
+
_byUserId: 624774a6a7574d3ed9f9a5cc
|
|
1967
|
+
_accessTokenId: 66b0c1d2e3f4a5b6c7d8e9f0
|
|
1968
|
+
_agentId: null
|
|
1969
|
+
clientName: null
|
|
1970
|
+
clientVersion: null
|
|
1971
|
+
sourceType: celigo
|
|
1972
|
+
upstreamHost: null
|
|
1973
|
+
_connectionId: null
|
|
1974
|
+
authMode: null
|
|
1975
|
+
upstreamMs: null
|
|
1976
|
+
errorCategory: null
|
|
1977
|
+
traceId: 7f9c2e1a4b3d4c5e
|
|
1978
|
+
purgeAt: 1795337012345
|
|
1979
|
+
'400':
|
|
1980
|
+
description: The MCP server ID is not a valid ObjectId.
|
|
1409
1981
|
content:
|
|
1410
1982
|
application/json:
|
|
1411
1983
|
schema:
|
|
1412
1984
|
$ref: '#/components/schemas/Error'
|
|
1413
1985
|
examples:
|
|
1414
|
-
|
|
1986
|
+
invalid_id:
|
|
1415
1987
|
value:
|
|
1416
1988
|
errors:
|
|
1417
|
-
- code:
|
|
1418
|
-
message:
|
|
1989
|
+
- code: invalid_ref
|
|
1990
|
+
message: Please provide a valid _mcpServerId.
|
|
1419
1991
|
'401':
|
|
1420
1992
|
$ref: '#/components/responses/401-unauthorized'
|
|
1421
1993
|
'403':
|
|
1422
1994
|
$ref: '#/components/responses/403-forbidden'
|
|
1423
1995
|
'404':
|
|
1424
|
-
description:
|
|
1996
|
+
description: |-
|
|
1997
|
+
No MCP server with this ID is visible to the caller. A key with no stored payload is a
|
|
1998
|
+
`422`, not a `404`.
|
|
1425
1999
|
content:
|
|
1426
2000
|
application/json:
|
|
1427
2001
|
schema:
|
|
@@ -1430,8 +2004,40 @@ paths:
|
|
|
1430
2004
|
server_not_found:
|
|
1431
2005
|
value:
|
|
1432
2006
|
errors:
|
|
1433
|
-
- code:
|
|
1434
|
-
message:
|
|
2007
|
+
- code: invalid_ref
|
|
2008
|
+
message: McpServer not found.
|
|
2009
|
+
'422':
|
|
2010
|
+
description: |-
|
|
2011
|
+
The stored payload could not be read (`log_file_unavailable` — the answer for a purged
|
|
2012
|
+
key, a key that names no stored payload, and a malformed key), or could not be parsed
|
|
2013
|
+
(`invalid_log_file`).
|
|
2014
|
+
content:
|
|
2015
|
+
application/json:
|
|
2016
|
+
schema:
|
|
2017
|
+
$ref: '#/components/schemas/Error'
|
|
2018
|
+
examples:
|
|
2019
|
+
unavailable:
|
|
2020
|
+
value:
|
|
2021
|
+
errors:
|
|
2022
|
+
- code: log_file_unavailable
|
|
2023
|
+
message: Unable to retrieve the log file.
|
|
2024
|
+
unparseable:
|
|
2025
|
+
value:
|
|
2026
|
+
errors:
|
|
2027
|
+
- code: invalid_log_file
|
|
2028
|
+
message: Unable to parse. Masked secret keys can cause parsing errors, update the access token or private field to view the data.
|
|
2029
|
+
'500':
|
|
2030
|
+
description: The request log store could not be queried while locating the payload.
|
|
2031
|
+
content:
|
|
2032
|
+
application/json:
|
|
2033
|
+
schema:
|
|
2034
|
+
$ref: '#/components/schemas/Error'
|
|
2035
|
+
examples:
|
|
2036
|
+
query_failed:
|
|
2037
|
+
value:
|
|
2038
|
+
errors:
|
|
2039
|
+
- code: clickhouse_error
|
|
2040
|
+
message: Unable to retrieve the request logs.
|
|
1435
2041
|
components:
|
|
1436
2042
|
securitySchemes:
|
|
1437
2043
|
bearerAuth:
|
|
@@ -9676,6 +10282,435 @@ components:
|
|
|
9676
10282
|
message:
|
|
9677
10283
|
type: string
|
|
9678
10284
|
description: Human-readable error message.
|
|
10285
|
+
MCPServerRequestLogEntry:
|
|
10286
|
+
type: object
|
|
10287
|
+
description: |-
|
|
10288
|
+
Summary row in the `GET /v1/mcpservers/{_id}/logs` listing — one MCP JSON-RPC request
|
|
10289
|
+
the server handled. The stored request/response payload is only on
|
|
10290
|
+
`GET /v1/mcpservers/{_id}/logs/{key}`, and only when `hasPayload` is true.
|
|
10291
|
+
required:
|
|
10292
|
+
- time
|
|
10293
|
+
- method
|
|
10294
|
+
- status
|
|
10295
|
+
- invocationId
|
|
10296
|
+
- hasPayload
|
|
10297
|
+
- entityName
|
|
10298
|
+
- assetType
|
|
10299
|
+
- entityId
|
|
10300
|
+
- opStartedAt
|
|
10301
|
+
- opEndedAt
|
|
10302
|
+
- authType
|
|
10303
|
+
properties:
|
|
10304
|
+
time:
|
|
10305
|
+
type: integer
|
|
10306
|
+
format: int64
|
|
10307
|
+
description: Epoch milliseconds when the request was recorded. The listing is sorted on this value, newest first.
|
|
10308
|
+
examples:
|
|
10309
|
+
- 1792745012345
|
|
10310
|
+
method:
|
|
10311
|
+
type:
|
|
10312
|
+
- string
|
|
10313
|
+
- 'null'
|
|
10314
|
+
description: |-
|
|
10315
|
+
JSON-RPC method of the request, with `/` replaced by `_` (`tools_call`,
|
|
10316
|
+
`resources_read`). A JSON-RPC batch is recorded as one row with method `batch`.
|
|
10317
|
+
examples:
|
|
10318
|
+
- tools_call
|
|
10319
|
+
status:
|
|
10320
|
+
type: string
|
|
10321
|
+
enum:
|
|
10322
|
+
- success
|
|
10323
|
+
- error
|
|
10324
|
+
- blocked
|
|
10325
|
+
x-enumDescriptions:
|
|
10326
|
+
success: The request completed without an error.
|
|
10327
|
+
error: The request failed.
|
|
10328
|
+
blocked: The request was rejected before it ran by a traffic limit, an access or OAuth scope check, or the network policy.
|
|
10329
|
+
description: Outcome of the request. Filter on it with the `status` query parameter.
|
|
10330
|
+
examples:
|
|
10331
|
+
- success
|
|
10332
|
+
invocationId:
|
|
10333
|
+
type: string
|
|
10334
|
+
description: |-
|
|
10335
|
+
Invocation id of the downstream tool run that served a `tools/call`. Empty string
|
|
10336
|
+
when the request produced no downstream invocation.
|
|
10337
|
+
examples:
|
|
10338
|
+
- ''
|
|
10339
|
+
- a1b2c3d4e5f60718293a4b5c
|
|
10340
|
+
hasPayload:
|
|
10341
|
+
type: boolean
|
|
10342
|
+
description: |-
|
|
10343
|
+
When true, the request/response payload is stored and `key` is set; read it with
|
|
10344
|
+
`GET /v1/mcpservers/{_id}/logs/{key}`. False when the payload was never stored (the
|
|
10345
|
+
server's logging mode skipped it) or has been purged.
|
|
10346
|
+
examples:
|
|
10347
|
+
- true
|
|
10348
|
+
key:
|
|
10349
|
+
type: string
|
|
10350
|
+
description: |-
|
|
10351
|
+
Opaque log key. Pass it to `GET /v1/mcpservers/{_id}/logs/{key}`; use it exactly as
|
|
10352
|
+
returned. Present when `hasPayload` is true.
|
|
10353
|
+
examples:
|
|
10354
|
+
- 5465373387655-3f2a9c0d1e4b4c6f8a7b9d0e1f2a3b4c-tools_call-S
|
|
10355
|
+
entityName:
|
|
10356
|
+
type:
|
|
10357
|
+
- string
|
|
10358
|
+
- 'null'
|
|
10359
|
+
description: |-
|
|
10360
|
+
Capability the request targeted — the tool or prompt name for `tools/call` and
|
|
10361
|
+
`prompts/get`, or the resource URI for `resources/read`. Null for list methods.
|
|
10362
|
+
examples:
|
|
10363
|
+
- get_customer
|
|
10364
|
+
assetType:
|
|
10365
|
+
type:
|
|
10366
|
+
- string
|
|
10367
|
+
- 'null'
|
|
10368
|
+
enum:
|
|
10369
|
+
- IO Tool
|
|
10370
|
+
- API
|
|
10371
|
+
- Prompt
|
|
10372
|
+
- Resource
|
|
10373
|
+
- null
|
|
10374
|
+
x-enumDescriptions:
|
|
10375
|
+
IO Tool: A `tools/call` served by a Celigo Tool.
|
|
10376
|
+
API: A `tools/call` served by a builder-mode API.
|
|
10377
|
+
Prompt: A `prompts/get` request.
|
|
10378
|
+
Resource: A `resources/read` request.
|
|
10379
|
+
description: |-
|
|
10380
|
+
Kind of capability the request reached. Null for list methods and for tools
|
|
10381
|
+
proxied from an upstream MCP server.
|
|
10382
|
+
examples:
|
|
10383
|
+
- IO Tool
|
|
10384
|
+
entityId:
|
|
10385
|
+
type:
|
|
10386
|
+
- string
|
|
10387
|
+
- 'null'
|
|
10388
|
+
description: |-
|
|
10389
|
+
Identifies the Tool (`assetType` `IO Tool`) or builder-mode API (`assetType` `API`)
|
|
10390
|
+
that served a `tools/call`. Null otherwise.
|
|
10391
|
+
examples:
|
|
10392
|
+
- 65a98d1ef2b40000098c3a4d
|
|
10393
|
+
opStartedAt:
|
|
10394
|
+
type:
|
|
10395
|
+
- integer
|
|
10396
|
+
- 'null'
|
|
10397
|
+
format: int64
|
|
10398
|
+
description: Epoch milliseconds when the operation started. Null when not recorded.
|
|
10399
|
+
examples:
|
|
10400
|
+
- 1792745012100
|
|
10401
|
+
opEndedAt:
|
|
10402
|
+
type:
|
|
10403
|
+
- integer
|
|
10404
|
+
- 'null'
|
|
10405
|
+
format: int64
|
|
10406
|
+
description: Epoch milliseconds when the operation ended. Null when not recorded.
|
|
10407
|
+
examples:
|
|
10408
|
+
- 1792745012340
|
|
10409
|
+
authType:
|
|
10410
|
+
type:
|
|
10411
|
+
- string
|
|
10412
|
+
- 'null'
|
|
10413
|
+
enum:
|
|
10414
|
+
- oauth
|
|
10415
|
+
- apiToken
|
|
10416
|
+
- null
|
|
10417
|
+
x-enumDescriptions:
|
|
10418
|
+
oauth: The caller authenticated with an MCP OAuth token.
|
|
10419
|
+
apiToken: The caller authenticated with an API token.
|
|
10420
|
+
description: How the MCP client authenticated. Null when neither applies.
|
|
10421
|
+
examples:
|
|
10422
|
+
- apiToken
|
|
10423
|
+
byUser:
|
|
10424
|
+
type: object
|
|
10425
|
+
description: User who made the request. Present when set.
|
|
10426
|
+
required:
|
|
10427
|
+
- _id
|
|
10428
|
+
- name
|
|
10429
|
+
- email
|
|
10430
|
+
- deleted
|
|
10431
|
+
properties:
|
|
10432
|
+
_id:
|
|
10433
|
+
type: string
|
|
10434
|
+
format: objectId
|
|
10435
|
+
x-celigo-refModel: users
|
|
10436
|
+
description: User who made the request.
|
|
10437
|
+
examples:
|
|
10438
|
+
- 624774a6a7574d3ed9f9a5cc
|
|
10439
|
+
name:
|
|
10440
|
+
type:
|
|
10441
|
+
- string
|
|
10442
|
+
- 'null'
|
|
10443
|
+
description: Display name of the user. Null when the user record is gone or has no name.
|
|
10444
|
+
examples:
|
|
10445
|
+
- Jane Doe
|
|
10446
|
+
email:
|
|
10447
|
+
type:
|
|
10448
|
+
- string
|
|
10449
|
+
- 'null'
|
|
10450
|
+
description: Email of the user. Null when the user record is gone.
|
|
10451
|
+
examples:
|
|
10452
|
+
- jane.doe@example.com
|
|
10453
|
+
deleted:
|
|
10454
|
+
type: boolean
|
|
10455
|
+
description: When true, the user has been deleted or could not be found.
|
|
10456
|
+
examples:
|
|
10457
|
+
- false
|
|
10458
|
+
accessToken:
|
|
10459
|
+
type: object
|
|
10460
|
+
description: API token the request authenticated with. Present when set.
|
|
10461
|
+
required:
|
|
10462
|
+
- _id
|
|
10463
|
+
- name
|
|
10464
|
+
- deleted
|
|
10465
|
+
properties:
|
|
10466
|
+
_id:
|
|
10467
|
+
type: string
|
|
10468
|
+
format: objectId
|
|
10469
|
+
x-celigo-refModel: accesstokens
|
|
10470
|
+
description: API token the request authenticated with.
|
|
10471
|
+
examples:
|
|
10472
|
+
- 66b0c1d2e3f4a5b6c7d8e9f0
|
|
10473
|
+
name:
|
|
10474
|
+
type:
|
|
10475
|
+
- string
|
|
10476
|
+
- 'null'
|
|
10477
|
+
description: Name of the token. Null when the token record is gone or has no name.
|
|
10478
|
+
examples:
|
|
10479
|
+
- MCP client token
|
|
10480
|
+
deleted:
|
|
10481
|
+
type: boolean
|
|
10482
|
+
description: When true, the token has been deleted or could not be found.
|
|
10483
|
+
examples:
|
|
10484
|
+
- false
|
|
10485
|
+
MCPServerRequestLogsResponse:
|
|
10486
|
+
type: object
|
|
10487
|
+
description: |-
|
|
10488
|
+
Envelope returned by `GET /v1/mcpservers/{_id}/logs`. Each page holds at most 50
|
|
10489
|
+
entries; `requests[]` is empty when no request matches.
|
|
10490
|
+
required:
|
|
10491
|
+
- requests
|
|
10492
|
+
properties:
|
|
10493
|
+
requests:
|
|
10494
|
+
type: array
|
|
10495
|
+
description: Request summaries, newest first.
|
|
10496
|
+
items:
|
|
10497
|
+
$ref: '#/components/schemas/MCPServerRequestLogEntry'
|
|
10498
|
+
nextPageURL:
|
|
10499
|
+
type: string
|
|
10500
|
+
description: |-
|
|
10501
|
+
Relative URL of the next page, repeating the current filters with a continuation
|
|
10502
|
+
token. Present when more entries remain. Follow it as returned; do not construct it.
|
|
10503
|
+
examples:
|
|
10504
|
+
- /v1/mcpservers/69eb9fb5b4fc023618e490b8/logs?status=error&nextPageToken=eyJ0IjoxNzkyNzQ1MDEyMzQ1LCJoIjoiMTIzNDU2Nzg5In0
|
|
10505
|
+
MCPServerRequestLogDetail:
|
|
10506
|
+
type: object
|
|
10507
|
+
description: |-
|
|
10508
|
+
Stored request/response payload for one MCP request, returned by
|
|
10509
|
+
`GET /v1/mcpservers/{_id}/logs/{key}`. The stored record is returned as-is with `key`,
|
|
10510
|
+
`id`, `time`, `method`, and `status` decoded from the log key. Records written by older
|
|
10511
|
+
releases may lack some of the other fields.
|
|
10512
|
+
required:
|
|
10513
|
+
- key
|
|
10514
|
+
- id
|
|
10515
|
+
- time
|
|
10516
|
+
- method
|
|
10517
|
+
- status
|
|
10518
|
+
properties:
|
|
10519
|
+
key:
|
|
10520
|
+
type: string
|
|
10521
|
+
description: Echoes the `key` path parameter.
|
|
10522
|
+
examples:
|
|
10523
|
+
- 5465373387655-3f2a9c0d1e4b4c6f8a7b9d0e1f2a3b4c-tools_call-S
|
|
10524
|
+
id:
|
|
10525
|
+
type: string
|
|
10526
|
+
description: Storage id of this record — the second segment of `key`.
|
|
10527
|
+
examples:
|
|
10528
|
+
- 3f2a9c0d1e4b4c6f8a7b9d0e1f2a3b4c
|
|
10529
|
+
time:
|
|
10530
|
+
type: integer
|
|
10531
|
+
format: int64
|
|
10532
|
+
description: Epoch milliseconds when the request was recorded, decoded from `key`.
|
|
10533
|
+
examples:
|
|
10534
|
+
- 1792745012345
|
|
10535
|
+
method:
|
|
10536
|
+
type: string
|
|
10537
|
+
description: JSON-RPC method with `/` replaced by `_`, decoded from `key`.
|
|
10538
|
+
examples:
|
|
10539
|
+
- tools_call
|
|
10540
|
+
status:
|
|
10541
|
+
type: string
|
|
10542
|
+
enum:
|
|
10543
|
+
- success
|
|
10544
|
+
- error
|
|
10545
|
+
- blocked
|
|
10546
|
+
x-enumDescriptions:
|
|
10547
|
+
success: The request completed without an error.
|
|
10548
|
+
error: The request failed.
|
|
10549
|
+
blocked: The request was rejected before it ran by a traffic limit, an access or OAuth scope check, or the network policy.
|
|
10550
|
+
description: Outcome of the request, decoded from `key`. Same values as the listing's `status`.
|
|
10551
|
+
examples:
|
|
10552
|
+
- success
|
|
10553
|
+
request:
|
|
10554
|
+
type: object
|
|
10555
|
+
description: |-
|
|
10556
|
+
Inbound HTTP request as stored — `headers` (the `Authorization` value masked), `body`
|
|
10557
|
+
(the JSON-RPC body as a string), `httpVersion`, `url`, `clientAddress`, and `size`.
|
|
10558
|
+
additionalProperties: true
|
|
10559
|
+
response:
|
|
10560
|
+
type: object
|
|
10561
|
+
description: Response the MCP server sent as stored — `body` (a string), `headers`, and `size`.
|
|
10562
|
+
additionalProperties: true
|
|
10563
|
+
entityName:
|
|
10564
|
+
type:
|
|
10565
|
+
- string
|
|
10566
|
+
- 'null'
|
|
10567
|
+
description: Tool or prompt name, or resource URI, the request targeted. Null for list methods.
|
|
10568
|
+
examples:
|
|
10569
|
+
- get_customer
|
|
10570
|
+
assetType:
|
|
10571
|
+
type:
|
|
10572
|
+
- string
|
|
10573
|
+
- 'null'
|
|
10574
|
+
enum:
|
|
10575
|
+
- IO Tool
|
|
10576
|
+
- API
|
|
10577
|
+
- Prompt
|
|
10578
|
+
- Resource
|
|
10579
|
+
- null
|
|
10580
|
+
x-enumDescriptions:
|
|
10581
|
+
IO Tool: A `tools/call` served by a Celigo Tool.
|
|
10582
|
+
API: A `tools/call` served by a builder-mode API.
|
|
10583
|
+
Prompt: A `prompts/get` request.
|
|
10584
|
+
Resource: A `resources/read` request.
|
|
10585
|
+
description: Kind of capability the request reached. Same values as the listing's `assetType`.
|
|
10586
|
+
examples:
|
|
10587
|
+
- IO Tool
|
|
10588
|
+
_byUserId:
|
|
10589
|
+
type:
|
|
10590
|
+
- string
|
|
10591
|
+
- 'null'
|
|
10592
|
+
format: objectId
|
|
10593
|
+
x-celigo-refModel: users
|
|
10594
|
+
description: |-
|
|
10595
|
+
User who made the request. Unlike the listing, the detail returns the raw id
|
|
10596
|
+
without name or email.
|
|
10597
|
+
examples:
|
|
10598
|
+
- 624774a6a7574d3ed9f9a5cc
|
|
10599
|
+
_accessTokenId:
|
|
10600
|
+
type:
|
|
10601
|
+
- string
|
|
10602
|
+
- 'null'
|
|
10603
|
+
format: objectId
|
|
10604
|
+
x-celigo-refModel: accesstokens
|
|
10605
|
+
description: API token the request authenticated with. Null for other authentication types.
|
|
10606
|
+
examples:
|
|
10607
|
+
- 66b0c1d2e3f4a5b6c7d8e9f0
|
|
10608
|
+
_agentId:
|
|
10609
|
+
type:
|
|
10610
|
+
- string
|
|
10611
|
+
- 'null'
|
|
10612
|
+
description: |-
|
|
10613
|
+
Celigo agent the MCP client identified itself as with the `x-celigo-agent-id` request
|
|
10614
|
+
header. Null when the request carried none.
|
|
10615
|
+
examples:
|
|
10616
|
+
- null
|
|
10617
|
+
clientName:
|
|
10618
|
+
type:
|
|
10619
|
+
- string
|
|
10620
|
+
- 'null'
|
|
10621
|
+
description: Name the MCP client reported in an `initialize` request. Null for other methods.
|
|
10622
|
+
examples:
|
|
10623
|
+
- claude-desktop
|
|
10624
|
+
clientVersion:
|
|
10625
|
+
type:
|
|
10626
|
+
- string
|
|
10627
|
+
- 'null'
|
|
10628
|
+
description: Version the MCP client reported in an `initialize` request. Null for other methods.
|
|
10629
|
+
examples:
|
|
10630
|
+
- 1.4.2
|
|
10631
|
+
sourceType:
|
|
10632
|
+
type:
|
|
10633
|
+
- string
|
|
10634
|
+
- 'null'
|
|
10635
|
+
enum:
|
|
10636
|
+
- celigo
|
|
10637
|
+
- upstream
|
|
10638
|
+
- null
|
|
10639
|
+
x-enumDescriptions:
|
|
10640
|
+
celigo: The capability is served by Celigo.
|
|
10641
|
+
upstream: The capability is proxied from an upstream MCP server.
|
|
10642
|
+
description: Where the targeted capability is served from. Null when it could not be determined.
|
|
10643
|
+
examples:
|
|
10644
|
+
- celigo
|
|
10645
|
+
upstreamHost:
|
|
10646
|
+
type:
|
|
10647
|
+
- string
|
|
10648
|
+
- 'null'
|
|
10649
|
+
description: Host of the upstream MCP server the request was proxied to. Null when the request was not proxied.
|
|
10650
|
+
examples:
|
|
10651
|
+
- null
|
|
10652
|
+
_connectionId:
|
|
10653
|
+
type:
|
|
10654
|
+
- string
|
|
10655
|
+
- 'null'
|
|
10656
|
+
format: objectId
|
|
10657
|
+
x-celigo-refModel: connections
|
|
10658
|
+
description: |-
|
|
10659
|
+
`mcp`-type connection the request was proxied through. Null when the request was not
|
|
10660
|
+
proxied.
|
|
10661
|
+
examples:
|
|
10662
|
+
- null
|
|
10663
|
+
authMode:
|
|
10664
|
+
type:
|
|
10665
|
+
- string
|
|
10666
|
+
- 'null'
|
|
10667
|
+
enum:
|
|
10668
|
+
- parent
|
|
10669
|
+
- null
|
|
10670
|
+
x-enumDescriptions:
|
|
10671
|
+
parent: The request was proxied to the upstream MCP server with the server's own connection credentials.
|
|
10672
|
+
description: How a proxied request authenticated upstream. Null when the request was not proxied.
|
|
10673
|
+
examples:
|
|
10674
|
+
- null
|
|
10675
|
+
upstreamMs:
|
|
10676
|
+
type:
|
|
10677
|
+
- integer
|
|
10678
|
+
- 'null'
|
|
10679
|
+
description: Latency of the hop to the upstream MCP server, in milliseconds. Null when the request was not proxied.
|
|
10680
|
+
examples:
|
|
10681
|
+
- null
|
|
10682
|
+
errorCategory:
|
|
10683
|
+
type:
|
|
10684
|
+
- string
|
|
10685
|
+
- 'null'
|
|
10686
|
+
description: Category of the failure. Null when the request succeeded or was blocked.
|
|
10687
|
+
examples:
|
|
10688
|
+
- null
|
|
10689
|
+
traceId:
|
|
10690
|
+
type:
|
|
10691
|
+
- string
|
|
10692
|
+
- 'null'
|
|
10693
|
+
description: Trace id of the request for cross-service correlation.
|
|
10694
|
+
examples:
|
|
10695
|
+
- 7f9c2e1a4b3d4c5e
|
|
10696
|
+
purgeAt:
|
|
10697
|
+
type:
|
|
10698
|
+
- integer
|
|
10699
|
+
- 'null'
|
|
10700
|
+
format: int64
|
|
10701
|
+
description: Epoch milliseconds when this record expires under the account's data retention period.
|
|
10702
|
+
examples:
|
|
10703
|
+
- 1795337012345
|
|
10704
|
+
limitType:
|
|
10705
|
+
type:
|
|
10706
|
+
- string
|
|
10707
|
+
- 'null'
|
|
10708
|
+
description: Traffic limit that rejected the request. Present when a traffic limit blocked it.
|
|
10709
|
+
denial:
|
|
10710
|
+
type: object
|
|
10711
|
+
description: Details of the access check that rejected the request. Present when an access check blocked it.
|
|
10712
|
+
additionalProperties: true
|
|
10713
|
+
additionalProperties: true
|
|
9679
10714
|
responses:
|
|
9680
10715
|
401-unauthorized:
|
|
9681
10716
|
description: |-
|
|
@@ -9737,9 +10772,9 @@ components:
|
|
|
9737
10772
|
errors:
|
|
9738
10773
|
- code: unprocessable_entity
|
|
9739
10774
|
message: The request could not be processed due to a semantic error.
|
|
9740
|
-
|
|
10775
|
+
403-forbidden:
|
|
9741
10776
|
description: |
|
|
9742
|
-
|
|
10777
|
+
Forbidden. The authenticated caller does not have permission to perform this operation.
|
|
9743
10778
|
content:
|
|
9744
10779
|
application/json:
|
|
9745
10780
|
schema:
|
|
@@ -9748,11 +10783,11 @@ components:
|
|
|
9748
10783
|
default:
|
|
9749
10784
|
value:
|
|
9750
10785
|
errors:
|
|
9751
|
-
- code:
|
|
9752
|
-
message:
|
|
9753
|
-
|
|
10786
|
+
- code: forbidden
|
|
10787
|
+
message: You do not have permission to access this resource.
|
|
10788
|
+
404-not-found:
|
|
9754
10789
|
description: |
|
|
9755
|
-
|
|
10790
|
+
Not found. The requested resource does not exist or is not visible to the caller.
|
|
9756
10791
|
content:
|
|
9757
10792
|
application/json:
|
|
9758
10793
|
schema:
|
|
@@ -9761,7 +10796,7 @@ components:
|
|
|
9761
10796
|
default:
|
|
9762
10797
|
value:
|
|
9763
10798
|
errors:
|
|
9764
|
-
- code:
|
|
9765
|
-
message:
|
|
10799
|
+
- code: not_found
|
|
10800
|
+
message: The requested resource was not found.
|
|
9766
10801
|
x-enable-proxy: true
|
|
9767
10802
|
x-internal: false
|
package/package.json
CHANGED