@celigo/api-specs 0.2.3 → 0.2.4-IO-168454-EPIC-fb
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/README.md +71 -80
- package/dist/account.yml +456 -55
- package/dist/agent.yml +15 -0
- package/dist/ai-agent.yml +1000 -192
- package/dist/alert.yml +1226 -0
- package/dist/api.yml +6375 -178
- package/dist/apim.yml +0 -4
- package/dist/asynchelper.yml +441 -62
- package/dist/audit.yml +57 -2
- package/dist/bartendertemplate.yml +508 -0
- package/dist/connection.yml +2533 -189
- package/dist/connector.yml +8 -0
- package/dist/ediprofile.yml +15 -0
- package/dist/editransaction.yml +250 -14
- package/dist/enduser.yml +6063 -47
- package/dist/environment.yml +8 -0
- package/dist/eventreport.yml +8 -0
- package/dist/export.yml +1624 -1804
- package/dist/filedefinition.yml +47 -0
- package/dist/filedefinitionrules.yml +722 -0
- package/dist/fileserver.yml +1457 -0
- package/dist/filestorage.yml +1087 -535
- package/dist/flow.yml +896 -209
- package/dist/guardrail.yml +310 -499
- package/dist/httpconnector.yml +8 -0
- package/dist/httpconnectorendpoint.yml +610 -126
- package/dist/httpconnectorresource.yml +1160 -84
- package/dist/iclient.yml +245 -114
- package/dist/import.yml +2583 -448
- package/dist/integration.yml +1114 -45
- package/dist/job.yml +188 -92
- package/dist/lookupcache.yml +45 -14
- package/dist/marketplace.yml +352 -107
- package/dist/mcp-oauth-provider.yml +15 -30
- package/dist/mcp-server.yml +7004 -68
- package/dist/networkpolicy.yml +1221 -0
- package/dist/notification.yml +59 -9
- package/dist/processor.yml +8 -3
- package/dist/recyclebin.yml +32 -2
- package/dist/script.yml +91 -16
- package/dist/stack.yml +642 -5
- package/dist/storagequery.yml +935 -0
- package/dist/subscription.yml +428 -67
- package/dist/sync.yml +435 -79
- package/dist/tag.yml +8 -0
- package/dist/template.yml +47 -1
- package/dist/tool.yml +7932 -3273
- package/dist/topic.yml +1806 -0
- package/dist/tradingpartnerconnector.yml +18 -0
- package/dist/user.yml +465 -42
- package/package.json +13 -1
- package/schemas.json +2358 -1887
package/dist/import.yml
CHANGED
|
@@ -113,6 +113,14 @@ paths:
|
|
|
113
113
|
- POST
|
|
114
114
|
requestMediaType: json
|
|
115
115
|
successMediaType: json
|
|
116
|
+
topic_publisher:
|
|
117
|
+
summary: Event Streams publisher to a topic (no connection)
|
|
118
|
+
value:
|
|
119
|
+
name: Publish Order Events
|
|
120
|
+
adaptorType: TopicImport
|
|
121
|
+
topic:
|
|
122
|
+
_topicId: 6ab1f48d38d7733b4599875c
|
|
123
|
+
batchSize: 1000
|
|
116
124
|
responses:
|
|
117
125
|
'201':
|
|
118
126
|
description: Import created successfully
|
|
@@ -139,6 +147,18 @@ paths:
|
|
|
139
147
|
apiIdentifier: if0626b560
|
|
140
148
|
createdAt: '2026-06-09T17:32:41.218Z'
|
|
141
149
|
lastModified: '2026-06-09T17:32:41.296Z'
|
|
150
|
+
topic_publisher:
|
|
151
|
+
summary: Created Event Streams publisher — batchSize default filled in
|
|
152
|
+
value:
|
|
153
|
+
_id: 6ab1f58171fc8127d374d4a5
|
|
154
|
+
name: Publish Order Events
|
|
155
|
+
adaptorType: TopicImport
|
|
156
|
+
topic:
|
|
157
|
+
_topicId: 6ab1f48d38d7733b4599875c
|
|
158
|
+
batchSize: 1000
|
|
159
|
+
apiIdentifier: id6e6429c9
|
|
160
|
+
createdAt: '2026-09-22T03:26:57.989Z'
|
|
161
|
+
lastModified: '2026-09-22T03:26:58.155Z'
|
|
142
162
|
'400':
|
|
143
163
|
$ref: '#/components/responses/400-bad-request'
|
|
144
164
|
'401':
|
|
@@ -274,12 +294,11 @@ paths:
|
|
|
274
294
|
summary: Patch an import
|
|
275
295
|
description: |-
|
|
276
296
|
Partially updates an import using a JSON Patch document (RFC 6902).
|
|
277
|
-
Only the
|
|
278
|
-
whitelisted path:
|
|
297
|
+
Only the following whitelisted path is accepted:
|
|
279
298
|
|
|
280
|
-
| Path | Description |
|
|
281
|
-
|
|
282
|
-
| `/debugUntil` |
|
|
299
|
+
| Path | Operations | Description |
|
|
300
|
+
|------|------------|-------------|
|
|
301
|
+
| `/debugUntil` | `replace`, `add`, `remove` | Step debug-capture expiry (ISO-8601, at most 3600 seconds from now — a later value is rejected with 422 `update_not_allowed`); `remove` stops capture and succeeds even when the field is absent |
|
|
283
302
|
|
|
284
303
|
All other paths are rejected with `422`.
|
|
285
304
|
operationId: patchImport
|
|
@@ -513,16 +532,27 @@ paths:
|
|
|
513
532
|
data records and returns per-record results synchronously.
|
|
514
533
|
|
|
515
534
|
The request body should contain a `data` array of records to import. Each
|
|
516
|
-
record is processed through the import's
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
535
|
+
record is processed through the import's input filter, mappings, hooks
|
|
536
|
+
(preMap, postMap, postSubmit) and transformations before being sent to
|
|
537
|
+
the destination; a record the input filter excludes comes back `ignored`
|
|
538
|
+
and is never sent.
|
|
539
|
+
|
|
540
|
+
The response is an **array** of per-record result objects — `statusCode`,
|
|
541
|
+
the destination's parsed response body as `_json`, `errors` when the
|
|
542
|
+
record failed. This endpoint writes to the destination system — and so
|
|
543
|
+
does `POST /v1/imports/preview` (verified to execute the composed
|
|
544
|
+
request), so neither is a dry run against a production destination. A
|
|
545
|
+
200 response may still contain per-record failures in each element's
|
|
546
|
+
`errors` array. Every import adaptor runs here (HTTP, NetSuite, RDBMS,
|
|
547
|
+
FTP verified), including the ones `POST /v1/imports/preview` rejects with
|
|
548
|
+
`invalid_adaptor`. For a file import the 200 reflects the file being
|
|
549
|
+
composed, not delivered — an FTP import against an unreachable host
|
|
550
|
+
still returns `{name, fileLocation}`.
|
|
551
|
+
|
|
552
|
+
The import must be saved; to run an import definition that is not saved
|
|
553
|
+
(or a modified copy of one), use the virtual import
|
|
554
|
+
`POST /v1/connections/{_id}/import`, which takes the import document in
|
|
555
|
+
the body and returns the same per-record results.
|
|
526
556
|
parameters:
|
|
527
557
|
- in: path
|
|
528
558
|
name: _id
|
|
@@ -559,45 +589,25 @@ paths:
|
|
|
559
589
|
responses:
|
|
560
590
|
'200':
|
|
561
591
|
description: |-
|
|
562
|
-
Import completed.
|
|
563
|
-
|
|
564
|
-
|
|
592
|
+
Import completed. One result per input record, in input order —
|
|
593
|
+
accepted, failed at the destination, or ignored by the import's own
|
|
594
|
+
input filter.
|
|
565
595
|
content:
|
|
566
596
|
application/json:
|
|
567
597
|
schema:
|
|
568
598
|
type: array
|
|
569
599
|
items:
|
|
570
|
-
|
|
571
|
-
properties:
|
|
572
|
-
statusCode:
|
|
573
|
-
type: integer
|
|
574
|
-
description: HTTP status code from the destination system
|
|
575
|
-
_json:
|
|
576
|
-
type: object
|
|
577
|
-
description: The transformed record as sent to the destination
|
|
578
|
-
additionalProperties: true
|
|
579
|
-
errors:
|
|
580
|
-
type: array
|
|
581
|
-
description: Errors encountered processing this record
|
|
582
|
-
items:
|
|
583
|
-
type: object
|
|
584
|
-
properties:
|
|
585
|
-
source:
|
|
586
|
-
type: string
|
|
587
|
-
code:
|
|
588
|
-
type: string
|
|
589
|
-
message:
|
|
590
|
-
type: string
|
|
591
|
-
resolved:
|
|
592
|
-
type: boolean
|
|
593
|
-
occurredAt:
|
|
594
|
-
type: integer
|
|
595
|
-
format: int64
|
|
596
|
-
stage:
|
|
597
|
-
type: string
|
|
598
|
-
classification:
|
|
599
|
-
type: string
|
|
600
|
+
$ref: '#/components/schemas/ImportRecordResult'
|
|
600
601
|
examples:
|
|
602
|
+
accepted:
|
|
603
|
+
summary: Record accepted — the destination's response body in _json
|
|
604
|
+
value:
|
|
605
|
+
- statusCode: 200
|
|
606
|
+
_json:
|
|
607
|
+
id: 0031U00001AbCdEQAV
|
|
608
|
+
success: true
|
|
609
|
+
_headers:
|
|
610
|
+
content-type: application/json; charset=utf-8
|
|
601
611
|
destination_error:
|
|
602
612
|
summary: Record failed at destination
|
|
603
613
|
value:
|
|
@@ -611,6 +621,13 @@ paths:
|
|
|
611
621
|
occurredAt: 1777645680144
|
|
612
622
|
stage: apiCall
|
|
613
623
|
classification: value
|
|
624
|
+
ignored_by_input_filter:
|
|
625
|
+
summary: Record excluded by the import's input filter — nothing sent
|
|
626
|
+
value:
|
|
627
|
+
- statusCode: 200
|
|
628
|
+
_json: {}
|
|
629
|
+
ignored: true
|
|
630
|
+
stage: inputFilter
|
|
614
631
|
'401':
|
|
615
632
|
$ref: '#/components/responses/401-unauthorized'
|
|
616
633
|
'404':
|
|
@@ -660,11 +677,11 @@ paths:
|
|
|
660
677
|
|
|
661
678
|
The integrator.io UI never calls this path — the import editor's
|
|
662
679
|
"Preview" and "Send" buttons both go through
|
|
663
|
-
`POST /v1/pageProcessors/preview`. This
|
|
664
|
-
|
|
665
|
-
`POST /v1/integrations/{_integrationId}/flows/{_flowId}/imports/preview`
|
|
666
|
-
|
|
667
|
-
|
|
680
|
+
`POST /v1/pageProcessors/preview`. This is the only import preview
|
|
681
|
+
route on the public API: unlike exports, imports have no flow-scoped
|
|
682
|
+
sibling — `POST /v1/integrations/{_integrationId}/flows/{_flowId}/imports/preview`
|
|
683
|
+
answers 404 `resource_not_found`. To preview an import inside its
|
|
684
|
+
flow, use `POST /v1/pageProcessors/preview`.
|
|
668
685
|
requestBody:
|
|
669
686
|
required: true
|
|
670
687
|
content:
|
|
@@ -760,10 +777,14 @@ paths:
|
|
|
760
777
|
'422':
|
|
761
778
|
description: |-
|
|
762
779
|
Request body is malformed — most commonly the top-level `import`
|
|
763
|
-
object is missing — or the adaptor type is unsupported:
|
|
764
|
-
imports are rejected with `invalid_adaptor`
|
|
765
|
-
supported for adaptor type:
|
|
766
|
-
|
|
780
|
+
object is missing — or the adaptor type is unsupported: NetSuite,
|
|
781
|
+
Salesforce, RDBMS and FTP imports are rejected with `invalid_adaptor`
|
|
782
|
+
("Import preview is not supported for adaptor type: <adaptorType>")
|
|
783
|
+
before any connection is resolved, while HTTP-family and AI-agent
|
|
784
|
+
imports preview normally. The rejected adaptors execute through the
|
|
785
|
+
virtual import, `POST /v1/connections/{_id}/import`, which runs the
|
|
786
|
+
document for real and returns per-record results; database imports
|
|
787
|
+
have no compose-only surface anywhere (the SQL editor's Handlebars
|
|
767
788
|
evaluation is their only preview). Structural validation returns the
|
|
768
789
|
standard errors envelope.
|
|
769
790
|
content:
|
|
@@ -781,6 +802,11 @@ paths:
|
|
|
781
802
|
errors:
|
|
782
803
|
- code: invalid_adaptor
|
|
783
804
|
message: 'Import preview is not supported for adaptor type: RDBMSImport.'
|
|
805
|
+
netsuite_unsupported:
|
|
806
|
+
value:
|
|
807
|
+
errors:
|
|
808
|
+
- code: invalid_adaptor
|
|
809
|
+
message: 'Import preview is not supported for adaptor type: NetSuiteDistributedImport.'
|
|
784
810
|
/v1/netsuiteDA/previewImportMappingFields:
|
|
785
811
|
put:
|
|
786
812
|
x-internal: false
|
|
@@ -908,82 +934,6 @@ paths:
|
|
|
908
934
|
message: _connectionId is required.
|
|
909
935
|
'401':
|
|
910
936
|
$ref: '#/components/responses/401-unauthorized'
|
|
911
|
-
/v1/integrations/{_integrationId}/flows/{_flowId}/imports/preview:
|
|
912
|
-
post:
|
|
913
|
-
x-internal: false
|
|
914
|
-
summary: Preview import data
|
|
915
|
-
description: |
|
|
916
|
-
Runs the import pipeline — field mappings, transformations, and hooks —
|
|
917
|
-
against the supplied sample data and returns the per-record results.
|
|
918
|
-
Treat the preview as capable of executing the composed destination
|
|
919
|
-
request: its unscoped sibling (`POST /v1/imports/preview`) is verified
|
|
920
|
-
to write real records to live destinations and offers no option to
|
|
921
|
-
disable the send, so do not preview create/update imports against
|
|
922
|
-
production systems with data you do not want written. For a
|
|
923
|
-
compose-only preview of the destination request, use
|
|
924
|
-
`POST /v1/pageProcessors/preview` with `{preview: true}` on the
|
|
925
|
-
target entry.
|
|
926
|
-
operationId: previewImportData
|
|
927
|
-
tags:
|
|
928
|
-
- Imports
|
|
929
|
-
parameters:
|
|
930
|
-
- in: path
|
|
931
|
-
name: _integrationId
|
|
932
|
-
required: true
|
|
933
|
-
schema:
|
|
934
|
-
type: string
|
|
935
|
-
format: objectId
|
|
936
|
-
x-celigo-refModel: integrations
|
|
937
|
-
examples:
|
|
938
|
-
- 60a2c4e6f321d800129a1a3c
|
|
939
|
-
description: Integration ID
|
|
940
|
-
- in: path
|
|
941
|
-
name: _flowId
|
|
942
|
-
required: true
|
|
943
|
-
schema:
|
|
944
|
-
type: string
|
|
945
|
-
format: objectId
|
|
946
|
-
x-celigo-refModel: flows
|
|
947
|
-
examples:
|
|
948
|
-
- 64ff4b22612a134bd2f45538
|
|
949
|
-
description: Flow ID
|
|
950
|
-
requestBody:
|
|
951
|
-
required: true
|
|
952
|
-
content:
|
|
953
|
-
application/json:
|
|
954
|
-
schema:
|
|
955
|
-
$ref: '#/components/schemas/PreviewRequest'
|
|
956
|
-
examples:
|
|
957
|
-
one_record:
|
|
958
|
-
summary: Preview an existing import against one sample record
|
|
959
|
-
value:
|
|
960
|
-
_importId: 5f8d43a1b9e5a80011a35f2c
|
|
961
|
-
sampleData:
|
|
962
|
-
name: Acme Corp
|
|
963
|
-
email: contact@acme.com
|
|
964
|
-
responses:
|
|
965
|
-
'200':
|
|
966
|
-
description: Successfully previewed import data
|
|
967
|
-
content:
|
|
968
|
-
application/json:
|
|
969
|
-
schema:
|
|
970
|
-
$ref: '#/components/schemas/PreviewResponse'
|
|
971
|
-
examples:
|
|
972
|
-
mapped_record:
|
|
973
|
-
summary: Mapped record as composed for the destination
|
|
974
|
-
value:
|
|
975
|
-
data:
|
|
976
|
-
- name: Acme Corp
|
|
977
|
-
email: contact@acme.com
|
|
978
|
-
errors: []
|
|
979
|
-
'400':
|
|
980
|
-
$ref: '#/components/responses/400-bad-request'
|
|
981
|
-
'401':
|
|
982
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
983
|
-
'404':
|
|
984
|
-
$ref: '#/components/responses/404-not-found'
|
|
985
|
-
'422':
|
|
986
|
-
$ref: '#/components/responses/422-unprocessable-entity'
|
|
987
937
|
/v1/imports/{_id}/dependencies:
|
|
988
938
|
get:
|
|
989
939
|
x-internal: false
|
|
@@ -1560,7 +1510,9 @@ components:
|
|
|
1560
1510
|
type: object
|
|
1561
1511
|
description: |-
|
|
1562
1512
|
Configuration for HTTP imports.
|
|
1563
|
-
Required whenever the connection referenced by _connectionId has type http
|
|
1513
|
+
Required whenever the connection referenced by _connectionId has type http, and on
|
|
1514
|
+
`NetSuiteHTTPImport` (NetSuite's REST APIs on a `netsuite` connection, where `nsDomainType`
|
|
1515
|
+
supplies the host).
|
|
1564
1516
|
x-celigo-ai-guidance:
|
|
1565
1517
|
- |-
|
|
1566
1518
|
IMPORTANT:
|
|
@@ -1568,6 +1520,11 @@ components:
|
|
|
1568
1520
|
this object MUST be populated for the import to function properly.
|
|
1569
1521
|
This is a required configuration for all HTTP based imports,
|
|
1570
1522
|
as determined by the connection associated with the import.
|
|
1523
|
+
- |-
|
|
1524
|
+
A `NetSuiteHTTPImport` uses this same object on a netsuite connection: each `relativeURI`
|
|
1525
|
+
entry carries the full path from `/services/rest/record/v1/<type>` (SuiteTalk) or
|
|
1526
|
+
`/app/site/hosting/restlet.nl?script=<id>&deploy=<n>` (custom RESTlet); the host and the
|
|
1527
|
+
token signature come from the connection.
|
|
1571
1528
|
properties:
|
|
1572
1529
|
sendPostMappedData:
|
|
1573
1530
|
type: boolean
|
|
@@ -1578,7 +1535,17 @@ components:
|
|
|
1578
1535
|
description: Internal flag indicating the import was built with the legacy REST form rather than the unified HTTP framework. Set by the form; not configured directly.
|
|
1579
1536
|
strictHandlebarEvaluation:
|
|
1580
1537
|
type: boolean
|
|
1581
|
-
description:
|
|
1538
|
+
description: Intended to make handlebars expressions that reference a missing field raise an error instead of rendering an empty string. In live runs on an HTTP import it does not have that effect on `http.body` templates or mapping expressions — an undefined path still renders empty and the record succeeds with the flag true — and `relativeURI` / `headers[].value` templates already fail on an undefined path regardless of this flag. Not a safeguard against a wrong template root or a misspelled path.
|
|
1539
|
+
x-celigo-ai-guidance:
|
|
1540
|
+
- |-
|
|
1541
|
+
Do not rely on this flag to catch a mis-rooted or misspelled path. Live-verified
|
|
1542
|
+
2026-09-24 on an HTTP import in real flow runs with the flag ``true``: an undefined
|
|
1543
|
+
``{{record.<field>}}`` in ``http.body`` and an undefined ``{{<field>}}`` in a mapping
|
|
1544
|
+
expression both rendered empty and the record succeeded — the same outcome as with
|
|
1545
|
+
the flag ``false`` or unset. Relative URI and header templates fail on an undefined
|
|
1546
|
+
path regardless of this flag. To catch a wrong root, check the template against the
|
|
1547
|
+
record's shape (``record`` for an object, ``rows`` for a grouped record,
|
|
1548
|
+
``batch_of_records`` when ``batchSize`` exceeds 1) before saving.
|
|
1582
1549
|
formType:
|
|
1583
1550
|
type: string
|
|
1584
1551
|
enum:
|
|
@@ -1599,6 +1566,18 @@ components:
|
|
|
1599
1566
|
- |-
|
|
1600
1567
|
Use `assistant_graphql` as the default value if there is a connector available
|
|
1601
1568
|
for the system and the connector supports GraphQL.
|
|
1569
|
+
- |-
|
|
1570
|
+
The value selects the editor only. Each `http.body[]` entry stays a template STRING — a
|
|
1571
|
+
stringified `{"query", "operationName", "variables"}` envelope, one per operation for the
|
|
1572
|
+
update/create pair (`http.body[0]` / `http.body[1]`); never an object entry, which is stored
|
|
1573
|
+
as-is and does not render. The GraphQL form parses that string to show each member in its
|
|
1574
|
+
own field and re-stringifies it on save; an entry that is not parseable JSON at rest renders
|
|
1575
|
+
those fields empty, so keep templated variables inside a JSON string value.
|
|
1576
|
+
- |-
|
|
1577
|
+
Create GraphQL imports on a `graph_ql` connection (or a connector connection bound to its
|
|
1578
|
+
GraphQL API): that setup offers the Form view toggle between the GraphQL editor and the
|
|
1579
|
+
raw HTTP form, and the GraphQL form has no relative URI field — the connection `baseURI`
|
|
1580
|
+
is expected to be the GraphQL endpoint.
|
|
1602
1581
|
examples:
|
|
1603
1582
|
- assistant
|
|
1604
1583
|
- http
|
|
@@ -1654,14 +1633,30 @@ components:
|
|
|
1654
1633
|
- xml
|
|
1655
1634
|
_httpConnectorEndpointIds:
|
|
1656
1635
|
type: array
|
|
1657
|
-
readOnly: true
|
|
1658
1636
|
items:
|
|
1659
1637
|
type: string
|
|
1660
1638
|
format: objectId
|
|
1661
1639
|
x-celigo-refModel: httpconnectorendpoints
|
|
1662
1640
|
description: |-
|
|
1663
|
-
|
|
1664
|
-
|
|
1641
|
+
The connector endpoints this import calls, one per entry of `relativeURI` / `method` (for
|
|
1642
|
+
example a CREATE and an UPDATE endpoint), shown in the UI as the selected endpoints. On save the
|
|
1643
|
+
platform derives them (with the version and resource ids) from each `relativeURI` / `method`
|
|
1644
|
+
pair that matches an endpoint of the connector the connection is bound to, and replaces ids
|
|
1645
|
+
that belong to another connector; ids for the connection's own connector are kept as sent, and
|
|
1646
|
+
when nothing matches, or the connection has no connector, whatever was sent is kept.
|
|
1647
|
+
x-celigo-ai-guidance:
|
|
1648
|
+
- |-
|
|
1649
|
+
To build an import on a prebuilt connector, bind the CONNECTION (`http._httpConnectorId`) and
|
|
1650
|
+
write each operation's `relativeURI` and `method` into the positional arrays; the platform links
|
|
1651
|
+
the import to those endpoints on save, so the pointer fields may be omitted. Read the saved
|
|
1652
|
+
import back: missing entries mean a URI matched no endpoint of the connection's connector. Set
|
|
1653
|
+
`_httpConnectorVersionId`, `_httpConnectorResourceId` and `_httpConnectorEndpointIds` together
|
|
1654
|
+
only to pin same-connector endpoints the URIs would not match. Imports use this plural field;
|
|
1655
|
+
the singular `_httpConnectorEndpointId` is dropped on write. Endpoint discovery through the
|
|
1656
|
+
published operations: `GET /v1/httpconnectors/{_id}`, `…/{_id}/httpconnectorresources`,
|
|
1657
|
+
`…/{_id}/{_httpConnectorResourceId}/httpconnectorendpoints`, and
|
|
1658
|
+
`…/{_id}/{_httpConnectorResourceId}/{_id}` for an endpoint's `method` and `relativeURI`.
|
|
1659
|
+
Verified against the live API 2026-09-21.
|
|
1665
1660
|
blobFormat:
|
|
1666
1661
|
type: string
|
|
1667
1662
|
enum:
|
|
@@ -1691,8 +1686,17 @@ components:
|
|
|
1691
1686
|
description: |-
|
|
1692
1687
|
Maximum number of records submitted per HTTP request, which affects throughput and API rate limiting.
|
|
1693
1688
|
REST services typically send one record per request; raise it only for batch endpoints or RPC/XML services that accept multiple records, consulting the target API documentation for the optimal value.
|
|
1689
|
+
Above 1, the body, relative URI, and header templates render once per request against `batch_of_records` — each entry carrying that record as `record` (or `rows` for a grouped record) — and a root-level `record` or `rows` is undefined.
|
|
1694
1690
|
|
|
1695
1691
|
The default varies by API.
|
|
1692
|
+
x-celigo-ai-guidance:
|
|
1693
|
+
- |-
|
|
1694
|
+
A batched import's templates iterate ``{{#each batch_of_records}}`` and address
|
|
1695
|
+
``this.record.<field>`` (``this.rows.0.<field>`` for grouped records), or iterate
|
|
1696
|
+
the bare records as ``{{#each data}}``; a ``{{record.<field>}}`` left at the root
|
|
1697
|
+
renders empty in the body and fails the request in a relative URI or header. With
|
|
1698
|
+
the default batch size the shape root is ``record`` / ``rows``, ``data`` holds that
|
|
1699
|
+
one record, and ``batch_of_records`` is undefined.
|
|
1696
1700
|
examples:
|
|
1697
1701
|
- 1
|
|
1698
1702
|
- 10
|
|
@@ -1787,6 +1791,7 @@ components:
|
|
|
1787
1791
|
For composite (upsert) imports, the array is positionally aligned with method and requestType, and existingExtract decides the index used at runtime: the UPDATE index when its field has a value, the CREATE index when it is empty or missing.
|
|
1788
1792
|
Reference the existing record ID in the UPDATE URI with `{{{data.0.fieldName}}}` (triple braces with the data.0 prefix).
|
|
1789
1793
|
Use separate array elements per operation rather than `{{#if}}` conditionals inside a single URI.
|
|
1794
|
+
URI templates render strictly: a path that is undefined on the record — such as `record.<field>` on a grouped record, whose root is `rows` — fails the request instead of rendering empty.
|
|
1790
1795
|
x-celigo-ai-guidance:
|
|
1791
1796
|
- '**CRITICAL: This MUST be an array of strings, NOT an object.**'
|
|
1792
1797
|
- |-
|
|
@@ -1850,17 +1855,26 @@ components:
|
|
|
1850
1855
|
// shape; do not emit it deliberately.
|
|
1851
1856
|
"relativeURI": ["[\"/customers/{{{data.0.id}}}\",\"/customers\"]"]
|
|
1852
1857
|
```
|
|
1853
|
-
⚠️
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1858
|
+
⚠️ On save the platform derives the connector pointer fields
|
|
1859
|
+
(``_httpConnectorVersionId`` / ``_httpConnectorResourceId`` /
|
|
1860
|
+
``_httpConnectorEndpointIds``) from each ``relativeURI`` /
|
|
1861
|
+
``method`` pair that matches an endpoint of the connector the
|
|
1862
|
+
connection is bound to (path parameters and query strings still
|
|
1863
|
+
match); pointers you send for that connector are kept, pointers
|
|
1864
|
+
from another connector are replaced, and a URI that matches
|
|
1865
|
+
nothing leaves whatever you sent in place — nothing is unset
|
|
1866
|
+
(verified 2026-09-21 on create, on PUT, and after a re-save). Keep
|
|
1867
|
+
each entry equal to the endpoint you mean so the pointer and the
|
|
1868
|
+
request agree. Get the URI shape right.
|
|
1869
|
+
- |-
|
|
1870
|
+
On a GraphQL-form import (`formType` `graph_ql` / `assistant_graphql`) the form owns
|
|
1871
|
+
this field: it shows no relative-URI field and writes `["/"]` back on every save in the
|
|
1872
|
+
editor, because the request path is expected to come from the connection's `baseURI` —
|
|
1873
|
+
a `graph_ql` connection, or a connector connection bound to its GraphQL API. A path set
|
|
1874
|
+
here through the API on such an import does reach the wire, but it is invisible in the
|
|
1875
|
+
editor and reverts to `["/"]` the next time the import is saved there; when the
|
|
1876
|
+
connection's base URI stops at an API root, move the import to a connection that
|
|
1877
|
+
supplies the GraphQL endpoint instead of patching this field.
|
|
1864
1878
|
examples:
|
|
1865
1879
|
- - /api/v1/customers
|
|
1866
1880
|
- - /customers/{{{data.0.shopifyCustomerId}}}.json
|
|
@@ -1896,19 +1910,27 @@ components:
|
|
|
1896
1910
|
_httpConnectorVersionId:
|
|
1897
1911
|
type: string
|
|
1898
1912
|
format: objectId
|
|
1899
|
-
|
|
1900
|
-
|
|
1913
|
+
description: |-
|
|
1914
|
+
Pins the import to a version of the published HTTP connector its connection is bound to
|
|
1915
|
+
(`connection.http._httpConnectorId`), so the UI renders that connector's endpoint forms instead
|
|
1916
|
+
of hand-authored requests. Linked on save together with `_httpConnectorResourceId` and
|
|
1917
|
+
`_httpConnectorEndpointIds` — see that field for the rule.
|
|
1901
1918
|
_httpConnectorResourceId:
|
|
1902
1919
|
type: string
|
|
1903
1920
|
format: objectId
|
|
1904
|
-
|
|
1905
|
-
description:
|
|
1921
|
+
x-celigo-refModel: httpconnectorresources
|
|
1922
|
+
description: |-
|
|
1923
|
+
The connector resource (a group of related endpoints, such as Orders) that this import's
|
|
1924
|
+
endpoints belong to. Linked on save together with `_httpConnectorEndpointIds` — see that field
|
|
1925
|
+
for the rule.
|
|
1906
1926
|
_httpConnectorEndpointId:
|
|
1907
1927
|
type: string
|
|
1908
1928
|
format: objectId
|
|
1909
1929
|
readOnly: true
|
|
1910
1930
|
x-celigo-refModel: httpconnectorendpoints
|
|
1911
|
-
description:
|
|
1931
|
+
description: |-
|
|
1932
|
+
Not used by imports: values sent on create or update are dropped, and the platform does not
|
|
1933
|
+
populate it. Imports bind connector endpoints per operation through `_httpConnectorEndpointIds`.
|
|
1912
1934
|
body:
|
|
1913
1935
|
type: array
|
|
1914
1936
|
items:
|
|
@@ -1918,7 +1940,9 @@ components:
|
|
|
1918
1940
|
description: |-
|
|
1919
1941
|
Request body template for the import — an array of Handlebars template strings
|
|
1920
1942
|
positionally aligned with the `method` array (e.g. `["{{{record}}}"]`). A `null`
|
|
1921
|
-
entry means no template for the method at that position.
|
|
1943
|
+
entry means no template for the method at that position. Each entry is a string:
|
|
1944
|
+
write a JSON body as a template string (`["{\"id\": \"{{record.id}}\"}"]`), not as
|
|
1945
|
+
a JSON object, because an object entry does not render as JSON at runtime.
|
|
1922
1946
|
Leave undefined for standard imports — the Import's mapping step transforms the source record and the mapped data is sent as the request body automatically.
|
|
1923
1947
|
Set it only when the target API requires XML, SOAP, or a custom structure that mappings cannot produce, or when the user explicitly specifies a request body.
|
|
1924
1948
|
When set, the mapping step still runs first and the template renders against the post-mapped record — use `{{record.<mappedField>}}` to reference mapping outputs.
|
|
@@ -1946,6 +1970,23 @@ components:
|
|
|
1946
1970
|
Avoid bare ``{{{jsonSerialize record}}}`` with no wrapper — leave the field undefined instead.
|
|
1947
1971
|
Also avoid wrapping a single post-mapped scalar field in ``jsonSerialize`` (e.g.
|
|
1948
1972
|
``{{{jsonSerialize record.<scalar>}}}``) — that pattern is brittle.
|
|
1973
|
+
- |-
|
|
1974
|
+
Every request context carries two data roots: ``data`` — the list of records in
|
|
1975
|
+
the request, always present (Pattern B) — and ONE shape-specific root that follows
|
|
1976
|
+
the record entering the step. An object record is ``record``; a GROUPED record (an
|
|
1977
|
+
array of rows — a ``groupByFields`` export, file key columns, a NetSuite grouped
|
|
1978
|
+
saved search) is ``rows`` (``{{rows.0.<field>}}``, ``{{#each rows}}``,
|
|
1979
|
+
``{{{jsonSerialize rows}}}``) and ``record.*`` is undefined on it; when
|
|
1980
|
+
``batchSize`` exceeds 1 the shape root is ``batch_of_records`` and neither ``record``
|
|
1981
|
+
nor ``rows`` exists at the top level. Inside ``data`` a grouped record is itself an
|
|
1982
|
+
array element (``{{#each data}}{{#each this}}…{{/each}}{{/each}}``). An object record
|
|
1983
|
+
that carries its own ``rows`` field is still ``record`` — ``{{#each record.rows}}``.
|
|
1984
|
+
Here an undefined path renders empty — and ``strictHandlebarEvaluation: true`` does
|
|
1985
|
+
not change that (live-verified 2026-09-24 in real flow runs: an undefined
|
|
1986
|
+
``{{record.<field>}}`` in the body rendered empty and the record succeeded); in
|
|
1987
|
+
``relativeURI`` and ``headers[].value`` templates an undefined path always fails the
|
|
1988
|
+
request — a wrong root there is a runtime failure, not a blank. Verify the body's
|
|
1989
|
+
root against the record shape; no flag will catch it.
|
|
1949
1990
|
- |-
|
|
1950
1991
|
## LEAVE UNDEFINED for the most common case
|
|
1951
1992
|
|
|
@@ -2016,14 +2057,23 @@ components:
|
|
|
2016
2057
|
### Pattern B — Batch / page wrapper around mapped records
|
|
2017
2058
|
|
|
2018
2059
|
Wrap an envelope (header, version, marketplace, etc.) around
|
|
2019
|
-
a serialized batch.
|
|
2020
|
-
``
|
|
2021
|
-
|
|
2060
|
+
a serialized batch. The template root depends ONLY on
|
|
2061
|
+
``batchSize`` (live-verified 2026-09-10): with ``batchSize`` 1
|
|
2062
|
+
(the default) the root carries ``record`` (an object record —
|
|
2063
|
+
or the fanned-out child on a ``oneToMany`` import) or ``rows``
|
|
2064
|
+
(a grouped/array record), and ``data`` is the one-element list
|
|
2065
|
+
of records in the request (a grouped record is that element,
|
|
2066
|
+
itself an array); with ``batchSize`` > 1 the root carries
|
|
2067
|
+
``batch_of_records`` (one ``{record: …}`` item per object
|
|
2068
|
+
record, ``{rows: […]}`` for a grouped record) and ``data`` (the
|
|
2069
|
+
bare records), and ``record`` / ``rows`` are ABSENT. ``oneToMany`` does not make
|
|
2070
|
+
``batch_of_records`` appear — children are batched after
|
|
2071
|
+
fan-out under the same rule.
|
|
2022
2072
|
|
|
2023
2073
|
Example shape:
|
|
2024
2074
|
``{"values": {{#each data}} {{{jsonSerialize this}}} {{/each}} }``
|
|
2025
2075
|
|
|
2026
|
-
Example with comma-separation:
|
|
2076
|
+
Example with comma-separation (``batchSize`` > 1):
|
|
2027
2077
|
``[{{#each batch_of_records}}{{{jsonSerialize this.record}}}{{#unless @last}},{{/unless}}{{/each}}]``
|
|
2028
2078
|
|
|
2029
2079
|
### Pattern C — Custom envelope with per-message fields
|
|
@@ -2298,7 +2348,7 @@ components:
|
|
|
2298
2348
|
description: Name of the HTTP header to include with each import request.
|
|
2299
2349
|
value:
|
|
2300
2350
|
type: string
|
|
2301
|
-
description: Value sent for the header. Supports handlebars expressions rendered against the pre-mapped record.
|
|
2351
|
+
description: Value sent for the header. Supports handlebars expressions rendered against the pre-mapped record, with the same data roots as the body (`record` / `rows` / `batch_of_records`, plus `data`); an undefined path fails the request rather than rendering empty.
|
|
2302
2352
|
x-celigo-agent:
|
|
2303
2353
|
- handlebars
|
|
2304
2354
|
x-celigo-handlebars-context: pre-mapped
|
|
@@ -3020,11 +3070,13 @@ components:
|
|
|
3020
3070
|
type: string
|
|
3021
3071
|
x-celigo-agent:
|
|
3022
3072
|
- handlebars
|
|
3073
|
+
x-celigo-ui-override: 'The FTP import form requires this once its "Use temp file" toggle is on (fieldDefinitions/resources/imports/ftp.js: ''ftp.inProgressFileName'' requiredWhen ftp.useTempFile is true; blob mode ''ftp.blobInProgressFileName'' requiredWhen ftp.blobUseTempFile is true). The toggles are form-only and are not saved — the form derives them from whether this field is set — so the API has no field to condition on and saves the import with or without the name.'
|
|
3023
3074
|
description: |-
|
|
3024
3075
|
Temporary name the file carries while its upload is in progress, preventing other systems
|
|
3025
3076
|
from processing a partially transferred file; it is renamed to its final name once the
|
|
3026
|
-
upload completes.
|
|
3027
|
-
|
|
3077
|
+
upload completes. Its presence is what the UI shows as "Use temp file while upload in
|
|
3078
|
+
progress": set it to turn the temporary name on, omit it to turn it off. Include a
|
|
3079
|
+
handlebars uniqueness token (e.g. {{timestamp}}) when one file is written per flow run.
|
|
3028
3080
|
x-celigo-ai-guidance:
|
|
3029
3081
|
- |-
|
|
3030
3082
|
inProgressFileName is the designated temporary filename assigned to a file
|
|
@@ -3735,6 +3787,12 @@ components:
|
|
|
3735
3787
|
description: |
|
|
3736
3788
|
Number of records to process per batch. Controls how many records are sent
|
|
3737
3789
|
to NetSuite in a single API call. Typical values: 50-200.
|
|
3790
|
+
x-celigo-ai-guidance:
|
|
3791
|
+
- |-
|
|
3792
|
+
Batching applies to the record writes. The `internalIdLookup` searches for a
|
|
3793
|
+
page of records are issued ahead of the writes and independently of `batchSize`,
|
|
3794
|
+
so `batchSize: 1` does not make the existing-record lookup run one record at a
|
|
3795
|
+
time.
|
|
3738
3796
|
internalIdLookup:
|
|
3739
3797
|
type: object
|
|
3740
3798
|
description: |-
|
|
@@ -3744,20 +3802,25 @@ components:
|
|
|
3744
3802
|
- |-
|
|
3745
3803
|
Two ways to specify the lookup, picked per import:
|
|
3746
3804
|
|
|
3805
|
+
- **Expression form** — the default choice: set `expression` to a
|
|
3806
|
+
NetSuite search-expression literal (the canonical patterns are on
|
|
3807
|
+
the `expression` field — `["internalid","is","{{{id}}}"]` for a
|
|
3808
|
+
record that carries the internal id, `externalid` and `cust*_*`
|
|
3809
|
+
variants, `anyof` for multi-match, AND/OR compounds). When
|
|
3810
|
+
`expression` is set, `searchField` / `operator` / `extract` are
|
|
3811
|
+
ignored.
|
|
3747
3812
|
- **Simple form** — set `searchField` + `operator` (+ optional
|
|
3748
|
-
`extract`)
|
|
3749
|
-
NetSuite field
|
|
3750
|
-
expression
|
|
3751
|
-
|
|
3752
|
-
expression
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
`expression` is set on ~99.6% of active `internalIdLookup` blocks (55K imports),
|
|
3760
|
-
so the expression form is the dominant pattern in the field.
|
|
3813
|
+
`extract`) for a single-criterion lookup against a built-in
|
|
3814
|
+
NetSuite field; the platform builds the equivalent search
|
|
3815
|
+
expression at runtime. For the internal id itself the expression
|
|
3816
|
+
form above is the preferred path, and `anyof` is available only
|
|
3817
|
+
through `expression`.
|
|
3818
|
+
- |-
|
|
3819
|
+
The lookup result is what identifies the target record; on `update` a source
|
|
3820
|
+
field mapped to `internalid` is overridden by it. When the incoming record
|
|
3821
|
+
already carries the NetSuite internal ID, point the lookup at that field with
|
|
3822
|
+
the expression form — `["internalid","is","{{{id}}}"]` — rather than removing
|
|
3823
|
+
the lookup.
|
|
3761
3824
|
properties:
|
|
3762
3825
|
extract:
|
|
3763
3826
|
type: string
|
|
@@ -3766,7 +3829,7 @@ components:
|
|
|
3766
3829
|
- |-
|
|
3767
3830
|
Path on the incoming source record (NOT the post-mapped record) whose value drives the lookup.
|
|
3768
3831
|
Used with the simple form (`searchField` + `operator`).
|
|
3769
|
-
Common values: `"
|
|
3832
|
+
Common values: `"externalId"`, `"id"`.
|
|
3770
3833
|
Ignored when `expression` is set.
|
|
3771
3834
|
examples:
|
|
3772
3835
|
- externalId
|
|
@@ -3776,8 +3839,9 @@ components:
|
|
|
3776
3839
|
x-celigo-ai-guidance:
|
|
3777
3840
|
- |-
|
|
3778
3841
|
NetSuite field the simple-form lookup queries against.
|
|
3779
|
-
Common values: `"externalId"`, `"
|
|
3780
|
-
|
|
3842
|
+
Common values: `"externalId"`, `"email"`, `"tranId"`, `"name"`.
|
|
3843
|
+
Matching on the record's internal id is the expression form —
|
|
3844
|
+
`["internalid","is","{{{id}}}"]` — not a `searchField`.
|
|
3781
3845
|
Ignored when `expression` is set.
|
|
3782
3846
|
examples:
|
|
3783
3847
|
- externalId
|
|
@@ -3787,9 +3851,9 @@ components:
|
|
|
3787
3851
|
x-celigo-ai-guidance:
|
|
3788
3852
|
- |-
|
|
3789
3853
|
Comparison operator for the simple-form lookup.
|
|
3790
|
-
Common values: `"is"` (exact match),
|
|
3791
|
-
`"
|
|
3792
|
-
`
|
|
3854
|
+
Common values: `"is"` (exact match), `"contains"`, `"startswith"`,
|
|
3855
|
+
`"equalto"`. Multi-match (`anyof`) is available only through
|
|
3856
|
+
`expression` (`["internalid","anyof","{{{id}}}"]`).
|
|
3793
3857
|
Ignored when `expression` is set.
|
|
3794
3858
|
expression:
|
|
3795
3859
|
type: string
|
|
@@ -3882,6 +3946,15 @@ components:
|
|
|
3882
3946
|
- DO NOT use `jsonSerialize` here — search expressions take
|
|
3883
3947
|
scalar literals, not serialized JSON. Use `{{{id}}}` or
|
|
3884
3948
|
`{{{[Field Name]}}}` directly.
|
|
3949
|
+
- |-
|
|
3950
|
+
## Body-level only
|
|
3951
|
+
|
|
3952
|
+
This lookup identifies the record being imported, so bare
|
|
3953
|
+
body fields are the right paths here. A per-field lookup
|
|
3954
|
+
attached to a sublist row (`lookups[]` referenced from
|
|
3955
|
+
`mapping.lists[].fields[].lookupName`) is different: its
|
|
3956
|
+
expression addresses the current line with
|
|
3957
|
+
`<array>[*].<field>` — see `lookups[].expression`.
|
|
3885
3958
|
hooks:
|
|
3886
3959
|
type: object
|
|
3887
3960
|
description: |
|
|
@@ -4227,6 +4300,13 @@ components:
|
|
|
4227
4300
|
scalar extracts tag along.
|
|
4228
4301
|
If no child uses `[*]` and none set `extract` at all (every child is a `hardCodedValue`),
|
|
4229
4302
|
the sublist renders a single static line.
|
|
4303
|
+
- |-
|
|
4304
|
+
A row that resolves its value through `lookupName`
|
|
4305
|
+
(typically `extract: ""`) is driven by the sibling
|
|
4306
|
+
rows' `[*]` extracts, and the lookup's `expression`
|
|
4307
|
+
addresses the current line with the same
|
|
4308
|
+
`<array>[*].<field>` path — see
|
|
4309
|
+
`netsuite_da.lookups[].expression`.
|
|
4230
4310
|
generate:
|
|
4231
4311
|
type: string
|
|
4232
4312
|
description: NetSuite sublist field ID to write to.
|
|
@@ -4463,10 +4543,69 @@ components:
|
|
|
4463
4543
|
- internalid
|
|
4464
4544
|
expression:
|
|
4465
4545
|
type: string
|
|
4546
|
+
x-celigo-agent:
|
|
4547
|
+
- handlebars
|
|
4466
4548
|
description: |-
|
|
4467
4549
|
Optional advanced-search expression (NetSuite saved-search
|
|
4468
4550
|
DSL) for multi-criterion lookups. When present, supersedes
|
|
4469
4551
|
`searchField` / `operator` — those fields are ignored.
|
|
4552
|
+
Handlebars inside the expression is rendered against the
|
|
4553
|
+
whole source record before the search runs; a lookup on a
|
|
4554
|
+
sublist row reaches the current line through
|
|
4555
|
+
`<array>[*].<field>` (for example `line_items[*].sku`).
|
|
4556
|
+
x-celigo-ai-guidance:
|
|
4557
|
+
- |-
|
|
4558
|
+
## Evaluation context — the whole source record, no `record.` prefix
|
|
4559
|
+
|
|
4560
|
+
The expression's Handlebars renders against the incoming
|
|
4561
|
+
source record as the context root (the record is NOT
|
|
4562
|
+
wrapped under `record`), then the rendered JSON array is
|
|
4563
|
+
sent to NetSuite as the search criteria. Body-level fields
|
|
4564
|
+
are addressed bare: `{{{id}}}`, `{{{email}}}`.
|
|
4565
|
+
- |-
|
|
4566
|
+
## Sublist-row lookups address the line with `<array>[*].<field>`
|
|
4567
|
+
|
|
4568
|
+
A lookup referenced from a sublist mapping row
|
|
4569
|
+
(`mapping.lists[].fields[].lookupName`) still receives the
|
|
4570
|
+
whole record; the current line's fields are reached with the
|
|
4571
|
+
same bracket-star path the sublist extracts use —
|
|
4572
|
+
`{{{line_items[*].sku}}}` resolves the line's item (one line
|
|
4573
|
+
per sublist row). A bare line field (`{{sku}}`,
|
|
4574
|
+
`{{#contains sku "_"}}`) is undefined at the record root: a
|
|
4575
|
+
helper that receives it fails every record with
|
|
4576
|
+
`INVALID_HANDLE_BAR_EXPRESSION` — `Could not compile handle
|
|
4577
|
+
bar "<expression>" because "Cannot call method "indexOf" of
|
|
4578
|
+
undefined"` — before anything reaches NetSuite. When an
|
|
4579
|
+
audit diff shows `<array>[*].` removed from the expression
|
|
4580
|
+
right before such errors began, that edit is the cause; do
|
|
4581
|
+
not look for a line missing the field.
|
|
4582
|
+
- |-
|
|
4583
|
+
## Rendered unmatched
|
|
4584
|
+
|
|
4585
|
+
A rendered value NetSuite does not match fails the record
|
|
4586
|
+
with `VALUE_LOOKUP_FAILED` — `Could not find a match for
|
|
4587
|
+
"<rendered criteria>" for the record type "<recordType>"`
|
|
4588
|
+
— quoting the criteria exactly as rendered, so the message
|
|
4589
|
+
shows what the expression produced for that line. With
|
|
4590
|
+
`allowFailures: true` the `default` value is used instead
|
|
4591
|
+
and no error is raised. Give every branch an output.
|
|
4592
|
+
- |-
|
|
4593
|
+
## The mapping preview cannot evaluate `[*]` inside a block-helper argument
|
|
4594
|
+
|
|
4595
|
+
`PUT /v1/netsuiteDA/previewImportMappingFields` (the mapping
|
|
4596
|
+
editor's Preview) evaluates lookups for real — resolved
|
|
4597
|
+
internal ids appear in `nlobjSublistIds`, misses and
|
|
4598
|
+
compile errors in `data.mappingErrors[]` — and handles
|
|
4599
|
+
`[*]` in plain substitutions and inside a branch's output.
|
|
4600
|
+
It does NOT apply the per-line evaluation to `[*]` used as a
|
|
4601
|
+
block-helper ARGUMENT (`{{#if line_items[*].x}}`,
|
|
4602
|
+
`{{#contains line_items[*].sku "_"}}`): the sublist comes
|
|
4603
|
+
back EMPTY with no error, whatever the expression would do
|
|
4604
|
+
in a run. An empty preview is therefore no evidence about
|
|
4605
|
+
such an expression — never report it as "renders nothing"
|
|
4606
|
+
or as invalid on that basis; validate it with a run.
|
|
4607
|
+
`<array>.@index.<field>` is likewise not evaluable in the
|
|
4608
|
+
preview (the record is dropped with no error).
|
|
4470
4609
|
operator:
|
|
4471
4610
|
type: string
|
|
4472
4611
|
description: |-
|
|
@@ -4524,6 +4663,14 @@ components:
|
|
|
4524
4663
|
TWO locations: `netsuite_da.lookups` and top-level `lookups`.
|
|
4525
4664
|
Both arrays must hold byte-for-byte identical content — the
|
|
4526
4665
|
MappingsAgent writes both on every save.
|
|
4666
|
+
- |-
|
|
4667
|
+
## One context for body and sublist lookups
|
|
4668
|
+
Every lookup's `expression` renders against the whole source
|
|
4669
|
+
record. A lookup referenced from a sublist row
|
|
4670
|
+
(`mapping.lists[].fields[].lookupName`) is evaluated once per
|
|
4671
|
+
line and addresses the current line with `<array>[*].<field>`
|
|
4672
|
+
— never a bare line field. See `expression` for the failure
|
|
4673
|
+
modes and the preview caveat.
|
|
4527
4674
|
x-celigo-agent:
|
|
4528
4675
|
- lookup
|
|
4529
4676
|
rawOverride:
|
|
@@ -8226,8 +8373,73 @@ components:
|
|
|
8226
8373
|
limits against the same downstream system but
|
|
8227
8374
|
use different credentials. Mutually exclusive
|
|
8228
8375
|
with `_id` on the same entry.
|
|
8376
|
+
Topic:
|
|
8377
|
+
type: object
|
|
8378
|
+
description: |-
|
|
8379
|
+
Publishing settings for an Event Streams publisher (`adaptorType: TopicImport`). Each
|
|
8380
|
+
incoming record is published as a message to the topic; the platform delivers it
|
|
8381
|
+
internally, so the import carries no `_connectionId`. Present when `adaptorType` is
|
|
8382
|
+
`TopicImport`; the server fills `batchSize` with its default when it is omitted.
|
|
8383
|
+
x-celigo-ai-guidance:
|
|
8384
|
+
- |-
|
|
8385
|
+
Sending this object without `adaptorType` is enough — the server infers `TopicImport`
|
|
8386
|
+
from it. Never add a `_connectionId`: the server then validates the document as that
|
|
8387
|
+
connection's adaptor instead (an http connection fails with 422 missing_required_field
|
|
8388
|
+
"http subschema not defined").
|
|
8389
|
+
- |-
|
|
8390
|
+
Without a mapping, each message is the record as the step received it. With
|
|
8391
|
+
`oneToMany: true` and `pathToMany`, every element of that array is published as its own
|
|
8392
|
+
message and the rest of the parent record rides inside each one under `_PARENT` (the parent
|
|
8393
|
+
without the array); a mapping reshapes the message instead.
|
|
8394
|
+
- |-
|
|
8395
|
+
Publishing is not limited to flows. Verified surfaces: a flow step; an API step (the API
|
|
8396
|
+
invoked at `POST /apis/{version}/{relativeURI}`); a Tool reached through a `ToolImport`
|
|
8397
|
+
step in a flow; and `POST /v1/imports/{_id}/invoke` with `{"data": [record, ...]}`. A flow
|
|
8398
|
+
or API test run (`/test/run`) publishes nothing — import steps are mocked there.
|
|
8399
|
+
properties:
|
|
8400
|
+
_topicId:
|
|
8401
|
+
type: string
|
|
8402
|
+
format: objectId
|
|
8403
|
+
x-celigo-refModel: topics
|
|
8404
|
+
x-celigo-ui-override: 'Required by the Event Streams publisher form (fieldDefinitions/resources/imports/import.js: ''topic._topicId'' is required:true, validWhen isNot ''''). The API saves a TopicImport without it, so the requirement is encoded on the request schema to mirror the form and keep publishers bound to a topic.'
|
|
8405
|
+
description: |-
|
|
8406
|
+
Topic the records are published to. Create or look it up with `GET /v1/topics`; the
|
|
8407
|
+
topic must belong to the same account.
|
|
8408
|
+
x-celigo-ai-guidance:
|
|
8409
|
+
- |-
|
|
8410
|
+
An id that is not a topic in the account fails the save with 422 `invalid_ref`
|
|
8411
|
+
("<id> is not a valid topic._topicId").
|
|
8412
|
+
examples:
|
|
8413
|
+
- 6ab1f48d38d7733b4599875c
|
|
8414
|
+
batchSize:
|
|
8415
|
+
type: integer
|
|
8416
|
+
minimum: 1
|
|
8417
|
+
default: 1000
|
|
8418
|
+
description: |-
|
|
8419
|
+
Number of records published per request to the topic. Lower it when individual
|
|
8420
|
+
messages are large; the default keeps publishing efficient for typical record sizes.
|
|
8421
|
+
x-celigo-ai-guidance:
|
|
8422
|
+
- |-
|
|
8423
|
+
Zero and negative values fail the save with 422 `min` ("Path `topic.batchSize` (0) is
|
|
8424
|
+
less than minimum allowed value (1)").
|
|
8425
|
+
examples:
|
|
8426
|
+
- 1000
|
|
8427
|
+
- 100
|
|
8229
8428
|
File:
|
|
8230
8429
|
type: object
|
|
8430
|
+
x-celigo-excludeAdaptorTypes:
|
|
8431
|
+
- RDBMSImport
|
|
8432
|
+
- JDBCImport
|
|
8433
|
+
- SalesforceImport
|
|
8434
|
+
- NetSuiteImport
|
|
8435
|
+
- MongodbImport
|
|
8436
|
+
x-celigo-ai-guidance:
|
|
8437
|
+
- |-
|
|
8438
|
+
Never author or patch `file` on an `RDBMSImport`. On a bulk load the API echoes a
|
|
8439
|
+
platform-derived `file` object whose values a save cannot change: the write is accepted,
|
|
8440
|
+
the change is discarded, and a read-back shows the original values. Shape the records
|
|
8441
|
+
before the write (a preMap/postMap hook, the mapping, a transform) or correct the source
|
|
8442
|
+
data instead.
|
|
8231
8443
|
description: |-
|
|
8232
8444
|
**CRITICAL: This object is REQUIRED for all file-based import adaptor types.**
|
|
8233
8445
|
|
|
@@ -8237,20 +8449,35 @@ components:
|
|
|
8237
8449
|
- `S3Import`
|
|
8238
8450
|
- `FTPImport`
|
|
8239
8451
|
- `AS2Import`
|
|
8452
|
+
- `HTTPImport` in file mode (`http.type: "file"` — the folder mode of the cloud file
|
|
8453
|
+
providers such as Google Drive, Box, Dropbox, Azure Blob, Google Cloud Storage and Celigo
|
|
8454
|
+
Storage); the same `file` object, including `type: filedefinition` with `_ediProfileId`
|
|
8455
|
+
for EDI, applies as on S3 / FTP
|
|
8240
8456
|
|
|
8241
8457
|
❌ **DO NOT SET** for non-file-based imports like:
|
|
8242
8458
|
- `SalesforceImport`
|
|
8243
8459
|
- `NetSuiteImport`
|
|
8244
|
-
- `HTTPImport`
|
|
8460
|
+
- `HTTPImport` in records mode (`http.type` unset — a REST endpoint receiving records)
|
|
8245
8461
|
- `MongodbImport`
|
|
8246
8462
|
- `RDBMSImport`
|
|
8463
|
+
- `JDBCImport`
|
|
8464
|
+
|
|
8465
|
+
**Read-only on database bulk loads**
|
|
8466
|
+
|
|
8467
|
+
An `RDBMSImport` whose `rdbms.queryType` is `bulk_load` returns a `file` object anyway: the
|
|
8468
|
+
platform's description of the staging file it generates for the load (delimiter, quoting,
|
|
8469
|
+
newline handling, and how the load is batched into files). It is derived on every read,
|
|
8470
|
+
never stored — a save that changes it is accepted and the change discarded (the audit log
|
|
8471
|
+
still records the request), and the import editor has no control for it. Change what
|
|
8472
|
+
reaches the destination with a preMap/postMap hook, the mapping, or a transform, or correct
|
|
8473
|
+
the source data.
|
|
8247
8474
|
|
|
8248
8475
|
**Minimum required fields**
|
|
8249
8476
|
|
|
8250
8477
|
For most file imports, you need at minimum:
|
|
8251
8478
|
- `fileName`: The output file name (supports Handlebars like `{{timestamp}}`)
|
|
8252
8479
|
- `type`: The file format (json, csv, xml, xlsx)
|
|
8253
|
-
- `
|
|
8480
|
+
- `aggregation.type`: How the run's records are batched into files (`all` for one file per run)
|
|
8254
8481
|
|
|
8255
8482
|
**Example (S3 Import)**
|
|
8256
8483
|
|
|
@@ -8258,7 +8485,7 @@ components:
|
|
|
8258
8485
|
{
|
|
8259
8486
|
"file": {
|
|
8260
8487
|
"fileName": "customers-{{timestamp}}.json",
|
|
8261
|
-
"
|
|
8488
|
+
"aggregation": { "type": "all" },
|
|
8262
8489
|
"type": "json"
|
|
8263
8490
|
},
|
|
8264
8491
|
"s3": {
|
|
@@ -8300,18 +8527,22 @@ components:
|
|
|
8300
8527
|
skipAggregation:
|
|
8301
8528
|
type: boolean
|
|
8302
8529
|
description: |-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8309
|
-
**When to use**
|
|
8310
|
-
- **`false`**: Standard batch imports where all records go into one file
|
|
8311
|
-
- **`true`**: When each record needs its own file (e.g., individual documents)
|
|
8312
|
-
|
|
8313
|
-
**Default:** `false`
|
|
8530
|
+
Legacy companion of `aggregation.type`: `true` when the run's records are written one
|
|
8531
|
+
file per page, `false` when they are combined across the run or grouped by key.
|
|
8532
|
+
Validation reads the value sent — an EDI file definition needs `true` unless
|
|
8533
|
+
`aggregation.type` is `key`, and `batchSize` needs `true` — then the save rewrites it
|
|
8534
|
+
from `aggregation.type`, so send the two as a consistent pair.
|
|
8314
8535
|
default: false
|
|
8536
|
+
x-celigo-ai-guidance:
|
|
8537
|
+
- |-
|
|
8538
|
+
Send `skipAggregation` and `aggregation.type` as a consistent pair, exactly as the UI
|
|
8539
|
+
does: `page` with `true`; `all` or `key` with `false`. Validation reads the SENT flag —
|
|
8540
|
+
a `file.type: filedefinition` import saved with `page` and no `skipAggregation: true`
|
|
8541
|
+
fails with 422 `not_supported` ("Aggregation is not supported for EDI files, please set
|
|
8542
|
+
skipAggregation to true in Imports"), and `batchSize` fails with 422 `not_supported`
|
|
8543
|
+
("File imports do not support batching with aggregation") unless the sent flag is
|
|
8544
|
+
`true`. The SAVED flag is then derived from `aggregation.type`, so this flag alone never
|
|
8545
|
+
says which mode is active — read `aggregation.type`. It does not mean one file per record.
|
|
8315
8546
|
type:
|
|
8316
8547
|
type: string
|
|
8317
8548
|
enum:
|
|
@@ -8417,7 +8648,15 @@ components:
|
|
|
8417
8648
|
- When target system has file size limitations
|
|
8418
8649
|
|
|
8419
8650
|
**Note**
|
|
8420
|
-
-
|
|
8651
|
+
- Offered when records are written one file per page (`aggregation.type: page` with
|
|
8652
|
+
`skipAggregation: true`)
|
|
8653
|
+
x-celigo-ai-guidance:
|
|
8654
|
+
- |-
|
|
8655
|
+
Probed for `all` and `page`: the save rejects `batchSize` with 422 `not_supported`
|
|
8656
|
+
("File imports do not support batching with aggregation") when the sent
|
|
8657
|
+
`skipAggregation` is not `true`, and accepts it with `page` + `skipAggregation: true`.
|
|
8658
|
+
The `key` + `batchSize` combination has not been probed (it needs a B2B Manager
|
|
8659
|
+
account) — treat it as unverified, neither allowed nor forbidden.
|
|
8421
8660
|
encrypt:
|
|
8422
8661
|
type: boolean
|
|
8423
8662
|
description: |-
|
|
@@ -8523,21 +8762,45 @@ components:
|
|
|
8523
8762
|
aggregation:
|
|
8524
8763
|
type: object
|
|
8525
8764
|
description: |-
|
|
8526
|
-
Controls how records are batched into output files
|
|
8527
|
-
|
|
8765
|
+
Controls how a flow run's records are batched into output files — the transfer form's
|
|
8766
|
+
"How many files would you like to generate?" setting. The legacy `skipAggregation` flag
|
|
8767
|
+
mirrors `type` and is maintained by the platform.
|
|
8528
8768
|
properties:
|
|
8529
8769
|
type:
|
|
8530
8770
|
type: string
|
|
8531
8771
|
enum:
|
|
8532
8772
|
- all
|
|
8533
8773
|
- page
|
|
8774
|
+
- key
|
|
8534
8775
|
x-enumDescriptions:
|
|
8535
|
-
all:
|
|
8536
|
-
page:
|
|
8537
|
-
|
|
8776
|
+
all: One file per flow run — every record from the run (per export, or per request on real-time flows) in a single file
|
|
8777
|
+
page: One file per page of records
|
|
8778
|
+
key: One file per aggregation key — EDI file definitions only; records sharing the key derived from the file definition's document type are combined into one document
|
|
8779
|
+
description: |-
|
|
8780
|
+
Which batches of a run's records become separate output files. EDI file definitions
|
|
8781
|
+
(`file.type: filedefinition`) are written per page or per key, never per run; `key`
|
|
8782
|
+
is accepted only for them and only when the account has B2B Manager. The grouping
|
|
8783
|
+
key and the line-item loop it merges come from the EDI file definition's document
|
|
8784
|
+
type, so there is no separate key field to configure.
|
|
8538
8785
|
examples:
|
|
8539
8786
|
- all
|
|
8540
8787
|
- page
|
|
8788
|
+
- key
|
|
8789
|
+
x-celigo-ai-guidance:
|
|
8790
|
+
- |-
|
|
8791
|
+
Validated on save: an unknown value fails with 422 `enum`; `key` fails with 422
|
|
8792
|
+
`not_supported` unless `file.type` is `filedefinition` ("Aggregation type key is
|
|
8793
|
+
only supported for file type filedefinition") and the account has B2B Manager
|
|
8794
|
+
("Aggregation type key is only supported for B2B Manager").
|
|
8795
|
+
- |-
|
|
8796
|
+
For `file.type: filedefinition` send `page` (with `skipAggregation: true`) or `key`
|
|
8797
|
+
(with `false`); `all` is not an EDI option — the validator enforces this through the
|
|
8798
|
+
`skipAggregation` rule (see that field). For every other file type the choices are
|
|
8799
|
+
`all` and `page`. The UI offers exactly these splits.
|
|
8800
|
+
- |-
|
|
8801
|
+
A user asking where the "aggregation key" is configured is asking about this
|
|
8802
|
+
field: the key itself is derived from the file definition's document type, never
|
|
8803
|
+
entered.
|
|
8541
8804
|
lookups:
|
|
8542
8805
|
type: array
|
|
8543
8806
|
description: |-
|
|
@@ -8620,16 +8883,43 @@ components:
|
|
|
8620
8883
|
examples:
|
|
8621
8884
|
- true
|
|
8622
8885
|
- false
|
|
8886
|
+
appendToExistingFile:
|
|
8887
|
+
type: boolean
|
|
8888
|
+
default: false
|
|
8889
|
+
x-celigo-ui-override: 'Defaulted by the Azure Data Lake Storage Gen2 import form (fieldDefinitions/resources/imports/azuredatalakestoragegen2.js: ''file.appendToExistingFile'' defaultValue r?.file?.appendToExistingFile === true, shown only for file.type csv in records mode). When it is on, preSave clears file.compressionFormat, file.encrypt, file.pgp and the Content-Type header — append mode and compress/encrypt are exclusive on the form. The API stores the flag on any file import.'
|
|
8890
|
+
description: |-
|
|
8891
|
+
When true, an Azure Data Lake Storage Gen2 import (`assistant: azuredatalakestoragegen2`)
|
|
8892
|
+
appends each run's CSV output to the file named by `file.fileName` instead of replacing
|
|
8893
|
+
it. Appended content cannot be compressed or encrypted, so leave `compressionFormat`,
|
|
8894
|
+
`encrypt` and `pgp` unset when this is on.
|
|
8895
|
+
examples:
|
|
8896
|
+
- true
|
|
8897
|
+
- false
|
|
8898
|
+
contentType:
|
|
8899
|
+
type: string
|
|
8900
|
+
x-celigo-agent:
|
|
8901
|
+
- handlebars
|
|
8902
|
+
description: |-
|
|
8903
|
+
MIME type recorded on the file written to a cloud file provider such as Azure Data Lake
|
|
8904
|
+
Storage Gen2. Accepts a Handlebars expression so the type can follow the record (e.g.
|
|
8905
|
+
`{{record.mimeType}}`). Omit to let the destination assign its default.
|
|
8906
|
+
examples:
|
|
8907
|
+
- text/csv
|
|
8908
|
+
- application/json
|
|
8909
|
+
- '{{record.mimeType}}'
|
|
8623
8910
|
directory:
|
|
8624
8911
|
type: object
|
|
8625
8912
|
required:
|
|
8626
8913
|
- pathMode
|
|
8627
8914
|
description: |-
|
|
8628
8915
|
Structured destination location for cloud file-provider imports (Google Drive shared
|
|
8629
|
-
drives, Box, Dropbox
|
|
8630
|
-
the location by folder ID or by a
|
|
8631
|
-
|
|
8632
|
-
destination-path field is
|
|
8916
|
+
drives, Box, Dropbox, Google Cloud Storage, Azure Data Lake Storage Gen2), replacing the
|
|
8917
|
+
flat path used by classic FTP/S3 destinations. Select the location by folder ID or by a
|
|
8918
|
+
path relative to a configured storage root via pathMode. For the drive-style providers,
|
|
8919
|
+
directoryId mode addresses the folder by id alone — the flat destination-path field is
|
|
8920
|
+
not consulted at runtime. Google Cloud Storage puts the bucket in `storageRootId`;
|
|
8921
|
+
Azure Data Lake Storage Gen2 puts the container in `name` and the directory prefix of the
|
|
8922
|
+
file path in `http.relativeURI`.
|
|
8633
8923
|
x-celigo-ai-guidance:
|
|
8634
8924
|
- Save-time validation accepts any string for id without checking it against the provider — set it only from a folder ID the user supplied or the UI folder browser stored; never fabricate one. To address a folder by path instead, set pathMode to relativePath and put the path in the adaptor's flat path field.
|
|
8635
8925
|
properties:
|
|
@@ -8656,16 +8946,21 @@ components:
|
|
|
8656
8946
|
type: string
|
|
8657
8947
|
description: |-
|
|
8658
8948
|
Display name of the folder identified by id, kept for readability in the UI; the
|
|
8659
|
-
folder browser fills it when the location is picked visually.
|
|
8949
|
+
folder browser fills it when the location is picked visually. For Azure Data Lake
|
|
8950
|
+
Storage Gen2 it is the authoritative container name instead — the form saves the
|
|
8951
|
+
container here and no id.
|
|
8660
8952
|
examples:
|
|
8661
8953
|
- Invoices - Outbound
|
|
8954
|
+
- invoices-outbound
|
|
8662
8955
|
storageRootId:
|
|
8663
8956
|
type: string
|
|
8664
8957
|
description: |-
|
|
8665
8958
|
Provider-native ID of the storage root the relative path resolves against; set when
|
|
8666
|
-
pathMode is relativePath. The provider's own ID, not a Celigo resource ID.
|
|
8959
|
+
pathMode is relativePath. The provider's own ID, not a Celigo resource ID. For Google
|
|
8960
|
+
Cloud Storage it is the bucket name.
|
|
8667
8961
|
examples:
|
|
8668
8962
|
- 1qU1hvFarBFMb4-twqKm1rR5o_6j9vs9g
|
|
8963
|
+
- erp-exports
|
|
8669
8964
|
storageRootName:
|
|
8670
8965
|
type: string
|
|
8671
8966
|
description: Display name of the storage root identified by storageRootId, retained for reference in the UI.
|
|
@@ -8788,14 +9083,23 @@ components:
|
|
|
8788
9083
|
AI Agent configuration used by both AiAgentImport and GuardrailImport (ai_agent type).
|
|
8789
9084
|
|
|
8790
9085
|
Configures which AI provider and model to use, along with instructions, parameter
|
|
8791
|
-
tuning, output format, and available tools.
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
- **
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
9086
|
+
tuning, output format, and available tools. Providers come in two families with
|
|
9087
|
+
two configuration formats:
|
|
9088
|
+
|
|
9089
|
+
- **Built-in providers** — each has its own configuration block.
|
|
9090
|
+
- **openai**: OpenAI models (GPT-4.1, GPT-5, etc.). Configure via the `openai` object.
|
|
9091
|
+
- **gemini**: Google Gemini models via the LiteLLM proxy. Configure via `litellm` with overrides in `litellm._overrides.gemini`.
|
|
9092
|
+
- **anthropic**: Anthropic Claude models via the LiteLLM proxy. Configure via `litellm` with overrides in `litellm._overrides.anthropic`.
|
|
9093
|
+
- **Catalog providers** — `mistral`, `xai`, `huggingface`, `deepseek`, `cohere`, `groq`. Added
|
|
9094
|
+
as catalog data rather than platform code, they share one generic flat format:
|
|
9095
|
+
`model`, `modelOptions`, `instructions`, `output`, and the `tools` / `prompts` /
|
|
9096
|
+
`resources` arrays directly on this object.
|
|
9097
|
+
|
|
9098
|
+
A `_connectionId` on the parent import selects bring-your-own-key (BYOK)
|
|
9099
|
+
credentials. Without one, built-in providers run on platform-managed
|
|
9100
|
+
credentials; catalog providers have no platform-managed credentials, so the
|
|
9101
|
+
save requires one — without it the agent fails to save with 422
|
|
9102
|
+
`connection_required` on `_connectionId`.
|
|
8799
9103
|
required:
|
|
8800
9104
|
- provider
|
|
8801
9105
|
properties:
|
|
@@ -8805,18 +9109,225 @@ components:
|
|
|
8805
9109
|
- openai
|
|
8806
9110
|
- gemini
|
|
8807
9111
|
- anthropic
|
|
9112
|
+
- mistral
|
|
9113
|
+
- xai
|
|
9114
|
+
- huggingface
|
|
9115
|
+
- deepseek
|
|
9116
|
+
- cohere
|
|
9117
|
+
- groq
|
|
8808
9118
|
x-enumDescriptions:
|
|
8809
|
-
openai: Use OpenAI models via the OpenAI Responses API.
|
|
8810
|
-
gemini: Use Google Gemini models via the LiteLLM proxy.
|
|
8811
|
-
anthropic: Use Anthropic Claude models via the LiteLLM proxy.
|
|
9119
|
+
openai: Use OpenAI models via the OpenAI Responses API (built-in; `openai` block).
|
|
9120
|
+
gemini: Use Google Gemini models via the LiteLLM proxy (built-in; `litellm` block).
|
|
9121
|
+
anthropic: Use Anthropic Claude models via the LiteLLM proxy (built-in; `litellm` block).
|
|
9122
|
+
mistral: Use Mistral models (catalog provider; generic flat format, BYOK).
|
|
9123
|
+
xai: Use xAI Grok models (catalog provider; generic flat format, BYOK).
|
|
9124
|
+
huggingface: Use Hugging Face inference endpoint models (catalog provider; generic flat format, BYOK).
|
|
9125
|
+
deepseek: Use DeepSeek models (catalog provider; generic flat format, BYOK).
|
|
9126
|
+
cohere: Use Cohere models (catalog provider; generic flat format, BYOK).
|
|
9127
|
+
groq: Use Groq-hosted models (catalog provider; generic flat format, BYOK).
|
|
8812
9128
|
description: AI provider to use.
|
|
8813
9129
|
x-celigo-ai-guidance:
|
|
8814
9130
|
- |-
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
-
|
|
8819
|
-
|
|
9131
|
+
The provider decides the configuration format, and the server rejects a
|
|
9132
|
+
mismatch with 422 `invalid_provider_config_format`: `openai` needs the
|
|
9133
|
+
`openai` block, `gemini` and `anthropic` need the `litellm` block (Gemini- or
|
|
9134
|
+
Claude-specific settings under `litellm._overrides`), and the catalog
|
|
9135
|
+
providers (`mistral`, `xai`, `huggingface`, `deepseek`, `cohere`, `groq`) need the
|
|
9136
|
+
generic flat format — `model` and `modelOptions` directly on this object,
|
|
9137
|
+
never an `openai` or `litellm` block.
|
|
9138
|
+
- |-
|
|
9139
|
+
Catalog providers are BYOK-only, and the save enforces it: without a `_connectionId`
|
|
9140
|
+
the agent fails to save with 422 `connection_required` on `_connectionId` ("No API
|
|
9141
|
+
key is available for provider 'xai'. Add a connection for this provider with your
|
|
9142
|
+
API key and select it on this agent."). Attach an HTTP connection to the vendor's
|
|
9143
|
+
API (token auth) before saving a catalog-provider agent.
|
|
9144
|
+
model:
|
|
9145
|
+
type: string
|
|
9146
|
+
description: |-
|
|
9147
|
+
Model identifier for a catalog provider (generic flat format) — for example
|
|
9148
|
+
`grok-4.6`. Built-in providers set the model inside their own block
|
|
9149
|
+
(`openai.model`, `litellm.model`) instead.
|
|
9150
|
+
x-celigo-ai-guidance:
|
|
9151
|
+
- |-
|
|
9152
|
+
Required for every catalog provider — omitting it or sending an empty string
|
|
9153
|
+
fails the save with 422 `missing_required_field`.
|
|
9154
|
+
- |-
|
|
9155
|
+
The connection is checked before the model: without a `_connectionId` on the
|
|
9156
|
+
parent import a catalog-provider agent fails to save with 422
|
|
9157
|
+
`connection_required` whatever the model string (an unknown id included).
|
|
9158
|
+
With a `_connectionId` (BYOK) any model string saves — the server does not
|
|
9159
|
+
check it against the catalog or the vendor.
|
|
9160
|
+
modelOptions:
|
|
9161
|
+
type: object
|
|
9162
|
+
description: |-
|
|
9163
|
+
Model tuning for a catalog provider (generic flat format). Which keys, values, and
|
|
9164
|
+
ranges are accepted is defined per catalog model and validated on save when the
|
|
9165
|
+
model is a catalog entry.
|
|
9166
|
+
properties:
|
|
9167
|
+
maxOutputTokens:
|
|
9168
|
+
type: number
|
|
9169
|
+
description: Maximum number of tokens the model may generate.
|
|
9170
|
+
temperature:
|
|
9171
|
+
type: number
|
|
9172
|
+
description: Sampling temperature.
|
|
9173
|
+
topP:
|
|
9174
|
+
type: number
|
|
9175
|
+
description: Nucleus sampling threshold.
|
|
9176
|
+
reasoning_effort:
|
|
9177
|
+
type: string
|
|
9178
|
+
enum:
|
|
9179
|
+
- low
|
|
9180
|
+
- medium
|
|
9181
|
+
- high
|
|
9182
|
+
- xhigh
|
|
9183
|
+
x-enumDescriptions:
|
|
9184
|
+
low: Minimal reasoning before answering.
|
|
9185
|
+
medium: Moderate reasoning.
|
|
9186
|
+
high: Extensive reasoning.
|
|
9187
|
+
xhigh: Maximum reasoning.
|
|
9188
|
+
description: Reasoning depth for models that expose it.
|
|
9189
|
+
x-celigo-ai-guidance:
|
|
9190
|
+
- |-
|
|
9191
|
+
When the model is a catalog entry, the server validates this object against
|
|
9192
|
+
that model's schema and fails the save with 422 `invalid_model_options`
|
|
9193
|
+
naming the key: unknown keys are rejected, `reasoning_effort` must be one of
|
|
9194
|
+
the enum values where the model accepts it at all (xAI's `grok-4.6` does;
|
|
9195
|
+
DeepSeek's `deepseek-chat` rejects the key), and numeric bounds apply —
|
|
9196
|
+
on `grok-4.6`, `temperature` ≤ 2, `topP` ≤ 1, `maxOutputTokens` ≥ 100.
|
|
9197
|
+
- |-
|
|
9198
|
+
With a `_connectionId` and a model the catalog does not list, the object is
|
|
9199
|
+
passed through unvalidated — send only options the vendor's API accepts.
|
|
9200
|
+
instructions:
|
|
9201
|
+
type: string
|
|
9202
|
+
description: |-
|
|
9203
|
+
System prompt for a catalog provider (generic flat format). Built-in providers
|
|
9204
|
+
set it inside their own block (`openai.instructions`,
|
|
9205
|
+
`litellm._overrides.anthropic.systemInstruction`).
|
|
9206
|
+
output:
|
|
9207
|
+
type: object
|
|
9208
|
+
description: |-
|
|
9209
|
+
Output format for a catalog provider (generic flat format). Built-in providers
|
|
9210
|
+
configure it inside their own block (`openai.output`, `litellm.responseFormat`).
|
|
9211
|
+
properties:
|
|
9212
|
+
format:
|
|
9213
|
+
type: object
|
|
9214
|
+
description: Controls the structure of the model's output.
|
|
9215
|
+
properties:
|
|
9216
|
+
type:
|
|
9217
|
+
type: string
|
|
9218
|
+
enum:
|
|
9219
|
+
- text
|
|
9220
|
+
- json_schema
|
|
9221
|
+
x-enumDescriptions:
|
|
9222
|
+
text: Free-form text.
|
|
9223
|
+
json_schema: Structured JSON conforming to `jsonSchema`.
|
|
9224
|
+
description: Output type.
|
|
9225
|
+
x-celigo-ai-guidance:
|
|
9226
|
+
- |-
|
|
9227
|
+
`blob` is not accepted here — the save fails with 422
|
|
9228
|
+
`unsupported_output_format` naming the model (verified on `grok-4.6`).
|
|
9229
|
+
name:
|
|
9230
|
+
type: string
|
|
9231
|
+
description: Name of the JSON schema, for `json_schema` output.
|
|
9232
|
+
strict:
|
|
9233
|
+
type: boolean
|
|
9234
|
+
description: When true, the model must conform exactly to `jsonSchema`.
|
|
9235
|
+
jsonSchema:
|
|
9236
|
+
type: object
|
|
9237
|
+
additionalProperties: true
|
|
9238
|
+
description: JSON Schema the structured output must conform to, for `json_schema` output.
|
|
9239
|
+
verbose:
|
|
9240
|
+
type: string
|
|
9241
|
+
description: Level of detail in the model's response, for models that expose it.
|
|
9242
|
+
tools:
|
|
9243
|
+
type: array
|
|
9244
|
+
description: |-
|
|
9245
|
+
Tools available to a catalog-provider agent (generic flat format). Entries mirror
|
|
9246
|
+
the built-in providers' tool entries: a Celigo Tool by `_toolId`, an MCP server by
|
|
9247
|
+
`_mcpConnectionId`, or a vendor web-search tool.
|
|
9248
|
+
items:
|
|
9249
|
+
type: object
|
|
9250
|
+
properties:
|
|
9251
|
+
type:
|
|
9252
|
+
type: string
|
|
9253
|
+
enum:
|
|
9254
|
+
- tool
|
|
9255
|
+
- mcp
|
|
9256
|
+
- web_search
|
|
9257
|
+
x-enumDescriptions:
|
|
9258
|
+
tool: Reference a reusable Celigo Tool resource.
|
|
9259
|
+
mcp: Connect to an MCP server for additional external tools.
|
|
9260
|
+
web_search: Search the web for real-time information, where the vendor's model supports it.
|
|
9261
|
+
description: Type of tool entry.
|
|
9262
|
+
tool:
|
|
9263
|
+
type: object
|
|
9264
|
+
description: Reference to a Celigo Tool resource, used when type is "tool".
|
|
9265
|
+
properties:
|
|
9266
|
+
_toolId:
|
|
9267
|
+
type: string
|
|
9268
|
+
format: objectId
|
|
9269
|
+
x-celigo-refModel: tools
|
|
9270
|
+
description: The Celigo Tool to call.
|
|
9271
|
+
mcp:
|
|
9272
|
+
type: object
|
|
9273
|
+
description: MCP server connection, used when type is "mcp".
|
|
9274
|
+
properties:
|
|
9275
|
+
_mcpConnectionId:
|
|
9276
|
+
type: string
|
|
9277
|
+
format: objectId
|
|
9278
|
+
x-celigo-refModel: connections
|
|
9279
|
+
description: Connection to the MCP server.
|
|
9280
|
+
allowedTools:
|
|
9281
|
+
type: array
|
|
9282
|
+
description: |-
|
|
9283
|
+
Specific tools to allow from the MCP server (all if omitted). Each entry
|
|
9284
|
+
is either a plain tool name or an object carrying display metadata.
|
|
9285
|
+
items:
|
|
9286
|
+
type:
|
|
9287
|
+
- string
|
|
9288
|
+
- object
|
|
9289
|
+
config:
|
|
9290
|
+
type: object
|
|
9291
|
+
additionalProperties: true
|
|
9292
|
+
description: Tool-specific options for vendor-native tools (for example web-search settings).
|
|
9293
|
+
x-celigo-ai-guidance:
|
|
9294
|
+
- |-
|
|
9295
|
+
References are checked on save: an unknown `_toolId` or `_mcpConnectionId`
|
|
9296
|
+
fails with 422 `invalid_ref` naming the array index.
|
|
9297
|
+
prompts:
|
|
9298
|
+
type: array
|
|
9299
|
+
description: |-
|
|
9300
|
+
MCP prompt entries available to a catalog-provider agent (generic flat format).
|
|
9301
|
+
Each entry references one MCP connection and the prompt names allowed from it.
|
|
9302
|
+
items:
|
|
9303
|
+
type: object
|
|
9304
|
+
properties:
|
|
9305
|
+
type:
|
|
9306
|
+
type: string
|
|
9307
|
+
enum:
|
|
9308
|
+
- mcp
|
|
9309
|
+
x-enumDescriptions:
|
|
9310
|
+
mcp: Reference prompts exposed by an MCP server.
|
|
9311
|
+
description: Type of prompt entry. Always "mcp".
|
|
9312
|
+
mcp:
|
|
9313
|
+
type: object
|
|
9314
|
+
properties:
|
|
9315
|
+
_mcpConnectionId:
|
|
9316
|
+
type: string
|
|
9317
|
+
format: objectId
|
|
9318
|
+
x-celigo-refModel: connections
|
|
9319
|
+
description: Connection to the MCP server that exposes the prompts.
|
|
9320
|
+
allowedPrompts:
|
|
9321
|
+
type: array
|
|
9322
|
+
description: Prompt names the agent may fetch from the server.
|
|
9323
|
+
items:
|
|
9324
|
+
type: string
|
|
9325
|
+
x-celigo-ai-guidance:
|
|
9326
|
+
- |-
|
|
9327
|
+
An unknown `_mcpConnectionId` fails the save with 422 `invalid_ref` naming
|
|
9328
|
+
the array index.
|
|
9329
|
+
resources:
|
|
9330
|
+
$ref: '#/components/schemas/McpResources'
|
|
8820
9331
|
openai:
|
|
8821
9332
|
type: object
|
|
8822
9333
|
description: |
|
|
@@ -8847,10 +9358,11 @@ components:
|
|
|
8847
9358
|
x-celigo-ai-guidance:
|
|
8848
9359
|
- |-
|
|
8849
9360
|
With platform-managed credentials (no `_connectionId` on the parent
|
|
8850
|
-
import), the model must be
|
|
8851
|
-
unlisted model
|
|
8852
|
-
|
|
8853
|
-
|
|
9361
|
+
import), the model must be one the platform hosts. The save does not
|
|
9362
|
+
check this — an unlisted model saves, and the agent's first run fails
|
|
9363
|
+
with 422 `invalid_model`, whose message lists the hosted models. A
|
|
9364
|
+
BYOK connection bypasses the hosted list and the model string is
|
|
9365
|
+
passed through to the provider as-is.
|
|
8854
9366
|
reasoning:
|
|
8855
9367
|
type: object
|
|
8856
9368
|
description: Controls depth of reasoning for complex tasks.
|
|
@@ -8869,18 +9381,21 @@ components:
|
|
|
8869
9381
|
- medium
|
|
8870
9382
|
- high
|
|
8871
9383
|
- xhigh
|
|
9384
|
+
- max
|
|
8872
9385
|
x-enumDescriptions:
|
|
8873
9386
|
none: No additional reasoning effort.
|
|
8874
9387
|
minimal: Least reasoning effort for simple, straightforward tasks.
|
|
8875
9388
|
low: Light reasoning for moderately simple tasks.
|
|
8876
9389
|
medium: Balanced reasoning effort for typical tasks.
|
|
8877
|
-
high:
|
|
8878
|
-
xhigh:
|
|
9390
|
+
high: Heavy reasoning effort for complex, multi-step tasks.
|
|
9391
|
+
xhigh: Very high reasoning effort for the most demanding, multi-step tasks.
|
|
9392
|
+
max: Highest available reasoning effort, above xhigh.
|
|
8879
9393
|
description: How much reasoning effort the model should invest
|
|
8880
9394
|
x-celigo-ai-guidance:
|
|
8881
9395
|
- |-
|
|
8882
9396
|
How much reasoning effort the model should invest.
|
|
8883
9397
|
Reasoning- capable models only — see `reasoning` for the gating rule.
|
|
9398
|
+
- Any other value fails the save with 422 `enum` on `aiAgent.openai.reasoning.effort`.
|
|
8884
9399
|
summary:
|
|
8885
9400
|
type: string
|
|
8886
9401
|
enum:
|
|
@@ -8965,12 +9480,22 @@ components:
|
|
|
8965
9480
|
- manual
|
|
8966
9481
|
- json
|
|
8967
9482
|
x-enumDescriptions:
|
|
8968
|
-
manual: The
|
|
8969
|
-
json: The
|
|
9483
|
+
manual: The UI opens `jsonSchema` in the visual field-by-field editor
|
|
9484
|
+
json: The UI opens `jsonSchema` in the raw JSON editor
|
|
8970
9485
|
description: |-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
9486
|
+
Which editor the UI opens `jsonSchema` in; the schema sent to the provider
|
|
9487
|
+
is the same either way, and the field is only meaningful when `type` is
|
|
9488
|
+
"json_schema". Unset opens the visual editor, and an edit there rebuilds
|
|
9489
|
+
`jsonSchema` from the field list, keeping only `type`, `properties`,
|
|
9490
|
+
`required`, `items`, `description`, `enum`, `pattern`, length and numeric
|
|
9491
|
+
bounds, `multipleOf`, `minItems`/`maxItems` and a `"null"` type — other
|
|
9492
|
+
keywords are dropped without a prompt, and `integer` becomes `number`.
|
|
9493
|
+
x-celigo-ai-guidance:
|
|
9494
|
+
- |-
|
|
9495
|
+
Set `json` on a schema written as raw JSON; keep a user's `manual` and stay
|
|
9496
|
+
inside the keywords the visual editor keeps. A full PUT that omits the field
|
|
9497
|
+
clears it, and a value outside the enum fails the save with 422 `enum` on
|
|
9498
|
+
`aiAgent.openai.output.format.schemaMode`.
|
|
8974
9499
|
name:
|
|
8975
9500
|
type: string
|
|
8976
9501
|
description: Name for the output format (used with json_schema)
|
|
@@ -9016,6 +9541,13 @@ components:
|
|
|
9016
9541
|
additionalproperties:
|
|
9017
9542
|
type: boolean
|
|
9018
9543
|
description: When true, the structured output may include properties beyond those defined in `properties`.
|
|
9544
|
+
schema:
|
|
9545
|
+
type: object
|
|
9546
|
+
readOnly: true
|
|
9547
|
+
additionalProperties: true
|
|
9548
|
+
description: |-
|
|
9549
|
+
Server-written copy of `jsonSchema`, returned whenever `jsonSchema` is set — on
|
|
9550
|
+
AI agent imports and on guardrail agents alike. Send `jsonSchema`, not this field.
|
|
9019
9551
|
if:
|
|
9020
9552
|
properties:
|
|
9021
9553
|
type:
|
|
@@ -9058,13 +9590,19 @@ components:
|
|
|
9058
9590
|
- web_search
|
|
9059
9591
|
- mcp
|
|
9060
9592
|
- image_generation
|
|
9593
|
+
- code_execution
|
|
9061
9594
|
- tool
|
|
9062
9595
|
x-enumDescriptions:
|
|
9063
9596
|
web_search: Search the web for real-time information.
|
|
9064
9597
|
mcp: Connect to an MCP server for additional external tools.
|
|
9065
9598
|
image_generation: Generate images using an AI image model.
|
|
9599
|
+
code_execution: 'Enable OpenAI''s built-in code-execution tool; carries no configuration block, send `{type: code_execution}` only'
|
|
9066
9600
|
tool: Reference a reusable Celigo Tool resource.
|
|
9067
|
-
description:
|
|
9601
|
+
description: |-
|
|
9602
|
+
Type of tool. Every type except `code_execution` is configured through the
|
|
9603
|
+
sibling object of the same name; OpenAI spells this one `code_execution`, while
|
|
9604
|
+
the Gemini and Anthropic overrides spell theirs `codeExecution` — the other spelling
|
|
9605
|
+
fails with 422 `enum`.
|
|
9068
9606
|
webSearch:
|
|
9069
9607
|
type: object
|
|
9070
9608
|
description: Web search configuration (empty object to enable)
|
|
@@ -9253,6 +9791,13 @@ components:
|
|
|
9253
9791
|
- claude-sonnet-4-6
|
|
9254
9792
|
- claude-opus-4-7
|
|
9255
9793
|
x-celigo-ui-override: Required by the AI agent configuration form. Encoded here to mirror the form so builders produce connectable configurations.
|
|
9794
|
+
x-celigo-ai-guidance:
|
|
9795
|
+
- |-
|
|
9796
|
+
With platform-managed credentials (no `_connectionId` on the parent
|
|
9797
|
+
import), the model must be one the platform hosts for the provider —
|
|
9798
|
+
Gemini and Anthropic Claude both have a hosted list. The save does not
|
|
9799
|
+
check this — an unlisted model saves, and the agent's first run fails
|
|
9800
|
+
with 422 `invalid_model`, whose message lists the hosted models.
|
|
9256
9801
|
temperature:
|
|
9257
9802
|
type: number
|
|
9258
9803
|
minimum: 0
|
|
@@ -9303,12 +9848,22 @@ components:
|
|
|
9303
9848
|
- manual
|
|
9304
9849
|
- json
|
|
9305
9850
|
x-enumDescriptions:
|
|
9306
|
-
manual: The
|
|
9307
|
-
json: The
|
|
9851
|
+
manual: The UI opens `jsonSchema` in the visual field-by-field editor
|
|
9852
|
+
json: The UI opens `jsonSchema` in the raw JSON editor
|
|
9308
9853
|
description: |-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9854
|
+
Which editor the UI opens `jsonSchema` in; the schema sent to the provider is
|
|
9855
|
+
the same either way, and the field is only meaningful when `type` is
|
|
9856
|
+
"json_schema". Unset opens the visual editor, and an edit there rebuilds
|
|
9857
|
+
`jsonSchema` from the field list, keeping only `type`, `properties`, `required`,
|
|
9858
|
+
`items`, `description`, `enum`, `pattern`, length and numeric bounds,
|
|
9859
|
+
`multipleOf`, `minItems`/`maxItems` and a `"null"` type — other keywords are
|
|
9860
|
+
dropped without a prompt, and `integer` becomes `number`.
|
|
9861
|
+
x-celigo-ai-guidance:
|
|
9862
|
+
- |-
|
|
9863
|
+
Set `json` on a schema written as raw JSON; keep a user's `manual` and stay inside
|
|
9864
|
+
the keywords the visual editor keeps. A full PUT that omits the field clears it,
|
|
9865
|
+
and a value outside the enum fails the save with 422 `enum` on
|
|
9866
|
+
`aiAgent.litellm.responseFormat.schemaMode`.
|
|
9312
9867
|
name:
|
|
9313
9868
|
type: string
|
|
9314
9869
|
description: Name for the output format (used with json_schema).
|
|
@@ -9391,15 +9946,19 @@ components:
|
|
|
9391
9946
|
- googleSearch
|
|
9392
9947
|
- urlContext
|
|
9393
9948
|
- fileSearch
|
|
9949
|
+
- codeExecution
|
|
9394
9950
|
- mcp
|
|
9395
9951
|
- tool
|
|
9396
9952
|
x-enumDescriptions:
|
|
9397
9953
|
googleSearch: Use Google Search for real-time information grounding.
|
|
9398
9954
|
urlContext: Retrieve and use content from specified URLs.
|
|
9399
9955
|
fileSearch: Search through previously uploaded files.
|
|
9956
|
+
codeExecution: 'Enable Gemini''s built-in code-execution tool; carries no configuration block, send `{type: codeExecution}` only'
|
|
9400
9957
|
mcp: Connect to an MCP server for additional external tools.
|
|
9401
9958
|
tool: Reference a reusable Celigo Tool resource.
|
|
9402
|
-
description:
|
|
9959
|
+
description: |-
|
|
9960
|
+
Type of Gemini tool. `codeExecution` is the Gemini spelling — `code_execution`
|
|
9961
|
+
fails with 422 `enum`.
|
|
9403
9962
|
googleSearch:
|
|
9404
9963
|
type: object
|
|
9405
9964
|
description: Google Search configuration (empty object to enable)
|
|
@@ -9731,11 +10290,15 @@ components:
|
|
|
9731
10290
|
- tool
|
|
9732
10291
|
- mcp
|
|
9733
10292
|
- webSearch
|
|
10293
|
+
- codeExecution
|
|
9734
10294
|
x-enumDescriptions:
|
|
9735
10295
|
tool: Reference a reusable Celigo Tool resource.
|
|
9736
10296
|
mcp: Connect to an MCP server for additional external tools.
|
|
9737
10297
|
webSearch: Search the web for real-time information.
|
|
9738
|
-
|
|
10298
|
+
codeExecution: 'Enable Anthropic''s built-in code-execution tool; carries no configuration block, send `{type: codeExecution}` only'
|
|
10299
|
+
description: |-
|
|
10300
|
+
Type of Claude tool. `codeExecution` is the Anthropic spelling — `code_execution`
|
|
10301
|
+
fails with 422 `enum`.
|
|
9739
10302
|
tool:
|
|
9740
10303
|
type: object
|
|
9741
10304
|
description: Reference to a Celigo Tool resource, used when type is "tool".
|
|
@@ -9783,11 +10346,45 @@ components:
|
|
|
9783
10346
|
description: Connection to the MCP server.
|
|
9784
10347
|
allowedTools:
|
|
9785
10348
|
type: array
|
|
9786
|
-
description:
|
|
10349
|
+
description: |-
|
|
10350
|
+
Specific tools to allow from the MCP server (all if omitted). Each
|
|
10351
|
+
entry is either a plain tool name or an object carrying display
|
|
10352
|
+
metadata — same contract as the OpenAI and Gemini `allowedTools`.
|
|
9787
10353
|
items:
|
|
9788
|
-
|
|
9789
|
-
|
|
9790
|
-
|
|
10354
|
+
oneOf:
|
|
10355
|
+
- title: name
|
|
10356
|
+
type: string
|
|
10357
|
+
description: Tool name as exposed by the MCP server.
|
|
10358
|
+
- title: tool
|
|
10359
|
+
type: object
|
|
10360
|
+
required:
|
|
10361
|
+
- name
|
|
10362
|
+
properties:
|
|
10363
|
+
name:
|
|
10364
|
+
type: string
|
|
10365
|
+
maxLength: 256
|
|
10366
|
+
description: Tool name as exposed by the MCP server.
|
|
10367
|
+
title:
|
|
10368
|
+
type: string
|
|
10369
|
+
maxLength: 300
|
|
10370
|
+
description: Display title shown for the tool.
|
|
10371
|
+
description:
|
|
10372
|
+
type: string
|
|
10373
|
+
maxLength: 1000
|
|
10374
|
+
description: Display description shown for the tool.
|
|
10375
|
+
x-celigo-ai-guidance:
|
|
10376
|
+
- |-
|
|
10377
|
+
Object entries accept only name/title/description — any other key
|
|
10378
|
+
fails the save with 422 `invalid_field_value` ("unknown field(s): …"),
|
|
10379
|
+
and an object without `name` fails with 422 `missing_required_field`
|
|
10380
|
+
("Expected field: name to be present.").
|
|
10381
|
+
examples:
|
|
10382
|
+
- - hub_repo_search
|
|
10383
|
+
- name: hub_repo_info
|
|
10384
|
+
title: Repository info
|
|
10385
|
+
description: Look up a repository by name
|
|
10386
|
+
webSearch:
|
|
10387
|
+
type: object
|
|
9791
10388
|
description: Web search configuration, used when type is "webSearch".
|
|
9792
10389
|
x-celigo-ai-guidance:
|
|
9793
10390
|
- |-
|
|
@@ -9847,10 +10444,938 @@ components:
|
|
|
9847
10444
|
description: IANA timezone for localizing search results.
|
|
9848
10445
|
prompts:
|
|
9849
10446
|
type: array
|
|
9850
|
-
description: |
|
|
9851
|
-
MCP prompt entries available to the Claude agent. Each item references one MCP
|
|
9852
|
-
connection and the prompt names allowed from it. The presence of `allowedPrompts`
|
|
9853
|
-
distinguishes a prompt entry from an MCP tool entry.
|
|
10447
|
+
description: |
|
|
10448
|
+
MCP prompt entries available to the Claude agent. Each item references one MCP
|
|
10449
|
+
connection and the prompt names allowed from it. The presence of `allowedPrompts`
|
|
10450
|
+
distinguishes a prompt entry from an MCP tool entry.
|
|
10451
|
+
items:
|
|
10452
|
+
type: object
|
|
10453
|
+
properties:
|
|
10454
|
+
type:
|
|
10455
|
+
type: string
|
|
10456
|
+
enum:
|
|
10457
|
+
- mcp
|
|
10458
|
+
x-enumDescriptions:
|
|
10459
|
+
mcp: Connect to an MCP server to use its exposed prompts.
|
|
10460
|
+
description: Type of prompt entry. Always "mcp".
|
|
10461
|
+
mcp:
|
|
10462
|
+
type: object
|
|
10463
|
+
description: MCP server prompt configuration.
|
|
10464
|
+
properties:
|
|
10465
|
+
_mcpConnectionId:
|
|
10466
|
+
type: string
|
|
10467
|
+
format: objectId
|
|
10468
|
+
x-celigo-refModel: connections
|
|
10469
|
+
description: Connection to the MCP server.
|
|
10470
|
+
allowedPrompts:
|
|
10471
|
+
type: array
|
|
10472
|
+
description: Prompt names to allow from the MCP server.
|
|
10473
|
+
items:
|
|
10474
|
+
type: string
|
|
10475
|
+
resources:
|
|
10476
|
+
$ref: '#/components/schemas/McpResources'
|
|
10477
|
+
if:
|
|
10478
|
+
properties:
|
|
10479
|
+
provider:
|
|
10480
|
+
const: openai
|
|
10481
|
+
required:
|
|
10482
|
+
- provider
|
|
10483
|
+
then:
|
|
10484
|
+
required:
|
|
10485
|
+
- openai
|
|
10486
|
+
properties:
|
|
10487
|
+
openai:
|
|
10488
|
+
required:
|
|
10489
|
+
- model
|
|
10490
|
+
- instructions
|
|
10491
|
+
else:
|
|
10492
|
+
if:
|
|
10493
|
+
properties:
|
|
10494
|
+
provider:
|
|
10495
|
+
enum:
|
|
10496
|
+
- gemini
|
|
10497
|
+
- anthropic
|
|
10498
|
+
required:
|
|
10499
|
+
- provider
|
|
10500
|
+
then:
|
|
10501
|
+
required:
|
|
10502
|
+
- litellm
|
|
10503
|
+
properties:
|
|
10504
|
+
litellm:
|
|
10505
|
+
required:
|
|
10506
|
+
- model
|
|
10507
|
+
else:
|
|
10508
|
+
if:
|
|
10509
|
+
properties:
|
|
10510
|
+
provider:
|
|
10511
|
+
enum:
|
|
10512
|
+
- mistral
|
|
10513
|
+
- xai
|
|
10514
|
+
- huggingface
|
|
10515
|
+
- deepseek
|
|
10516
|
+
- cohere
|
|
10517
|
+
- groq
|
|
10518
|
+
required:
|
|
10519
|
+
- provider
|
|
10520
|
+
then:
|
|
10521
|
+
required:
|
|
10522
|
+
- model
|
|
10523
|
+
GuardrailAiAgentConfig:
|
|
10524
|
+
type: object
|
|
10525
|
+
description: |
|
|
10526
|
+
LLM configuration for an `ai_agent` guardrail — which provider and model evaluate each
|
|
10527
|
+
record, with instructions, parameter tuning, and output format. Guardrails never invoke
|
|
10528
|
+
tools, so unlike an AI agent import no block here accepts a `tools` array; MCP `prompts`
|
|
10529
|
+
and `resources` remain available. Providers come in two families with two configuration
|
|
10530
|
+
formats:
|
|
10531
|
+
|
|
10532
|
+
- **Built-in providers** — each has its own configuration block.
|
|
10533
|
+
- **openai**: OpenAI models (GPT-4.1, GPT-5, etc.). Configure via the `openai` object.
|
|
10534
|
+
- **gemini**: Google Gemini models via the LiteLLM proxy. Configure via `litellm` with overrides in `litellm._overrides.gemini`.
|
|
10535
|
+
- **anthropic**: Anthropic Claude models via the LiteLLM proxy. Configure via `litellm` with overrides in `litellm._overrides.anthropic`.
|
|
10536
|
+
- **Catalog providers** — `mistral`, `xai`, `huggingface`, `deepseek`, `cohere`, `groq`. Added
|
|
10537
|
+
as catalog data rather than platform code, they share one generic flat format:
|
|
10538
|
+
`model`, `modelOptions`, `instructions`, `output`, and the `prompts` / `resources`
|
|
10539
|
+
arrays directly on this object.
|
|
10540
|
+
|
|
10541
|
+
A `_connectionId` on the parent import selects bring-your-own-key (BYOK)
|
|
10542
|
+
credentials. Without one, built-in providers run on platform-managed
|
|
10543
|
+
credentials; catalog providers have no platform-managed credentials, so the
|
|
10544
|
+
save requires one — without it the guardrail fails to save with 422
|
|
10545
|
+
`connection_required` on `_connectionId`.
|
|
10546
|
+
x-celigo-ai-guidance:
|
|
10547
|
+
- |-
|
|
10548
|
+
Do not send `tools` on any block. A non-empty array at `tools`, `openai.tools`,
|
|
10549
|
+
`litellm._overrides.gemini.tools`, or `litellm._overrides.anthropic.tools` fails the
|
|
10550
|
+
save with 422 `guardrail_tools_not_allowed` naming that path. Responses still echo
|
|
10551
|
+
`openai.tools: []` on OpenAI guardrails; do not copy it back into a write.
|
|
10552
|
+
required:
|
|
10553
|
+
- provider
|
|
10554
|
+
properties:
|
|
10555
|
+
provider:
|
|
10556
|
+
type: string
|
|
10557
|
+
enum:
|
|
10558
|
+
- openai
|
|
10559
|
+
- gemini
|
|
10560
|
+
- anthropic
|
|
10561
|
+
- mistral
|
|
10562
|
+
- xai
|
|
10563
|
+
- huggingface
|
|
10564
|
+
- deepseek
|
|
10565
|
+
- cohere
|
|
10566
|
+
- groq
|
|
10567
|
+
x-enumDescriptions:
|
|
10568
|
+
openai: Use OpenAI models via the OpenAI Responses API (built-in; `openai` block).
|
|
10569
|
+
gemini: Use Google Gemini models via the LiteLLM proxy (built-in; `litellm` block).
|
|
10570
|
+
anthropic: Use Anthropic Claude models via the LiteLLM proxy (built-in; `litellm` block).
|
|
10571
|
+
mistral: Use Mistral models (catalog provider; generic flat format, BYOK).
|
|
10572
|
+
xai: Use xAI Grok models (catalog provider; generic flat format, BYOK).
|
|
10573
|
+
huggingface: Use Hugging Face inference endpoint models (catalog provider; generic flat format, BYOK).
|
|
10574
|
+
deepseek: Use DeepSeek models (catalog provider; generic flat format, BYOK).
|
|
10575
|
+
cohere: Use Cohere models (catalog provider; generic flat format, BYOK).
|
|
10576
|
+
groq: Use Groq-hosted models (catalog provider; generic flat format, BYOK).
|
|
10577
|
+
description: AI provider to use.
|
|
10578
|
+
x-celigo-ai-guidance:
|
|
10579
|
+
- |-
|
|
10580
|
+
The provider decides the configuration format, and the server rejects a
|
|
10581
|
+
mismatch with 422 `invalid_provider_config_format`: `openai` needs the
|
|
10582
|
+
`openai` block, `gemini` and `anthropic` need the `litellm` block (Gemini- or
|
|
10583
|
+
Claude-specific settings under `litellm._overrides`), and the catalog
|
|
10584
|
+
providers (`mistral`, `xai`, `huggingface`, `deepseek`, `cohere`, `groq`) need the
|
|
10585
|
+
generic flat format — `model` and `modelOptions` directly on this object,
|
|
10586
|
+
never an `openai` or `litellm` block.
|
|
10587
|
+
- |-
|
|
10588
|
+
Catalog providers are BYOK-only, and the save enforces it: without a `_connectionId`
|
|
10589
|
+
the guardrail fails to save with 422 `connection_required` on `_connectionId` ("No
|
|
10590
|
+
API key is available for provider 'xai'. Add a connection for this provider with
|
|
10591
|
+
your API key and select it on this agent."). Attach an HTTP connection to the
|
|
10592
|
+
vendor's API (token auth) before saving a catalog-provider guardrail.
|
|
10593
|
+
model:
|
|
10594
|
+
type: string
|
|
10595
|
+
description: |-
|
|
10596
|
+
Model identifier for a catalog provider (generic flat format) — for example
|
|
10597
|
+
`grok-4.6`. Built-in providers set the model inside their own block
|
|
10598
|
+
(`openai.model`, `litellm.model`) instead.
|
|
10599
|
+
x-celigo-ai-guidance:
|
|
10600
|
+
- |-
|
|
10601
|
+
Required for every catalog provider — omitting it or sending an empty string
|
|
10602
|
+
fails the save with 422 `missing_required_field`.
|
|
10603
|
+
- |-
|
|
10604
|
+
The connection is checked before the model: without a `_connectionId` on the
|
|
10605
|
+
parent import a catalog-provider guardrail fails to save with 422
|
|
10606
|
+
`connection_required` whatever the model string (an unknown id included).
|
|
10607
|
+
With a `_connectionId` (BYOK) any model string saves — the server does not
|
|
10608
|
+
check it against the catalog or the vendor.
|
|
10609
|
+
modelOptions:
|
|
10610
|
+
type: object
|
|
10611
|
+
description: |-
|
|
10612
|
+
Model tuning for a catalog provider (generic flat format). Which keys, values, and
|
|
10613
|
+
ranges are accepted is defined per catalog model and validated on save when the
|
|
10614
|
+
model is a catalog entry.
|
|
10615
|
+
properties:
|
|
10616
|
+
maxOutputTokens:
|
|
10617
|
+
type: number
|
|
10618
|
+
description: Maximum number of tokens the model may generate.
|
|
10619
|
+
temperature:
|
|
10620
|
+
type: number
|
|
10621
|
+
description: Sampling temperature.
|
|
10622
|
+
topP:
|
|
10623
|
+
type: number
|
|
10624
|
+
description: Nucleus sampling threshold.
|
|
10625
|
+
reasoning_effort:
|
|
10626
|
+
type: string
|
|
10627
|
+
enum:
|
|
10628
|
+
- low
|
|
10629
|
+
- medium
|
|
10630
|
+
- high
|
|
10631
|
+
- xhigh
|
|
10632
|
+
x-enumDescriptions:
|
|
10633
|
+
low: Minimal reasoning before answering.
|
|
10634
|
+
medium: Moderate reasoning.
|
|
10635
|
+
high: Extensive reasoning.
|
|
10636
|
+
xhigh: Maximum reasoning.
|
|
10637
|
+
description: Reasoning depth for models that expose it.
|
|
10638
|
+
x-celigo-ai-guidance:
|
|
10639
|
+
- |-
|
|
10640
|
+
When the model is a catalog entry, the server validates this object against
|
|
10641
|
+
that model's schema and fails the save with 422 `invalid_model_options`
|
|
10642
|
+
naming the key: unknown keys are rejected, `reasoning_effort` must be one of
|
|
10643
|
+
the enum values where the model accepts it at all (xAI's `grok-4.6` does;
|
|
10644
|
+
DeepSeek's `deepseek-chat` rejects the key), and numeric bounds apply —
|
|
10645
|
+
on `grok-4.6`, `temperature` ≤ 2, `topP` ≤ 1, `maxOutputTokens` ≥ 100.
|
|
10646
|
+
- |-
|
|
10647
|
+
With a `_connectionId` and a model the catalog does not list, the object is
|
|
10648
|
+
passed through unvalidated — send only options the vendor's API accepts.
|
|
10649
|
+
instructions:
|
|
10650
|
+
type: string
|
|
10651
|
+
description: |-
|
|
10652
|
+
System prompt for a catalog provider (generic flat format). Built-in providers
|
|
10653
|
+
set it inside their own block (`openai.instructions`,
|
|
10654
|
+
`litellm._overrides.anthropic.systemInstruction`).
|
|
10655
|
+
output:
|
|
10656
|
+
type: object
|
|
10657
|
+
description: |-
|
|
10658
|
+
Output format for a catalog provider (generic flat format). Built-in providers
|
|
10659
|
+
configure it inside their own block (`openai.output`, `litellm.responseFormat`).
|
|
10660
|
+
properties:
|
|
10661
|
+
format:
|
|
10662
|
+
type: object
|
|
10663
|
+
description: Controls the structure of the model's output.
|
|
10664
|
+
properties:
|
|
10665
|
+
type:
|
|
10666
|
+
type: string
|
|
10667
|
+
enum:
|
|
10668
|
+
- text
|
|
10669
|
+
- json_schema
|
|
10670
|
+
x-enumDescriptions:
|
|
10671
|
+
text: Free-form text.
|
|
10672
|
+
json_schema: Structured JSON conforming to `jsonSchema`.
|
|
10673
|
+
description: Output type.
|
|
10674
|
+
x-celigo-ai-guidance:
|
|
10675
|
+
- |-
|
|
10676
|
+
`blob` is not accepted here — the save fails with 422
|
|
10677
|
+
`unsupported_output_format` naming the model (verified on `grok-4.6`).
|
|
10678
|
+
name:
|
|
10679
|
+
type: string
|
|
10680
|
+
description: Name of the JSON schema, for `json_schema` output.
|
|
10681
|
+
strict:
|
|
10682
|
+
type: boolean
|
|
10683
|
+
description: When true, the model must conform exactly to `jsonSchema`.
|
|
10684
|
+
jsonSchema:
|
|
10685
|
+
type: object
|
|
10686
|
+
additionalProperties: true
|
|
10687
|
+
description: JSON Schema the structured output must conform to, for `json_schema` output.
|
|
10688
|
+
verbose:
|
|
10689
|
+
type: string
|
|
10690
|
+
description: Level of detail in the model's response, for models that expose it.
|
|
10691
|
+
prompts:
|
|
10692
|
+
type: array
|
|
10693
|
+
description: |-
|
|
10694
|
+
MCP prompt entries available to a catalog-provider guardrail (generic flat format).
|
|
10695
|
+
Each entry references one MCP connection and the prompt names allowed from it.
|
|
10696
|
+
items:
|
|
10697
|
+
type: object
|
|
10698
|
+
properties:
|
|
10699
|
+
type:
|
|
10700
|
+
type: string
|
|
10701
|
+
enum:
|
|
10702
|
+
- mcp
|
|
10703
|
+
x-enumDescriptions:
|
|
10704
|
+
mcp: Reference prompts exposed by an MCP server.
|
|
10705
|
+
description: Type of prompt entry. Always "mcp".
|
|
10706
|
+
mcp:
|
|
10707
|
+
type: object
|
|
10708
|
+
properties:
|
|
10709
|
+
_mcpConnectionId:
|
|
10710
|
+
type: string
|
|
10711
|
+
format: objectId
|
|
10712
|
+
x-celigo-refModel: connections
|
|
10713
|
+
description: Connection to the MCP server that exposes the prompts.
|
|
10714
|
+
allowedPrompts:
|
|
10715
|
+
type: array
|
|
10716
|
+
description: Prompt names the model may fetch from the server.
|
|
10717
|
+
items:
|
|
10718
|
+
type: string
|
|
10719
|
+
x-celigo-ai-guidance:
|
|
10720
|
+
- |-
|
|
10721
|
+
An unknown `_mcpConnectionId` fails the save with 422 `invalid_ref` naming
|
|
10722
|
+
the array index.
|
|
10723
|
+
resources:
|
|
10724
|
+
$ref: '#/components/schemas/McpResources'
|
|
10725
|
+
openai:
|
|
10726
|
+
type: object
|
|
10727
|
+
description: |
|
|
10728
|
+
OpenAI-specific configuration. Used when `provider` is "openai".
|
|
10729
|
+
required:
|
|
10730
|
+
- model
|
|
10731
|
+
- instructions
|
|
10732
|
+
properties:
|
|
10733
|
+
instructions:
|
|
10734
|
+
type: string
|
|
10735
|
+
maxLength: 1000000
|
|
10736
|
+
description: |
|
|
10737
|
+
System prompt that defines the check's behavior, goals, and constraints.
|
|
10738
|
+
examples:
|
|
10739
|
+
- You are a data validation agent. Check each record for completeness.
|
|
10740
|
+
x-celigo-ui-override: Required by the AI agent configuration form (the model's system prompt). Encoded here to mirror the form so builders produce connectable configurations.
|
|
10741
|
+
model:
|
|
10742
|
+
type: string
|
|
10743
|
+
description: OpenAI model identifier. Open string (not an enum) — model names change frequently.
|
|
10744
|
+
examples:
|
|
10745
|
+
- gpt-5.4
|
|
10746
|
+
- gpt-5.4-pro
|
|
10747
|
+
- gpt-5-mini
|
|
10748
|
+
- gpt-5-nano
|
|
10749
|
+
- gpt-4.1-mini
|
|
10750
|
+
- gpt-4o
|
|
10751
|
+
x-celigo-ui-override: Required by the AI agent configuration form. Encoded here to mirror the form so builders produce connectable configurations.
|
|
10752
|
+
x-celigo-ai-guidance:
|
|
10753
|
+
- |-
|
|
10754
|
+
With platform-managed credentials (no `_connectionId` on the parent
|
|
10755
|
+
import), the model must be one the platform hosts. The save does not
|
|
10756
|
+
check this — an unlisted model saves, and the guardrail's first run fails
|
|
10757
|
+
with 422 `invalid_model`, whose message lists the hosted models. A
|
|
10758
|
+
BYOK connection bypasses the hosted list and the model string is
|
|
10759
|
+
passed through to the provider as-is.
|
|
10760
|
+
reasoning:
|
|
10761
|
+
type: object
|
|
10762
|
+
description: Controls depth of reasoning for complex tasks.
|
|
10763
|
+
x-celigo-ai-guidance:
|
|
10764
|
+
- |-
|
|
10765
|
+
Supported on reasoning-capable OpenAI models only (currently the GPT-5 family and the o-series).
|
|
10766
|
+
Setting `reasoning` on a non-reasoning model (e.g.
|
|
10767
|
+
`gpt-4.1-mini`) is rejected by the provider at runtime — omit the field on those models.
|
|
10768
|
+
properties:
|
|
10769
|
+
effort:
|
|
10770
|
+
type: string
|
|
10771
|
+
enum:
|
|
10772
|
+
- none
|
|
10773
|
+
- minimal
|
|
10774
|
+
- low
|
|
10775
|
+
- medium
|
|
10776
|
+
- high
|
|
10777
|
+
- xhigh
|
|
10778
|
+
- max
|
|
10779
|
+
x-enumDescriptions:
|
|
10780
|
+
none: No additional reasoning effort.
|
|
10781
|
+
minimal: Least reasoning effort for simple, straightforward tasks.
|
|
10782
|
+
low: Light reasoning for moderately simple tasks.
|
|
10783
|
+
medium: Balanced reasoning effort for typical tasks.
|
|
10784
|
+
high: Extensive reasoning effort for complex, multi-step tasks.
|
|
10785
|
+
xhigh: Extended reasoning effort beyond high for demanding tasks.
|
|
10786
|
+
max: Highest available reasoning effort.
|
|
10787
|
+
description: How much reasoning effort the model should invest
|
|
10788
|
+
x-celigo-ai-guidance:
|
|
10789
|
+
- |-
|
|
10790
|
+
How much reasoning effort the model should invest.
|
|
10791
|
+
Reasoning- capable models only — see `reasoning` for the gating rule.
|
|
10792
|
+
summary:
|
|
10793
|
+
type: string
|
|
10794
|
+
enum:
|
|
10795
|
+
- concise
|
|
10796
|
+
- auto
|
|
10797
|
+
- detailed
|
|
10798
|
+
x-enumDescriptions:
|
|
10799
|
+
concise: Brief, high-level reasoning summary.
|
|
10800
|
+
auto: Let the model decide the appropriate level of detail.
|
|
10801
|
+
detailed: Comprehensive reasoning summary with full explanations.
|
|
10802
|
+
description: Level of detail in reasoning summaries
|
|
10803
|
+
x-celigo-ai-guidance:
|
|
10804
|
+
- |-
|
|
10805
|
+
Level of detail in reasoning summaries.
|
|
10806
|
+
Reasoning-capable models only — see `reasoning` for the gating rule.
|
|
10807
|
+
temperature:
|
|
10808
|
+
type: number
|
|
10809
|
+
minimum: 0
|
|
10810
|
+
maximum: 2
|
|
10811
|
+
description: |
|
|
10812
|
+
Sampling temperature. Higher values (e.g. 1.5) produce more creative output,
|
|
10813
|
+
lower values (e.g. 0.2) produce more focused and deterministic output.
|
|
10814
|
+
topP:
|
|
10815
|
+
type: number
|
|
10816
|
+
minimum: 0.1
|
|
10817
|
+
maximum: 1
|
|
10818
|
+
description: Nucleus sampling parameter
|
|
10819
|
+
topLogprobs:
|
|
10820
|
+
type: number
|
|
10821
|
+
minimum: 0
|
|
10822
|
+
maximum: 20
|
|
10823
|
+
description: Number of most likely tokens to return log probabilities for at each output position.
|
|
10824
|
+
maxOutputTokens:
|
|
10825
|
+
type: number
|
|
10826
|
+
minimum: 100
|
|
10827
|
+
maximum: 128000
|
|
10828
|
+
description: Maximum number of tokens in the model's response. Unlike an AI agent import, a guardrail does not receive a server-written value when this is omitted.
|
|
10829
|
+
serviceTier:
|
|
10830
|
+
type: string
|
|
10831
|
+
enum:
|
|
10832
|
+
- auto
|
|
10833
|
+
- default
|
|
10834
|
+
- priority
|
|
10835
|
+
x-enumDescriptions:
|
|
10836
|
+
auto: Let OpenAI automatically select the appropriate service tier.
|
|
10837
|
+
default: Standard service tier with normal rate limits and latency.
|
|
10838
|
+
priority: Premium tier with higher rate limits and lower latency at increased cost.
|
|
10839
|
+
description: |-
|
|
10840
|
+
OpenAI service tier. "priority" provides higher rate limits and
|
|
10841
|
+
lower latency at increased cost.
|
|
10842
|
+
x-celigo-ai-guidance:
|
|
10843
|
+
- |-
|
|
10844
|
+
BYOK only.
|
|
10845
|
+
Platform-managed credentials (no `_connectionId` on the parent import) always
|
|
10846
|
+
run at `default` regardless of what's set here.
|
|
10847
|
+
output:
|
|
10848
|
+
type: object
|
|
10849
|
+
description: Output format configuration
|
|
10850
|
+
properties:
|
|
10851
|
+
format:
|
|
10852
|
+
type: object
|
|
10853
|
+
description: |
|
|
10854
|
+
Controls the structure of the model's output.
|
|
10855
|
+
properties:
|
|
10856
|
+
type:
|
|
10857
|
+
type: string
|
|
10858
|
+
enum:
|
|
10859
|
+
- text
|
|
10860
|
+
- json_schema
|
|
10861
|
+
- blob
|
|
10862
|
+
x-enumDescriptions:
|
|
10863
|
+
text: Free-form text response from the model.
|
|
10864
|
+
json_schema: Structured JSON output conforming to a defined schema.
|
|
10865
|
+
blob: Binary data output for non-text content.
|
|
10866
|
+
description: Output format type.
|
|
10867
|
+
schemaMode:
|
|
10868
|
+
type: string
|
|
10869
|
+
enum:
|
|
10870
|
+
- manual
|
|
10871
|
+
- json
|
|
10872
|
+
x-enumDescriptions:
|
|
10873
|
+
manual: The schema editor opens `jsonSchema` in the visual field-by-field view
|
|
10874
|
+
json: The schema editor opens `jsonSchema` in the raw JSON view
|
|
10875
|
+
description: |-
|
|
10876
|
+
Which view a schema editor opens `jsonSchema` in; the schema sent to the
|
|
10877
|
+
provider is the same either way. Stored and echoed on guardrails for parity
|
|
10878
|
+
with the AI-agent format block — the guardrail form does not set it today.
|
|
10879
|
+
x-celigo-ai-guidance:
|
|
10880
|
+
- |-
|
|
10881
|
+
Resend the stored value on every update — a full PUT that omits the field
|
|
10882
|
+
clears it — and never invent one: a value outside the enum fails the save with
|
|
10883
|
+
422 `enum` on `guardrail.aiAgent.openai.output.format.schemaMode`.
|
|
10884
|
+
name:
|
|
10885
|
+
type: string
|
|
10886
|
+
description: Name for the output format (used with json_schema)
|
|
10887
|
+
x-celigo-ui-override: Required by the AI agent form when output format type is json_schema. Encoded here to mirror the form so builders produce connectable configurations.
|
|
10888
|
+
strict:
|
|
10889
|
+
type: boolean
|
|
10890
|
+
description: When true, enforces strict schema validation on output.
|
|
10891
|
+
x-celigo-ai-guidance:
|
|
10892
|
+
- Whether to enforce strict schema validation on output
|
|
10893
|
+
jsonSchema:
|
|
10894
|
+
type: object
|
|
10895
|
+
description: |
|
|
10896
|
+
JSON Schema for structured output. Required when `format.type` is "json_schema".
|
|
10897
|
+
x-celigo-ui-override: Required by the AI agent form when output format type is json_schema. Encoded here to mirror the form so builders produce connectable configurations.
|
|
10898
|
+
properties:
|
|
10899
|
+
type:
|
|
10900
|
+
type: string
|
|
10901
|
+
description: Root JSON Schema type of the structured output; use "object" for record-shaped results.
|
|
10902
|
+
enum:
|
|
10903
|
+
- object
|
|
10904
|
+
- array
|
|
10905
|
+
- string
|
|
10906
|
+
- number
|
|
10907
|
+
- integer
|
|
10908
|
+
- boolean
|
|
10909
|
+
x-enumDescriptions:
|
|
10910
|
+
object: JSON object with named properties.
|
|
10911
|
+
array: Ordered list of values.
|
|
10912
|
+
string: Text string value.
|
|
10913
|
+
number: Numeric value including decimals.
|
|
10914
|
+
integer: Whole number value without decimals.
|
|
10915
|
+
boolean: True or false value.
|
|
10916
|
+
properties:
|
|
10917
|
+
type: object
|
|
10918
|
+
additionalProperties: true
|
|
10919
|
+
description: JSON Schema definitions for each field the structured output may contain.
|
|
10920
|
+
required:
|
|
10921
|
+
type: array
|
|
10922
|
+
description: Property names the model must include in the structured output.
|
|
10923
|
+
items:
|
|
10924
|
+
type: string
|
|
10925
|
+
additionalproperties:
|
|
10926
|
+
type: boolean
|
|
10927
|
+
description: When true, the structured output may include properties beyond those defined in `properties`.
|
|
10928
|
+
schema:
|
|
10929
|
+
type: object
|
|
10930
|
+
readOnly: true
|
|
10931
|
+
additionalProperties: true
|
|
10932
|
+
description: |-
|
|
10933
|
+
Server-written copy of `jsonSchema`, present in responses once `jsonSchema`
|
|
10934
|
+
is set. Send `jsonSchema`, not this field.
|
|
10935
|
+
if:
|
|
10936
|
+
properties:
|
|
10937
|
+
type:
|
|
10938
|
+
const: json_schema
|
|
10939
|
+
required:
|
|
10940
|
+
- type
|
|
10941
|
+
then:
|
|
10942
|
+
required:
|
|
10943
|
+
- name
|
|
10944
|
+
- jsonSchema
|
|
10945
|
+
verbose:
|
|
10946
|
+
type: string
|
|
10947
|
+
enum:
|
|
10948
|
+
- low
|
|
10949
|
+
- medium
|
|
10950
|
+
- high
|
|
10951
|
+
x-enumDescriptions:
|
|
10952
|
+
low: Minimal detail in the model's response.
|
|
10953
|
+
medium: Moderate detail in the model's response, the default level.
|
|
10954
|
+
high: Maximum detail and verbosity in the model's response.
|
|
10955
|
+
description: Level of detail in the model's response
|
|
10956
|
+
x-celigo-ai-guidance:
|
|
10957
|
+
- |-
|
|
10958
|
+
Supported on the GPT-5 family only. Other OpenAI models (e.g.
|
|
10959
|
+
`gpt-4.1`, `gpt-4.1-mini`,
|
|
10960
|
+
`gpt-4.1-nano`) accept only `medium` (the no-op default) — `low` and `high` are
|
|
10961
|
+
rejected by the provider at runtime.
|
|
10962
|
+
Omit the field entirely on non-GPT-5 models rather than relying on the default.
|
|
10963
|
+
prompts:
|
|
10964
|
+
type: array
|
|
10965
|
+
description: |-
|
|
10966
|
+
MCP prompt entries available to the guardrail's model. Each item references one
|
|
10967
|
+
MCP connection and the prompt names allowed from it.
|
|
10968
|
+
items:
|
|
10969
|
+
type: object
|
|
10970
|
+
properties:
|
|
10971
|
+
type:
|
|
10972
|
+
type: string
|
|
10973
|
+
enum:
|
|
10974
|
+
- mcp
|
|
10975
|
+
x-enumDescriptions:
|
|
10976
|
+
mcp: Connect to an MCP server to use its exposed prompts.
|
|
10977
|
+
description: Type of prompt entry. Always "mcp".
|
|
10978
|
+
mcp:
|
|
10979
|
+
type: object
|
|
10980
|
+
description: MCP server prompt configuration.
|
|
10981
|
+
properties:
|
|
10982
|
+
_mcpConnectionId:
|
|
10983
|
+
type: string
|
|
10984
|
+
format: objectId
|
|
10985
|
+
x-celigo-refModel: connections
|
|
10986
|
+
description: Connection to the MCP server.
|
|
10987
|
+
allowedPrompts:
|
|
10988
|
+
type: array
|
|
10989
|
+
description: Prompt names to allow from the MCP server.
|
|
10990
|
+
items:
|
|
10991
|
+
type: string
|
|
10992
|
+
resources:
|
|
10993
|
+
$ref: '#/components/schemas/McpResources'
|
|
10994
|
+
litellm:
|
|
10995
|
+
type: object
|
|
10996
|
+
description: |
|
|
10997
|
+
LiteLLM proxy configuration. Used when `provider` is "gemini" or "anthropic".
|
|
10998
|
+
|
|
10999
|
+
LiteLLM provides a unified interface to multiple AI providers. Gemini-specific
|
|
11000
|
+
settings are in `_overrides.gemini`; Claude-specific settings are in
|
|
11001
|
+
`_overrides.anthropic`.
|
|
11002
|
+
|
|
11003
|
+
`model` is required when litellm is the active provider path.
|
|
11004
|
+
properties:
|
|
11005
|
+
model:
|
|
11006
|
+
type: string
|
|
11007
|
+
description: |-
|
|
11008
|
+
LiteLLM model identifier. For Gemini, models are stored without the `gemini/`
|
|
11009
|
+
prefix; for Anthropic, use the Claude model id (e.g. `claude-sonnet-4-6`).
|
|
11010
|
+
examples:
|
|
11011
|
+
- gemini-2.5-flash
|
|
11012
|
+
- gemini-2.5-pro
|
|
11013
|
+
- gemini-2.5-flash-lite
|
|
11014
|
+
- claude-sonnet-4-6
|
|
11015
|
+
- claude-opus-4-7
|
|
11016
|
+
x-celigo-ui-override: Required by the AI agent configuration form. Encoded here to mirror the form so builders produce connectable configurations.
|
|
11017
|
+
x-celigo-ai-guidance:
|
|
11018
|
+
- |-
|
|
11019
|
+
With platform-managed credentials (no `_connectionId` on the parent
|
|
11020
|
+
import), the model must be one the platform hosts for the provider —
|
|
11021
|
+
Gemini and Anthropic Claude both have a hosted list. The save does not
|
|
11022
|
+
check this — an unlisted model saves, and the guardrail's first run fails
|
|
11023
|
+
with 422 `invalid_model`, whose message lists the hosted models.
|
|
11024
|
+
temperature:
|
|
11025
|
+
type: number
|
|
11026
|
+
minimum: 0
|
|
11027
|
+
maximum: 2
|
|
11028
|
+
description: Sampling temperature
|
|
11029
|
+
x-celigo-ai-guidance:
|
|
11030
|
+
- |-
|
|
11031
|
+
When `provider` is "anthropic", the value must be between 0 and 1 — a higher value
|
|
11032
|
+
fails the save with 422 `invalid_field_value`. Gemini accepts the full 0-2 range.
|
|
11033
|
+
maxCompletionTokens:
|
|
11034
|
+
type: number
|
|
11035
|
+
minimum: 100
|
|
11036
|
+
maximum: 128000
|
|
11037
|
+
description: Maximum number of tokens in the response
|
|
11038
|
+
topP:
|
|
11039
|
+
type: number
|
|
11040
|
+
minimum: 0.1
|
|
11041
|
+
maximum: 1
|
|
11042
|
+
description: Nucleus sampling parameter
|
|
11043
|
+
seed:
|
|
11044
|
+
type: number
|
|
11045
|
+
description: Random seed for reproducible outputs
|
|
11046
|
+
responseFormat:
|
|
11047
|
+
type: object
|
|
11048
|
+
description: Output format configuration
|
|
11049
|
+
x-celigo-ai-guidance:
|
|
11050
|
+
- |-
|
|
11051
|
+
When `provider` is "anthropic", `type` must be "text" or "json_schema" — "blob" is
|
|
11052
|
+
rejected with 422 `invalid_response_format`. As with the other providers, "json_schema"
|
|
11053
|
+
requires `name` and `jsonSchema`.
|
|
11054
|
+
properties:
|
|
11055
|
+
type:
|
|
11056
|
+
type: string
|
|
11057
|
+
description: Output format type.
|
|
11058
|
+
enum:
|
|
11059
|
+
- text
|
|
11060
|
+
- json_schema
|
|
11061
|
+
- blob
|
|
11062
|
+
x-enumDescriptions:
|
|
11063
|
+
text: Free-form text response from the model.
|
|
11064
|
+
json_schema: Structured JSON output conforming to a defined schema.
|
|
11065
|
+
blob: Binary data output for non-text content.
|
|
11066
|
+
schemaMode:
|
|
11067
|
+
type: string
|
|
11068
|
+
enum:
|
|
11069
|
+
- manual
|
|
11070
|
+
- json
|
|
11071
|
+
x-enumDescriptions:
|
|
11072
|
+
manual: The schema editor opens `jsonSchema` in the visual field-by-field view
|
|
11073
|
+
json: The schema editor opens `jsonSchema` in the raw JSON view
|
|
11074
|
+
description: |-
|
|
11075
|
+
Which view a schema editor opens `jsonSchema` in; the schema sent to the provider
|
|
11076
|
+
is the same either way. Stored and echoed on guardrails for parity with the
|
|
11077
|
+
AI-agent format block — the guardrail form does not set it today.
|
|
11078
|
+
x-celigo-ai-guidance:
|
|
11079
|
+
- |-
|
|
11080
|
+
Resend the stored value on every update — a full PUT that omits the field clears
|
|
11081
|
+
it — and never invent one: a value outside the enum fails the save with 422 `enum`
|
|
11082
|
+
on `guardrail.aiAgent.litellm.responseFormat.schemaMode`.
|
|
11083
|
+
name:
|
|
11084
|
+
type: string
|
|
11085
|
+
description: Name for the output format (used with json_schema).
|
|
11086
|
+
x-celigo-ui-override: Required by the AI agent form when output format type is json_schema. Encoded here to mirror the form so builders produce connectable configurations.
|
|
11087
|
+
strict:
|
|
11088
|
+
type: boolean
|
|
11089
|
+
description: When true, enforces strict schema validation on output.
|
|
11090
|
+
jsonSchema:
|
|
11091
|
+
type: object
|
|
11092
|
+
description: JSON Schema for structured output. Required when `responseFormat.type` is "json_schema".
|
|
11093
|
+
x-celigo-ui-override: Required by the AI agent form when output format type is json_schema. Encoded here to mirror the form so builders produce connectable configurations.
|
|
11094
|
+
properties:
|
|
11095
|
+
type:
|
|
11096
|
+
type: string
|
|
11097
|
+
description: Root JSON Schema type of the structured output; use "object" for record-shaped results.
|
|
11098
|
+
enum:
|
|
11099
|
+
- object
|
|
11100
|
+
- array
|
|
11101
|
+
- string
|
|
11102
|
+
- number
|
|
11103
|
+
- integer
|
|
11104
|
+
- boolean
|
|
11105
|
+
x-enumDescriptions:
|
|
11106
|
+
object: JSON object with named properties.
|
|
11107
|
+
array: Ordered list of values.
|
|
11108
|
+
string: Text string value.
|
|
11109
|
+
number: Numeric value including decimals.
|
|
11110
|
+
integer: Whole number value without decimals.
|
|
11111
|
+
boolean: True or false value.
|
|
11112
|
+
properties:
|
|
11113
|
+
type: object
|
|
11114
|
+
additionalProperties: true
|
|
11115
|
+
description: JSON Schema definitions for each field the structured output may contain.
|
|
11116
|
+
required:
|
|
11117
|
+
type: array
|
|
11118
|
+
description: Property names the model must include in the structured output.
|
|
11119
|
+
items:
|
|
11120
|
+
type: string
|
|
11121
|
+
additionalProperties:
|
|
11122
|
+
type: boolean
|
|
11123
|
+
description: When true, the structured output may include properties beyond those defined in `properties`.
|
|
11124
|
+
if:
|
|
11125
|
+
properties:
|
|
11126
|
+
type:
|
|
11127
|
+
const: json_schema
|
|
11128
|
+
required:
|
|
11129
|
+
- type
|
|
11130
|
+
then:
|
|
11131
|
+
required:
|
|
11132
|
+
- name
|
|
11133
|
+
- jsonSchema
|
|
11134
|
+
_overrides:
|
|
11135
|
+
type: object
|
|
11136
|
+
description: Provider-specific overrides
|
|
11137
|
+
properties:
|
|
11138
|
+
gemini:
|
|
11139
|
+
type: object
|
|
11140
|
+
description: |
|
|
11141
|
+
Gemini-specific configuration overrides.
|
|
11142
|
+
required:
|
|
11143
|
+
- systemInstruction
|
|
11144
|
+
properties:
|
|
11145
|
+
systemInstruction:
|
|
11146
|
+
type: string
|
|
11147
|
+
maxLength: 1000000
|
|
11148
|
+
description: |
|
|
11149
|
+
System instruction for Gemini models. Equivalent to OpenAI's `instructions`.
|
|
11150
|
+
Maximum 1,000,000 characters.
|
|
11151
|
+
x-celigo-ui-override: Required by the AI agent configuration form (the model's system prompt, the Gemini equivalent of `instructions`). Encoded here to mirror the form so builders produce connectable configurations.
|
|
11152
|
+
prompts:
|
|
11153
|
+
type: array
|
|
11154
|
+
description: |-
|
|
11155
|
+
MCP prompt entries available to the Gemini model. Each item references one
|
|
11156
|
+
MCP connection and the prompt names allowed from it.
|
|
11157
|
+
items:
|
|
11158
|
+
type: object
|
|
11159
|
+
properties:
|
|
11160
|
+
type:
|
|
11161
|
+
type: string
|
|
11162
|
+
enum:
|
|
11163
|
+
- mcp
|
|
11164
|
+
x-enumDescriptions:
|
|
11165
|
+
mcp: Connect to an MCP server to use its exposed prompts.
|
|
11166
|
+
description: Type of prompt entry. Always "mcp".
|
|
11167
|
+
mcp:
|
|
11168
|
+
type: object
|
|
11169
|
+
description: MCP server prompt configuration.
|
|
11170
|
+
properties:
|
|
11171
|
+
_mcpConnectionId:
|
|
11172
|
+
type: string
|
|
11173
|
+
format: objectId
|
|
11174
|
+
x-celigo-refModel: connections
|
|
11175
|
+
description: Connection to the MCP server.
|
|
11176
|
+
allowedPrompts:
|
|
11177
|
+
type: array
|
|
11178
|
+
description: Prompt names to allow from the MCP server.
|
|
11179
|
+
items:
|
|
11180
|
+
type: string
|
|
11181
|
+
resources:
|
|
11182
|
+
$ref: '#/components/schemas/McpResources'
|
|
11183
|
+
responseModalities:
|
|
11184
|
+
type: array
|
|
11185
|
+
description: Response output modalities
|
|
11186
|
+
x-celigo-ai-guidance:
|
|
11187
|
+
- |-
|
|
11188
|
+
`["image"]` requires an image-capable Gemini model (currently `gemini-2.5-flash-image`).
|
|
11189
|
+
Selecting it on a text-only model is rejected by the provider — pair image
|
|
11190
|
+
output with the right model or omit.
|
|
11191
|
+
items:
|
|
11192
|
+
type: string
|
|
11193
|
+
enum:
|
|
11194
|
+
- text
|
|
11195
|
+
- image
|
|
11196
|
+
x-enumDescriptions:
|
|
11197
|
+
text: Generate text content in the response.
|
|
11198
|
+
image: Generate image content in the response.
|
|
11199
|
+
topK:
|
|
11200
|
+
type: number
|
|
11201
|
+
description: Top-K sampling parameter for Gemini
|
|
11202
|
+
thinkingConfig:
|
|
11203
|
+
type: object
|
|
11204
|
+
description: Controls Gemini's extended thinking capabilities
|
|
11205
|
+
x-celigo-ai-guidance:
|
|
11206
|
+
- |-
|
|
11207
|
+
Supported on reasoning-capable Gemini models only (currently `gemini-2.5-pro`
|
|
11208
|
+
and `gemini-2.5-flash`).
|
|
11209
|
+
Setting `thinkingConfig` on a non-thinking model (e.g.
|
|
11210
|
+
`gemini-2.5-flash-lite`,
|
|
11211
|
+
`gemini-2.5-flash-image`) is rejected by the provider at runtime — omit the
|
|
11212
|
+
field on those models.
|
|
11213
|
+
properties:
|
|
11214
|
+
includeThoughts:
|
|
11215
|
+
type: boolean
|
|
11216
|
+
description: When true, includes the model's thinking steps in the response.
|
|
11217
|
+
x-celigo-ai-guidance:
|
|
11218
|
+
- Whether to include thinking steps in the response
|
|
11219
|
+
thinkingBudget:
|
|
11220
|
+
type: number
|
|
11221
|
+
minimum: 100
|
|
11222
|
+
maximum: 4000
|
|
11223
|
+
description: Maximum tokens allocated for thinking
|
|
11224
|
+
thinkingLevel:
|
|
11225
|
+
type: string
|
|
11226
|
+
description: Controls how much thinking effort the model applies; use higher levels for complex, multi-step tasks at the cost of latency and tokens.
|
|
11227
|
+
enum:
|
|
11228
|
+
- minimal
|
|
11229
|
+
- low
|
|
11230
|
+
- medium
|
|
11231
|
+
- high
|
|
11232
|
+
x-enumDescriptions:
|
|
11233
|
+
minimal: Least thinking effort for simple tasks.
|
|
11234
|
+
low: Light thinking for moderately simple tasks.
|
|
11235
|
+
medium: Balanced thinking effort for typical tasks.
|
|
11236
|
+
high: Maximum thinking effort for complex, multi-step tasks.
|
|
11237
|
+
imageConfig:
|
|
11238
|
+
type: object
|
|
11239
|
+
description: Gemini image generation configuration
|
|
11240
|
+
properties:
|
|
11241
|
+
aspectRatio:
|
|
11242
|
+
type: string
|
|
11243
|
+
description: Aspect ratio of generated images; choose a ratio matching the intended display format.
|
|
11244
|
+
enum:
|
|
11245
|
+
- '1:1'
|
|
11246
|
+
- '2:3'
|
|
11247
|
+
- '3:2'
|
|
11248
|
+
- '3:4'
|
|
11249
|
+
- '4:3'
|
|
11250
|
+
- '4:5'
|
|
11251
|
+
- '5:4'
|
|
11252
|
+
- '9:16'
|
|
11253
|
+
- '16:9'
|
|
11254
|
+
- '21:9'
|
|
11255
|
+
x-enumDescriptions:
|
|
11256
|
+
'1:1': Square aspect ratio.
|
|
11257
|
+
'2:3': Portrait aspect ratio (2 wide by 3 tall).
|
|
11258
|
+
'3:2': Landscape aspect ratio (3 wide by 2 tall).
|
|
11259
|
+
'3:4': Portrait aspect ratio (3 wide by 4 tall).
|
|
11260
|
+
'4:3': Standard landscape aspect ratio (4 wide by 3 tall).
|
|
11261
|
+
'4:5': Portrait aspect ratio (4 wide by 5 tall).
|
|
11262
|
+
'5:4': Landscape aspect ratio (5 wide by 4 tall).
|
|
11263
|
+
'9:16': Tall portrait aspect ratio for mobile screens.
|
|
11264
|
+
'16:9': Widescreen landscape aspect ratio.
|
|
11265
|
+
'21:9': Ultra-widescreen cinematic aspect ratio.
|
|
11266
|
+
imageSize:
|
|
11267
|
+
type: string
|
|
11268
|
+
description: Output resolution of generated images; higher resolutions increase detail and file size.
|
|
11269
|
+
enum:
|
|
11270
|
+
- 1K
|
|
11271
|
+
- 2K
|
|
11272
|
+
- 4K
|
|
11273
|
+
x-enumDescriptions:
|
|
11274
|
+
1K: Standard resolution output around 1024 pixels.
|
|
11275
|
+
2K: High resolution output around 2048 pixels.
|
|
11276
|
+
4K: Ultra-high resolution output around 4096 pixels.
|
|
11277
|
+
mediaResolution:
|
|
11278
|
+
type: string
|
|
11279
|
+
enum:
|
|
11280
|
+
- low
|
|
11281
|
+
- medium
|
|
11282
|
+
- high
|
|
11283
|
+
x-enumDescriptions:
|
|
11284
|
+
low: Low resolution for faster processing and reduced token usage.
|
|
11285
|
+
medium: Balanced resolution for typical media processing.
|
|
11286
|
+
high: High resolution for maximum detail in media inputs.
|
|
11287
|
+
description: Resolution for media inputs (images, video)
|
|
11288
|
+
anthropic:
|
|
11289
|
+
type: object
|
|
11290
|
+
description: |
|
|
11291
|
+
Claude-specific configuration overrides. Used when `provider` is "anthropic".
|
|
11292
|
+
required:
|
|
11293
|
+
- systemInstruction
|
|
11294
|
+
properties:
|
|
11295
|
+
systemInstruction:
|
|
11296
|
+
type: string
|
|
11297
|
+
maxLength: 1000000
|
|
11298
|
+
description: |
|
|
11299
|
+
System instruction for Claude models. Equivalent to OpenAI's `instructions`.
|
|
11300
|
+
Maximum 1,000,000 characters.
|
|
11301
|
+
x-celigo-ui-override: Required by the AI agent configuration form (the model's system prompt, the Claude equivalent of `instructions`). Encoded here to mirror the form so builders produce connectable configurations.
|
|
11302
|
+
topK:
|
|
11303
|
+
type: number
|
|
11304
|
+
minimum: 0
|
|
11305
|
+
description: |-
|
|
11306
|
+
Top-K sampling parameter. Deprecated on Claude models released after Claude Opus
|
|
11307
|
+
4.6, which reject any value at runtime; set it only on older models.
|
|
11308
|
+
thinkingConfig:
|
|
11309
|
+
type: object
|
|
11310
|
+
description: Controls Claude's extended thinking capabilities.
|
|
11311
|
+
properties:
|
|
11312
|
+
type:
|
|
11313
|
+
type: string
|
|
11314
|
+
enum:
|
|
11315
|
+
- enabled
|
|
11316
|
+
- disabled
|
|
11317
|
+
- adaptive
|
|
11318
|
+
x-enumDescriptions:
|
|
11319
|
+
enabled: Turn on extended thinking with an explicit token budget.
|
|
11320
|
+
disabled: Turn off extended thinking.
|
|
11321
|
+
adaptive: Let the model decide how much to think based on task complexity.
|
|
11322
|
+
description: Extended thinking mode.
|
|
11323
|
+
budgetTokens:
|
|
11324
|
+
type: number
|
|
11325
|
+
minimum: 1024
|
|
11326
|
+
description: |-
|
|
11327
|
+
Maximum tokens allocated for thinking. Required when `type` is "enabled" —
|
|
11328
|
+
omitting it fails the save with 422 `invalid_thinking_config`.
|
|
11329
|
+
x-celigo-ui-override: Required by the AI agent form when thinkingConfig.type is "enabled". Encoded here to mirror the form so builders produce connectable configurations.
|
|
11330
|
+
display:
|
|
11331
|
+
type: string
|
|
11332
|
+
enum:
|
|
11333
|
+
- summarized
|
|
11334
|
+
- omitted
|
|
11335
|
+
x-enumDescriptions:
|
|
11336
|
+
summarized: Include a summarized view of the model's thinking in the response.
|
|
11337
|
+
omitted: Exclude the model's thinking from the response.
|
|
11338
|
+
description: How thinking output is surfaced in the response.
|
|
11339
|
+
effort:
|
|
11340
|
+
type: string
|
|
11341
|
+
enum:
|
|
11342
|
+
- low
|
|
11343
|
+
- medium
|
|
11344
|
+
- high
|
|
11345
|
+
- xhigh
|
|
11346
|
+
- max
|
|
11347
|
+
x-enumDescriptions:
|
|
11348
|
+
low: Light thinking effort for moderately simple tasks.
|
|
11349
|
+
medium: Balanced thinking effort for typical tasks.
|
|
11350
|
+
high: Maximum standard thinking effort for complex tasks.
|
|
11351
|
+
xhigh: Extended thinking effort beyond high for demanding tasks.
|
|
11352
|
+
max: Highest available thinking effort.
|
|
11353
|
+
description: |-
|
|
11354
|
+
How much thinking effort the model applies; use with `type` "adaptive". Higher
|
|
11355
|
+
values (`xhigh`, `max`) may be gated to specific Claude models by the provider.
|
|
11356
|
+
if:
|
|
11357
|
+
properties:
|
|
11358
|
+
type:
|
|
11359
|
+
const: enabled
|
|
11360
|
+
required:
|
|
11361
|
+
- type
|
|
11362
|
+
then:
|
|
11363
|
+
required:
|
|
11364
|
+
- budgetTokens
|
|
11365
|
+
serviceTier:
|
|
11366
|
+
type: string
|
|
11367
|
+
enum:
|
|
11368
|
+
- auto
|
|
11369
|
+
- standard_only
|
|
11370
|
+
x-enumDescriptions:
|
|
11371
|
+
auto: Let Anthropic select the appropriate service tier.
|
|
11372
|
+
standard_only: Restrict processing to the standard service tier.
|
|
11373
|
+
description: Anthropic service tier for the request.
|
|
11374
|
+
prompts:
|
|
11375
|
+
type: array
|
|
11376
|
+
description: |-
|
|
11377
|
+
MCP prompt entries available to the Claude model. Each item references one
|
|
11378
|
+
MCP connection and the prompt names allowed from it.
|
|
9854
11379
|
items:
|
|
9855
11380
|
type: object
|
|
9856
11381
|
properties:
|
|
@@ -9907,6 +11432,22 @@ components:
|
|
|
9907
11432
|
litellm:
|
|
9908
11433
|
required:
|
|
9909
11434
|
- model
|
|
11435
|
+
else:
|
|
11436
|
+
if:
|
|
11437
|
+
properties:
|
|
11438
|
+
provider:
|
|
11439
|
+
enum:
|
|
11440
|
+
- mistral
|
|
11441
|
+
- xai
|
|
11442
|
+
- huggingface
|
|
11443
|
+
- deepseek
|
|
11444
|
+
- cohere
|
|
11445
|
+
- groq
|
|
11446
|
+
required:
|
|
11447
|
+
- provider
|
|
11448
|
+
then:
|
|
11449
|
+
required:
|
|
11450
|
+
- model
|
|
9910
11451
|
GuardrailConfig:
|
|
9911
11452
|
type: object
|
|
9912
11453
|
description: |-
|
|
@@ -9953,6 +11494,12 @@ components:
|
|
|
9953
11494
|
Prefer the cheaper / more deterministic types (`pii` > `moderation` >
|
|
9954
11495
|
`ai_agent`) whenever the brief's intent fits.
|
|
9955
11496
|
- Guardrail imports do not require a `_connectionId` (unless using BYOK for `ai_agent` type).
|
|
11497
|
+
- |-
|
|
11498
|
+
Never send `tools` anywhere under `aiAgent` on an `ai_agent` guardrail (`aiAgent.tools`,
|
|
11499
|
+
`aiAgent.openai.tools`, `aiAgent.litellm._overrides.gemini.tools`, `….anthropic.tools`) —
|
|
11500
|
+
any non-empty array fails the save with 422 `guardrail_tools_not_allowed` ("Tools aren't
|
|
11501
|
+
supported on a guardrail AI agent configuration…"), on create and on update. `prompts` and
|
|
11502
|
+
`resources` are accepted; the server still echoes `openai.tools: []` on OpenAI guardrails.
|
|
9956
11503
|
properties:
|
|
9957
11504
|
type:
|
|
9958
11505
|
type: string
|
|
@@ -10286,40 +11833,57 @@ components:
|
|
|
10286
11833
|
- aiAgent
|
|
10287
11834
|
properties:
|
|
10288
11835
|
aiAgent:
|
|
10289
|
-
$ref: '#/components/schemas/
|
|
11836
|
+
$ref: '#/components/schemas/GuardrailAiAgentConfig'
|
|
10290
11837
|
OneToMany:
|
|
10291
11838
|
type: boolean
|
|
10292
11839
|
description: |
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
11840
|
+
When true, the step runs once per child record instead of once per incoming record.
|
|
11841
|
+
`pathToMany` names the array field that holds the children inside an object record; when
|
|
11842
|
+
the incoming record is itself an array (grouped or row-based data), leave `pathToMany` blank
|
|
11843
|
+
and each element becomes a record. The fan-out is scoped to this step: afterwards the children
|
|
11844
|
+
are re-joined into the record's original shape — the object with its array, or the array of rows —
|
|
11845
|
+
carrying any response-mapping enrichment, and that re-joined record is what the next step
|
|
11846
|
+
receives. Not for locating records in an export's HTTP response; use
|
|
11847
|
+
`http.response.resourcePath` for that. Applies to steps that receive a record — imports and
|
|
11848
|
+
lookups (an export referenced as a page processor of a flow, API, or Tool). A standalone export
|
|
11849
|
+
(a flow's page generator) has no incoming record, so the fields are saved but have no effect on
|
|
11850
|
+
the records it produces; to emit one record per array element from a standalone export, use a
|
|
11851
|
+
`hooks.preSavePage` script, or for a file-definition export make the repeating segment the
|
|
11852
|
+
record boundary in the definition's rules.
|
|
11853
|
+
x-celigo-ai-guidance:
|
|
11854
|
+
- |-
|
|
11855
|
+
Only imports and lookups (exports placed as page processors) fan out. On a standalone export
|
|
11856
|
+
(a flow's page generator) the API saves ``oneToMany`` / ``pathToMany`` and applies neither:
|
|
11857
|
+
the records reach the next step unchanged and no error is raised. Live-verified 2026-09-18 on
|
|
11858
|
+
a flow test run — an order record with three ``lines`` reached the import as ONE record with
|
|
11859
|
+
the setting on the export, and as THREE child records with the same setting on the import.
|
|
11860
|
+
Never propose these fields as the way to split a standalone export's records; that is
|
|
11861
|
+
``hooks.preSavePage`` work (or, for a file definition, the definition's record boundary).
|
|
11862
|
+
The rules below apply only on a step that receives a record.
|
|
11863
|
+
- |-
|
|
11864
|
+
Two modes, decided by the SHAPE of the record entering the step. Object record with a child
|
|
11865
|
+
array under a field → set ``pathToMany`` to that field. Array record (a ``groupByFields``
|
|
11866
|
+
export, a CSV/file group, a script that returns an array) → leave ``pathToMany`` blank; each
|
|
11867
|
+
element becomes one record. Live-verified 2026-09-10 on flows, Tools, and APIs.
|
|
11868
|
+
- |-
|
|
11869
|
+
Blank ``pathToMany`` on an OBJECT record fails every record with code ``oneToMany_error``:
|
|
11870
|
+
"Failed to extract child records from oneToMany import data. Record at index 0 was not an
|
|
11871
|
+
array, and no PathToMany was provided". Builder previews return only the code, with no
|
|
11872
|
+
message. The fix is never "turn oneToMany off" by default — first determine whether the
|
|
11873
|
+
record arriving at the step is an object (set a path) or an array (blank is correct; a
|
|
11874
|
+
preview error on an array-fed step is the preview panel re-applying one-to-many to the
|
|
11875
|
+
already-fanned-out record — verify with a test run or a real run).
|
|
11876
|
+
- |-
|
|
11877
|
+
Child record shape differs by mode. Path mode: each child is the array element plus
|
|
11878
|
+
``_PARENT`` (the parent record minus the array). Blank/row mode: each child is the element
|
|
11879
|
+
itself, with no ``_PARENT``. In both modes templates on the step reference the child as
|
|
11880
|
+
``{{record.<field>}}``; a response mapping on a one-to-many lookup merges into each child and
|
|
11881
|
+
the downstream step receives the re-joined parent (path mode) or the re-joined array (row
|
|
11882
|
+
mode) with every element enriched.
|
|
11883
|
+
- |-
|
|
11884
|
+
One-to-many never batches by itself: ``batch_of_records`` appears as the HTTP body template
|
|
11885
|
+
root only when ``http.batchSize`` is greater than 1 (children are batched after fan-out).
|
|
11886
|
+
With the default batch size the template root is ``record``.
|
|
10323
11887
|
default: false
|
|
10324
11888
|
examples:
|
|
10325
11889
|
- true
|
|
@@ -10327,27 +11891,31 @@ components:
|
|
|
10327
11891
|
PathToMany:
|
|
10328
11892
|
type: string
|
|
10329
11893
|
description: |
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
11894
|
+
Path to the array of child records inside an object record when `oneToMany` is true, in dot
|
|
11895
|
+
notation (`items`, `lines.lineItems`). Leave blank when the incoming record is itself an array
|
|
11896
|
+
(grouped or row-based data) — each element is then a child record. A path that does not resolve
|
|
11897
|
+
to an array processes zero records and reports success. Read only on steps that receive a
|
|
11898
|
+
record (imports, lookup exports); on a standalone export it is saved and ignored — see `oneToMany`.
|
|
11899
|
+
x-celigo-ai-guidance:
|
|
11900
|
+
- |-
|
|
11901
|
+
Inert on a standalone export (a flow's page generator) exactly like ``oneToMany`` — the value
|
|
11902
|
+
is saved, the export's records reach the next step unchanged, and nothing errors
|
|
11903
|
+
(live-verified 2026-09-18). Splitting a standalone export's records into one per element is
|
|
11904
|
+
``hooks.preSavePage`` work, or the file definition's record boundary; never this field.
|
|
11905
|
+
- |-
|
|
11906
|
+
Set this ONLY when the record entering the step is an object whose children sit under a field.
|
|
11907
|
+
On an array record (a ``groupByFields`` export, a CSV/file group, a script returning an array)
|
|
11908
|
+
any path resolves to nothing: the step processes ZERO children, builds no request, and reports
|
|
11909
|
+
success with no error. Live-verified 2026-09-10 — the failure is silent, so confirm the arriving
|
|
11910
|
+
record's shape (test run stage data, or the flow builder's input panel: ``rows`` means array).
|
|
11911
|
+
- |-
|
|
11912
|
+
Blank with an object record is the ``oneToMany_error`` failure ("Record at index 0 was not an
|
|
11913
|
+
array, and no PathToMany was provided"); blank with an array record is the correct row-based
|
|
11914
|
+
configuration. An empty string behaves exactly like an absent field.
|
|
11915
|
+
- |-
|
|
11916
|
+
Use the bare field name or dotted path (``lineItems``, ``details.items``), not a JSONPath
|
|
11917
|
+
expression. Each child in path mode carries ``_PARENT`` (the parent minus the array), so
|
|
11918
|
+
parent-level fields are read as ``{{record._PARENT.<field>}}``.
|
|
10351
11919
|
examples:
|
|
10352
11920
|
- items
|
|
10353
11921
|
- line_items
|
|
@@ -10814,7 +12382,11 @@ components:
|
|
|
10814
12382
|
- For regular fields: Set to the exact property name (e.g., "firstName", "price", "isActive")
|
|
10815
12383
|
- For object fields: Set to the object property name, then add child mappings in the 'mappings' array
|
|
10816
12384
|
- For array fields: Set to the array property name, then configure 'buildArrayHelper'
|
|
10817
|
-
-
|
|
12385
|
+
- Two structural blanks: the inner array item of an array of arrays (it has no field name),
|
|
12386
|
+
and the single top-level `objectarray` item of a `rows [ ]` mapping (the array output
|
|
12387
|
+
structure — see the array's description). A child-bearing wrapper and a source-only row that
|
|
12388
|
+
already exist in a saved document also stay unnamed when the tree is re-sent — filling in a
|
|
12389
|
+
name changes the output; it does not complete the row
|
|
10818
12390
|
|
|
10819
12391
|
IMPORTANT: Do NOT use dot notation (e.g., "customer.firstName") in this field. Instead, create proper
|
|
10820
12392
|
hierarchical structure with nested mappings:
|
|
@@ -10829,8 +12401,9 @@ components:
|
|
|
10829
12401
|
}
|
|
10830
12402
|
```
|
|
10831
12403
|
|
|
10832
|
-
When parsing existing mappings, empty
|
|
10833
|
-
|
|
12404
|
+
When parsing existing mappings, an empty `generate` inside a parent array is an inner array; an
|
|
12405
|
+
empty `generate` on the ONLY top-level item, with `dataType: objectarray`, is the `rows [ ]` JSON
|
|
12406
|
+
structure — array output, bound as `rows` in templates — and is intentional, not a missing name.
|
|
10834
12407
|
examples:
|
|
10835
12408
|
- name
|
|
10836
12409
|
- address
|
|
@@ -10916,9 +12489,11 @@ components:
|
|
|
10916
12489
|
This field supports THREE DISTINCT PATTERNS that are easily distinguished:
|
|
10917
12490
|
|
|
10918
12491
|
**1. json Path Syntax**
|
|
10919
|
-
- MUST start with '
|
|
12492
|
+
- MUST start with '$' — the record root. An object record is addressed as
|
|
12493
|
+
'$.field'; a grouped (array) record as '$[0].field' / '$[*].field'
|
|
10920
12494
|
- Used for precisely targeting data in structured JSON objects
|
|
10921
|
-
- Examples: '$.customer.firstName', '$.items[0].price', '$.addresses[*].street'
|
|
12495
|
+
- Examples: '$.customer.firstName', '$.items[0].price', '$.addresses[*].street',
|
|
12496
|
+
'$[*].Tax' (every row of a grouped record)
|
|
10922
12497
|
- Wildcards like [*] extract multiple values/objects
|
|
10923
12498
|
|
|
10924
12499
|
```json
|
|
@@ -10929,7 +12504,8 @@ components:
|
|
|
10929
12504
|
- Contains '{{' and '}}' pattern
|
|
10930
12505
|
- Evaluated by the AFE 2.0 handlebars template engine
|
|
10931
12506
|
- Can include logic, formatting, and computation
|
|
10932
|
-
- Access input record fields with {{record.fieldName}} notation
|
|
12507
|
+
- Access input record fields with {{record.fieldName}} notation; a grouped
|
|
12508
|
+
(array) record binds as `rows` instead — {{rows.0.fieldName}} / {{#each rows}}
|
|
10933
12509
|
- Examples: "{{record.firstName}} {{record.lastName}}", "{{#if record.isActive}}Active{{else}}Inactive{{/if}}"
|
|
10934
12510
|
- Valid on `object`, `objectarray`, and primitive-array dataTypes as
|
|
10935
12511
|
well as scalars — the rendered template output must parse into the
|
|
@@ -10940,7 +12516,7 @@ components:
|
|
|
10940
12516
|
```
|
|
10941
12517
|
|
|
10942
12518
|
**3. Hard-Coded Value (literal string)**
|
|
10943
|
-
- Does NOT start with '
|
|
12519
|
+
- Does NOT start with '$'
|
|
10944
12520
|
- Does NOT contain handlebars '{{' syntax
|
|
10945
12521
|
- System treats it as a literal string value
|
|
10946
12522
|
- VERY COMMON for setting static/constant values
|
|
@@ -10962,10 +12538,38 @@ components:
|
|
|
10962
12538
|
- The system maintains this context even in deeply nested mappings
|
|
10963
12539
|
- For object mappings without child mappings, extract should return a complete object
|
|
10964
12540
|
- When both extract and mappings are defined for objects, extract is applied first
|
|
12541
|
+
- The root is the record as it arrives: an object record roots at `$.field`; a
|
|
12542
|
+
grouped record (an array of rows — grouped exports, file key columns, NetSuite
|
|
12543
|
+
grouped saved searches) roots at the array, so its rows are addressed as
|
|
12544
|
+
`$[0].field` (one row) or `$[*].field` (every row). A root that contradicts the
|
|
12545
|
+
record's shape resolves to nothing without an error.
|
|
10965
12546
|
|
|
10966
12547
|
For most simple field-to-field mappings, prefer JSON path syntax for its clarity and performance.
|
|
10967
12548
|
For hard-coded values, simply use the literal string as the extract value.
|
|
10968
12549
|
x-celigo-ai-guidance:
|
|
12550
|
+
- |-
|
|
12551
|
+
## GROUPED (ARRAY) RECORDS
|
|
12552
|
+
Decide the JSONPath root from the record's shape before writing
|
|
12553
|
+
any extract. When the record is an array of rows, `$.field`,
|
|
12554
|
+
`$.properties.field` and `$.rows[*].field` all resolve to
|
|
12555
|
+
nothing — the processor still reports success and the request
|
|
12556
|
+
body ships as `{}`. Address rows as `$[0].field` (that row's
|
|
12557
|
+
value, typed) or `$[*].field` (every row: joined with commas
|
|
12558
|
+
into a `string` destination; rejected with
|
|
12559
|
+
`incompatible_destination_conversion` into a `number`
|
|
12560
|
+
destination). Column labels with spaces work as
|
|
12561
|
+
`$[*][Order Number]`, `$[*].[Order Number]`, or
|
|
12562
|
+
`$[*]['Order Number']`. For one destination element per row
|
|
12563
|
+
the two array kinds take different helper forms: a primitive
|
|
12564
|
+
array (`stringarray` / `numberarray`) uses `buildArrayHelper:
|
|
12565
|
+
[{"extract": "$[*].field"}]`; an `objectarray` uses
|
|
12566
|
+
`buildArrayHelper: [{"extract": "$[*]", "mappings": [...]}]`
|
|
12567
|
+
with the children addressing the row relatively (`$.field`,
|
|
12568
|
+
`{{rows.field}}`). An `extract` placed directly on the
|
|
12569
|
+
array-typed field yields nothing. Handlebars
|
|
12570
|
+
extracts bind the array record as `rows` (`{{rows.0.field}}`),
|
|
12571
|
+
an object record as `record`. The reverse holds too: `$[*]` on
|
|
12572
|
+
an object record iterates the object's values, not rows.
|
|
10969
12573
|
- |-
|
|
10970
12574
|
## SIZE LIMIT
|
|
10971
12575
|
The platform's import save validator caps this field at **1024
|
|
@@ -11047,7 +12651,8 @@ components:
|
|
|
11047
12651
|
Explicit JSON `null` is itself a valid fallback: the destination field is written as
|
|
11048
12652
|
JSON null when the extract yields nothing (the Mapper UI's "Use null as default value"
|
|
11049
12653
|
action). Omitting the key entirely means no fallback — the field is left out of the
|
|
11050
|
-
output when the extract is empty (the UI's "Do nothing" action).
|
|
12654
|
+
output when the extract is empty (the UI's "Do nothing" action). Failing the record
|
|
12655
|
+
instead is `conditional.when: fail_record_when_empty`, which excludes a default.
|
|
11051
12656
|
x-celigo-ai-guidance:
|
|
11052
12657
|
- |-
|
|
11053
12658
|
`"default": null` and `"default": ""` are distinct saved values, not
|
|
@@ -11056,6 +12661,12 @@ components:
|
|
|
11056
12661
|
Preserve them verbatim when editing or migrating a mapping — dropping
|
|
11057
12662
|
the key changes runtime behavior from "use null/empty string as
|
|
11058
12663
|
default value" to "do nothing" (field omitted from the output).
|
|
12664
|
+
- |-
|
|
12665
|
+
The four "Action to take if source field has no value" choices map to:
|
|
12666
|
+
do nothing → no `default` key (optionally `conditional.when:
|
|
12667
|
+
extract_not_empty`); use null → `"default": null`; use empty string or
|
|
12668
|
+
a custom value → `"default": "<value>"`; cause the record to fail →
|
|
12669
|
+
`conditional.when: fail_record_when_empty` with no `default` key.
|
|
11059
12670
|
examples:
|
|
11060
12671
|
- N/A
|
|
11061
12672
|
- '0'
|
|
@@ -11223,7 +12834,11 @@ components:
|
|
|
11223
12834
|
(`$.items[*]`), `"$"` (the record root), or omission — a
|
|
11224
12835
|
constructed entry (child `mappings` with the extract omitted or
|
|
11225
12836
|
`"$"`; the two spellings are equivalent) contributes exactly one
|
|
11226
|
-
element, and entries append in order.
|
|
12837
|
+
element, and entries append in order. On a grouped (array)
|
|
12838
|
+
record the record itself is the array to iterate: `"$[*]"`
|
|
12839
|
+
yields one `objectarray` element per row (children address the
|
|
12840
|
+
row as `$.field`), and `"$[*].field"` yields one primitive-array
|
|
12841
|
+
value per row. Indexed or comma-joined
|
|
11227
12842
|
entry extracts (`"$[0]"`, `"$[0],$[0]"`) are not valid: the
|
|
11228
12843
|
processor renders the entire destination array as null with no
|
|
11229
12844
|
validation error. To emit a fixed number of static elements, add
|
|
@@ -11244,7 +12859,9 @@ components:
|
|
|
11244
12859
|
|
|
11245
12860
|
**For Simple Arrays (stringarray, numberarray, booleanarray)**
|
|
11246
12861
|
- Only the 'extract' field is used to pull values
|
|
11247
|
-
- JSON path with wildcards (e.g., $.items[*].name) returns multiple values
|
|
12862
|
+
- JSON path with wildcards (e.g., $.items[*].name) returns multiple values;
|
|
12863
|
+
on a grouped (array) record the record itself is the array, so the
|
|
12864
|
+
path roots at it ($[*].name — one value per row)
|
|
11248
12865
|
- Each result is converted to the appropriate primitive type
|
|
11249
12866
|
```json
|
|
11250
12867
|
{
|
|
@@ -11346,11 +12963,13 @@ components:
|
|
|
11346
12963
|
- When both extract and mappings are provided, the system creates special composite objects
|
|
11347
12964
|
that maintain hierarchical context during processing
|
|
11348
12965
|
- This enables accessing both the current array element AND its parent context
|
|
11349
|
-
- An ITERATING entry's extract MUST
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
12966
|
+
- An ITERATING entry's extract MUST be a JSON path that iterates an array:
|
|
12967
|
+
'$.items[*]' when the array is a field of an object record, or '$[*]'
|
|
12968
|
+
(objectarray) / '$[*].field' (primitive arrays) when the record itself is a
|
|
12969
|
+
grouped array of rows. A CONSTRUCTED entry (child mappings building one
|
|
12970
|
+
element) instead omits extract or sets it to exactly "$" — never rewrite "$"
|
|
12971
|
+
into an indexed or comma-joined form ('$[0]', '$[0],$[0]'): those render the
|
|
12972
|
+
entire destination array as null without raising a validation error
|
|
11354
12973
|
- Each array helper entry acts independently, potentially adding multiple elements
|
|
11355
12974
|
|
|
11356
12975
|
The buildArrayHelper is the most complex part of the mappings system - always analyze the
|
|
@@ -11380,6 +12999,22 @@ components:
|
|
|
11380
12999
|
- $.order.lineItems[*]
|
|
11381
13000
|
- $.parents[*].children[*]
|
|
11382
13001
|
- $
|
|
13002
|
+
name:
|
|
13003
|
+
type: string
|
|
13004
|
+
maxLength: 200
|
|
13005
|
+
description: |
|
|
13006
|
+
Display label for this source object in the mapper, so the sources of
|
|
13007
|
+
an object array can be told apart instead of all showing as `$`.
|
|
13008
|
+
Has no effect at runtime; stored only when non-empty.
|
|
13009
|
+
x-celigo-ai-guidance:
|
|
13010
|
+
- |-
|
|
13011
|
+
Carry an existing `name` through every edit — it is the user's label
|
|
13012
|
+
for the tab, and an entry sent without it loses the label. Duplicate
|
|
13013
|
+
names across entries are allowed. Set one only when the user names
|
|
13014
|
+
the source object; never invent labels.
|
|
13015
|
+
examples:
|
|
13016
|
+
- Billing address
|
|
13017
|
+
- Shipping address
|
|
11383
13018
|
sourceDataType:
|
|
11384
13019
|
type: string
|
|
11385
13020
|
description: |
|
|
@@ -11428,17 +13063,31 @@ components:
|
|
|
11428
13063
|
type: object
|
|
11429
13064
|
description: |
|
|
11430
13065
|
Defines conditional rules for including each array element in the result.
|
|
13066
|
+
x-celigo-ai-guidance:
|
|
13067
|
+
- |-
|
|
13068
|
+
Judged against this entry's own `extract` (the array source). The
|
|
13069
|
+
design scopes the UI's tab-level "Action to take if source field has
|
|
13070
|
+
no value" to copy-as-is tabs (no child `mappings`); the API accepts
|
|
13071
|
+
`fail_record_when_empty` on a mapped entry as well, and the mapper
|
|
13072
|
+
processor honors it there — the record fails when that array is
|
|
13073
|
+
missing or empty (`errors[]` entry `code: extract_empty`, `fatal:
|
|
13074
|
+
true`, message `<generate>: Source field has no value`; probed
|
|
13075
|
+
2026-10-09). Say so when writing it on a mapped entry: the user may
|
|
13076
|
+
not find the setting in the mapper's tab. To fail on an empty field
|
|
13077
|
+
inside each element, set the action on that child mapping instead.
|
|
11431
13078
|
properties:
|
|
11432
13079
|
when:
|
|
11433
13080
|
type: string
|
|
11434
13081
|
description: |
|
|
11435
|
-
|
|
11436
|
-
|
|
11437
|
-
|
|
13082
|
+
Condition judged on the entry's extract — skip the elements the
|
|
13083
|
+
extract does not return, or fail the whole record when the source
|
|
13084
|
+
array is missing or empty.
|
|
11438
13085
|
enum:
|
|
11439
13086
|
- extract_not_empty
|
|
13087
|
+
- fail_record_when_empty
|
|
11440
13088
|
x-enumDescriptions:
|
|
11441
|
-
extract_not_empty: Include
|
|
13089
|
+
extract_not_empty: Include an array element only when the extract returns a non-empty value for it
|
|
13090
|
+
fail_record_when_empty: Fail the record when the entry's source array is missing or empty
|
|
11442
13091
|
examples:
|
|
11443
13092
|
- extract_not_empty
|
|
11444
13093
|
mappings:
|
|
@@ -11538,6 +13187,20 @@ components:
|
|
|
11538
13187
|
extract: $.price
|
|
11539
13188
|
dataType: number
|
|
11540
13189
|
status: Active
|
|
13190
|
+
if:
|
|
13191
|
+
properties:
|
|
13192
|
+
conditional:
|
|
13193
|
+
properties:
|
|
13194
|
+
when:
|
|
13195
|
+
const: fail_record_when_empty
|
|
13196
|
+
required:
|
|
13197
|
+
- when
|
|
13198
|
+
required:
|
|
13199
|
+
- conditional
|
|
13200
|
+
then:
|
|
13201
|
+
not:
|
|
13202
|
+
required:
|
|
13203
|
+
- default
|
|
11541
13204
|
status:
|
|
11542
13205
|
type: string
|
|
11543
13206
|
description: |
|
|
@@ -11545,9 +13208,10 @@ components:
|
|
|
11545
13208
|
Required on every mapping entry. Controls whether the mapping is applied.
|
|
11546
13209
|
|
|
11547
13210
|
**Guidance**
|
|
11548
|
-
|
|
11549
|
-
|
|
11550
|
-
|
|
13211
|
+
Only `Active` rows run. `Draft` and `Inactive` rows keep their
|
|
13212
|
+
configuration, are saved with minimal validation, and are skipped at
|
|
13213
|
+
runtime and in preview; a non-Active parent skips its whole subtree
|
|
13214
|
+
whatever its children say. The API rejects a mapping missing this field
|
|
11551
13215
|
(validation error: "Mapping object must have status field present.").
|
|
11552
13216
|
x-celigo-ai-guidance:
|
|
11553
13217
|
- |-
|
|
@@ -11556,12 +13220,28 @@ components:
|
|
|
11556
13220
|
field validations. The value is case-sensitive. The API rejects:
|
|
11557
13221
|
- Missing field: `[status_field_absent] Mapping object must have status field present.`
|
|
11558
13222
|
- Wrong case (e.g. `"active"`): `[invalid_status_enums] active is not a valid enum for status field.`
|
|
13223
|
+
- |-
|
|
13224
|
+
`"Inactive"` is the user's "Set inactive" on a row: use it only when
|
|
13225
|
+
asked to disable or park a row, never to mean incomplete (that is
|
|
13226
|
+
`"Draft"`). Setting a parent `Inactive` means no `Active` row may
|
|
13227
|
+
remain under it — the save rejects an `Active` row under an
|
|
13228
|
+
`Inactive` parent (`[inactive_parent_active_child]` on `mappings`,
|
|
13229
|
+
no message text) and never cascades or promotes on its own; `Draft`
|
|
13230
|
+
descendants are kept as they are, and a `Draft` parent does not gate
|
|
13231
|
+
its children. The UI's Set inactive on a parent marks the parent and
|
|
13232
|
+
every child `Inactive` (IO-166197). Re-enabling a child
|
|
13233
|
+
means re-enabling its ancestors in the same payload. Edits that keep
|
|
13234
|
+
existing rows must carry their stored status forward — rewriting a
|
|
13235
|
+
`Draft` or `Inactive` row to `Active` turns a row the user parked
|
|
13236
|
+
back on.
|
|
11559
13237
|
enum:
|
|
11560
13238
|
- Active
|
|
11561
13239
|
- Draft
|
|
13240
|
+
- Inactive
|
|
11562
13241
|
x-enumDescriptions:
|
|
11563
|
-
Active: The mapping is enabled and applied during processing
|
|
11564
|
-
Draft: In-progress mapping; saved without the Active-only field validations
|
|
13242
|
+
Active: The mapping is enabled and applied during processing
|
|
13243
|
+
Draft: In-progress mapping; saved without the Active-only field validations and skipped at runtime
|
|
13244
|
+
Inactive: Disabled by the user; configuration kept, skipped at runtime and in preview
|
|
11565
13245
|
examples:
|
|
11566
13246
|
- Active
|
|
11567
13247
|
conditional:
|
|
@@ -11590,6 +13270,10 @@ components:
|
|
|
11590
13270
|
- `extract_not_empty`: Apply only when the extract field returns a value
|
|
11591
13271
|
Useful for conditional mapping based on input data availability
|
|
11592
13272
|
|
|
13273
|
+
- `fail_record_when_empty`: Fail the record when the extract field returns
|
|
13274
|
+
no value (the UI's "Cause record to fail" action when the source field
|
|
13275
|
+
has no value)
|
|
13276
|
+
|
|
11593
13277
|
**Example**
|
|
11594
13278
|
```json
|
|
11595
13279
|
{
|
|
@@ -11602,28 +13286,75 @@ components:
|
|
|
11602
13286
|
}
|
|
11603
13287
|
}
|
|
11604
13288
|
```
|
|
13289
|
+
x-celigo-ai-guidance:
|
|
13290
|
+
- |-
|
|
13291
|
+
`when` holds one value, and two different settings share it: the
|
|
13292
|
+
composite-import operation gate (`record_created` / `record_updated`,
|
|
13293
|
+
the UI's "Only perform mapping when") and the empty-source action
|
|
13294
|
+
(`extract_not_empty` / `fail_record_when_empty`, the UI's "Action to
|
|
13295
|
+
take if source field has no value"). A row cannot carry both — writing
|
|
13296
|
+
one replaces the other and the save succeeds, so a composite import
|
|
13297
|
+
row that needs both has to choose. Never author `fail_record_when_empty`
|
|
13298
|
+
on a row that already carries `record_created` or `record_updated`.
|
|
11605
13299
|
properties:
|
|
11606
13300
|
when:
|
|
11607
13301
|
type: string
|
|
11608
13302
|
description: |
|
|
11609
|
-
|
|
11610
|
-
-
|
|
11611
|
-
|
|
11612
|
-
|
|
13303
|
+
Condition that gates this mapping — either an operation gate on a
|
|
13304
|
+
composite (create-or-update) import or the action to take when the
|
|
13305
|
+
extract returns no value. Empty means null, undefined or an empty
|
|
13306
|
+
string; `0`, `false` and whitespace are values.
|
|
13307
|
+
x-celigo-ai-guidance:
|
|
13308
|
+
- |-
|
|
13309
|
+
`fail_record_when_empty` is the fourth "Action to take if source field
|
|
13310
|
+
has no value" and is mutually exclusive with the other three: send it
|
|
13311
|
+
with no `default` key. A `default`, a `lookupName` or a `hardCodedValue`
|
|
13312
|
+
on the same row — or a `default` on a `buildArrayHelper` entry — is
|
|
13313
|
+
rejected at save with `[unsupported_mapping] "<key>" and conditional.when
|
|
13314
|
+
"fail_record_when_empty" cannot be present in mapping simultaneously.`
|
|
13315
|
+
(the lookup variant adds `Use lookup "allowFailures" instead.`);
|
|
13316
|
+
lookups fail through `allowFailures: false`, and a hard-coded row
|
|
13317
|
+
always has a value. At runtime an empty extract fails the record with
|
|
13318
|
+
an `errors[]` entry `{code: "extract_empty", fatal: true, source:
|
|
13319
|
+
"mapping", message: "<generate>: Source field has no value"}`
|
|
13320
|
+
("Input field has no value" in a Transformation 2.0); `0` and `false`
|
|
13321
|
+
are values and map through.
|
|
11613
13322
|
enum:
|
|
11614
13323
|
- record_created
|
|
11615
13324
|
- record_updated
|
|
11616
13325
|
- extract_not_empty
|
|
13326
|
+
- fail_record_when_empty
|
|
11617
13327
|
x-enumDescriptions:
|
|
11618
|
-
record_created: Apply this mapping only when creating a new record
|
|
11619
|
-
record_updated: Apply this mapping only when updating an existing record
|
|
11620
|
-
extract_not_empty: Apply this mapping only when the extract field returns a non-empty value
|
|
13328
|
+
record_created: Apply this mapping only when creating a new record
|
|
13329
|
+
record_updated: Apply this mapping only when updating an existing record
|
|
13330
|
+
extract_not_empty: Apply this mapping only when the extract field returns a non-empty value
|
|
13331
|
+
fail_record_when_empty: Fail the record when the extract field returns no value
|
|
11621
13332
|
examples:
|
|
11622
13333
|
- record_created
|
|
11623
13334
|
- record_updated
|
|
11624
13335
|
- extract_not_empty
|
|
13336
|
+
- fail_record_when_empty
|
|
11625
13337
|
required:
|
|
11626
13338
|
- dataType
|
|
13339
|
+
if:
|
|
13340
|
+
properties:
|
|
13341
|
+
conditional:
|
|
13342
|
+
properties:
|
|
13343
|
+
when:
|
|
13344
|
+
const: fail_record_when_empty
|
|
13345
|
+
required:
|
|
13346
|
+
- when
|
|
13347
|
+
required:
|
|
13348
|
+
- conditional
|
|
13349
|
+
then:
|
|
13350
|
+
not:
|
|
13351
|
+
anyOf:
|
|
13352
|
+
- required:
|
|
13353
|
+
- default
|
|
13354
|
+
- required:
|
|
13355
|
+
- lookupName
|
|
13356
|
+
- required:
|
|
13357
|
+
- hardCodedValue
|
|
11627
13358
|
Mappings:
|
|
11628
13359
|
type: array
|
|
11629
13360
|
description: |
|
|
@@ -11647,6 +13378,34 @@ components:
|
|
|
11647
13378
|
|
|
11648
13379
|
The system will process these nested structures recursively during runtime, ensuring proper construction
|
|
11649
13380
|
of complex hierarchical data while maintaining excellent performance.
|
|
13381
|
+
|
|
13382
|
+
On save, a leaf row with neither a source (`extract`, `hardCodedValue`, `lookupName`) nor a
|
|
13383
|
+
destination (`generate`) is dropped silently, at every nesting level, and so is an object or
|
|
13384
|
+
object-array row left with no source, no destination and no remaining child `mappings` or
|
|
13385
|
+
`buildArrayHelper` entries; a row with only one of the two, and a source-less, destination-less
|
|
13386
|
+
wrapper that still has children, are kept.
|
|
13387
|
+
|
|
13388
|
+
The shape of the array is the mapper's **JSON structure**. Named top-level items produce an object
|
|
13389
|
+
record (`record { }`). Exactly one top-level item with `dataType: objectarray` and no `generate` is
|
|
13390
|
+
the `rows [ ]` structure: the mapped record is an array — usually one element per element of the
|
|
13391
|
+
source array that root's `buildArrayHelper` iterates — Handlebars templates such as `http.body`
|
|
13392
|
+
bind it as `rows` instead of `record`, and the mapping editor shows that row's destination disabled.
|
|
13393
|
+
x-celigo-ai-guidance:
|
|
13394
|
+
- |-
|
|
13395
|
+
Rows that exist in the saved document — including `Draft` and `Inactive` rows and
|
|
13396
|
+
rows with only a source or only a destination — are the user's state: an edit that
|
|
13397
|
+
re-sends the tree must carry them through unchanged unless the user asked to change
|
|
13398
|
+
them. Only a row with neither source nor destination — and, for an object or
|
|
13399
|
+
object-array row, no remaining children — can be left out; the save would drop it
|
|
13400
|
+
anyway. A wrapper with children but no `generate` is kept by the save, so keep it.
|
|
13401
|
+
- |-
|
|
13402
|
+
A single unnamed top-level `objectarray` item is the `rows [ ]` JSON structure, not a
|
|
13403
|
+
missing destination: keep it unnamed when editing (naming it turns the output into an
|
|
13404
|
+
object, and a template that iterates `rows` then renders nothing), and author that
|
|
13405
|
+
shape only when the request body must be an array or a template iterates `rows`.
|
|
13406
|
+
The editor's save check accepts the unnamed root only in the `rows [ ]` structure;
|
|
13407
|
+
any other row with a source and no `generate` fails with "One or more destination
|
|
13408
|
+
field values not entered".
|
|
11650
13409
|
items:
|
|
11651
13410
|
type: object
|
|
11652
13411
|
properties:
|
|
@@ -11662,7 +13421,11 @@ components:
|
|
|
11662
13421
|
- For regular fields: Set to the exact property name (e.g., "firstName", "price", "isActive")
|
|
11663
13422
|
- For object fields: Set to the object property name, then add child mappings in the 'mappings' array
|
|
11664
13423
|
- For array fields: Set to the array property name, then configure 'buildArrayHelper'
|
|
11665
|
-
-
|
|
13424
|
+
- Two structural blanks: the inner array item of an array of arrays (it has no field name),
|
|
13425
|
+
and the single top-level `objectarray` item of a `rows [ ]` mapping (the array output
|
|
13426
|
+
structure — see the array's description). A child-bearing wrapper and a source-only row that
|
|
13427
|
+
already exist in a saved document also stay unnamed when the tree is re-sent — filling in a
|
|
13428
|
+
name changes the output; it does not complete the row
|
|
11666
13429
|
|
|
11667
13430
|
IMPORTANT: Do NOT use dot notation (e.g., "customer.firstName") in this field. Instead, create proper
|
|
11668
13431
|
hierarchical structure with nested mappings:
|
|
@@ -11677,8 +13440,9 @@ components:
|
|
|
11677
13440
|
}
|
|
11678
13441
|
```
|
|
11679
13442
|
|
|
11680
|
-
When parsing existing mappings, empty
|
|
11681
|
-
|
|
13443
|
+
When parsing existing mappings, an empty `generate` inside a parent array is an inner array; an
|
|
13444
|
+
empty `generate` on the ONLY top-level item, with `dataType: objectarray`, is the `rows [ ]` JSON
|
|
13445
|
+
structure — array output, bound as `rows` in templates — and is intentional, not a missing name.
|
|
11682
13446
|
examples:
|
|
11683
13447
|
- name
|
|
11684
13448
|
- address
|
|
@@ -11764,9 +13528,11 @@ components:
|
|
|
11764
13528
|
This field supports THREE DISTINCT PATTERNS that are easily distinguished:
|
|
11765
13529
|
|
|
11766
13530
|
**1. json Path Syntax**
|
|
11767
|
-
- MUST start with '
|
|
13531
|
+
- MUST start with '$' — the record root. An object record is addressed as
|
|
13532
|
+
'$.field'; a grouped (array) record as '$[0].field' / '$[*].field'
|
|
11768
13533
|
- Used for precisely targeting data in structured JSON objects
|
|
11769
|
-
- Examples: '$.customer.firstName', '$.items[0].price', '$.addresses[*].street'
|
|
13534
|
+
- Examples: '$.customer.firstName', '$.items[0].price', '$.addresses[*].street',
|
|
13535
|
+
'$[*].Tax' (every row of a grouped record)
|
|
11770
13536
|
- Wildcards like [*] extract multiple values/objects
|
|
11771
13537
|
|
|
11772
13538
|
```json
|
|
@@ -11777,7 +13543,8 @@ components:
|
|
|
11777
13543
|
- Contains '{{' and '}}' pattern
|
|
11778
13544
|
- Evaluated by the AFE 2.0 handlebars template engine
|
|
11779
13545
|
- Can include logic, formatting, and computation
|
|
11780
|
-
- Access input record fields with {{record.fieldName}} notation
|
|
13546
|
+
- Access input record fields with {{record.fieldName}} notation; a grouped
|
|
13547
|
+
(array) record binds as `rows` instead — {{rows.0.fieldName}} / {{#each rows}}
|
|
11781
13548
|
- Examples: "{{record.firstName}} {{record.lastName}}", "{{#if record.isActive}}Active{{else}}Inactive{{/if}}"
|
|
11782
13549
|
- Valid on `object`, `objectarray`, and primitive-array dataTypes as
|
|
11783
13550
|
well as scalars — the rendered template output must parse into the
|
|
@@ -11788,7 +13555,7 @@ components:
|
|
|
11788
13555
|
```
|
|
11789
13556
|
|
|
11790
13557
|
**3. Hard-Coded Value (literal string)**
|
|
11791
|
-
- Does NOT start with '
|
|
13558
|
+
- Does NOT start with '$'
|
|
11792
13559
|
- Does NOT contain handlebars '{{' syntax
|
|
11793
13560
|
- System treats it as a literal string value
|
|
11794
13561
|
- VERY COMMON for setting static/constant values
|
|
@@ -11810,10 +13577,38 @@ components:
|
|
|
11810
13577
|
- The system maintains this context even in deeply nested mappings
|
|
11811
13578
|
- For object mappings without child mappings, extract should return a complete object
|
|
11812
13579
|
- When both extract and mappings are defined for objects, extract is applied first
|
|
13580
|
+
- The root is the record as it arrives: an object record roots at `$.field`; a
|
|
13581
|
+
grouped record (an array of rows — grouped exports, file key columns, NetSuite
|
|
13582
|
+
grouped saved searches) roots at the array, so its rows are addressed as
|
|
13583
|
+
`$[0].field` (one row) or `$[*].field` (every row). A root that contradicts the
|
|
13584
|
+
record's shape resolves to nothing without an error.
|
|
11813
13585
|
|
|
11814
13586
|
For most simple field-to-field mappings, prefer JSON path syntax for its clarity and performance.
|
|
11815
13587
|
For hard-coded values, simply use the literal string as the extract value.
|
|
11816
13588
|
x-celigo-ai-guidance:
|
|
13589
|
+
- |-
|
|
13590
|
+
## GROUPED (ARRAY) RECORDS
|
|
13591
|
+
Decide the JSONPath root from the record's shape before writing
|
|
13592
|
+
any extract. When the record is an array of rows, `$.field`,
|
|
13593
|
+
`$.properties.field` and `$.rows[*].field` all resolve to
|
|
13594
|
+
nothing — the processor still reports success and the request
|
|
13595
|
+
body ships as `{}`. Address rows as `$[0].field` (that row's
|
|
13596
|
+
value, typed) or `$[*].field` (every row: joined with commas
|
|
13597
|
+
into a `string` destination; rejected with
|
|
13598
|
+
`incompatible_destination_conversion` into a `number`
|
|
13599
|
+
destination). Column labels with spaces work as
|
|
13600
|
+
`$[*][Order Number]`, `$[*].[Order Number]`, or
|
|
13601
|
+
`$[*]['Order Number']`. For one destination element per row
|
|
13602
|
+
the two array kinds take different helper forms: a primitive
|
|
13603
|
+
array (`stringarray` / `numberarray`) uses `buildArrayHelper:
|
|
13604
|
+
[{"extract": "$[*].field"}]`; an `objectarray` uses
|
|
13605
|
+
`buildArrayHelper: [{"extract": "$[*]", "mappings": [...]}]`
|
|
13606
|
+
with the children addressing the row relatively (`$.field`,
|
|
13607
|
+
`{{rows.field}}`). An `extract` placed directly on the
|
|
13608
|
+
array-typed field yields nothing. Handlebars
|
|
13609
|
+
extracts bind the array record as `rows` (`{{rows.0.field}}`),
|
|
13610
|
+
an object record as `record`. The reverse holds too: `$[*]` on
|
|
13611
|
+
an object record iterates the object's values, not rows.
|
|
11817
13612
|
- |-
|
|
11818
13613
|
## SIZE LIMIT
|
|
11819
13614
|
The platform's import save validator caps this field at **1024
|
|
@@ -11895,7 +13690,8 @@ components:
|
|
|
11895
13690
|
Explicit JSON `null` is itself a valid fallback: the destination field is written as
|
|
11896
13691
|
JSON null when the extract yields nothing (the Mapper UI's "Use null as default value"
|
|
11897
13692
|
action). Omitting the key entirely means no fallback — the field is left out of the
|
|
11898
|
-
output when the extract is empty (the UI's "Do nothing" action).
|
|
13693
|
+
output when the extract is empty (the UI's "Do nothing" action). Failing the record
|
|
13694
|
+
instead is `conditional.when: fail_record_when_empty`, which excludes a default.
|
|
11899
13695
|
x-celigo-ai-guidance:
|
|
11900
13696
|
- |-
|
|
11901
13697
|
`"default": null` and `"default": ""` are distinct saved values, not
|
|
@@ -11904,6 +13700,12 @@ components:
|
|
|
11904
13700
|
Preserve them verbatim when editing or migrating a mapping — dropping
|
|
11905
13701
|
the key changes runtime behavior from "use null/empty string as
|
|
11906
13702
|
default value" to "do nothing" (field omitted from the output).
|
|
13703
|
+
- |-
|
|
13704
|
+
The four "Action to take if source field has no value" choices map to:
|
|
13705
|
+
do nothing → no `default` key (optionally `conditional.when:
|
|
13706
|
+
extract_not_empty`); use null → `"default": null`; use empty string or
|
|
13707
|
+
a custom value → `"default": "<value>"`; cause the record to fail →
|
|
13708
|
+
`conditional.when: fail_record_when_empty` with no `default` key.
|
|
11907
13709
|
examples:
|
|
11908
13710
|
- N/A
|
|
11909
13711
|
- '0'
|
|
@@ -12071,7 +13873,11 @@ components:
|
|
|
12071
13873
|
(`$.items[*]`), `"$"` (the record root), or omission — a
|
|
12072
13874
|
constructed entry (child `mappings` with the extract omitted or
|
|
12073
13875
|
`"$"`; the two spellings are equivalent) contributes exactly one
|
|
12074
|
-
element, and entries append in order.
|
|
13876
|
+
element, and entries append in order. On a grouped (array)
|
|
13877
|
+
record the record itself is the array to iterate: `"$[*]"`
|
|
13878
|
+
yields one `objectarray` element per row (children address the
|
|
13879
|
+
row as `$.field`), and `"$[*].field"` yields one primitive-array
|
|
13880
|
+
value per row. Indexed or comma-joined
|
|
12075
13881
|
entry extracts (`"$[0]"`, `"$[0],$[0]"`) are not valid: the
|
|
12076
13882
|
processor renders the entire destination array as null with no
|
|
12077
13883
|
validation error. To emit a fixed number of static elements, add
|
|
@@ -12092,7 +13898,9 @@ components:
|
|
|
12092
13898
|
|
|
12093
13899
|
**For Simple Arrays (stringarray, numberarray, booleanarray)**
|
|
12094
13900
|
- Only the 'extract' field is used to pull values
|
|
12095
|
-
- JSON path with wildcards (e.g., $.items[*].name) returns multiple values
|
|
13901
|
+
- JSON path with wildcards (e.g., $.items[*].name) returns multiple values;
|
|
13902
|
+
on a grouped (array) record the record itself is the array, so the
|
|
13903
|
+
path roots at it ($[*].name — one value per row)
|
|
12096
13904
|
- Each result is converted to the appropriate primitive type
|
|
12097
13905
|
```json
|
|
12098
13906
|
{
|
|
@@ -12194,11 +14002,13 @@ components:
|
|
|
12194
14002
|
- When both extract and mappings are provided, the system creates special composite objects
|
|
12195
14003
|
that maintain hierarchical context during processing
|
|
12196
14004
|
- This enables accessing both the current array element AND its parent context
|
|
12197
|
-
- An ITERATING entry's extract MUST
|
|
12198
|
-
|
|
12199
|
-
|
|
12200
|
-
|
|
12201
|
-
|
|
14005
|
+
- An ITERATING entry's extract MUST be a JSON path that iterates an array:
|
|
14006
|
+
'$.items[*]' when the array is a field of an object record, or '$[*]'
|
|
14007
|
+
(objectarray) / '$[*].field' (primitive arrays) when the record itself is a
|
|
14008
|
+
grouped array of rows. A CONSTRUCTED entry (child mappings building one
|
|
14009
|
+
element) instead omits extract or sets it to exactly "$" — never rewrite "$"
|
|
14010
|
+
into an indexed or comma-joined form ('$[0]', '$[0],$[0]'): those render the
|
|
14011
|
+
entire destination array as null without raising a validation error
|
|
12202
14012
|
- Each array helper entry acts independently, potentially adding multiple elements
|
|
12203
14013
|
|
|
12204
14014
|
The buildArrayHelper is the most complex part of the mappings system - always analyze the
|
|
@@ -12228,6 +14038,22 @@ components:
|
|
|
12228
14038
|
- $.order.lineItems[*]
|
|
12229
14039
|
- $.parents[*].children[*]
|
|
12230
14040
|
- $
|
|
14041
|
+
name:
|
|
14042
|
+
type: string
|
|
14043
|
+
maxLength: 200
|
|
14044
|
+
description: |
|
|
14045
|
+
Display label for this source object in the mapper, so the sources of
|
|
14046
|
+
an object array can be told apart instead of all showing as `$`.
|
|
14047
|
+
Has no effect at runtime; stored only when non-empty.
|
|
14048
|
+
x-celigo-ai-guidance:
|
|
14049
|
+
- |-
|
|
14050
|
+
Carry an existing `name` through every edit — it is the user's label
|
|
14051
|
+
for the tab, and an entry sent without it loses the label. Duplicate
|
|
14052
|
+
names across entries are allowed. Set one only when the user names
|
|
14053
|
+
the source object; never invent labels.
|
|
14054
|
+
examples:
|
|
14055
|
+
- Billing address
|
|
14056
|
+
- Shipping address
|
|
12231
14057
|
sourceDataType:
|
|
12232
14058
|
type: string
|
|
12233
14059
|
description: |
|
|
@@ -12276,17 +14102,31 @@ components:
|
|
|
12276
14102
|
type: object
|
|
12277
14103
|
description: |
|
|
12278
14104
|
Defines conditional rules for including each array element in the result.
|
|
14105
|
+
x-celigo-ai-guidance:
|
|
14106
|
+
- |-
|
|
14107
|
+
Judged against this entry's own `extract` (the array source). The
|
|
14108
|
+
design scopes the UI's tab-level "Action to take if source field has
|
|
14109
|
+
no value" to copy-as-is tabs (no child `mappings`); the API accepts
|
|
14110
|
+
`fail_record_when_empty` on a mapped entry as well, and the mapper
|
|
14111
|
+
processor honors it there — the record fails when that array is
|
|
14112
|
+
missing or empty (`errors[]` entry `code: extract_empty`, `fatal:
|
|
14113
|
+
true`, message `<generate>: Source field has no value`; probed
|
|
14114
|
+
2026-10-09). Say so when writing it on a mapped entry: the user may
|
|
14115
|
+
not find the setting in the mapper's tab. To fail on an empty field
|
|
14116
|
+
inside each element, set the action on that child mapping instead.
|
|
12279
14117
|
properties:
|
|
12280
14118
|
when:
|
|
12281
14119
|
type: string
|
|
12282
14120
|
description: |
|
|
12283
|
-
|
|
12284
|
-
|
|
12285
|
-
|
|
14121
|
+
Condition judged on the entry's extract — skip the elements the
|
|
14122
|
+
extract does not return, or fail the whole record when the source
|
|
14123
|
+
array is missing or empty.
|
|
12286
14124
|
enum:
|
|
12287
14125
|
- extract_not_empty
|
|
14126
|
+
- fail_record_when_empty
|
|
12288
14127
|
x-enumDescriptions:
|
|
12289
|
-
extract_not_empty: Include
|
|
14128
|
+
extract_not_empty: Include an array element only when the extract returns a non-empty value for it
|
|
14129
|
+
fail_record_when_empty: Fail the record when the entry's source array is missing or empty
|
|
12290
14130
|
examples:
|
|
12291
14131
|
- extract_not_empty
|
|
12292
14132
|
mappings:
|
|
@@ -12386,6 +14226,20 @@ components:
|
|
|
12386
14226
|
extract: $.price
|
|
12387
14227
|
dataType: number
|
|
12388
14228
|
status: Active
|
|
14229
|
+
if:
|
|
14230
|
+
properties:
|
|
14231
|
+
conditional:
|
|
14232
|
+
properties:
|
|
14233
|
+
when:
|
|
14234
|
+
const: fail_record_when_empty
|
|
14235
|
+
required:
|
|
14236
|
+
- when
|
|
14237
|
+
required:
|
|
14238
|
+
- conditional
|
|
14239
|
+
then:
|
|
14240
|
+
not:
|
|
14241
|
+
required:
|
|
14242
|
+
- default
|
|
12389
14243
|
status:
|
|
12390
14244
|
type: string
|
|
12391
14245
|
description: |
|
|
@@ -12393,9 +14247,10 @@ components:
|
|
|
12393
14247
|
Required on every mapping entry. Controls whether the mapping is applied.
|
|
12394
14248
|
|
|
12395
14249
|
**Guidance**
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
14250
|
+
Only `Active` rows run. `Draft` and `Inactive` rows keep their
|
|
14251
|
+
configuration, are saved with minimal validation, and are skipped at
|
|
14252
|
+
runtime and in preview; a non-Active parent skips its whole subtree
|
|
14253
|
+
whatever its children say. The API rejects a mapping missing this field
|
|
12399
14254
|
(validation error: "Mapping object must have status field present.").
|
|
12400
14255
|
x-celigo-ai-guidance:
|
|
12401
14256
|
- |-
|
|
@@ -12404,12 +14259,28 @@ components:
|
|
|
12404
14259
|
field validations. The value is case-sensitive. The API rejects:
|
|
12405
14260
|
- Missing field: `[status_field_absent] Mapping object must have status field present.`
|
|
12406
14261
|
- Wrong case (e.g. `"active"`): `[invalid_status_enums] active is not a valid enum for status field.`
|
|
14262
|
+
- |-
|
|
14263
|
+
`"Inactive"` is the user's "Set inactive" on a row: use it only when
|
|
14264
|
+
asked to disable or park a row, never to mean incomplete (that is
|
|
14265
|
+
`"Draft"`). Setting a parent `Inactive` means no `Active` row may
|
|
14266
|
+
remain under it — the save rejects an `Active` row under an
|
|
14267
|
+
`Inactive` parent (`[inactive_parent_active_child]` on `mappings`,
|
|
14268
|
+
no message text) and never cascades or promotes on its own; `Draft`
|
|
14269
|
+
descendants are kept as they are, and a `Draft` parent does not gate
|
|
14270
|
+
its children. The UI's Set inactive on a parent marks the parent and
|
|
14271
|
+
every child `Inactive` (IO-166197). Re-enabling a child
|
|
14272
|
+
means re-enabling its ancestors in the same payload. Edits that keep
|
|
14273
|
+
existing rows must carry their stored status forward — rewriting a
|
|
14274
|
+
`Draft` or `Inactive` row to `Active` turns a row the user parked
|
|
14275
|
+
back on.
|
|
12407
14276
|
enum:
|
|
12408
14277
|
- Active
|
|
12409
14278
|
- Draft
|
|
14279
|
+
- Inactive
|
|
12410
14280
|
x-enumDescriptions:
|
|
12411
|
-
Active: The mapping is enabled and applied during processing
|
|
12412
|
-
Draft: In-progress mapping; saved without the Active-only field validations
|
|
14281
|
+
Active: The mapping is enabled and applied during processing
|
|
14282
|
+
Draft: In-progress mapping; saved without the Active-only field validations and skipped at runtime
|
|
14283
|
+
Inactive: Disabled by the user; configuration kept, skipped at runtime and in preview
|
|
12413
14284
|
examples:
|
|
12414
14285
|
- Active
|
|
12415
14286
|
conditional:
|
|
@@ -12438,6 +14309,10 @@ components:
|
|
|
12438
14309
|
- `extract_not_empty`: Apply only when the extract field returns a value
|
|
12439
14310
|
Useful for conditional mapping based on input data availability
|
|
12440
14311
|
|
|
14312
|
+
- `fail_record_when_empty`: Fail the record when the extract field returns
|
|
14313
|
+
no value (the UI's "Cause record to fail" action when the source field
|
|
14314
|
+
has no value)
|
|
14315
|
+
|
|
12441
14316
|
**Example**
|
|
12442
14317
|
```json
|
|
12443
14318
|
{
|
|
@@ -12450,28 +14325,75 @@ components:
|
|
|
12450
14325
|
}
|
|
12451
14326
|
}
|
|
12452
14327
|
```
|
|
14328
|
+
x-celigo-ai-guidance:
|
|
14329
|
+
- |-
|
|
14330
|
+
`when` holds one value, and two different settings share it: the
|
|
14331
|
+
composite-import operation gate (`record_created` / `record_updated`,
|
|
14332
|
+
the UI's "Only perform mapping when") and the empty-source action
|
|
14333
|
+
(`extract_not_empty` / `fail_record_when_empty`, the UI's "Action to
|
|
14334
|
+
take if source field has no value"). A row cannot carry both — writing
|
|
14335
|
+
one replaces the other and the save succeeds, so a composite import
|
|
14336
|
+
row that needs both has to choose. Never author `fail_record_when_empty`
|
|
14337
|
+
on a row that already carries `record_created` or `record_updated`.
|
|
12453
14338
|
properties:
|
|
12454
14339
|
when:
|
|
12455
14340
|
type: string
|
|
12456
14341
|
description: |
|
|
12457
|
-
|
|
12458
|
-
-
|
|
12459
|
-
|
|
12460
|
-
|
|
14342
|
+
Condition that gates this mapping — either an operation gate on a
|
|
14343
|
+
composite (create-or-update) import or the action to take when the
|
|
14344
|
+
extract returns no value. Empty means null, undefined or an empty
|
|
14345
|
+
string; `0`, `false` and whitespace are values.
|
|
14346
|
+
x-celigo-ai-guidance:
|
|
14347
|
+
- |-
|
|
14348
|
+
`fail_record_when_empty` is the fourth "Action to take if source field
|
|
14349
|
+
has no value" and is mutually exclusive with the other three: send it
|
|
14350
|
+
with no `default` key. A `default`, a `lookupName` or a `hardCodedValue`
|
|
14351
|
+
on the same row — or a `default` on a `buildArrayHelper` entry — is
|
|
14352
|
+
rejected at save with `[unsupported_mapping] "<key>" and conditional.when
|
|
14353
|
+
"fail_record_when_empty" cannot be present in mapping simultaneously.`
|
|
14354
|
+
(the lookup variant adds `Use lookup "allowFailures" instead.`);
|
|
14355
|
+
lookups fail through `allowFailures: false`, and a hard-coded row
|
|
14356
|
+
always has a value. At runtime an empty extract fails the record with
|
|
14357
|
+
an `errors[]` entry `{code: "extract_empty", fatal: true, source:
|
|
14358
|
+
"mapping", message: "<generate>: Source field has no value"}`
|
|
14359
|
+
("Input field has no value" in a Transformation 2.0); `0` and `false`
|
|
14360
|
+
are values and map through.
|
|
12461
14361
|
enum:
|
|
12462
14362
|
- record_created
|
|
12463
14363
|
- record_updated
|
|
12464
14364
|
- extract_not_empty
|
|
14365
|
+
- fail_record_when_empty
|
|
12465
14366
|
x-enumDescriptions:
|
|
12466
|
-
record_created: Apply this mapping only when creating a new record
|
|
12467
|
-
record_updated: Apply this mapping only when updating an existing record
|
|
12468
|
-
extract_not_empty: Apply this mapping only when the extract field returns a non-empty value
|
|
14367
|
+
record_created: Apply this mapping only when creating a new record
|
|
14368
|
+
record_updated: Apply this mapping only when updating an existing record
|
|
14369
|
+
extract_not_empty: Apply this mapping only when the extract field returns a non-empty value
|
|
14370
|
+
fail_record_when_empty: Fail the record when the extract field returns no value
|
|
12469
14371
|
examples:
|
|
12470
14372
|
- record_created
|
|
12471
14373
|
- record_updated
|
|
12472
14374
|
- extract_not_empty
|
|
14375
|
+
- fail_record_when_empty
|
|
12473
14376
|
required:
|
|
12474
14377
|
- dataType
|
|
14378
|
+
if:
|
|
14379
|
+
properties:
|
|
14380
|
+
conditional:
|
|
14381
|
+
properties:
|
|
14382
|
+
when:
|
|
14383
|
+
const: fail_record_when_empty
|
|
14384
|
+
required:
|
|
14385
|
+
- when
|
|
14386
|
+
required:
|
|
14387
|
+
- conditional
|
|
14388
|
+
then:
|
|
14389
|
+
not:
|
|
14390
|
+
anyOf:
|
|
14391
|
+
- required:
|
|
14392
|
+
- default
|
|
14393
|
+
- required:
|
|
14394
|
+
- lookupName
|
|
14395
|
+
- required:
|
|
14396
|
+
- hardCodedValue
|
|
12475
14397
|
Transform:
|
|
12476
14398
|
type: object
|
|
12477
14399
|
description: |
|
|
@@ -12655,6 +14577,16 @@ components:
|
|
|
12655
14577
|
x-enumDescriptions:
|
|
12656
14578
|
create: Builds entirely new output records from inputs, ignoring unmapped fields.
|
|
12657
14579
|
modify: Makes targeted edits to existing records, preserving unmapped fields.
|
|
14580
|
+
x-celigo-ai-guidance:
|
|
14581
|
+
- |-
|
|
14582
|
+
On a grouped record (the export groups rows, so the record is an
|
|
14583
|
+
array) only `create` can author output — build it from the rows with
|
|
14584
|
+
`$[0].field`, `$[*].field`, or a `buildArrayHelper` over `$[*]`.
|
|
14585
|
+
`modify` has no object to overlay onto an array: the record passes
|
|
14586
|
+
through untouched and the processor reports success. Either mode
|
|
14587
|
+
reshapes the inside of one record; neither changes how many records
|
|
14588
|
+
the page carries (that is the export's `preSavePage` hook) or whether
|
|
14589
|
+
the export groups at all (that is its grouping setting).
|
|
12658
14590
|
examples:
|
|
12659
14591
|
- create
|
|
12660
14592
|
- modify
|
|
@@ -13548,6 +15480,8 @@ components:
|
|
|
13548
15480
|
- prepareFormData
|
|
13549
15481
|
_scriptId:
|
|
13550
15482
|
type: string
|
|
15483
|
+
format: objectId
|
|
15484
|
+
x-celigo-refModel: scripts
|
|
13551
15485
|
description: |
|
|
13552
15486
|
Reference to a predefined script resource containing the initialization function.
|
|
13553
15487
|
|
|
@@ -13616,6 +15550,8 @@ components:
|
|
|
13616
15550
|
- prepareResourceForSave
|
|
13617
15551
|
_scriptId:
|
|
13618
15552
|
type: string
|
|
15553
|
+
format: objectId
|
|
15554
|
+
x-celigo-refModel: scripts
|
|
13619
15555
|
description: |
|
|
13620
15556
|
Reference to a predefined script resource containing the preSave function.
|
|
13621
15557
|
|
|
@@ -13684,9 +15620,12 @@ components:
|
|
|
13684
15620
|
description: |-
|
|
13685
15621
|
Connection this import uses to reach the destination system. The connection's type must
|
|
13686
15622
|
be compatible with the import's `adaptorType` (e.g. an `HTTPImport` needs an `http`
|
|
15623
|
+
connection; `NetSuiteDistributedImport` and `NetSuiteHTTPImport` both need a `netsuite`
|
|
13687
15624
|
connection). Server-required — POST without it fails with 422 "Expected field:
|
|
13688
15625
|
_connectionId to be present" — except for the connection-less flavors (`ToolImport`,
|
|
13689
|
-
`AiAgentImport`, `GuardrailImport`), which the server creates without
|
|
15626
|
+
`AiAgentImport`, `GuardrailImport`, `TopicImport`), which the server creates without
|
|
15627
|
+
one. An Event Streams publisher (`TopicImport`) must omit it: with a connection set the
|
|
15628
|
+
server validates the document as that connection's adaptor instead.
|
|
13690
15629
|
examples:
|
|
13691
15630
|
- 60a2c4e6f321d800129a1a3c
|
|
13692
15631
|
_integrationId:
|
|
@@ -13716,9 +15655,15 @@ components:
|
|
|
13716
15655
|
Use HTTPImport for all REST/SOAP APIs unless a specialized adaptor exists for the
|
|
13717
15656
|
target system; always pair the adaptorType with its matching configuration object.
|
|
13718
15657
|
- |-
|
|
13719
|
-
For NetSuite,
|
|
13720
|
-
|
|
13721
|
-
|
|
15658
|
+
For NetSuite, use NetSuiteDistributedImport (with the netsuite_da object) when the
|
|
15659
|
+
Celigo SuiteApp or bundle is installed in the account — check with
|
|
15660
|
+
`GET /v1/connections/{_id}/distributedApps` (`suiteapp.success` / `bundle.success`).
|
|
15661
|
+
Use NetSuiteHTTPImport (with `nsDomainType` and the http object) when neither is
|
|
15662
|
+
installed or the user asks for NetSuite's REST APIs; the platform's SuiteTalk connector
|
|
15663
|
+
catalogs `POST /services/rest/record/v1/<type>` for inserts and
|
|
15664
|
+
`PATCH /services/rest/record/v1/<type>/{id}` for updates, and saving links the step to
|
|
15665
|
+
them. NetSuiteImport is a legacy adaptor for accounts without the Celigo SuiteApp 2.0 —
|
|
15666
|
+
do not use it unless explicitly requested.
|
|
13722
15667
|
- |-
|
|
13723
15668
|
Use RDBMSImport (with the rdbms object) for built-in database types such as SQL Server,
|
|
13724
15669
|
MySQL, PostgreSQL, Snowflake, Oracle, and MariaDB. Use JDBCImport (with the jdbc
|
|
@@ -13730,6 +15675,7 @@ components:
|
|
|
13730
15675
|
- S3Import
|
|
13731
15676
|
- NetSuiteImport
|
|
13732
15677
|
- NetSuiteDistributedImport
|
|
15678
|
+
- NetSuiteHTTPImport
|
|
13733
15679
|
- SalesforceImport
|
|
13734
15680
|
- JDBCImport
|
|
13735
15681
|
- RDBMSImport
|
|
@@ -13740,6 +15686,7 @@ components:
|
|
|
13740
15686
|
- GuardrailImport
|
|
13741
15687
|
- FileSystemImport
|
|
13742
15688
|
- ToolImport
|
|
15689
|
+
- TopicImport
|
|
13743
15690
|
- RESTImport
|
|
13744
15691
|
x-enumDescriptions:
|
|
13745
15692
|
HTTPImport: Generic REST or SOAP API import via HTTP connections.
|
|
@@ -13747,25 +15694,56 @@ components:
|
|
|
13747
15694
|
AS2Import: File import via AS2 (Applicability Statement 2) protocol.
|
|
13748
15695
|
S3Import: File import to Amazon S3 storage.
|
|
13749
15696
|
NetSuiteImport: Legacy NetSuite import for accounts without the Celigo SuiteApp 2.0.
|
|
13750
|
-
NetSuiteDistributedImport: NetSuite import using the distributed SuiteApp 2.0 adaptor (default for NetSuite).
|
|
15697
|
+
NetSuiteDistributedImport: NetSuite import using the distributed SuiteApp 2.0 adaptor (default for NetSuite when the SuiteApp or bundle is installed).
|
|
15698
|
+
NetSuiteHTTPImport: NetSuite import over its REST APIs — SuiteTalk REST record endpoints or a custom RESTlet — on a netsuite connection, without the Celigo SuiteApp or bundle.
|
|
13751
15699
|
SalesforceImport: Salesforce-specific import using SOAP, REST, Metadata, or Composite APIs.
|
|
13752
15700
|
JDBCImport: Database import via a generic JDBC connection (not for built-in RDBMS types).
|
|
13753
15701
|
RDBMSImport: Database import for built-in RDBMS types such as SQL Server, MySQL, PostgreSQL, Snowflake, and Oracle.
|
|
13754
15702
|
MongodbImport: MongoDB database import for document-based operations.
|
|
13755
15703
|
DynamodbImport: Amazon DynamoDB import for NoSQL table operations.
|
|
13756
15704
|
WrapperImport: Custom adaptor import built outside of Celigo (rarely used).
|
|
13757
|
-
AiAgentImport: AI agent import using OpenAI, Gemini,
|
|
15705
|
+
AiAgentImport: AI agent import using OpenAI, Gemini, Anthropic Claude, or a BYOK catalog provider (Mistral, xAI, Hugging Face, DeepSeek, Cohere, Groq) for data processing.
|
|
13758
15706
|
GuardrailImport: Safety and compliance check import for PII detection, moderation, or AI evaluation.
|
|
13759
15707
|
FileSystemImport: Local or network file system import.
|
|
13760
15708
|
ToolImport: Import that executes a reusable Celigo Tool resource.
|
|
15709
|
+
TopicImport: Publishes each record as a message to an Event Streams topic, configured through `topic`; needs no connection.
|
|
13761
15710
|
RESTImport: Legacy REST adaptor, superseded by HTTPImport — still accepted and present on older imports.
|
|
13762
15711
|
examples:
|
|
13763
15712
|
- HTTPImport
|
|
13764
15713
|
- NetSuiteDistributedImport
|
|
15714
|
+
- NetSuiteHTTPImport
|
|
13765
15715
|
- SalesforceImport
|
|
13766
15716
|
- FTPImport
|
|
13767
15717
|
- AiAgentImport
|
|
13768
15718
|
- GuardrailImport
|
|
15719
|
+
- TopicImport
|
|
15720
|
+
nsDomainType:
|
|
15721
|
+
type: string
|
|
15722
|
+
enum:
|
|
15723
|
+
- suitetalk
|
|
15724
|
+
- restlet
|
|
15725
|
+
x-lowercase: true
|
|
15726
|
+
x-enumDescriptions:
|
|
15727
|
+
suitetalk: NetSuite SuiteTalk REST web services — record endpoints under /services/rest/record/v1
|
|
15728
|
+
restlet: A custom RESTlet script deployed in the NetSuite account, called at /app/site/hosting/restlet.nl?script=<id>&deploy=<n>
|
|
15729
|
+
description: |-
|
|
15730
|
+
Selects which NetSuite REST host a `NetSuiteHTTPImport` calls. The server derives the
|
|
15731
|
+
full base URL from the connection's NetSuite account
|
|
15732
|
+
(`https://<account>.suitetalk.api.netsuite.com` or `https://<account>.restlets.api.netsuite.com`)
|
|
15733
|
+
and signs each request with the connection's token-based credentials, so each
|
|
15734
|
+
`http.relativeURI` entry carries the complete path starting at `/services/rest/...` or
|
|
15735
|
+
`/app/site/hosting/restlet.nl`. Ignored on other adaptor types.
|
|
15736
|
+
x-celigo-ai-guidance:
|
|
15737
|
+
- |-
|
|
15738
|
+
Required on `NetSuiteHTTPImport`: omitting it fails the save with 422 "Path `nsDomainType`
|
|
15739
|
+
is required." The import's `_connectionId` must be a netsuite connection — an http
|
|
15740
|
+
connection fails with 422 invalid_connection_type.
|
|
15741
|
+
- |-
|
|
15742
|
+
With `suitetalk`, saving links `http._httpConnectorVersionId`, `_httpConnectorResourceId`
|
|
15743
|
+
and `_httpConnectorEndpointIds` to the platform's SuiteTalk connector from each
|
|
15744
|
+
`http.method` + `http.relativeURI` pair (for example `POST /services/rest/record/v1/customer`
|
|
15745
|
+
links to that record type's insert endpoint), so the UI's Simple view renders an
|
|
15746
|
+
API-authored step; `restlet` steps are not linked.
|
|
13769
15747
|
externalId:
|
|
13770
15748
|
type:
|
|
13771
15749
|
- string
|
|
@@ -13799,6 +15777,8 @@ components:
|
|
|
13799
15777
|
$ref: '#/components/schemas/Salesforce'
|
|
13800
15778
|
tool:
|
|
13801
15779
|
$ref: '#/components/schemas/Tool'
|
|
15780
|
+
topic:
|
|
15781
|
+
$ref: '#/components/schemas/Topic'
|
|
13802
15782
|
file:
|
|
13803
15783
|
$ref: '#/components/schemas/File'
|
|
13804
15784
|
filesystem:
|
|
@@ -13974,11 +15954,21 @@ components:
|
|
|
13974
15954
|
$ref: '#/components/schemas/PathToMany'
|
|
13975
15955
|
blobKeyPath:
|
|
13976
15956
|
type: string
|
|
15957
|
+
x-celigo-excludeAdaptorTypes:
|
|
15958
|
+
- AiAgentImport
|
|
15959
|
+
- GuardrailImport
|
|
15960
|
+
- ToolImport
|
|
13977
15961
|
description: |-
|
|
13978
15962
|
Path in the input record that holds the blob key identifying the file content to import.
|
|
13979
15963
|
At send time the platform follows this path, retrieves the referenced file from integrator.io
|
|
13980
|
-
storage, and streams its bytes into the outgoing request.
|
|
15964
|
+
storage, and streams its bytes into the outgoing request. Not accepted on `AiAgentImport`,
|
|
15965
|
+
`GuardrailImport`, or `ToolImport` — those adaptors process records only and reject the
|
|
15966
|
+
field with 422 `not_supported`.
|
|
13981
15967
|
x-celigo-ai-guidance:
|
|
15968
|
+
- |-
|
|
15969
|
+
On AiAgentImport, GuardrailImport and ToolImport the save fails with 422 `not_supported`
|
|
15970
|
+
("Field "blobKeyPath" is not supported for this import type."); route file content
|
|
15971
|
+
through a blob-capable import (HTTP, FTP, S3) instead.
|
|
13982
15972
|
- |-
|
|
13983
15973
|
The value at this path must be a blobKey produced by an upstream blob
|
|
13984
15974
|
export or blob lookup and carried onto the record via that step's
|
|
@@ -14001,10 +15991,34 @@ components:
|
|
|
14001
15991
|
- attachment.blobKey
|
|
14002
15992
|
blob:
|
|
14003
15993
|
type: boolean
|
|
14004
|
-
|
|
15994
|
+
x-celigo-excludeAdaptorTypes:
|
|
15995
|
+
- AiAgentImport
|
|
15996
|
+
- GuardrailImport
|
|
15997
|
+
- ToolImport
|
|
15998
|
+
description: |-
|
|
15999
|
+
When true, this import transfers raw file content (blobs) to the destination rather than
|
|
16000
|
+
structured records, reading each file through `blobKeyPath`. Not accepted on
|
|
16001
|
+
`AiAgentImport`, `GuardrailImport`, or `ToolImport` — those adaptors process records only
|
|
16002
|
+
and reject the flag with 422 `not_supported`.
|
|
16003
|
+
x-celigo-ai-guidance:
|
|
16004
|
+
- |-
|
|
16005
|
+
On AiAgentImport, GuardrailImport and ToolImport the save fails with 422 `not_supported`
|
|
16006
|
+
("Field "blob" is not supported for this import type."); never set it on those adaptors.
|
|
16007
|
+
examples:
|
|
16008
|
+
- true
|
|
16009
|
+
- false
|
|
14005
16010
|
assistant:
|
|
14006
16011
|
type: string
|
|
14007
|
-
description:
|
|
16012
|
+
description: |-
|
|
16013
|
+
Identifier for the connector assistant used to configure this import. For the cloud
|
|
16014
|
+
file providers it also selects the provider-specific location rules —
|
|
16015
|
+
`azuredatalakestoragegen2` (container in `file.directory.name`, file path split into
|
|
16016
|
+
`http.relativeURI` and `file.fileName`) and `googlecloudstorage` (bucket in
|
|
16017
|
+
`file.directory.storageRootId`).
|
|
16018
|
+
examples:
|
|
16019
|
+
- shopify
|
|
16020
|
+
- azuredatalakestoragegen2
|
|
16021
|
+
- googlecloudstorage
|
|
14008
16022
|
deleteAfterImport:
|
|
14009
16023
|
type: boolean
|
|
14010
16024
|
description: When true, the source file is deleted after it is successfully imported.
|
|
@@ -14108,9 +16122,12 @@ components:
|
|
|
14108
16122
|
format: objectId
|
|
14109
16123
|
x-celigo-refModel: ediprofiles
|
|
14110
16124
|
description: |-
|
|
14111
|
-
EDI profile this import uses to generate outbound X12
|
|
14112
|
-
envelope qualifiers, delimiters, version, and validation rules. Set it when the
|
|
14113
|
-
produces EDI output; omit it otherwise.
|
|
16125
|
+
EDI profile this import uses to generate outbound X12 or EDIFACT documents — it supplies
|
|
16126
|
+
the envelope qualifiers, delimiters, version, and validation rules. Set it when the
|
|
16127
|
+
import produces EDI output; omit it otherwise. Accepted on the file-writing imports —
|
|
16128
|
+
FTP, AS2, S3 and HTTP file mode (`http.type: "file"`).
|
|
16129
|
+
x-celigo-ai-guidance:
|
|
16130
|
+
- 'On an HTTP import set `http.type: "file"` (the folder mode of file-provider connectors) and pair this field with `file.type: "filedefinition"` and `file.skipAggregation: true` or `file.aggregation.type: "key"` — the platform saves EDI files per page or per key, never aggregated per run.'
|
|
14114
16131
|
parsers:
|
|
14115
16132
|
type: array
|
|
14116
16133
|
description: |-
|
|
@@ -14390,6 +16407,23 @@ components:
|
|
|
14390
16407
|
per-mode contract. Handlebars expressions in ``extract`` always
|
|
14391
16408
|
reference ``{{record.field}}`` regardless — only JSONPath
|
|
14392
16409
|
behavior flips with ``inputContext``.
|
|
16410
|
+
- |-
|
|
16411
|
+
## JSON structure — record { } or rows [ ]
|
|
16412
|
+
|
|
16413
|
+
The shape of this array is the mapper's JSON structure. Named
|
|
16414
|
+
top-level items produce an object record; ``http.body`` and the
|
|
16415
|
+
other templates bind it as ``record``. Exactly one top-level item
|
|
16416
|
+
with ``dataType: objectarray`` and no ``generate`` is the
|
|
16417
|
+
``rows [ ]`` structure: the mapped record is an array — one
|
|
16418
|
+
element per element the item's ``buildArrayHelper`` iterates —
|
|
16419
|
+
and templates bind it as ``rows`` (``{{#each rows}}``), with
|
|
16420
|
+
``record.*`` undefined. The mapping editor shows that row's
|
|
16421
|
+
destination disabled; its save check accepts the unnamed root
|
|
16422
|
+
only in the ``rows [ ]`` structure and fails any other row that
|
|
16423
|
+
has a source and no ``generate`` with "One or more destination
|
|
16424
|
+
field values not entered". Keep the root unnamed when editing a
|
|
16425
|
+
``rows [ ]`` mapping — naming it turns the output into an object
|
|
16426
|
+
and a ``{{#each rows}}`` body renders nothing.
|
|
14393
16427
|
- |-
|
|
14394
16428
|
## IMPORT-SPECIFIC BEHAVIOR
|
|
14395
16429
|
|
|
@@ -14547,6 +16581,14 @@ components:
|
|
|
14547
16581
|
description: Timestamp when the resource was last updated. Changes whenever any property is modified.
|
|
14548
16582
|
x-celigo-ai-guidance:
|
|
14549
16583
|
- Recorded in ISO 8601 with a UTC timezone (Z suffix); always equal to or later than `createdAt`.
|
|
16584
|
+
- |-
|
|
16585
|
+
Records that something was written, not what — a settings edit, a flag flip, or a
|
|
16586
|
+
platform workflow all move it. What changed and when is in the audit log: the
|
|
16587
|
+
per-resource route `GET /v1/{resourceType}/{_id}/audit` for the types its
|
|
16588
|
+
`resourceType` enum lists, or the account-wide
|
|
16589
|
+
`GET /v1/audit?resourceType=<singular>&_resourceId={_id}` for the further types that
|
|
16590
|
+
endpoint's enum accepts (users, environments, notifications among them). A type absent
|
|
16591
|
+
from both enums — jobs, connectors, templates — has only this timestamp.
|
|
14550
16592
|
examples:
|
|
14551
16593
|
- '2023-04-15T14:30:15Z'
|
|
14552
16594
|
deletedAt:
|
|
@@ -14762,16 +16804,22 @@ components:
|
|
|
14762
16804
|
type: string
|
|
14763
16805
|
format: date-time
|
|
14764
16806
|
readOnly: true
|
|
14765
|
-
description:
|
|
16807
|
+
description: |-
|
|
16808
|
+
Turns on step debug capture until this time: while it lies in the future, every
|
|
16809
|
+
request this import sends — or, for a `ToolImport`, every record passing through
|
|
16810
|
+
it with the tool's output — is recorded in the step's debug log
|
|
16811
|
+
(`GET /v1/{flows|apis|tools}/{containerId}/{_id}/requests`). Read-only on PUT —
|
|
16812
|
+
written only by `PATCH /v1/imports/{_id}` on `/debugUntil`, at most 3600 seconds
|
|
16813
|
+
ahead (`422` `update_not_allowed` beyond that); `remove` stops capture.
|
|
14766
16814
|
Request:
|
|
14767
16815
|
type: object
|
|
14768
16816
|
description: |-
|
|
14769
16817
|
Fields that can be sent when creating or updating an import. Set the adaptor-specific
|
|
14770
16818
|
configuration object matching `adaptorType` (e.g. `netsuite_da` for `NetSuiteDistributedImport`).
|
|
14771
16819
|
`_connectionId` is required except for the connection-less flavors (`ToolImport`,
|
|
14772
|
-
`AiAgentImport`, `GuardrailImport`): a `ToolImport` binds connections through
|
|
14773
|
-
referenced tool's `overrides`,
|
|
14774
|
-
|
|
16820
|
+
`AiAgentImport`, `GuardrailImport`, `TopicImport`): a `ToolImport` binds connections through
|
|
16821
|
+
the referenced tool's `overrides`, AI agent / guardrail imports only use a connection for
|
|
16822
|
+
BYOK, and an Event Streams publisher (`TopicImport`) is delivered by the platform itself.
|
|
14775
16823
|
required:
|
|
14776
16824
|
- name
|
|
14777
16825
|
allOf:
|
|
@@ -14786,15 +16834,82 @@ components:
|
|
|
14786
16834
|
- ToolImport
|
|
14787
16835
|
- AiAgentImport
|
|
14788
16836
|
- GuardrailImport
|
|
16837
|
+
- TopicImport
|
|
14789
16838
|
- required:
|
|
14790
16839
|
- tool
|
|
14791
16840
|
- required:
|
|
14792
16841
|
- aiAgent
|
|
14793
16842
|
- required:
|
|
14794
16843
|
- guardrail
|
|
16844
|
+
- required:
|
|
16845
|
+
- topic
|
|
16846
|
+
then:
|
|
16847
|
+
if:
|
|
16848
|
+
properties:
|
|
16849
|
+
adaptorType:
|
|
16850
|
+
const: TopicImport
|
|
16851
|
+
required:
|
|
16852
|
+
- adaptorType
|
|
16853
|
+
then:
|
|
16854
|
+
x-celigo-ui-override: 'Required by the Event Streams publisher form (fieldDefinitions/resources/imports/import.js: ''topic._topicId'' is required:true). Encoded to mirror the form so builders produce publishers that are bound to a topic.'
|
|
16855
|
+
required:
|
|
16856
|
+
- topic
|
|
16857
|
+
properties:
|
|
16858
|
+
topic:
|
|
16859
|
+
required:
|
|
16860
|
+
- _topicId
|
|
14795
16861
|
else:
|
|
14796
16862
|
required:
|
|
14797
16863
|
- _connectionId
|
|
16864
|
+
if:
|
|
16865
|
+
properties:
|
|
16866
|
+
adaptorType:
|
|
16867
|
+
const: NetSuiteHTTPImport
|
|
16868
|
+
required:
|
|
16869
|
+
- adaptorType
|
|
16870
|
+
then:
|
|
16871
|
+
required:
|
|
16872
|
+
- http
|
|
16873
|
+
- nsDomainType
|
|
16874
|
+
else:
|
|
16875
|
+
if:
|
|
16876
|
+
properties:
|
|
16877
|
+
assistant:
|
|
16878
|
+
const: azuredatalakestoragegen2
|
|
16879
|
+
required:
|
|
16880
|
+
- assistant
|
|
16881
|
+
then:
|
|
16882
|
+
x-celigo-ui-override: 'Required by the Azure Data Lake Storage Gen2 import form (fieldDefinitions/resources/imports/azuredatalakestoragegen2.js: container ''file.directory.storageRootId_adls'' is required:true and preSave persists it as file.directory.name; the full file path is required:true and preSave splits it into http.relativeURI (directory prefix) and file.fileName (basename)). Encoded to mirror the form so builders produce connectable configurations.'
|
|
16883
|
+
required:
|
|
16884
|
+
- file
|
|
16885
|
+
properties:
|
|
16886
|
+
file:
|
|
16887
|
+
required:
|
|
16888
|
+
- directory
|
|
16889
|
+
- fileName
|
|
16890
|
+
properties:
|
|
16891
|
+
directory:
|
|
16892
|
+
required:
|
|
16893
|
+
- name
|
|
16894
|
+
else:
|
|
16895
|
+
if:
|
|
16896
|
+
properties:
|
|
16897
|
+
assistant:
|
|
16898
|
+
const: googlecloudstorage
|
|
16899
|
+
required:
|
|
16900
|
+
- assistant
|
|
16901
|
+
then:
|
|
16902
|
+
x-celigo-ui-override: 'Required by the Google Cloud Storage import form (fieldDefinitions/resources/imports/googlecloudstorage.js: bucket ''file.directory.storageRootId_gcs'' is required:true). Encoded to mirror the form so builders produce connectable configurations.'
|
|
16903
|
+
required:
|
|
16904
|
+
- file
|
|
16905
|
+
properties:
|
|
16906
|
+
file:
|
|
16907
|
+
required:
|
|
16908
|
+
- directory
|
|
16909
|
+
properties:
|
|
16910
|
+
directory:
|
|
16911
|
+
required:
|
|
16912
|
+
- storageRootId
|
|
14798
16913
|
Error:
|
|
14799
16914
|
type: object
|
|
14800
16915
|
description: Standard error response envelope returned by integrator.io APIs.
|
|
@@ -14947,16 +17062,90 @@ components:
|
|
|
14947
17062
|
description: The stack id associated with the resource, or null if no stack is involved.
|
|
14948
17063
|
examples:
|
|
14949
17064
|
- 5f8d43a1b9e5a80011a35f2c
|
|
17065
|
+
ImportRecordResult:
|
|
17066
|
+
type: object
|
|
17067
|
+
description: |-
|
|
17068
|
+
The outcome of running one input record through an import — one element
|
|
17069
|
+
per record, in input order — shared by `POST /v1/imports/{_id}/invoke`
|
|
17070
|
+
and the virtual import `POST /v1/connections/{_id}/import`. A record the
|
|
17071
|
+
import itself ignored before any request carries `ignored: true` and the
|
|
17072
|
+
`stage` that dropped it; a record the destination accepted carries its
|
|
17073
|
+
parsed response; a record the destination rejected — or that the
|
|
17074
|
+
import's `failPath` / `failValues` rules judged a failure even on a
|
|
17075
|
+
`2xx` — carries `errors[]`.
|
|
17076
|
+
properties:
|
|
17077
|
+
statusCode:
|
|
17078
|
+
type: integer
|
|
17079
|
+
description: |-
|
|
17080
|
+
HTTP status of the record's outcome. The destination's status for an
|
|
17081
|
+
accepted record; `422` when the import recorded a failure for the
|
|
17082
|
+
record — including when the destination itself answered `200` and
|
|
17083
|
+
the import's `failPath` rules declared it a failure.
|
|
17084
|
+
_json:
|
|
17085
|
+
type: object
|
|
17086
|
+
description: |-
|
|
17087
|
+
The destination's parsed response body for the record — the slice
|
|
17088
|
+
under the import's `response.resourcePath` when one is defined — not
|
|
17089
|
+
the record that was sent. `{}` when the record was ignored or the
|
|
17090
|
+
destination returned no usable body.
|
|
17091
|
+
additionalProperties: true
|
|
17092
|
+
_headers:
|
|
17093
|
+
type: object
|
|
17094
|
+
description: Response headers the destination returned for the record.
|
|
17095
|
+
additionalProperties: true
|
|
17096
|
+
ignored:
|
|
17097
|
+
type: boolean
|
|
17098
|
+
description: |-
|
|
17099
|
+
When true, the import dropped the record before sending anything and
|
|
17100
|
+
`stage` names the gate; the destination was not called for it.
|
|
17101
|
+
stage:
|
|
17102
|
+
type: string
|
|
17103
|
+
description: |-
|
|
17104
|
+
The import stage that ignored the record — `inputFilter` when the
|
|
17105
|
+
import's own input filter excluded it. Present only with `ignored`.
|
|
17106
|
+
examples:
|
|
17107
|
+
- inputFilter
|
|
17108
|
+
errors:
|
|
17109
|
+
type: array
|
|
17110
|
+
description: |-
|
|
17111
|
+
Errors recorded for the record. `source: application` with
|
|
17112
|
+
`stage: apiCall` means the request reached the destination and its
|
|
17113
|
+
answer was the failure; the destination's response body rides in
|
|
17114
|
+
`message`.
|
|
17115
|
+
items:
|
|
17116
|
+
type: object
|
|
17117
|
+
properties:
|
|
17118
|
+
source:
|
|
17119
|
+
type: string
|
|
17120
|
+
code:
|
|
17121
|
+
oneOf:
|
|
17122
|
+
- type: string
|
|
17123
|
+
- type: integer
|
|
17124
|
+
description: |-
|
|
17125
|
+
The adaptor's error code, or the destination's HTTP status as
|
|
17126
|
+
an integer when the import's `failPath` rules turned a
|
|
17127
|
+
successful-looking response into a failure.
|
|
17128
|
+
message:
|
|
17129
|
+
type: string
|
|
17130
|
+
resolved:
|
|
17131
|
+
type: boolean
|
|
17132
|
+
occurredAt:
|
|
17133
|
+
type: integer
|
|
17134
|
+
format: int64
|
|
17135
|
+
stage:
|
|
17136
|
+
type: string
|
|
17137
|
+
classification:
|
|
17138
|
+
type: string
|
|
17139
|
+
additionalProperties: true
|
|
17140
|
+
additionalProperties: true
|
|
14950
17141
|
ImportPreviewResponse:
|
|
14951
17142
|
type: object
|
|
14952
17143
|
description: |-
|
|
14953
|
-
Envelope returned by `POST /v1/imports/preview
|
|
14954
|
-
|
|
14955
|
-
|
|
14956
|
-
|
|
14957
|
-
|
|
14958
|
-
composed destination request — see the operation descriptions for the
|
|
14959
|
-
write-safety warning.
|
|
17144
|
+
Envelope returned by `POST /v1/imports/preview`. Carries per-stage
|
|
17145
|
+
diagnostics alongside the sampled records produced by running the
|
|
17146
|
+
supplied source data through the import's mapping/transform/target
|
|
17147
|
+
pipeline. The target stage executes the composed destination request —
|
|
17148
|
+
see the operation description for the write-safety warning.
|
|
14960
17149
|
properties:
|
|
14961
17150
|
data:
|
|
14962
17151
|
type: array
|
|
@@ -15152,67 +17341,6 @@ components:
|
|
|
15152
17341
|
celigo_classname:
|
|
15153
17342
|
type: string
|
|
15154
17343
|
description: Internal engine class name for the result (e.g. `Celigo.integrator.mapping.model.MapToNetSuiteResult`).
|
|
15155
|
-
PreviewRequest:
|
|
15156
|
-
type: object
|
|
15157
|
-
description: |
|
|
15158
|
-
Request body for running sample data through an import's pipeline
|
|
15159
|
-
(mappings, transformations, hooks). The preview can execute the
|
|
15160
|
-
composed destination request — see the operation descriptions for the
|
|
15161
|
-
write-safety warning.
|
|
15162
|
-
properties:
|
|
15163
|
-
_importId:
|
|
15164
|
-
type: string
|
|
15165
|
-
format: objectId
|
|
15166
|
-
x-celigo-refModel: imports
|
|
15167
|
-
description: The import to preview. Required when previewing within a flow.
|
|
15168
|
-
examples:
|
|
15169
|
-
- 5f8d43a1b9e5a80011a35f2c
|
|
15170
|
-
sampleData:
|
|
15171
|
-
description: |
|
|
15172
|
-
Sample source record(s) to run through the import's mappings and transformations.
|
|
15173
|
-
May be a single object or an array of objects depending on the adaptor.
|
|
15174
|
-
oneOf:
|
|
15175
|
-
- title: Single record
|
|
15176
|
-
type: object
|
|
15177
|
-
additionalProperties: true
|
|
15178
|
-
- title: Array of records
|
|
15179
|
-
type: array
|
|
15180
|
-
items:
|
|
15181
|
-
type: object
|
|
15182
|
-
additionalProperties: true
|
|
15183
|
-
options:
|
|
15184
|
-
type: object
|
|
15185
|
-
description: Optional overrides applied only for this preview.
|
|
15186
|
-
additionalProperties: true
|
|
15187
|
-
additionalProperties: true
|
|
15188
|
-
PreviewResponse:
|
|
15189
|
-
type: object
|
|
15190
|
-
description: |
|
|
15191
|
-
Result of running a preview against the configured import. Shows the
|
|
15192
|
-
mapped/transformed records as composed for the destination.
|
|
15193
|
-
properties:
|
|
15194
|
-
data:
|
|
15195
|
-
type: array
|
|
15196
|
-
description: Mapped and transformed records produced by the import.
|
|
15197
|
-
items:
|
|
15198
|
-
type: object
|
|
15199
|
-
additionalProperties: true
|
|
15200
|
-
errors:
|
|
15201
|
-
type: array
|
|
15202
|
-
description: Any validation or transformation errors encountered while building the preview.
|
|
15203
|
-
items:
|
|
15204
|
-
type: object
|
|
15205
|
-
properties:
|
|
15206
|
-
code:
|
|
15207
|
-
type: string
|
|
15208
|
-
description: Machine-readable code identifying the type of preview error.
|
|
15209
|
-
message:
|
|
15210
|
-
type: string
|
|
15211
|
-
description: Human-readable explanation of what went wrong while building the preview.
|
|
15212
|
-
path:
|
|
15213
|
-
type: string
|
|
15214
|
-
description: Path to the field or configuration element the error relates to.
|
|
15215
|
-
additionalProperties: true
|
|
15216
17344
|
DependencyEntry:
|
|
15217
17345
|
type: object
|
|
15218
17346
|
description: A single resource that depends on the queried resource.
|
|
@@ -15227,6 +17355,13 @@ components:
|
|
|
15227
17355
|
description: Display name of the dependent resource.
|
|
15228
17356
|
examples:
|
|
15229
17357
|
- Import Orders to NetSuite
|
|
17358
|
+
type:
|
|
17359
|
+
type: string
|
|
17360
|
+
description: |-
|
|
17361
|
+
Sub-type of the dependent resource when its collection distinguishes one, such as
|
|
17362
|
+
`stream` for a listener export. Only present for resource types that carry a `type`.
|
|
17363
|
+
examples:
|
|
17364
|
+
- stream
|
|
15230
17365
|
paths:
|
|
15231
17366
|
type: array
|
|
15232
17367
|
description: |-
|