@celigo/api-specs 0.2.259 → 0.2.260
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/ai-agent.yml +37 -0
- package/dist/editransaction.yml +28 -2
- package/dist/export.yml +172 -36
- package/dist/flow.yml +242 -14
- package/dist/import.yml +38 -0
- package/dist/mcp-server.yml +120 -10
- package/dist/tool.yml +15 -9
- package/package.json +1 -1
- package/schemas.json +65 -44
package/dist/ai-agent.yml
CHANGED
|
@@ -6652,6 +6652,43 @@ components:
|
|
|
6652
6652
|
- aiAgent
|
|
6653
6653
|
allOf:
|
|
6654
6654
|
- $ref: '#/components/schemas/AiAgentBase'
|
|
6655
|
+
if:
|
|
6656
|
+
not:
|
|
6657
|
+
required:
|
|
6658
|
+
- _connectionId
|
|
6659
|
+
then:
|
|
6660
|
+
x-celigo-ui-override: The AI agent form (forms/definitions/ai/aiAgent.js preSave, with the Add tools picker) offers and keeps Code Execution only on a BYOK agent whose model metadata declares supportsCodeExecution (a BYOK agent's existing tool also survives while that metadata is unavailable), and strips it from a Celigo AI agent on save. Encoded to mirror the form so builders produce agents that can run.
|
|
6661
|
+
properties:
|
|
6662
|
+
aiAgent:
|
|
6663
|
+
properties:
|
|
6664
|
+
openai:
|
|
6665
|
+
properties:
|
|
6666
|
+
tools:
|
|
6667
|
+
items:
|
|
6668
|
+
properties:
|
|
6669
|
+
type:
|
|
6670
|
+
not:
|
|
6671
|
+
const: code_execution
|
|
6672
|
+
litellm:
|
|
6673
|
+
properties:
|
|
6674
|
+
_overrides:
|
|
6675
|
+
properties:
|
|
6676
|
+
gemini:
|
|
6677
|
+
properties:
|
|
6678
|
+
tools:
|
|
6679
|
+
items:
|
|
6680
|
+
properties:
|
|
6681
|
+
type:
|
|
6682
|
+
not:
|
|
6683
|
+
const: codeExecution
|
|
6684
|
+
anthropic:
|
|
6685
|
+
properties:
|
|
6686
|
+
tools:
|
|
6687
|
+
items:
|
|
6688
|
+
properties:
|
|
6689
|
+
type:
|
|
6690
|
+
not:
|
|
6691
|
+
const: codeExecution
|
|
6655
6692
|
PreviewCompareRequest:
|
|
6656
6693
|
type: object
|
|
6657
6694
|
description: |-
|
package/dist/editransaction.yml
CHANGED
|
@@ -261,6 +261,7 @@ paths:
|
|
|
261
261
|
mode: expand
|
|
262
262
|
referenceDocumentNumber: PO P129-ORDER-0001
|
|
263
263
|
partnerPairKey: 'ACMEFOODS :CELIGOTEST '
|
|
264
|
+
parentTransactionId: 6ae8902e8f6a1c2d3e4f5a6b
|
|
264
265
|
responses:
|
|
265
266
|
'200':
|
|
266
267
|
description: |-
|
|
@@ -603,7 +604,9 @@ paths:
|
|
|
603
604
|
- code: lifecycle_group_not_found
|
|
604
605
|
message: No accessible lifecycle group found for the given referenceDocumentNumber and partnerPairKey
|
|
605
606
|
'422':
|
|
606
|
-
description:
|
|
607
|
+
description: |-
|
|
608
|
+
A lifecycle field is unusable: `view` and `mode` contradict each other, or
|
|
609
|
+
`parentTransactionId` is not a 24-character hex id.
|
|
607
610
|
content:
|
|
608
611
|
application/json:
|
|
609
612
|
schema:
|
|
@@ -620,6 +623,12 @@ paths:
|
|
|
620
623
|
errors:
|
|
621
624
|
- code: invalid_query_view
|
|
622
625
|
message: view must be lifecycle when mode is provided
|
|
626
|
+
invalid_lifecycle_expand_parent_id:
|
|
627
|
+
summary: parentTransactionId that is not an object id
|
|
628
|
+
value:
|
|
629
|
+
errors:
|
|
630
|
+
- code: invalid_lifecycle_expand_parent_id
|
|
631
|
+
message: parentTransactionId must be a 24-character hex ObjectId
|
|
623
632
|
/v1/ediTransactions/search:
|
|
624
633
|
post:
|
|
625
634
|
x-internal: false
|
|
@@ -2718,7 +2727,7 @@ components:
|
|
|
2718
2727
|
- expand
|
|
2719
2728
|
x-enumDescriptions:
|
|
2720
2729
|
browse: Return one collapsed row per lifecycle group in `groups`.
|
|
2721
|
-
expand: Return
|
|
2730
|
+
expand: Return the group named by `referenceDocumentNumber` and `partnerPairKey` in `group`, with the parent row left out of `group.ediTransactions`.
|
|
2722
2731
|
description: |-
|
|
2723
2732
|
Lifecycle mode; required with `view: lifecycle`. Any other value fails
|
|
2724
2733
|
with 422 `invalid_lifecycle_mode`, and `mode` without
|
|
@@ -2742,6 +2751,23 @@ components:
|
|
|
2742
2751
|
Required with `mode: expand`.
|
|
2743
2752
|
examples:
|
|
2744
2753
|
- 'ACMEFOODS :CELIGOTEST '
|
|
2754
|
+
parentTransactionId:
|
|
2755
|
+
x-internal: false
|
|
2756
|
+
type:
|
|
2757
|
+
- string
|
|
2758
|
+
- 'null'
|
|
2759
|
+
format: objectId
|
|
2760
|
+
pattern: ^[a-fA-F0-9]{24}$
|
|
2761
|
+
x-celigo-refModel: editransactions
|
|
2762
|
+
description: |-
|
|
2763
|
+
Expand only. Transaction you already show as the group's parent row,
|
|
2764
|
+
usually the browse group's `latestTransaction._id`; letter case does
|
|
2765
|
+
not matter. Expand leaves it out of `group.ediTransactions` when it is
|
|
2766
|
+
among the returned members, and leaves nothing out when it is not.
|
|
2767
|
+
Omit it or send null to leave out the newest member instead; any other
|
|
2768
|
+
value fails with 422 `invalid_lifecycle_expand_parent_id`.
|
|
2769
|
+
examples:
|
|
2770
|
+
- 5f8d43a1b9e5a80011a35f2c
|
|
2745
2771
|
scanBatchSize:
|
|
2746
2772
|
type: integer
|
|
2747
2773
|
minimum: 1
|
package/dist/export.yml
CHANGED
|
@@ -471,7 +471,7 @@ paths:
|
|
|
471
471
|
description: |-
|
|
472
472
|
Runs an export doc through the flow engine's preview pipeline and returns
|
|
473
473
|
the sample data it would have emitted, along with stage-by-stage
|
|
474
|
-
diagnostics
|
|
474
|
+
diagnostics. **No Job record is created** and
|
|
475
475
|
no flow-level state is updated — this is a stateless preview.
|
|
476
476
|
|
|
477
477
|
Body is a complete export document (the shape you would POST to
|
|
@@ -489,12 +489,13 @@ paths:
|
|
|
489
489
|
when previewing a standalone export.
|
|
490
490
|
|
|
491
491
|
Use `test.limit` inside the body to cap the number of records
|
|
492
|
-
returned.
|
|
493
|
-
`errors[]
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
doesn't exist
|
|
492
|
+
returned. A preview that fails answers 422, not a 200 carrying
|
|
493
|
+
`errors[]`: structural validation failures (e.g. missing
|
|
494
|
+
`_connectionId`), an output `filter` with an unknown operator or one
|
|
495
|
+
that can't read a record's value, a Handlebars template that doesn't
|
|
496
|
+
compile, a hook or script that throws, an error status from the source
|
|
497
|
+
and a Google Cloud Storage bucket or object that doesn't exist all do
|
|
498
|
+
(see the 422 response).
|
|
498
499
|
requestBody:
|
|
499
500
|
required: true
|
|
500
501
|
content:
|
|
@@ -525,11 +526,8 @@ paths:
|
|
|
525
526
|
responses:
|
|
526
527
|
'200':
|
|
527
528
|
description: |-
|
|
528
|
-
Preview envelope for a preview that ran
|
|
529
|
-
422
|
|
530
|
-
the export config (handlebars template failures, runtime errors)
|
|
531
|
-
surface in `errors[]` and `stages[].errors[]`; inspect those before
|
|
532
|
-
trusting `stages[].data[]`.
|
|
529
|
+
Preview envelope for a preview that ran, without a top-level `errors`.
|
|
530
|
+
A failing preview answers 422 instead (see that response).
|
|
533
531
|
content:
|
|
534
532
|
application/json:
|
|
535
533
|
schema:
|
|
@@ -555,26 +553,159 @@ paths:
|
|
|
555
553
|
$ref: '#/components/responses/401-unauthorized'
|
|
556
554
|
'422':
|
|
557
555
|
description: |-
|
|
558
|
-
Structural validation
|
|
559
|
-
for fields the preview pipeline needs before
|
|
560
|
-
(e.g. `_connectionId`)
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
`
|
|
556
|
+
The preview failed. Structural validation comes first — typically
|
|
557
|
+
`missing_required_field` for fields the preview pipeline needs before
|
|
558
|
+
it can execute (e.g. `_connectionId`), an error that carries `code`
|
|
559
|
+
and `field` but no `message` — and an output `filter` with an unknown
|
|
560
|
+
operator is refused with `filter_validation_error`. Once the preview
|
|
561
|
+
runs, a Handlebars template that doesn't compile answers
|
|
562
|
+
`handlebars_template_parse_error` (`source: resource`), a hook or
|
|
563
|
+
script that throws answers `script_error` (`source` names the hook,
|
|
564
|
+
`stage` the stage it ran in, and that stage's `errors[]` is populated),
|
|
565
|
+
and an error status from the source comes back as the error's `code`
|
|
566
|
+
(`source: application`), with the `request` and `raw` stages beside
|
|
567
|
+
`errors`. A valid output filter also fails the preview when a record
|
|
568
|
+
holds a value its type conversion can't read, such as an empty or
|
|
569
|
+
non-date string under `epochtime`: the message is "Invalid date.
|
|
570
|
+
Cannot convert given string or number to date time.", followed by
|
|
571
|
+
`; record=` and that record as JSON. A Google Cloud Storage read of a
|
|
572
|
+
bucket or object that doesn't exist fails with `gcs_bucket_not_found`
|
|
573
|
+
or `gcs_object_not_found`.
|
|
567
574
|
content:
|
|
568
575
|
application/json:
|
|
569
576
|
schema:
|
|
570
|
-
|
|
577
|
+
type: object
|
|
578
|
+
required:
|
|
579
|
+
- errors
|
|
580
|
+
properties:
|
|
581
|
+
errors:
|
|
582
|
+
type: array
|
|
583
|
+
description: |-
|
|
584
|
+
One entry per failure; a structural failure lists each missing field.
|
|
585
|
+
Runtime failures also carry `resolved` and `occurredAt`, a source error its
|
|
586
|
+
`classification`, and a `script_error` its `stage`, `location` and `stack`.
|
|
587
|
+
items:
|
|
588
|
+
type: object
|
|
589
|
+
additionalProperties: true
|
|
590
|
+
required:
|
|
591
|
+
- code
|
|
592
|
+
properties:
|
|
593
|
+
code:
|
|
594
|
+
oneOf:
|
|
595
|
+
- type: string
|
|
596
|
+
- type: integer
|
|
597
|
+
description: |-
|
|
598
|
+
`missing_required_field` from structural validation, otherwise the
|
|
599
|
+
failure's code (`filter_validation_error`, `handlebars_template_parse_error`,
|
|
600
|
+
`script_error`, `gcs_bucket_not_found`, ...); an integer when it mirrors
|
|
601
|
+
the error status the source answered.
|
|
602
|
+
field:
|
|
603
|
+
type: string
|
|
604
|
+
description: |-
|
|
605
|
+
The document field a structural error is about (`_connectionId`), or
|
|
606
|
+
`filter` on `filter_validation_error`.
|
|
607
|
+
message:
|
|
608
|
+
type: string
|
|
609
|
+
description: |-
|
|
610
|
+
What went wrong, in the platform's words; absent on a structural
|
|
611
|
+
`missing_required_field` error, which carries `code` and `field` only.
|
|
612
|
+
source:
|
|
613
|
+
type: string
|
|
614
|
+
description: |-
|
|
615
|
+
Where the failure arose: `resource` for the export's own templates,
|
|
616
|
+
`application` for the source system's answer, the hook or filter name
|
|
617
|
+
(`pre_save_page_hook`, `output_filter`) for a `script_error`; absent on
|
|
618
|
+
structural errors.
|
|
619
|
+
stages:
|
|
620
|
+
type:
|
|
621
|
+
- array
|
|
622
|
+
- 'null'
|
|
623
|
+
description: |-
|
|
624
|
+
Present once the preview has started running: the stages that completed before
|
|
625
|
+
the failure (`request` and `raw` for a source error, through the failing hook or
|
|
626
|
+
filter stage for a `script_error`), shaped as in the 200 response, or `null`
|
|
627
|
+
when the request could not be built because a template doesn't compile.
|
|
628
|
+
items:
|
|
629
|
+
type: object
|
|
630
|
+
additionalProperties: true
|
|
571
631
|
examples:
|
|
572
632
|
missingConnection:
|
|
633
|
+
summary: Structural validation — the document has no _connectionId
|
|
573
634
|
value:
|
|
574
635
|
errors:
|
|
575
636
|
- code: missing_required_field
|
|
576
|
-
|
|
577
|
-
|
|
637
|
+
field: _connectionId
|
|
638
|
+
unknownFilterOperator:
|
|
639
|
+
summary: The output filter uses an operator that doesn't exist
|
|
640
|
+
value:
|
|
641
|
+
errors:
|
|
642
|
+
- field: filter
|
|
643
|
+
code: filter_validation_error
|
|
644
|
+
message: 'Invalid operation: frobnicate.'
|
|
645
|
+
handlebarsParseError:
|
|
646
|
+
summary: The relative URI template doesn't compile (message trimmed)
|
|
647
|
+
value:
|
|
648
|
+
errors:
|
|
649
|
+
- code: handlebars_template_parse_error
|
|
650
|
+
message: 'Failed to generate request url from template: https://api.example.com/users/{{#each}}. Details: Parse error on line 1: …'
|
|
651
|
+
source: resource
|
|
652
|
+
resolved: false
|
|
653
|
+
occurredAt: 1792564791337
|
|
654
|
+
stages: null
|
|
655
|
+
scriptError:
|
|
656
|
+
summary: The preSavePage hook throws (stages trimmed)
|
|
657
|
+
value:
|
|
658
|
+
errors:
|
|
659
|
+
- code: script_error
|
|
660
|
+
message: 'Error: boom from preSavePage'
|
|
661
|
+
source: pre_save_page_hook
|
|
662
|
+
stage: preSavePageHook
|
|
663
|
+
location: throwing-hook:2
|
|
664
|
+
resolved: false
|
|
665
|
+
occurredAt: 1794017910246
|
|
666
|
+
stages:
|
|
667
|
+
- name: request
|
|
668
|
+
data:
|
|
669
|
+
- url: https://api.example.com/users
|
|
670
|
+
method: GET
|
|
671
|
+
errors: null
|
|
672
|
+
- name: raw
|
|
673
|
+
data:
|
|
674
|
+
- url: https://api.example.com/users
|
|
675
|
+
statusCode: 200
|
|
676
|
+
errors: null
|
|
677
|
+
- name: parse
|
|
678
|
+
data:
|
|
679
|
+
- id: 1
|
|
680
|
+
errors: null
|
|
681
|
+
- name: preSavePageHook
|
|
682
|
+
data: null
|
|
683
|
+
errors:
|
|
684
|
+
- code: script_error
|
|
685
|
+
message: 'Error: boom from preSavePage'
|
|
686
|
+
source: pre_save_page_hook
|
|
687
|
+
sourceError:
|
|
688
|
+
summary: The source answers HTTP 500 (trimmed)
|
|
689
|
+
value:
|
|
690
|
+
errors:
|
|
691
|
+
- code: 500
|
|
692
|
+
message: Internal Server Error
|
|
693
|
+
source: application
|
|
694
|
+
classification: intermittent
|
|
695
|
+
resolved: false
|
|
696
|
+
occurredAt: 1792564790554
|
|
697
|
+
stages:
|
|
698
|
+
- name: request
|
|
699
|
+
data:
|
|
700
|
+
- url: https://api.example.com/users
|
|
701
|
+
method: GET
|
|
702
|
+
errors: null
|
|
703
|
+
- name: raw
|
|
704
|
+
data:
|
|
705
|
+
- url: https://api.example.com/users
|
|
706
|
+
statusCode: 500
|
|
707
|
+
body: ''
|
|
708
|
+
errors: null
|
|
578
709
|
gcsBucketNotFound:
|
|
579
710
|
summary: Google Cloud Storage bucket that doesn't exist
|
|
580
711
|
value:
|
|
@@ -16939,18 +17070,24 @@ components:
|
|
|
16939
17070
|
`webhook` object when `type` is `webhook`); an HTTP or SQL `delta` export saves without a
|
|
16940
17071
|
`delta` object because its request carries `{{lastExportDateTime}}`, though
|
|
16941
17072
|
`delta.startDate` sets its first window. It still needs `type: delta`: on an export
|
|
16942
|
-
with no `type` (or `all
|
|
16943
|
-
|
|
16944
|
-
|
|
16945
|
-
|
|
16946
|
-
|
|
16947
|
-
|
|
16948
|
-
|
|
17073
|
+
with no `type` (or `all`), `{{lastExportDateTime}}` and `{{currentExportDateTime}}` are
|
|
17074
|
+
not defined, and where that leaves an HTTP export's run depends on which part of the
|
|
17075
|
+
request carries them. Bare in `http.body` they render empty, so the body goes out with
|
|
17076
|
+
blank values each time; bare in `http.relativeURI` or a header, the run fails before
|
|
17077
|
+
anything is sent with `handlebars_template_parse_error`, "Failed to generate request url
|
|
17078
|
+
(or headers) from template … Details: "lastExportDateTime" not defined in the model".
|
|
17079
|
+
Under `type: test` they are defined but empty, so the URI, a header or the body goes out
|
|
17080
|
+
with blank values instead. `dateFormat` on one renders the run's current time (the
|
|
17081
|
+
request asks for changes since now), and `dateAdd` on one fails the whole render in the
|
|
17082
|
+
body or the relative URI alike — `handlebars_template_parse_error`, "Failed to generate
|
|
17083
|
+
request body (or url) from template … Details: Invalid time value" (live-verified
|
|
17084
|
+
2026-10-22, 2026-11-04 and 2026-11-06). When incremental reads are intended, restoring
|
|
16949
17085
|
`type: delta` (with `delta.startDate` for the first window) makes the variables resolve;
|
|
16950
17086
|
when reading everything is intended, change the template — drop the variable or guard it
|
|
16951
17087
|
with `{{#if lastExportDateTime}}…{{else}}fallback{{/if}}`, whose else branch (a literal, in
|
|
16952
|
-
practice a fixed start date) renders
|
|
16953
|
-
`type: test`. Use `blob` only to transfer raw files
|
|
17088
|
+
practice a fixed start date) renders, in the relative URI as well as the body, on an
|
|
17089
|
+
export with no `type`, `type: all` or `type: test`. Use `blob` only to transfer raw files
|
|
17090
|
+
without parsing their contents.
|
|
16954
17091
|
x-celigo-ai-guidance:
|
|
16955
17092
|
- |-
|
|
16956
17093
|
## HOW TO PICK THE TYPE VALUE
|
|
@@ -18332,9 +18469,8 @@ components:
|
|
|
18332
18469
|
errors:
|
|
18333
18470
|
type: array
|
|
18334
18471
|
description: |-
|
|
18335
|
-
|
|
18336
|
-
|
|
18337
|
-
ran clean; callers should treat `undefined` and `[]` as equivalent.
|
|
18472
|
+
Absent from a 200 response. A preview that fails answers 422 instead,
|
|
18473
|
+
with its errors in that body.
|
|
18338
18474
|
items:
|
|
18339
18475
|
type: object
|
|
18340
18476
|
additionalProperties: true
|
package/dist/flow.yml
CHANGED
|
@@ -936,6 +936,152 @@ paths:
|
|
|
936
936
|
message: Another instance for this flow is already queued or running. Please try again later.
|
|
937
937
|
'422':
|
|
938
938
|
$ref: '#/components/responses/422-unprocessable-entity'
|
|
939
|
+
/v1/flows/{_id}/replay:
|
|
940
|
+
post:
|
|
941
|
+
x-internal: false
|
|
942
|
+
operationId: replayFlow
|
|
943
|
+
tags:
|
|
944
|
+
- Flows
|
|
945
|
+
summary: Replay a flow's topic messages
|
|
946
|
+
description: |-
|
|
947
|
+
Queues a run that re-delivers already-published Event Streams messages through the flow. Only
|
|
948
|
+
page generators whose export `adaptorType` is `TopicExport` run; other page generators are
|
|
949
|
+
skipped. The run is **asynchronous** and returns the same queued-run shape as
|
|
950
|
+
`POST /v1/flows/{_id}/run`; poll `GET /v1/jobs/{_id}` with the returned `_jobId`. The job
|
|
951
|
+
carries `runType: replay`.
|
|
952
|
+
|
|
953
|
+
A replay leaves the flow's delta checkpoint (`GET /v1/flows/{_id}/lastExportDateTime`) unchanged.
|
|
954
|
+
The flow must be enabled. A flow runs one instance at a time, so a replay requested while
|
|
955
|
+
another run of the flow is queued or running is refused with `409 job_already_queued`, the same
|
|
956
|
+
as a regular run.
|
|
957
|
+
parameters:
|
|
958
|
+
- name: _id
|
|
959
|
+
in: path
|
|
960
|
+
required: true
|
|
961
|
+
description: Flow to replay.
|
|
962
|
+
schema:
|
|
963
|
+
type: string
|
|
964
|
+
format: objectId
|
|
965
|
+
x-celigo-refModel: flows
|
|
966
|
+
requestBody:
|
|
967
|
+
required: false
|
|
968
|
+
content:
|
|
969
|
+
application/json:
|
|
970
|
+
schema:
|
|
971
|
+
$ref: '#/components/schemas/FlowReplayRequest'
|
|
972
|
+
examples:
|
|
973
|
+
default:
|
|
974
|
+
summary: Replay every TopicExport up to what each has delivered
|
|
975
|
+
value: {}
|
|
976
|
+
offset_window:
|
|
977
|
+
summary: Replay offsets 0 through 500 of one export
|
|
978
|
+
value:
|
|
979
|
+
_exportIds:
|
|
980
|
+
- 69a9aa5d3b213b3ac975e8d2
|
|
981
|
+
replay:
|
|
982
|
+
startOffset: 0
|
|
983
|
+
endOffset: 500
|
|
984
|
+
date_window:
|
|
985
|
+
summary: Replay one day of messages
|
|
986
|
+
value:
|
|
987
|
+
replay:
|
|
988
|
+
startDate: '2026-10-01T00:00:00.000Z'
|
|
989
|
+
endDate: '2026-10-02T00:00:00.000Z'
|
|
990
|
+
responses:
|
|
991
|
+
'200':
|
|
992
|
+
description: Replay accepted and queued.
|
|
993
|
+
content:
|
|
994
|
+
application/json:
|
|
995
|
+
schema:
|
|
996
|
+
$ref: '#/components/schemas/FlowRunResponse'
|
|
997
|
+
examples:
|
|
998
|
+
queued:
|
|
999
|
+
summary: Replay queued — poll the returned _jobId for status
|
|
1000
|
+
value:
|
|
1001
|
+
_jobId: 6aee88d39d1fade9eadac4de
|
|
1002
|
+
_exportId: 6aee882fe3da721fd7cb63e8
|
|
1003
|
+
queueName: topic_out_6aee882fe3da721fd7cb63e8
|
|
1004
|
+
'400':
|
|
1005
|
+
description: |-
|
|
1006
|
+
The path `_id` is not a well-formed ObjectId (`invalid_ref`), or a `replay` bound is invalid
|
|
1007
|
+
(`invalid_field`): `replay` is not an object, a date does not parse, an offset is not a
|
|
1008
|
+
non-negative JSON integer, or the end bound is before the start bound. `message` names the
|
|
1009
|
+
field. Bounds are checked before the flow is looked up.
|
|
1010
|
+
content:
|
|
1011
|
+
application/json:
|
|
1012
|
+
schema:
|
|
1013
|
+
$ref: '#/components/schemas/Error'
|
|
1014
|
+
examples:
|
|
1015
|
+
invalid_offset:
|
|
1016
|
+
summary: endOffset lower than startOffset
|
|
1017
|
+
value:
|
|
1018
|
+
errors:
|
|
1019
|
+
- code: invalid_field
|
|
1020
|
+
message: 'The value provided for the field: ''replay.endOffset'' is invalid.'
|
|
1021
|
+
malformed_id:
|
|
1022
|
+
summary: Path _id is not an ObjectId
|
|
1023
|
+
value:
|
|
1024
|
+
errors:
|
|
1025
|
+
- code: invalid_ref
|
|
1026
|
+
message: Please provide a valid _id.
|
|
1027
|
+
'401':
|
|
1028
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
1029
|
+
'404':
|
|
1030
|
+
description: |-
|
|
1031
|
+
No flow with this id in the account. A flow that has no page generator or no page processor
|
|
1032
|
+
is also answered this way, not with a 422.
|
|
1033
|
+
content:
|
|
1034
|
+
application/json:
|
|
1035
|
+
schema:
|
|
1036
|
+
$ref: '#/components/schemas/Error'
|
|
1037
|
+
examples:
|
|
1038
|
+
not_found:
|
|
1039
|
+
value:
|
|
1040
|
+
errors:
|
|
1041
|
+
- code: flow_not_found
|
|
1042
|
+
message: Flow not found
|
|
1043
|
+
'409':
|
|
1044
|
+
description: |-
|
|
1045
|
+
Another instance of this flow is already queued or running. Wait for it to finish (poll
|
|
1046
|
+
`GET /v1/flows/{_id}/jobs/latest`) and request the replay again.
|
|
1047
|
+
content:
|
|
1048
|
+
application/json:
|
|
1049
|
+
schema:
|
|
1050
|
+
$ref: '#/components/schemas/Error'
|
|
1051
|
+
examples:
|
|
1052
|
+
default:
|
|
1053
|
+
value:
|
|
1054
|
+
errors:
|
|
1055
|
+
- code: job_already_queued
|
|
1056
|
+
message: Another instance for this flow is already queued or running. Please try again later.
|
|
1057
|
+
'422':
|
|
1058
|
+
description: |-
|
|
1059
|
+
The flow cannot be replayed. `invalid_flow`: the flow is disabled, or it has no TopicExport
|
|
1060
|
+
page generator. `not_allowed`: an id in `_exportIds` is not a page generator on the flow, or
|
|
1061
|
+
is a page generator that is not a TopicExport.
|
|
1062
|
+
content:
|
|
1063
|
+
application/json:
|
|
1064
|
+
schema:
|
|
1065
|
+
$ref: '#/components/schemas/Error'
|
|
1066
|
+
examples:
|
|
1067
|
+
no_topic_export:
|
|
1068
|
+
summary: Flow has no TopicExport page generator
|
|
1069
|
+
value:
|
|
1070
|
+
errors:
|
|
1071
|
+
- code: invalid_flow
|
|
1072
|
+
message: No replay export found in flow Orders sync for adaptor type(s) TopicExport.
|
|
1073
|
+
flow_disabled:
|
|
1074
|
+
summary: Flow is disabled
|
|
1075
|
+
value:
|
|
1076
|
+
errors:
|
|
1077
|
+
- code: invalid_flow
|
|
1078
|
+
message: Flow disabled. Please enable your flow and try again.
|
|
1079
|
+
unsupported_export:
|
|
1080
|
+
summary: A selected export is not a TopicExport on this flow
|
|
1081
|
+
value:
|
|
1082
|
+
errors:
|
|
1083
|
+
- code: not_allowed
|
|
1084
|
+
message: The selective export(s) 69a9aa5c54e3d9bd11b86d82 cannot be found in the flow Orders sync.
|
|
939
1085
|
/v1/flows/{_flowId}/runs/stats:
|
|
940
1086
|
post:
|
|
941
1087
|
x-internal: false
|
|
@@ -4257,8 +4403,8 @@ paths:
|
|
|
4257
4403
|
'200':
|
|
4258
4404
|
description: |-
|
|
4259
4405
|
Preview envelope. Mirrors `ExportPreviewResponse` — `stages[]` carries
|
|
4260
|
-
the stage-by-stage output
|
|
4261
|
-
|
|
4406
|
+
the stage-by-stage output. A failing preview answers 422 instead (see
|
|
4407
|
+
that response).
|
|
4262
4408
|
content:
|
|
4263
4409
|
application/json:
|
|
4264
4410
|
schema:
|
|
@@ -4304,15 +4450,23 @@ paths:
|
|
|
4304
4450
|
$ref: '#/components/responses/401-unauthorized'
|
|
4305
4451
|
'422':
|
|
4306
4452
|
description: |-
|
|
4307
|
-
|
|
4308
|
-
`
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4453
|
+
The preview failed. Read `errors[].code` to tell the cases apart —
|
|
4454
|
+
`source: application` alone doesn't mean a request was sent:
|
|
4455
|
+
- `no_data_available` with `source: integrator` — no record reached
|
|
4456
|
+
the target in a composing mode (the target is a NetSuite,
|
|
4457
|
+
Salesforce, RDBMS or FTP import, which these modes cannot drive,
|
|
4458
|
+
or the chain's gates dropped every record).
|
|
4459
|
+
- An HTTP status as `code` with `source: application` and no `stage`
|
|
4460
|
+
— the source export got that error status; the `request` and `raw`
|
|
4461
|
+
stages come back beside `errors`.
|
|
4462
|
+
- `handlebars_template_parse_error` — a target template doesn't
|
|
4463
|
+
compile. It carries `source: application` and `stage: apiCall`
|
|
4464
|
+
although nothing was sent.
|
|
4465
|
+
- An HTTP status as `code` with `source: application` and
|
|
4466
|
+
`stage: apiCall` after `sendAndPreview` — the request DID execute
|
|
4467
|
+
and the target import's `failPath` rules judged the destination's
|
|
4468
|
+
answer a failure; `message` carries the destination's response
|
|
4469
|
+
body.
|
|
4316
4470
|
content:
|
|
4317
4471
|
application/json:
|
|
4318
4472
|
schema:
|
|
@@ -4325,6 +4479,27 @@ paths:
|
|
|
4325
4479
|
- code: no_data_available
|
|
4326
4480
|
source: integrator
|
|
4327
4481
|
message: You must add at least one mock input record. If you still get this error after adding an input record, verify that your current mapping configuration isn't ignoring all record output. Mock input records must pass through the input filter and hooks to qualify for Preview and Send.
|
|
4482
|
+
sourceExportError:
|
|
4483
|
+
summary: The source export got HTTP 500
|
|
4484
|
+
description: |-
|
|
4485
|
+
The live error also carries `classification`, `resolved` and
|
|
4486
|
+
`occurredAt` beside the fields shown (no `stage`), and the body
|
|
4487
|
+
carries the `request` and `raw` stages beside `errors`.
|
|
4488
|
+
value:
|
|
4489
|
+
errors:
|
|
4490
|
+
- code: 500
|
|
4491
|
+
source: application
|
|
4492
|
+
message: Internal Server Error
|
|
4493
|
+
targetTemplateParseError:
|
|
4494
|
+
summary: The target import's relative URI template doesn't compile (message trimmed)
|
|
4495
|
+
description: |-
|
|
4496
|
+
The live error also carries `stage: apiCall`, `classification: parse`,
|
|
4497
|
+
`resolved` and `occurredAt` beside the fields shown.
|
|
4498
|
+
value:
|
|
4499
|
+
errors:
|
|
4500
|
+
- code: handlebars_template_parse_error
|
|
4501
|
+
source: application
|
|
4502
|
+
message: 'Failed to generate request url from template: https://api.example.com/orders/{{#each}}. Details: Parse error on line 1: …'
|
|
4328
4503
|
failPathTripped:
|
|
4329
4504
|
summary: sendAndPreview executed; the target's failPath rules judged the 200 a failure
|
|
4330
4505
|
description: |-
|
|
@@ -6726,6 +6901,60 @@ components:
|
|
|
6726
6901
|
error:
|
|
6727
6902
|
type: string
|
|
6728
6903
|
description: Human-readable reason the run was not started.
|
|
6904
|
+
FlowReplayRequest:
|
|
6905
|
+
type: object
|
|
6906
|
+
description: |-
|
|
6907
|
+
Optional scope for a replay run. Omit the body (or send `{}`) to replay every TopicExport page
|
|
6908
|
+
generator on the flow, up to the last message each one has already delivered. Other run
|
|
6909
|
+
fields such as `export` are dropped, so a replay cannot set a delta window.
|
|
6910
|
+
properties:
|
|
6911
|
+
_exportIds:
|
|
6912
|
+
type: array
|
|
6913
|
+
description: |-
|
|
6914
|
+
Page generators to replay. Every listed export must be a TopicExport on this flow. Omit to
|
|
6915
|
+
replay all of the flow's TopicExport page generators. A value that is not an array is
|
|
6916
|
+
ignored.
|
|
6917
|
+
items:
|
|
6918
|
+
type: string
|
|
6919
|
+
format: objectId
|
|
6920
|
+
x-celigo-refModel: exports
|
|
6921
|
+
replay:
|
|
6922
|
+
type: object
|
|
6923
|
+
description: |-
|
|
6924
|
+
Range of topic messages to replay. Bounds are inclusive. When both an offset and a date
|
|
6925
|
+
bound are set on the same side, the offset is used. With no `endOffset` or `endDate`, the
|
|
6926
|
+
replay stops at the last message the export has already delivered, and an export that has
|
|
6927
|
+
never consumed the topic replays nothing. Replaying does not move the export's read
|
|
6928
|
+
position (`GET /v1/topics/{_id}/exports/{_exportId}/offsets`).
|
|
6929
|
+
properties:
|
|
6930
|
+
startDate:
|
|
6931
|
+
type: string
|
|
6932
|
+
format: date-time
|
|
6933
|
+
description: Earliest message timestamp to replay. Ignored when `startOffset` is set.
|
|
6934
|
+
examples:
|
|
6935
|
+
- '2026-10-01T00:00:00.000Z'
|
|
6936
|
+
endDate:
|
|
6937
|
+
type: string
|
|
6938
|
+
format: date-time
|
|
6939
|
+
description: |-
|
|
6940
|
+
Latest message timestamp to replay. Must not be earlier than `startDate`. Ignored when
|
|
6941
|
+
`endOffset` is set.
|
|
6942
|
+
examples:
|
|
6943
|
+
- '2026-10-02T00:00:00.000Z'
|
|
6944
|
+
startOffset:
|
|
6945
|
+
type: integer
|
|
6946
|
+
minimum: 0
|
|
6947
|
+
description: First topic offset to replay. Send a JSON integer; a numeric string is rejected.
|
|
6948
|
+
examples:
|
|
6949
|
+
- 0
|
|
6950
|
+
endOffset:
|
|
6951
|
+
type: integer
|
|
6952
|
+
minimum: 0
|
|
6953
|
+
description: |-
|
|
6954
|
+
Last topic offset to replay. Must not be lower than `startOffset`. Send a JSON integer; a
|
|
6955
|
+
numeric string is rejected.
|
|
6956
|
+
examples:
|
|
6957
|
+
- 500
|
|
6729
6958
|
FlowRunsStatsRequest:
|
|
6730
6959
|
type: object
|
|
6731
6960
|
required:
|
|
@@ -8966,9 +9195,8 @@ components:
|
|
|
8966
9195
|
errors:
|
|
8967
9196
|
type: array
|
|
8968
9197
|
description: |-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
ran clean; callers should treat `undefined` and `[]` as equivalent.
|
|
9198
|
+
Absent from a 200 response. A preview that fails answers 422 instead,
|
|
9199
|
+
with its errors in that body.
|
|
8972
9200
|
items:
|
|
8973
9201
|
type: object
|
|
8974
9202
|
additionalProperties: true
|
package/dist/import.yml
CHANGED
|
@@ -18581,6 +18581,44 @@ components:
|
|
|
18581
18581
|
topic:
|
|
18582
18582
|
required:
|
|
18583
18583
|
- _topicId
|
|
18584
|
+
else:
|
|
18585
|
+
if:
|
|
18586
|
+
not:
|
|
18587
|
+
required:
|
|
18588
|
+
- _connectionId
|
|
18589
|
+
then:
|
|
18590
|
+
x-celigo-ui-override: The AI agent form (forms/definitions/ai/aiAgent.js preSave, with the Add tools picker) offers and keeps Code Execution only on a BYOK agent whose model metadata declares supportsCodeExecution (a BYOK agent's existing tool also survives while that metadata is unavailable), and strips it from a Celigo AI agent on save. Encoded to mirror the form so builders produce agents that can run.
|
|
18591
|
+
properties:
|
|
18592
|
+
aiAgent:
|
|
18593
|
+
properties:
|
|
18594
|
+
openai:
|
|
18595
|
+
properties:
|
|
18596
|
+
tools:
|
|
18597
|
+
items:
|
|
18598
|
+
properties:
|
|
18599
|
+
type:
|
|
18600
|
+
not:
|
|
18601
|
+
const: code_execution
|
|
18602
|
+
litellm:
|
|
18603
|
+
properties:
|
|
18604
|
+
_overrides:
|
|
18605
|
+
properties:
|
|
18606
|
+
gemini:
|
|
18607
|
+
properties:
|
|
18608
|
+
tools:
|
|
18609
|
+
items:
|
|
18610
|
+
properties:
|
|
18611
|
+
type:
|
|
18612
|
+
not:
|
|
18613
|
+
const: codeExecution
|
|
18614
|
+
anthropic:
|
|
18615
|
+
properties:
|
|
18616
|
+
tools:
|
|
18617
|
+
items:
|
|
18618
|
+
properties:
|
|
18619
|
+
type:
|
|
18620
|
+
not:
|
|
18621
|
+
const: codeExecution
|
|
18584
18622
|
else:
|
|
18585
18623
|
required:
|
|
18586
18624
|
- _connectionId
|
package/dist/mcp-server.yml
CHANGED
|
@@ -462,11 +462,13 @@ paths:
|
|
|
462
462
|
grants that referenced the erased sets, clearing `policies` removes every
|
|
463
463
|
traffic limit, and — by the platform contract — dropping a connection
|
|
464
464
|
that required end-user credentials invalidates the end users' `mcpChild`
|
|
465
|
-
connections for it unless another server still requires them.
|
|
466
|
-
way round: `upstreamMcpConnections` and `
|
|
467
|
-
stored value when omitted — send `[]` or `null`
|
|
468
|
-
|
|
469
|
-
current upstream definitions. `
|
|
465
|
+
connections for it unless another server still requires them. Three fields work the other
|
|
466
|
+
way round: `upstreamMcpConnections`, `_networkPolicyId` and `logging` keep their
|
|
467
|
+
stored value when omitted — send `[]` or `null` to clear the first two
|
|
468
|
+
— and a PUT that includes `upstreamMcpConnections` re-approves the
|
|
469
|
+
current upstream definitions. A `logging.mode` the account cannot use
|
|
470
|
+
is rejected the same way as on PATCH (422 `payload_storage_required`).
|
|
471
|
+
`_templateId` is ignored. `relativeURI`
|
|
470
472
|
can be changed but must remain unique per account.
|
|
471
473
|
operationId: updateMcpServer
|
|
472
474
|
tags:
|
|
@@ -611,7 +613,8 @@ paths:
|
|
|
611
613
|
GET the server first and send the complete document back: every array
|
|
612
614
|
except upstreamMcpConnections is replaced by what you send and cleared
|
|
613
615
|
when omitted, so a PUT built from a partial document silently drops
|
|
614
|
-
tools, connections, permission sets, and traffic limits.
|
|
616
|
+
tools, connections, permission sets, and traffic limits. An omitted
|
|
617
|
+
logging object is kept, like upstreamMcpConnections and _networkPolicyId.
|
|
615
618
|
- |-
|
|
616
619
|
Enabling the server (disabled: false) needs at least one enabled tool,
|
|
617
620
|
API, prompt, or resource, or one enabled and available upstream row;
|
|
@@ -622,9 +625,18 @@ paths:
|
|
|
622
625
|
description: |-
|
|
623
626
|
Partially updates an MCP server using a JSON Patch document (RFC 6902).
|
|
624
627
|
The whitelisted paths are `/name`, `/disabled`, `/policies`,
|
|
625
|
-
`/_networkPolicyId`,
|
|
628
|
+
`/_networkPolicyId`, `/logging/mode`, `/logging/debugUntil`, and
|
|
629
|
+
`/upstreamMcpConnections/{index}/alias` — every
|
|
626
630
|
other path, including the whole `/upstreamMcpConnections` array and any
|
|
627
631
|
nested upstream row, is rejected with 422 `not a whitelisted property`.
|
|
632
|
+
`/logging/mode` takes `replace` with one of the request-log modes;
|
|
633
|
+
`/logging/debugUntil` takes `replace` with a future date-time to start a
|
|
634
|
+
debug window and `remove` to end it early (a `remove` with no window set
|
|
635
|
+
is accepted and changes nothing). Payload storage must be enabled for
|
|
636
|
+
the account for `standard`, `detailed` and a debug window — 422
|
|
637
|
+
`payload_storage_required` for the two modes, 422 `not_allowed` for the
|
|
638
|
+
window; `basic` and `noLogging` need no payload storage — and a mode
|
|
639
|
+
outside the set, in any other spelling, is 422 `invalid_logging_mode`.
|
|
628
640
|
Under `/policies`, `add`, `replace`, and `remove` work on the whole
|
|
629
641
|
array, `add` works at `/policies/-` or an index, and `replace` works at
|
|
630
642
|
an index or a sub-path such as `/policies/0/config/limit`; `remove` at
|
|
@@ -723,6 +735,23 @@ paths:
|
|
|
723
735
|
- op: replace
|
|
724
736
|
path: /upstreamMcpConnections/0/alias
|
|
725
737
|
value: wiki
|
|
738
|
+
set_log_mode:
|
|
739
|
+
summary: Store the request and response payloads of every request
|
|
740
|
+
value:
|
|
741
|
+
- op: replace
|
|
742
|
+
path: /logging/mode
|
|
743
|
+
value: standard
|
|
744
|
+
start_debug_window:
|
|
745
|
+
summary: Capture full detail until a time at most the plan's debug limit away
|
|
746
|
+
value:
|
|
747
|
+
- op: replace
|
|
748
|
+
path: /logging/debugUntil
|
|
749
|
+
value: '2026-10-27T09:30:00.000Z'
|
|
750
|
+
stop_debug_window:
|
|
751
|
+
summary: End the debug window early
|
|
752
|
+
value:
|
|
753
|
+
- op: remove
|
|
754
|
+
path: /logging/debugUntil
|
|
726
755
|
responses:
|
|
727
756
|
'204':
|
|
728
757
|
description: Patch applied.
|
|
@@ -733,7 +762,8 @@ paths:
|
|
|
733
762
|
'422':
|
|
734
763
|
description: |-
|
|
735
764
|
The patch names a path outside the whitelist, an invalid
|
|
736
|
-
`_networkPolicyId`, an invalid policy,
|
|
765
|
+
`_networkPolicyId`, an invalid policy, a request-log mode or debug
|
|
766
|
+
window the account cannot use, or would enable a server with
|
|
737
767
|
nothing enabled.
|
|
738
768
|
content:
|
|
739
769
|
application/json:
|
|
@@ -744,6 +774,26 @@ paths:
|
|
|
744
774
|
value:
|
|
745
775
|
errors:
|
|
746
776
|
- message: /description is not a whitelisted property
|
|
777
|
+
payload_storage_required:
|
|
778
|
+
summary: standard or detailed while the account's payload storage is off
|
|
779
|
+
value:
|
|
780
|
+
errors:
|
|
781
|
+
- field: logging.mode
|
|
782
|
+
code: payload_storage_required
|
|
783
|
+
message: The McpServer logging mode cannot be set to standard as payload storage is not enabled.
|
|
784
|
+
invalid_logging_mode:
|
|
785
|
+
value:
|
|
786
|
+
errors:
|
|
787
|
+
- field: logging.mode
|
|
788
|
+
code: invalid_logging_mode
|
|
789
|
+
message: The logging mode debug is not valid for model McpServer. Supported modes are basic, standard, detailed, noLogging.
|
|
790
|
+
debug_window_not_allowed:
|
|
791
|
+
summary: A debug window while the account's payload storage is off
|
|
792
|
+
value:
|
|
793
|
+
errors:
|
|
794
|
+
- field: logging.debugUntil
|
|
795
|
+
code: not_allowed
|
|
796
|
+
message: The McpServer logging mode cannot be set to debug as payload storage is not enabled.
|
|
747
797
|
enablement:
|
|
748
798
|
value:
|
|
749
799
|
errors:
|
|
@@ -4483,6 +4533,66 @@ components:
|
|
|
4483
4533
|
document, PATCH `replace /policies` with the complete array.
|
|
4484
4534
|
items:
|
|
4485
4535
|
$ref: '#/components/schemas/Policy'
|
|
4536
|
+
logging:
|
|
4537
|
+
type: object
|
|
4538
|
+
description: |-
|
|
4539
|
+
How much of each MCP request this server keeps in its request log
|
|
4540
|
+
(`GET /v1/mcpservers/{_id}/logs`). Every request is recorded as a
|
|
4541
|
+
log entry — method, outcome, timing, caller and the capability it
|
|
4542
|
+
targeted — whatever the mode. The mode decides two further things:
|
|
4543
|
+
whether the request and response payload is stored (the entry's
|
|
4544
|
+
`hasPayload`, payload only), and how much execution detail a Celigo
|
|
4545
|
+
Tool call's run keeps — the run trace itself is reached through the
|
|
4546
|
+
entry's non-empty `invocationId`, not through `hasPayload`. New
|
|
4547
|
+
servers are created with `{"mode": "basic"}`. Changed with
|
|
4548
|
+
`PATCH /v1/mcpservers/{_id}` on the `/logging/mode` and
|
|
4549
|
+
`/logging/debugUntil` paths, or by sending the object on PUT;
|
|
4550
|
+
omitted on PUT, the stored value is kept. A change applies to the
|
|
4551
|
+
requests that follow it, not to entries already recorded. While
|
|
4552
|
+
payload storage is off for the account, requests are recorded as
|
|
4553
|
+
entries only whatever the stored mode.
|
|
4554
|
+
properties:
|
|
4555
|
+
mode:
|
|
4556
|
+
type: string
|
|
4557
|
+
enum:
|
|
4558
|
+
- noLogging
|
|
4559
|
+
- basic
|
|
4560
|
+
- standard
|
|
4561
|
+
- detailed
|
|
4562
|
+
x-enumDescriptions:
|
|
4563
|
+
noLogging: Record the request entry only; no request or response payload is stored
|
|
4564
|
+
basic: Store the request and response payloads of errored requests only
|
|
4565
|
+
standard: Store the request and response payloads of every request
|
|
4566
|
+
detailed: Store every request and response payload together with the full execution detail of each Celigo Tool call
|
|
4567
|
+
description: |-
|
|
4568
|
+
Capture level for the requests this server handles. `standard`
|
|
4569
|
+
and `detailed` need payload storage enabled for the account;
|
|
4570
|
+
without it the write is rejected with 422
|
|
4571
|
+
`payload_storage_required`. `basic` is accepted while payload
|
|
4572
|
+
storage is off and stores entries only until it is on. Values
|
|
4573
|
+
are case-sensitive — any other spelling is rejected with 422
|
|
4574
|
+
`invalid_logging_mode`.
|
|
4575
|
+
When the account's plan changes to one with a lower logging
|
|
4576
|
+
ceiling, a stored mode above it is lowered by the platform (the
|
|
4577
|
+
`standard` level counts as `basic` for that ceiling).
|
|
4578
|
+
examples:
|
|
4579
|
+
- standard
|
|
4580
|
+
debugUntil:
|
|
4581
|
+
type: string
|
|
4582
|
+
format: date-time
|
|
4583
|
+
description: |-
|
|
4584
|
+
While this timestamp is in the future, every request is captured
|
|
4585
|
+
with full payloads and execution detail regardless of `mode`;
|
|
4586
|
+
once it passes, the stored `mode` applies again without any
|
|
4587
|
+
further write. Set it to a future time; it needs payload storage
|
|
4588
|
+
enabled for the account (422 `not_allowed` otherwise). The UI
|
|
4589
|
+
offers windows up to the plan's debug allowance, and a window
|
|
4590
|
+
longer than a new plan allows is cleared by the platform when
|
|
4591
|
+
the plan changes. Clear an active window with a PATCH `remove` —
|
|
4592
|
+
removing it when none is set is accepted and changes nothing.
|
|
4593
|
+
Absent from responses when no window is set.
|
|
4594
|
+
examples:
|
|
4595
|
+
- '2026-10-27T09:30:00.000Z'
|
|
4486
4596
|
oauth:
|
|
4487
4597
|
$ref: '#/components/schemas/OAuthConfig'
|
|
4488
4598
|
ResourceResponse:
|
|
@@ -4617,8 +4727,8 @@ components:
|
|
|
4617
4727
|
Request body for creating or updating an MCP server. On PUT, include the
|
|
4618
4728
|
full `connections`, `tools`, `apis`, `prompts`, `resources`,
|
|
4619
4729
|
`permissionSets`, and `policies` arrays because omitted arrays are
|
|
4620
|
-
cleared; `upstreamMcpConnections` and `
|
|
4621
|
-
exceptions and keep their stored value when omitted. Every array entry
|
|
4730
|
+
cleared; `upstreamMcpConnections`, `_networkPolicyId` and `logging` are
|
|
4731
|
+
the exceptions and keep their stored value when omitted. Every array entry
|
|
4622
4732
|
must be an object — a `null` entry in `tools`, `apis`, `prompts`,
|
|
4623
4733
|
`resources`, or `upstreamMcpConnections` is rejected with 422
|
|
4624
4734
|
`mcp_server_invalid_array_item`. Use PATCH to update individual fields
|
package/dist/tool.yml
CHANGED
|
@@ -39509,18 +39509,24 @@ components:
|
|
|
39509
39509
|
`webhook` object when `type` is `webhook`); an HTTP or SQL `delta` export saves without a
|
|
39510
39510
|
`delta` object because its request carries `{{lastExportDateTime}}`, though
|
|
39511
39511
|
`delta.startDate` sets its first window. It still needs `type: delta`: on an export
|
|
39512
|
-
with no `type` (or `all
|
|
39513
|
-
|
|
39514
|
-
|
|
39515
|
-
|
|
39516
|
-
|
|
39517
|
-
|
|
39518
|
-
|
|
39512
|
+
with no `type` (or `all`), `{{lastExportDateTime}}` and `{{currentExportDateTime}}` are
|
|
39513
|
+
not defined, and where that leaves an HTTP export's run depends on which part of the
|
|
39514
|
+
request carries them. Bare in `http.body` they render empty, so the body goes out with
|
|
39515
|
+
blank values each time; bare in `http.relativeURI` or a header, the run fails before
|
|
39516
|
+
anything is sent with `handlebars_template_parse_error`, "Failed to generate request url
|
|
39517
|
+
(or headers) from template … Details: "lastExportDateTime" not defined in the model".
|
|
39518
|
+
Under `type: test` they are defined but empty, so the URI, a header or the body goes out
|
|
39519
|
+
with blank values instead. `dateFormat` on one renders the run's current time (the
|
|
39520
|
+
request asks for changes since now), and `dateAdd` on one fails the whole render in the
|
|
39521
|
+
body or the relative URI alike — `handlebars_template_parse_error`, "Failed to generate
|
|
39522
|
+
request body (or url) from template … Details: Invalid time value" (live-verified
|
|
39523
|
+
2026-10-22, 2026-11-04 and 2026-11-06). When incremental reads are intended, restoring
|
|
39519
39524
|
`type: delta` (with `delta.startDate` for the first window) makes the variables resolve;
|
|
39520
39525
|
when reading everything is intended, change the template — drop the variable or guard it
|
|
39521
39526
|
with `{{#if lastExportDateTime}}…{{else}}fallback{{/if}}`, whose else branch (a literal, in
|
|
39522
|
-
practice a fixed start date) renders
|
|
39523
|
-
`type: test`. Use `blob` only to transfer raw files
|
|
39527
|
+
practice a fixed start date) renders, in the relative URI as well as the body, on an
|
|
39528
|
+
export with no `type`, `type: all` or `type: test`. Use `blob` only to transfer raw files
|
|
39529
|
+
without parsing their contents.
|
|
39524
39530
|
x-celigo-ai-guidance:
|
|
39525
39531
|
- |-
|
|
39526
39532
|
## HOW TO PICK THE TYPE VALUE
|
package/package.json
CHANGED
package/schemas.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"provenance": {
|
|
3
3
|
"repo": "celigo/integrator-api-specs",
|
|
4
|
-
"iasCommit": "
|
|
4
|
+
"iasCommit": "37861893",
|
|
5
5
|
"generatedAt": "2026-11-07"
|
|
6
6
|
},
|
|
7
7
|
"roots": {
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"integration": 689,
|
|
21
21
|
"lookupcache": 690,
|
|
22
22
|
"mcpoauthprovider": 693,
|
|
23
|
-
"mcpserver":
|
|
24
|
-
"script":
|
|
25
|
-
"stack":
|
|
26
|
-
"sync":
|
|
27
|
-
"tool":
|
|
23
|
+
"mcpserver": 744,
|
|
24
|
+
"script": 745,
|
|
25
|
+
"stack": 752,
|
|
26
|
+
"sync": 762,
|
|
27
|
+
"tool": 778
|
|
28
28
|
},
|
|
29
29
|
"defs": [
|
|
30
30
|
{
|
|
@@ -9011,6 +9011,26 @@
|
|
|
9011
9011
|
],
|
|
9012
9012
|
"i": 735
|
|
9013
9013
|
},
|
|
9014
|
+
{
|
|
9015
|
+
"t": [
|
|
9016
|
+
"string"
|
|
9017
|
+
],
|
|
9018
|
+
"e": [
|
|
9019
|
+
"basic",
|
|
9020
|
+
"detailed",
|
|
9021
|
+
"noLogging",
|
|
9022
|
+
"standard"
|
|
9023
|
+
]
|
|
9024
|
+
},
|
|
9025
|
+
{
|
|
9026
|
+
"t": [
|
|
9027
|
+
"object"
|
|
9028
|
+
],
|
|
9029
|
+
"p": {
|
|
9030
|
+
"debugUntil": 0,
|
|
9031
|
+
"mode": 741
|
|
9032
|
+
}
|
|
9033
|
+
},
|
|
9014
9034
|
{
|
|
9015
9035
|
"t": [
|
|
9016
9036
|
"object"
|
|
@@ -9045,8 +9065,9 @@
|
|
|
9045
9065
|
"draftExpiresAt": 0,
|
|
9046
9066
|
"enabledItemCount": 120,
|
|
9047
9067
|
"lastModified": 0,
|
|
9068
|
+
"logging": 742,
|
|
9048
9069
|
"name": 0,
|
|
9049
|
-
"oauth":
|
|
9070
|
+
"oauth": 743,
|
|
9050
9071
|
"permissionSets": 726,
|
|
9051
9072
|
"policies": 740,
|
|
9052
9073
|
"prompts": 723,
|
|
@@ -9152,9 +9173,9 @@
|
|
|
9152
9173
|
],
|
|
9153
9174
|
"p": {
|
|
9154
9175
|
"accessKeyId": 0,
|
|
9155
|
-
"awsRegion":
|
|
9176
|
+
"awsRegion": 749,
|
|
9156
9177
|
"functionName": 0,
|
|
9157
|
-
"language":
|
|
9178
|
+
"language": 750,
|
|
9158
9179
|
"secretAccessKey": 0
|
|
9159
9180
|
},
|
|
9160
9181
|
"r": [
|
|
@@ -9171,12 +9192,12 @@
|
|
|
9171
9192
|
"p": {
|
|
9172
9193
|
"_id": 0,
|
|
9173
9194
|
"createdAt": 0,
|
|
9174
|
-
"framework":
|
|
9175
|
-
"lambda":
|
|
9195
|
+
"framework": 747,
|
|
9196
|
+
"lambda": 751,
|
|
9176
9197
|
"lastModified": 0,
|
|
9177
9198
|
"name": 0,
|
|
9178
|
-
"server":
|
|
9179
|
-
"type":
|
|
9199
|
+
"server": 748,
|
|
9200
|
+
"type": 746
|
|
9180
9201
|
},
|
|
9181
9202
|
"r": [
|
|
9182
9203
|
"_id",
|
|
@@ -9213,8 +9234,8 @@
|
|
|
9213
9234
|
"object"
|
|
9214
9235
|
],
|
|
9215
9236
|
"p": {
|
|
9216
|
-
"dataset":
|
|
9217
|
-
"element":
|
|
9237
|
+
"dataset": 758,
|
|
9238
|
+
"element": 759
|
|
9218
9239
|
}
|
|
9219
9240
|
},
|
|
9220
9241
|
{
|
|
@@ -9239,8 +9260,8 @@
|
|
|
9239
9260
|
"object"
|
|
9240
9261
|
],
|
|
9241
9262
|
"p": {
|
|
9242
|
-
"added":
|
|
9243
|
-
"removed":
|
|
9263
|
+
"added": 756,
|
|
9264
|
+
"removed": 757
|
|
9244
9265
|
}
|
|
9245
9266
|
},
|
|
9246
9267
|
{
|
|
@@ -9248,12 +9269,12 @@
|
|
|
9248
9269
|
"object"
|
|
9249
9270
|
],
|
|
9250
9271
|
"p": {
|
|
9251
|
-
"added":
|
|
9252
|
-
"arrayAdded":
|
|
9253
|
-
"expanded":
|
|
9254
|
-
"objectAdded":
|
|
9255
|
-
"reduced":
|
|
9256
|
-
"removed":
|
|
9272
|
+
"added": 756,
|
|
9273
|
+
"arrayAdded": 761,
|
|
9274
|
+
"expanded": 757,
|
|
9275
|
+
"objectAdded": 760,
|
|
9276
|
+
"reduced": 757,
|
|
9277
|
+
"removed": 757
|
|
9257
9278
|
}
|
|
9258
9279
|
},
|
|
9259
9280
|
{
|
|
@@ -9283,13 +9304,13 @@
|
|
|
9283
9304
|
"_integrationId": 0,
|
|
9284
9305
|
"_userId": 0,
|
|
9285
9306
|
"description": 0,
|
|
9286
|
-
"destination":
|
|
9307
|
+
"destination": 754,
|
|
9287
9308
|
"disabled": 8,
|
|
9288
|
-
"driftPolicy":
|
|
9309
|
+
"driftPolicy": 755,
|
|
9289
9310
|
"historicDateTime": 0,
|
|
9290
9311
|
"name": 0,
|
|
9291
9312
|
"schedule": 0,
|
|
9292
|
-
"source":
|
|
9313
|
+
"source": 753,
|
|
9293
9314
|
"timezone": 0
|
|
9294
9315
|
},
|
|
9295
9316
|
"r": [
|
|
@@ -9315,7 +9336,7 @@
|
|
|
9315
9336
|
"schema": 9,
|
|
9316
9337
|
"schemaMode": 34,
|
|
9317
9338
|
"traceKeyTemplate": 180,
|
|
9318
|
-
"transform":
|
|
9339
|
+
"transform": 764
|
|
9319
9340
|
}
|
|
9320
9341
|
},
|
|
9321
9342
|
{
|
|
@@ -9323,7 +9344,7 @@
|
|
|
9323
9344
|
"object"
|
|
9324
9345
|
],
|
|
9325
9346
|
"p": {
|
|
9326
|
-
"expression":
|
|
9347
|
+
"expression": 770,
|
|
9327
9348
|
"script": 104,
|
|
9328
9349
|
"type": 99
|
|
9329
9350
|
}
|
|
@@ -9332,14 +9353,14 @@
|
|
|
9332
9353
|
"t": [
|
|
9333
9354
|
"array"
|
|
9334
9355
|
],
|
|
9335
|
-
"i":
|
|
9356
|
+
"i": 766
|
|
9336
9357
|
},
|
|
9337
9358
|
{
|
|
9338
9359
|
"t": [
|
|
9339
9360
|
"object"
|
|
9340
9361
|
],
|
|
9341
9362
|
"p": {
|
|
9342
|
-
"buildArrayHelper":
|
|
9363
|
+
"buildArrayHelper": 768,
|
|
9343
9364
|
"conditional": 97,
|
|
9344
9365
|
"dataType": 87,
|
|
9345
9366
|
"default": 88,
|
|
@@ -9352,7 +9373,7 @@
|
|
|
9352
9373
|
"generateDateTimezone": 0,
|
|
9353
9374
|
"hardCodedValue": 88,
|
|
9354
9375
|
"lookupName": 0,
|
|
9355
|
-
"mappings":
|
|
9376
|
+
"mappings": 765,
|
|
9356
9377
|
"sourceDataType": 89,
|
|
9357
9378
|
"status": 95
|
|
9358
9379
|
},
|
|
@@ -9368,7 +9389,7 @@
|
|
|
9368
9389
|
"conditional": 92,
|
|
9369
9390
|
"default": 88,
|
|
9370
9391
|
"extract": 0,
|
|
9371
|
-
"mappings":
|
|
9392
|
+
"mappings": 765,
|
|
9372
9393
|
"name": 0,
|
|
9373
9394
|
"sourceDataType": 89
|
|
9374
9395
|
}
|
|
@@ -9377,7 +9398,7 @@
|
|
|
9377
9398
|
"t": [
|
|
9378
9399
|
"array"
|
|
9379
9400
|
],
|
|
9380
|
-
"i":
|
|
9401
|
+
"i": 767
|
|
9381
9402
|
},
|
|
9382
9403
|
{
|
|
9383
9404
|
"t": [
|
|
@@ -9386,7 +9407,7 @@
|
|
|
9386
9407
|
"p": {
|
|
9387
9408
|
"inputContext": 98,
|
|
9388
9409
|
"lookups": 114,
|
|
9389
|
-
"mappings":
|
|
9410
|
+
"mappings": 765,
|
|
9390
9411
|
"mode": 110
|
|
9391
9412
|
}
|
|
9392
9413
|
},
|
|
@@ -9396,7 +9417,7 @@
|
|
|
9396
9417
|
],
|
|
9397
9418
|
"p": {
|
|
9398
9419
|
"rules": 109,
|
|
9399
|
-
"rulesTwoDotZero":
|
|
9420
|
+
"rulesTwoDotZero": 769,
|
|
9400
9421
|
"version": 106
|
|
9401
9422
|
}
|
|
9402
9423
|
},
|
|
@@ -9408,8 +9429,8 @@
|
|
|
9408
9429
|
"debugUntil": 0,
|
|
9409
9430
|
"description": 0,
|
|
9410
9431
|
"hooks": 205,
|
|
9411
|
-
"lookups":
|
|
9412
|
-
"mappings":
|
|
9432
|
+
"lookups": 773,
|
|
9433
|
+
"mappings": 765,
|
|
9413
9434
|
"mockInput": 9,
|
|
9414
9435
|
"name": 0,
|
|
9415
9436
|
"schema": 9,
|
|
@@ -9431,14 +9452,14 @@
|
|
|
9431
9452
|
"t": [
|
|
9432
9453
|
"array"
|
|
9433
9454
|
],
|
|
9434
|
-
"i":
|
|
9455
|
+
"i": 772
|
|
9435
9456
|
},
|
|
9436
9457
|
{
|
|
9437
9458
|
"t": [
|
|
9438
9459
|
"object"
|
|
9439
9460
|
],
|
|
9440
9461
|
"p": {
|
|
9441
|
-
"branches":
|
|
9462
|
+
"branches": 776,
|
|
9442
9463
|
"id": 0,
|
|
9443
9464
|
"name": 0,
|
|
9444
9465
|
"routeRecordsTo": 173,
|
|
@@ -9463,13 +9484,13 @@
|
|
|
9463
9484
|
"t": [
|
|
9464
9485
|
"array"
|
|
9465
9486
|
],
|
|
9466
|
-
"i":
|
|
9487
|
+
"i": 775
|
|
9467
9488
|
},
|
|
9468
9489
|
{
|
|
9469
9490
|
"t": [
|
|
9470
9491
|
"array"
|
|
9471
9492
|
],
|
|
9472
|
-
"i":
|
|
9493
|
+
"i": 774
|
|
9473
9494
|
},
|
|
9474
9495
|
{
|
|
9475
9496
|
"t": [
|
|
@@ -9485,11 +9506,11 @@
|
|
|
9485
9506
|
"description": 0,
|
|
9486
9507
|
"draft": 8,
|
|
9487
9508
|
"draftExpiresAt": 0,
|
|
9488
|
-
"input":
|
|
9509
|
+
"input": 763,
|
|
9489
9510
|
"lastModified": 0,
|
|
9490
9511
|
"name": 0,
|
|
9491
|
-
"output":
|
|
9492
|
-
"routers":
|
|
9512
|
+
"output": 771,
|
|
9513
|
+
"routers": 777
|
|
9493
9514
|
},
|
|
9494
9515
|
"r": [
|
|
9495
9516
|
"_id",
|