@celigo/api-specs 0.2.139 → 0.2.140
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/api.yml +290 -33
- package/dist/import.yml +1 -1
- package/dist/mcp-server.yml +47 -24
- package/dist/tool.yml +17 -4
- package/package.json +1 -1
- package/schemas.json +906 -841
package/dist/api.yml
CHANGED
|
@@ -45,7 +45,7 @@ tags:
|
|
|
45
45
|
- **Builder** — visual configuration with request/response mapping, routing, and transformations
|
|
46
46
|
- **Script** — custom JavaScript handler function for full control
|
|
47
47
|
|
|
48
|
-
Each API gets a public URL: `https://api.integrator.io/apis/{version}
|
|
48
|
+
Each API gets a public URL: `https://api.integrator.io/apis/{version}{relativeURI}`
|
|
49
49
|
|
|
50
50
|
## API schema
|
|
51
51
|
|
|
@@ -616,7 +616,9 @@ paths:
|
|
|
616
616
|
Useful for bootstrapping `bodySchema` in builder-mode APIs from real payload samples.
|
|
617
617
|
Input must be a non-empty JSON object -- arrays and primitives are rejected.
|
|
618
618
|
The generated schema is shallow (one level of `properties`); nested objects become
|
|
619
|
-
`type: "object"` without further property inference.
|
|
619
|
+
`type: "object"` without further property inference. Fill in or remove those nodes
|
|
620
|
+
before saving the result as a `bodySchema`: the API Builder editor can't render an
|
|
621
|
+
object node that has no properties.
|
|
620
622
|
requestBody:
|
|
621
623
|
required: true
|
|
622
624
|
content:
|
|
@@ -1686,6 +1688,10 @@ paths:
|
|
|
1686
1688
|
|
|
1687
1689
|
Test-run invocations do **not** surface in `GET /v1/apis/{_id}/logs`.
|
|
1688
1690
|
|
|
1691
|
+
A test run is not free of outside calls: lookups call their sources live. Imports never
|
|
1692
|
+
send; each returns its saved `mockResponse`, or a placeholder response when none is saved
|
|
1693
|
+
(see `mockResponse` on imports).
|
|
1694
|
+
|
|
1689
1695
|
Test runs never paginate, whatever `pagination.enabled` says: the captured success
|
|
1690
1696
|
response carries no `pagination` object, and a `Celigo-Next-Cursor` entry in
|
|
1691
1697
|
`mockRequest.headers` is not validated — a malformed value does not fail the run.
|
|
@@ -1707,19 +1713,24 @@ paths:
|
|
|
1707
1713
|
schema:
|
|
1708
1714
|
type: object
|
|
1709
1715
|
description: |-
|
|
1710
|
-
Optional test request for the run.
|
|
1711
|
-
|
|
1712
|
-
`
|
|
1716
|
+
Optional test request for the run. The saved
|
|
1717
|
+
`builder.request.mockRequest` is never replayed: when the body is
|
|
1718
|
+
empty, omitted, or has no `mockRequest`, the first step receives
|
|
1719
|
+
an empty record.
|
|
1713
1720
|
properties:
|
|
1714
1721
|
mockRequest:
|
|
1715
1722
|
type: object
|
|
1716
1723
|
description: |-
|
|
1717
|
-
The simulated request
|
|
1718
|
-
`builder.request.mockRequest
|
|
1724
|
+
The simulated request for this run. Send the saved
|
|
1725
|
+
`builder.request.mockRequest` here to test with it.
|
|
1719
1726
|
properties:
|
|
1720
1727
|
body:
|
|
1721
1728
|
type: object
|
|
1722
|
-
description:
|
|
1729
|
+
description: |-
|
|
1730
|
+
Request body for the simulated call. Only the body reaches
|
|
1731
|
+
the record the steps see. Must be a JSON object: an array
|
|
1732
|
+
is refused with 400 "Mock request body should be a plain
|
|
1733
|
+
object."
|
|
1723
1734
|
pathParams:
|
|
1724
1735
|
type: object
|
|
1725
1736
|
description: Path parameter values for the simulated call.
|
|
@@ -1731,10 +1742,10 @@ paths:
|
|
|
1731
1742
|
description: Request headers for the simulated call.
|
|
1732
1743
|
additionalProperties: true
|
|
1733
1744
|
x-celigo-ai-guidance:
|
|
1734
|
-
- Send
|
|
1745
|
+
- Send test input under the mockRequest key ({body, pathParams, queryParams, headers}). A run without mockRequest starts from an empty record; the saved builder.request.mockRequest is not replayed, so send it explicitly to test with it.
|
|
1735
1746
|
examples:
|
|
1736
1747
|
default:
|
|
1737
|
-
summary: Run
|
|
1748
|
+
summary: Run without test input (the first step gets an empty record)
|
|
1738
1749
|
value: {}
|
|
1739
1750
|
withMockRequest:
|
|
1740
1751
|
summary: Run with an explicit test request
|
|
@@ -2559,6 +2570,59 @@ components:
|
|
|
2559
2570
|
- |-
|
|
2560
2571
|
In script mode, you provide a custom JavaScript function that receives the request
|
|
2561
2572
|
object and returns the response. This gives you complete control over the API behavior.
|
|
2573
|
+
items:
|
|
2574
|
+
type: object
|
|
2575
|
+
required:
|
|
2576
|
+
- dataType
|
|
2577
|
+
properties:
|
|
2578
|
+
generate:
|
|
2579
|
+
type: string
|
|
2580
|
+
description: Record field the row writes.
|
|
2581
|
+
examples:
|
|
2582
|
+
- customerId
|
|
2583
|
+
extract:
|
|
2584
|
+
type: string
|
|
2585
|
+
description: JSONPath into the request body that the value is read from.
|
|
2586
|
+
examples:
|
|
2587
|
+
- $.id
|
|
2588
|
+
dataType:
|
|
2589
|
+
type: string
|
|
2590
|
+
enum:
|
|
2591
|
+
- string
|
|
2592
|
+
- number
|
|
2593
|
+
- boolean
|
|
2594
|
+
- object
|
|
2595
|
+
- stringarray
|
|
2596
|
+
- numberarray
|
|
2597
|
+
- booleanarray
|
|
2598
|
+
- objectarray
|
|
2599
|
+
x-enumDescriptions:
|
|
2600
|
+
string: Single string value
|
|
2601
|
+
number: Single numeric value
|
|
2602
|
+
boolean: Single boolean value
|
|
2603
|
+
object: Nested object value
|
|
2604
|
+
stringarray: Array of strings
|
|
2605
|
+
numberarray: Array of numbers
|
|
2606
|
+
booleanarray: Array of booleans
|
|
2607
|
+
objectarray: Array of objects
|
|
2608
|
+
description: Data type the row writes.
|
|
2609
|
+
examples:
|
|
2610
|
+
- string
|
|
2611
|
+
sourceDataType:
|
|
2612
|
+
type: string
|
|
2613
|
+
description: Data type of the extracted value.
|
|
2614
|
+
examples:
|
|
2615
|
+
- string
|
|
2616
|
+
status:
|
|
2617
|
+
type: string
|
|
2618
|
+
description: Row status; `Active` rows run.
|
|
2619
|
+
examples:
|
|
2620
|
+
- Active
|
|
2621
|
+
mappings:
|
|
2622
|
+
type: array
|
|
2623
|
+
description: Child rows of an `object` row, with the same shape as this row.
|
|
2624
|
+
items:
|
|
2625
|
+
$ref: '#/components/schemas/items'
|
|
2562
2626
|
ApiRequest:
|
|
2563
2627
|
type: object
|
|
2564
2628
|
description: Request configuration for a builder-mode API endpoint.
|
|
@@ -2581,15 +2645,20 @@ components:
|
|
|
2581
2645
|
maxLength: 131072
|
|
2582
2646
|
pattern: ^\/[a-zA-Z0-9:_*\/\-\.]*$
|
|
2583
2647
|
description: |-
|
|
2584
|
-
URI path relative to the version.
|
|
2585
|
-
|
|
2648
|
+
URI path relative to the version. Callers reach the API at
|
|
2649
|
+
`https://api.integrator.io/apis/{version}{relativeURI}` (on the account's regional
|
|
2650
|
+
host outside the US), with the account's API token. Use colon notation for path
|
|
2651
|
+
params: `/customers/:id`.
|
|
2586
2652
|
examples:
|
|
2587
2653
|
- /customers/:id
|
|
2588
2654
|
- /orders
|
|
2589
2655
|
- /products/:productId/variants/:variantId
|
|
2590
2656
|
x-celigo-ai-guidance:
|
|
2591
2657
|
- |-
|
|
2592
|
-
|
|
2658
|
+
The public endpoint is `https://api.integrator.io/apis/{version}{relativeURI}`, for
|
|
2659
|
+
example `/apis/v1/customers/:id`; `relativeURI` already starts with `/`, so add no
|
|
2660
|
+
slash after the version. Without the `/apis` prefix the request goes to the
|
|
2661
|
+
platform's own API and answers `resource_not_found`.
|
|
2593
2662
|
Can include path parameters using colon notation: `/customers/:id`
|
|
2594
2663
|
First path segment must be alphanumeric, dash, or underscore only.
|
|
2595
2664
|
method:
|
|
@@ -2722,7 +2791,10 @@ components:
|
|
|
2722
2791
|
the empty map never survives the round-trip.
|
|
2723
2792
|
mockRequest:
|
|
2724
2793
|
type: object
|
|
2725
|
-
description:
|
|
2794
|
+
description: |-
|
|
2795
|
+
Sample request saved with the API for testing. `POST /v1/apis/{_id}/test/run` doesn't
|
|
2796
|
+
read it; send it as that call's `mockRequest`. A test run still makes outside calls:
|
|
2797
|
+
its lookups call their sources live.
|
|
2726
2798
|
properties:
|
|
2727
2799
|
body:
|
|
2728
2800
|
type: object
|
|
@@ -2739,12 +2811,104 @@ components:
|
|
|
2739
2811
|
additionalProperties: false
|
|
2740
2812
|
x-celigo-ai-guidance:
|
|
2741
2813
|
- |-
|
|
2742
|
-
|
|
2743
|
-
|
|
2814
|
+
Saving a mockRequest doesn't make test runs use it: a test run without its own
|
|
2815
|
+
mockRequest starts from an empty record. A test run isn't free of outside calls
|
|
2816
|
+
either: lookups run live, and only imports are kept from sending (each returns its
|
|
2817
|
+
mockResponse or a placeholder). Can include body, headers, pathParams, and
|
|
2818
|
+
queryParams.
|
|
2744
2819
|
transform:
|
|
2745
2820
|
type: object
|
|
2746
|
-
description:
|
|
2821
|
+
description: |-
|
|
2822
|
+
Optional transformation applied to the incoming request before processing. The
|
|
2823
|
+
expression form (`type: "expression"` with Transformation 2.0 rules in `expression`)
|
|
2824
|
+
saves and runs. In a test run its rules see only the request body, not `pathParams`,
|
|
2825
|
+
`queryParams` or headers.
|
|
2747
2826
|
properties:
|
|
2827
|
+
type:
|
|
2828
|
+
type: string
|
|
2829
|
+
description: Selects the transform form; `expression` runs the rules in `expression`.
|
|
2830
|
+
examples:
|
|
2831
|
+
- expression
|
|
2832
|
+
expression:
|
|
2833
|
+
type: object
|
|
2834
|
+
description: Transformation 2.0 rules applied to the request body.
|
|
2835
|
+
properties:
|
|
2836
|
+
version:
|
|
2837
|
+
type: string
|
|
2838
|
+
description: Rule format; `"2"` selects the rules in `rulesTwoDotZero`.
|
|
2839
|
+
examples:
|
|
2840
|
+
- '2'
|
|
2841
|
+
rulesTwoDotZero:
|
|
2842
|
+
type: object
|
|
2843
|
+
description: The rules applied to the request body.
|
|
2844
|
+
properties:
|
|
2845
|
+
mode:
|
|
2846
|
+
type: string
|
|
2847
|
+
enum:
|
|
2848
|
+
- create
|
|
2849
|
+
- modify
|
|
2850
|
+
x-enumDescriptions:
|
|
2851
|
+
create: Builds a new record from the mappings, dropping unmapped fields.
|
|
2852
|
+
modify: Edits the incoming record, keeping unmapped fields.
|
|
2853
|
+
description: How the mappings apply to the record; `modify` keeps the body's own fields beside the mapped ones.
|
|
2854
|
+
examples:
|
|
2855
|
+
- modify
|
|
2856
|
+
mappings:
|
|
2857
|
+
type: array
|
|
2858
|
+
description: Mapper 2.0 rows that write fields onto the record.
|
|
2859
|
+
items:
|
|
2860
|
+
type: object
|
|
2861
|
+
required:
|
|
2862
|
+
- dataType
|
|
2863
|
+
properties:
|
|
2864
|
+
generate:
|
|
2865
|
+
type: string
|
|
2866
|
+
description: Record field the row writes.
|
|
2867
|
+
examples:
|
|
2868
|
+
- customerId
|
|
2869
|
+
extract:
|
|
2870
|
+
type: string
|
|
2871
|
+
description: JSONPath into the request body that the value is read from.
|
|
2872
|
+
examples:
|
|
2873
|
+
- $.id
|
|
2874
|
+
dataType:
|
|
2875
|
+
type: string
|
|
2876
|
+
enum:
|
|
2877
|
+
- string
|
|
2878
|
+
- number
|
|
2879
|
+
- boolean
|
|
2880
|
+
- object
|
|
2881
|
+
- stringarray
|
|
2882
|
+
- numberarray
|
|
2883
|
+
- booleanarray
|
|
2884
|
+
- objectarray
|
|
2885
|
+
x-enumDescriptions:
|
|
2886
|
+
string: Single string value
|
|
2887
|
+
number: Single numeric value
|
|
2888
|
+
boolean: Single boolean value
|
|
2889
|
+
object: Nested object value
|
|
2890
|
+
stringarray: Array of strings
|
|
2891
|
+
numberarray: Array of numbers
|
|
2892
|
+
booleanarray: Array of booleans
|
|
2893
|
+
objectarray: Array of objects
|
|
2894
|
+
description: Data type the row writes.
|
|
2895
|
+
examples:
|
|
2896
|
+
- string
|
|
2897
|
+
sourceDataType:
|
|
2898
|
+
type: string
|
|
2899
|
+
description: Data type of the extracted value.
|
|
2900
|
+
examples:
|
|
2901
|
+
- string
|
|
2902
|
+
status:
|
|
2903
|
+
type: string
|
|
2904
|
+
description: Row status; `Active` rows run.
|
|
2905
|
+
examples:
|
|
2906
|
+
- Active
|
|
2907
|
+
mappings:
|
|
2908
|
+
type: array
|
|
2909
|
+
description: Child rows of an `object` row, with the same shape as this row.
|
|
2910
|
+
items:
|
|
2911
|
+
$ref: '#/components/schemas/items'
|
|
2748
2912
|
_scriptId:
|
|
2749
2913
|
type: string
|
|
2750
2914
|
format: objectId
|
|
@@ -2926,6 +3090,13 @@ components:
|
|
|
2926
3090
|
hooks:
|
|
2927
3091
|
type: object
|
|
2928
3092
|
description: Custom scripts for processing
|
|
3093
|
+
proceedOnFailure:
|
|
3094
|
+
type: boolean
|
|
3095
|
+
description: |-
|
|
3096
|
+
When true, the next step still runs after this step fails, and the request
|
|
3097
|
+
can still end in the `success` response (`context.success` stays true).
|
|
3098
|
+
When false, a failure stops the branch and the API returns its `fail`
|
|
3099
|
+
response.
|
|
2929
3100
|
x-celigo-ai-guidance:
|
|
2930
3101
|
- |-
|
|
2931
3102
|
Each branch has its own criteria and processing steps. Requests are
|
|
@@ -2992,6 +3163,75 @@ components:
|
|
|
2992
3163
|
The response router determines which response configuration to use based on
|
|
2993
3164
|
the processing results. This allows you to return different responses based
|
|
2994
3165
|
on different conditions or outcomes.
|
|
3166
|
+
items-2:
|
|
3167
|
+
type: object
|
|
3168
|
+
required:
|
|
3169
|
+
- dataType
|
|
3170
|
+
properties:
|
|
3171
|
+
generate:
|
|
3172
|
+
type: string
|
|
3173
|
+
description: |-
|
|
3174
|
+
Name of the response-body field this row writes. A dot doesn't nest:
|
|
3175
|
+
`customer.id` makes one key named `customer.id`. To nest, use an `object` row
|
|
3176
|
+
with child `mappings`.
|
|
3177
|
+
examples:
|
|
3178
|
+
- customerId
|
|
3179
|
+
dataType:
|
|
3180
|
+
type: string
|
|
3181
|
+
enum:
|
|
3182
|
+
- string
|
|
3183
|
+
- number
|
|
3184
|
+
- boolean
|
|
3185
|
+
- object
|
|
3186
|
+
- stringarray
|
|
3187
|
+
- numberarray
|
|
3188
|
+
- booleanarray
|
|
3189
|
+
- objectarray
|
|
3190
|
+
x-lowercase: true
|
|
3191
|
+
x-enumDescriptions:
|
|
3192
|
+
string: Single string value
|
|
3193
|
+
number: Single numeric value
|
|
3194
|
+
boolean: Single boolean value
|
|
3195
|
+
object: Nested object value
|
|
3196
|
+
stringarray: Array of strings
|
|
3197
|
+
numberarray: Array of numbers
|
|
3198
|
+
booleanarray: Array of booleans
|
|
3199
|
+
objectarray: Array of objects
|
|
3200
|
+
description: Data type of the value this mapping writes into the response body.
|
|
3201
|
+
examples:
|
|
3202
|
+
- string
|
|
3203
|
+
x-celigo-ai-guidance:
|
|
3204
|
+
- |-
|
|
3205
|
+
Validator-enforced on every mapping entry: writes fail with
|
|
3206
|
+
`422` ("Path 'dataType' is required."), repeated once per
|
|
3207
|
+
entry that omits it.
|
|
3208
|
+
extract:
|
|
3209
|
+
type: string
|
|
3210
|
+
description: |-
|
|
3211
|
+
Where the value comes from, as a JSONPath into the record (`$.id`). A bare string
|
|
3212
|
+
such as `id` or `record.id` is written as that literal text, not read from the
|
|
3213
|
+
record.
|
|
3214
|
+
examples:
|
|
3215
|
+
- $.id
|
|
3216
|
+
mappings:
|
|
3217
|
+
type: array
|
|
3218
|
+
description: |-
|
|
3219
|
+
Child rows of an `object` row, with the same shape as this row. Each writes one
|
|
3220
|
+
field inside the object this row generates.
|
|
3221
|
+
items:
|
|
3222
|
+
$ref: '#/components/schemas/items-2'
|
|
3223
|
+
hardCodedValue:
|
|
3224
|
+
type: string
|
|
3225
|
+
description: |-
|
|
3226
|
+
Static value written to the target field instead of extracting
|
|
3227
|
+
from input data.
|
|
3228
|
+
x-celigo-ai-guidance:
|
|
3229
|
+
- |-
|
|
3230
|
+
The field name is exactly `hardCodedValue` (capital C). The
|
|
3231
|
+
server does not reject unknown mapping keys: a mapping sent
|
|
3232
|
+
with `hardcodedValue` saves successfully with the value
|
|
3233
|
+
silently dropped — no error, and the target field is then
|
|
3234
|
+
simply absent from the API's responses.
|
|
2995
3235
|
ApiResponse:
|
|
2996
3236
|
type: object
|
|
2997
3237
|
description: |-
|
|
@@ -3173,7 +3413,9 @@ components:
|
|
|
3173
3413
|
additionalProperties: true
|
|
3174
3414
|
mappings:
|
|
3175
3415
|
type: array
|
|
3176
|
-
description:
|
|
3416
|
+
description: |-
|
|
3417
|
+
Mapper 2.0 rows that build the response body from the record the steps produced,
|
|
3418
|
+
under the same rules as the shared Mapper 2.0 schema an import's `mappings` use.
|
|
3177
3419
|
items:
|
|
3178
3420
|
type: object
|
|
3179
3421
|
required:
|
|
@@ -3181,9 +3423,12 @@ components:
|
|
|
3181
3423
|
properties:
|
|
3182
3424
|
generate:
|
|
3183
3425
|
type: string
|
|
3184
|
-
description:
|
|
3426
|
+
description: |-
|
|
3427
|
+
Name of the response-body field this row writes. A dot doesn't nest:
|
|
3428
|
+
`customer.id` makes one key named `customer.id`. To nest, use an `object` row
|
|
3429
|
+
with child `mappings`.
|
|
3185
3430
|
examples:
|
|
3186
|
-
-
|
|
3431
|
+
- customerId
|
|
3187
3432
|
dataType:
|
|
3188
3433
|
type: string
|
|
3189
3434
|
enum:
|
|
@@ -3195,7 +3440,6 @@ components:
|
|
|
3195
3440
|
- numberarray
|
|
3196
3441
|
- booleanarray
|
|
3197
3442
|
- objectarray
|
|
3198
|
-
- arrayarray
|
|
3199
3443
|
x-lowercase: true
|
|
3200
3444
|
x-enumDescriptions:
|
|
3201
3445
|
string: Single string value
|
|
@@ -3206,7 +3450,6 @@ components:
|
|
|
3206
3450
|
numberarray: Array of numbers
|
|
3207
3451
|
booleanarray: Array of booleans
|
|
3208
3452
|
objectarray: Array of objects
|
|
3209
|
-
arrayarray: Array of arrays
|
|
3210
3453
|
description: Data type of the value this mapping writes into the response body.
|
|
3211
3454
|
examples:
|
|
3212
3455
|
- string
|
|
@@ -3217,9 +3460,19 @@ components:
|
|
|
3217
3460
|
entry that omits it.
|
|
3218
3461
|
extract:
|
|
3219
3462
|
type: string
|
|
3220
|
-
description:
|
|
3463
|
+
description: |-
|
|
3464
|
+
Where the value comes from, as a JSONPath into the record (`$.id`). A bare string
|
|
3465
|
+
such as `id` or `record.id` is written as that literal text, not read from the
|
|
3466
|
+
record.
|
|
3221
3467
|
examples:
|
|
3222
|
-
-
|
|
3468
|
+
- $.id
|
|
3469
|
+
mappings:
|
|
3470
|
+
type: array
|
|
3471
|
+
description: |-
|
|
3472
|
+
Child rows of an `object` row, with the same shape as this row. Each writes one
|
|
3473
|
+
field inside the object this row generates.
|
|
3474
|
+
items:
|
|
3475
|
+
$ref: '#/components/schemas/items-2'
|
|
3223
3476
|
hardCodedValue:
|
|
3224
3477
|
type: string
|
|
3225
3478
|
description: |-
|
|
@@ -3435,7 +3688,7 @@ components:
|
|
|
3435
3688
|
type: string
|
|
3436
3689
|
default: v1
|
|
3437
3690
|
pattern: ^[a-zA-Z0-9\-_\.]+$
|
|
3438
|
-
description: Version segment of the public URL (`/{version}
|
|
3691
|
+
description: Version segment of the public URL (`/apis/{version}{relativeURI}`).
|
|
3439
3692
|
examples:
|
|
3440
3693
|
- v1
|
|
3441
3694
|
- v2
|
|
@@ -3483,16 +3736,17 @@ components:
|
|
|
3483
3736
|
- accountLevel
|
|
3484
3737
|
- noLogging
|
|
3485
3738
|
x-enumDescriptions:
|
|
3486
|
-
basic: Log request metadata
|
|
3739
|
+
basic: Log request metadata and the trace view's step list, with the least per-record payload.
|
|
3487
3740
|
standard: Log request metadata plus headers and summary step information.
|
|
3488
3741
|
detailed: Full capture including per-step trace logs, viewable in the run-history trace view.
|
|
3489
3742
|
accountLevel: Defer to the account's logging settings.
|
|
3490
3743
|
noLogging: Disable request logging entirely — no run-history entries are produced.
|
|
3491
3744
|
description: |-
|
|
3492
|
-
Which logging level applies to requests handled by this API.
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3745
|
+
Which logging level applies to requests handled by this API. Every
|
|
3746
|
+
mode that logs records the step list that
|
|
3747
|
+
`GET /v1/apis/{_id}/requests/{executionId}` returns, `basic` included;
|
|
3748
|
+
the level decides how much per-record payload the log-data query can
|
|
3749
|
+
return. Payload-capturing modes (`standard`, `detailed`) require payload
|
|
3496
3750
|
storage to be enabled for the account — without it, changing the
|
|
3497
3751
|
mode fails with `422` (code `payload_storage_required`).
|
|
3498
3752
|
debugUntil:
|
|
@@ -3835,7 +4089,7 @@ components:
|
|
|
3835
4089
|
`/v1/exports/{_exportId}/invoke`, `/v1/imports/{_importId}/invoke`,
|
|
3836
4090
|
`/v1/connections/{_connectionId}/import` for virtual imports,
|
|
3837
4091
|
`/v1/apis/{_apiId}/request` for script-mode APIs, and
|
|
3838
|
-
`/apis/
|
|
4092
|
+
`/apis/{version}{relativeURI}` (such as `/apis/v1/orders`) for builder-mode APIs.
|
|
3839
4093
|
examples:
|
|
3840
4094
|
- /v1/exports/6878f4a43bc01652c09cdccc/invoke
|
|
3841
4095
|
metadata:
|
|
@@ -4278,7 +4532,7 @@ components:
|
|
|
4278
4532
|
description: |-
|
|
4279
4533
|
Identifier of this request execution (20-character lowercase hex).
|
|
4280
4534
|
Pass it to `GET /v1/apis/{_id}/requests/{executionId}` to open the
|
|
4281
|
-
trace view
|
|
4535
|
+
trace view, which every `logMode` records.
|
|
4282
4536
|
examples:
|
|
4283
4537
|
- a1b2c3d4e5f678901234
|
|
4284
4538
|
time:
|
|
@@ -4384,7 +4638,10 @@ components:
|
|
|
4384
4638
|
Identifies what ran: the API's own id for the request-parsing step, the
|
|
4385
4639
|
export or import id for a lookup or import step, the response `id`
|
|
4386
4640
|
(for example `success`) for the response step, or `<toolId>_input` /
|
|
4387
|
-
`<toolId>_output` for the boundaries of a nested Tool step.
|
|
4641
|
+
`<toolId>_output` for the boundaries of a nested Tool step. A response
|
|
4642
|
+
step whose `id` was named by the user can't be read through the
|
|
4643
|
+
log-data query, which rejects that id with 400 `invalid_exp_or_imp_id`
|
|
4644
|
+
at every stage; read the step's outcome from this trace.
|
|
4388
4645
|
examples:
|
|
4389
4646
|
- 67ee026136f4d1eeb529ad63
|
|
4390
4647
|
- success
|
package/dist/import.yml
CHANGED
|
@@ -8496,7 +8496,7 @@ components:
|
|
|
8496
8496
|
without the array); a mapping reshapes the message instead.
|
|
8497
8497
|
- |-
|
|
8498
8498
|
Publishing is not limited to flows. Verified surfaces: a flow step; an API step (the API
|
|
8499
|
-
invoked at `POST /apis/{version}
|
|
8499
|
+
invoked at `POST /apis/{version}{relativeURI}`); a Tool reached through a `ToolImport`
|
|
8500
8500
|
step in a flow; and `POST /v1/imports/{_id}/invoke` with `{"data": [record, ...]}`. A flow
|
|
8501
8501
|
or API test run (`/test/run`) publishes nothing — import steps are mocked there.
|
|
8502
8502
|
properties:
|
package/dist/mcp-server.yml
CHANGED
|
@@ -15,7 +15,7 @@ info:
|
|
|
15
15
|
- Contains a collection of **tools** (referencing Tool resources), **APIs** (referencing builder-mode API resources), **prompts** (inline reusable templates), and **resources** (Celigo Storage files served to clients)
|
|
16
16
|
- Can be enabled or disabled at both the server level and individual tool/API level
|
|
17
17
|
- Supports MCP annotations on tools for hinting behavior (read-only, idempotent, destructive, etc.)
|
|
18
|
-
-
|
|
18
|
+
- Binds the connections each tool's steps run on, per server (`tools[].overrides`); calls fail with "Missing connection overrides" until every lookup step's connection is bound
|
|
19
19
|
- Exposes prompts via `prompts/list` and `prompts/get` with Handlebars-style argument substitution
|
|
20
20
|
- Carries **permission sets** ("Capability Sets" in the UI) — named bundles of its tools, APIs, prompts, and resources granted to end users via `pset:<_id>` capability strings on end-user, group, and role resource grants
|
|
21
21
|
- Carries optional **traffic limits** (`policies[]`) — a server-level rate limit, a per-user rate limit for OAuth end users, and a usage quota — enforced before a tool runs; a rejected call gets HTTP 429 with `Retry-After`
|
|
@@ -176,7 +176,7 @@ paths:
|
|
|
176
176
|
name: Customer Integration MCP
|
|
177
177
|
relativeURI: /customers
|
|
178
178
|
with_tool:
|
|
179
|
-
summary: With a tool and Celigo OAuth
|
|
179
|
+
summary: With a tool (its lookup step bound) and Celigo OAuth
|
|
180
180
|
value:
|
|
181
181
|
name: Customer Integration MCP
|
|
182
182
|
relativeURI: /customers
|
|
@@ -188,6 +188,10 @@ paths:
|
|
|
188
188
|
disabled: false
|
|
189
189
|
annotations:
|
|
190
190
|
readOnlyHint: true
|
|
191
|
+
overrides:
|
|
192
|
+
exports:
|
|
193
|
+
- _abstractId: 69d462d5b9c28ea0b7f82530
|
|
194
|
+
_id: 69d462d5b9c28ea0b7f82530
|
|
191
195
|
oauth:
|
|
192
196
|
useCeligoOauth: true
|
|
193
197
|
responses:
|
|
@@ -1564,12 +1568,27 @@ components:
|
|
|
1564
1568
|
Overrides:
|
|
1565
1569
|
type: object
|
|
1566
1570
|
description: |
|
|
1567
|
-
Per-server
|
|
1571
|
+
Per-server bindings for a tool's steps, applied on this server without changing the
|
|
1572
|
+
Tool itself.
|
|
1568
1573
|
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1574
|
+
Each lookup (export) step's connection must be bound here, or each `tools/call` fails
|
|
1575
|
+
with "Missing connection overrides. The following connection IDs must be overridden: …".
|
|
1576
|
+
The export and router fields described below as not applied are stored but don't change
|
|
1577
|
+
a call.
|
|
1578
|
+
x-celigo-ai-guidance:
|
|
1579
|
+
- |-
|
|
1580
|
+
Bind each lookup step with an `exports[]` entry whose `_abstractId` and `_id` are both
|
|
1581
|
+
the step's export id; add `_connectionId` to run that step on another connection. An
|
|
1582
|
+
entry with `_connectionId` but no `_id` returns a 404, and binding only some of the
|
|
1583
|
+
Tool's steps still fails the call with "Missing connection overrides".
|
|
1584
|
+
- |-
|
|
1585
|
+
A `connections[]` pair binds only when `_id` names a different connection than
|
|
1586
|
+
`_abstractId`; it then re-maps the steps that use that connection. An identity pair
|
|
1587
|
+
(`_abstractId` equal to `_id`) on a connection that doesn't require end-user
|
|
1588
|
+
credentials leaves the steps unbound. When a step has both, its `exports[]` entry wins.
|
|
1589
|
+
- |-
|
|
1590
|
+
`connections[]` ids aren't validated on save, and the server caches its configuration,
|
|
1591
|
+
so a saved change can take tens of seconds to reach `tools/call`.
|
|
1573
1592
|
properties:
|
|
1574
1593
|
connections:
|
|
1575
1594
|
type: array
|
|
@@ -1619,9 +1638,9 @@ components:
|
|
|
1619
1638
|
exports:
|
|
1620
1639
|
type: array
|
|
1621
1640
|
description: |
|
|
1622
|
-
Export (lookup)
|
|
1623
|
-
|
|
1624
|
-
|
|
1641
|
+
Export (lookup) step bindings. The binding (`_abstractId`, `_id`, and optionally
|
|
1642
|
+
`_connectionId`) is applied to calls; the settings marked below as not applied are
|
|
1643
|
+
stored but ignored.
|
|
1625
1644
|
items:
|
|
1626
1645
|
type: object
|
|
1627
1646
|
properties:
|
|
@@ -1666,25 +1685,27 @@ components:
|
|
|
1666
1685
|
simple: Basic export that fetches all matching records on each run.
|
|
1667
1686
|
blob: Binary large object export for file-based data.
|
|
1668
1687
|
all: Export that retrieves all records without filtering.
|
|
1669
|
-
description:
|
|
1688
|
+
description: Export type override. Not applied on an MCP server; stored, but calls ignore it.
|
|
1670
1689
|
pageSize:
|
|
1671
1690
|
type: number
|
|
1672
|
-
description:
|
|
1691
|
+
description: Page size override. Not applied on an MCP server; stored, but calls ignore it.
|
|
1673
1692
|
examples:
|
|
1674
1693
|
- 100
|
|
1675
1694
|
skipRetries:
|
|
1676
1695
|
type: boolean
|
|
1677
|
-
description:
|
|
1678
|
-
|
|
1679
|
-
|
|
1696
|
+
description: |-
|
|
1697
|
+
When true, skips retries on failure. Not applied on an MCP server; stored, but
|
|
1698
|
+
calls ignore it.
|
|
1680
1699
|
proceedOnFailure:
|
|
1681
1700
|
type: boolean
|
|
1682
|
-
description:
|
|
1683
|
-
|
|
1684
|
-
|
|
1701
|
+
description: |-
|
|
1702
|
+
When true, continues processing subsequent records after a failure. Not applied
|
|
1703
|
+
on an MCP server; stored, but calls ignore it.
|
|
1685
1704
|
responseMapping:
|
|
1686
1705
|
type: object
|
|
1687
|
-
description:
|
|
1706
|
+
description: |-
|
|
1707
|
+
Response field mappings override. Not applied on an MCP server; stored, but calls
|
|
1708
|
+
ignore it.
|
|
1688
1709
|
properties:
|
|
1689
1710
|
fields:
|
|
1690
1711
|
type: array
|
|
@@ -1847,8 +1868,8 @@ components:
|
|
|
1847
1868
|
routers:
|
|
1848
1869
|
type: array
|
|
1849
1870
|
description: |
|
|
1850
|
-
Router overrides.
|
|
1851
|
-
|
|
1871
|
+
Router overrides. On an MCP server `name`, `routeRecordsTo` and branch
|
|
1872
|
+
`inputFilter` are stored but not applied to calls.
|
|
1852
1873
|
items:
|
|
1853
1874
|
type: object
|
|
1854
1875
|
properties:
|
|
@@ -1859,7 +1880,7 @@ components:
|
|
|
1859
1880
|
- router_001
|
|
1860
1881
|
name:
|
|
1861
1882
|
type: string
|
|
1862
|
-
description:
|
|
1883
|
+
description: Router name override. Not applied on an MCP server; stored, but calls ignore it.
|
|
1863
1884
|
examples:
|
|
1864
1885
|
- route_by_region
|
|
1865
1886
|
routeRecordsTo:
|
|
@@ -1870,7 +1891,7 @@ components:
|
|
|
1870
1891
|
x-enumDescriptions:
|
|
1871
1892
|
first_matching_branch: Routes each record to only the first branch whose criteria match.
|
|
1872
1893
|
all_matching_branches: Routes each record to every branch whose criteria match, creating copies.
|
|
1873
|
-
description:
|
|
1894
|
+
description: Routing strategy override. Not applied on an MCP server; stored, but calls ignore it.
|
|
1874
1895
|
routeRecordsUsing:
|
|
1875
1896
|
type: string
|
|
1876
1897
|
enum:
|
|
@@ -1917,7 +1938,9 @@ components:
|
|
|
1917
1938
|
- Records routed to the North America region
|
|
1918
1939
|
inputFilter:
|
|
1919
1940
|
type: object
|
|
1920
|
-
description:
|
|
1941
|
+
description: |-
|
|
1942
|
+
Branch filter override. Not applied on an MCP server; stored, but calls
|
|
1943
|
+
ignore it.
|
|
1921
1944
|
properties:
|
|
1922
1945
|
version:
|
|
1923
1946
|
type: string
|