@celigo/api-specs 0.2.307 → 0.2.309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account.yml +154 -15
- package/dist/flow.yml +131 -13
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/account.yml
CHANGED
|
@@ -39,8 +39,14 @@ paths:
|
|
|
39
39
|
same token you use for other requests — there is no body and no query parameter.
|
|
40
40
|
|
|
41
41
|
`token.type` names the credential kind. An account API token (`service`) also reports
|
|
42
|
-
the acting user in `byUser
|
|
43
|
-
|
|
42
|
+
the acting user in `byUser`: for a token the account owner created, the owner, with
|
|
43
|
+
`accessLevel: owner`. A Custom-scope one (`token.fullAccess: false`) lists the
|
|
44
|
+
resources selected on it in `token` (`_connectionIds`, `_exportIds`, `_importIds`,
|
|
45
|
+
`_apiIds`, `_mcpServerIds`), so a token that cannot read its own record can still
|
|
46
|
+
learn its scope here. An invited user's personal access token (`personal`) reports
|
|
47
|
+
that user in `byUser`, with their access level on the account and the `_aShareId` of
|
|
48
|
+
their access record. An on-premise agent token (`agent`) acts as the account itself
|
|
49
|
+
and omits `byUser`.
|
|
44
50
|
responses:
|
|
45
51
|
'200':
|
|
46
52
|
description: Token identity envelope.
|
|
@@ -72,6 +78,64 @@ paths:
|
|
|
72
78
|
_id: 69f1da72317aa6e158632d9b
|
|
73
79
|
name: Production
|
|
74
80
|
_envUserId: 5e58483b68b52e5827d56a86
|
|
81
|
+
customScopeToken:
|
|
82
|
+
summary: Custom-scope account API token (lists what it may use)
|
|
83
|
+
value:
|
|
84
|
+
_userId: 5e58483b68b52e5827d56a86
|
|
85
|
+
token:
|
|
86
|
+
type: service
|
|
87
|
+
_id: 68f5a1b2c3d4e5f678901235
|
|
88
|
+
name: order-export-caller
|
|
89
|
+
fullAccess: false
|
|
90
|
+
_connectionIds:
|
|
91
|
+
- 68f5a1b2c3d4e5f678901240
|
|
92
|
+
_importIds:
|
|
93
|
+
- 68f5a1b2c3d4e5f678901241
|
|
94
|
+
_exportIds:
|
|
95
|
+
- 68f5a1b2c3d4e5f678901242
|
|
96
|
+
_apiIds:
|
|
97
|
+
- 68f5a1b2c3d4e5f678901243
|
|
98
|
+
_mcpServerIds:
|
|
99
|
+
- 68f5a1b2c3d4e5f678901244
|
|
100
|
+
autoPurgeAt: '2026-11-21T11:31:13.046Z'
|
|
101
|
+
ownerUser:
|
|
102
|
+
_id: 5e58483b68b52e5827d56a86
|
|
103
|
+
email: jane@acme.com
|
|
104
|
+
name: Jane Owner
|
|
105
|
+
company: Acme Corp
|
|
106
|
+
byUser:
|
|
107
|
+
_id: 5e58483b68b52e5827d56a86
|
|
108
|
+
email: jane@acme.com
|
|
109
|
+
name: Jane Owner
|
|
110
|
+
accessLevel: owner
|
|
111
|
+
environment:
|
|
112
|
+
_id: 69f1da72317aa6e158632d9b
|
|
113
|
+
name: Production
|
|
114
|
+
_envUserId: 5e58483b68b52e5827d56a86
|
|
115
|
+
personalToken:
|
|
116
|
+
summary: Personal access token of an invited user (no fullAccess)
|
|
117
|
+
value:
|
|
118
|
+
_userId: 5e58483b68b52e5827d56a86
|
|
119
|
+
token:
|
|
120
|
+
type: personal
|
|
121
|
+
_id: 68f5a1b2c3d4e5f678901236
|
|
122
|
+
name: sam-laptop
|
|
123
|
+
autoPurgeAt: '2026-11-21T11:33:38.959Z'
|
|
124
|
+
ownerUser:
|
|
125
|
+
_id: 5e58483b68b52e5827d56a86
|
|
126
|
+
email: jane@acme.com
|
|
127
|
+
name: Jane Owner
|
|
128
|
+
company: Acme Corp
|
|
129
|
+
byUser:
|
|
130
|
+
_id: 6a1b2c3d4e5f678901234def
|
|
131
|
+
email: sam@acme.com
|
|
132
|
+
name: Sam Analyst
|
|
133
|
+
accessLevel: monitor
|
|
134
|
+
_aShareId: 6a1b2c3d4e5f678901234abc
|
|
135
|
+
environment:
|
|
136
|
+
_id: 69f1da72317aa6e158632d9b
|
|
137
|
+
name: Production
|
|
138
|
+
_envUserId: 5e58483b68b52e5827d56a86
|
|
75
139
|
agentToken:
|
|
76
140
|
summary: On-premise agent token (no byUser, no fullAccess)
|
|
77
141
|
value:
|
|
@@ -417,6 +481,11 @@ components:
|
|
|
417
481
|
Use ownerUser._id as the account id and token.type to tell credential kinds apart.
|
|
418
482
|
byUser is absent on on-premise agent tokens (type agent), so never dereference it
|
|
419
483
|
without checking the type first.
|
|
484
|
+
- |-
|
|
485
|
+
On an invited user's personal token byUser is that user, with the _aShareId of their
|
|
486
|
+
access record. On a service token created by the account owner byUser repeats
|
|
487
|
+
ownerUser's _id, email and name with accessLevel owner. Read token.type to tell which
|
|
488
|
+
before naming byUser as the caller.
|
|
420
489
|
properties:
|
|
421
490
|
_userId:
|
|
422
491
|
type: string
|
|
@@ -439,29 +508,87 @@ components:
|
|
|
439
508
|
examples:
|
|
440
509
|
- service
|
|
441
510
|
description: |-
|
|
442
|
-
Credential kind: `service` for an account API token, `
|
|
443
|
-
agent's access token. Read this field
|
|
444
|
-
other fields are present.
|
|
511
|
+
Credential kind: `service` for an account API token, `personal` for a personal
|
|
512
|
+
access token, `agent` for an on-premise agent's access token. Read this field
|
|
513
|
+
rather than inferring the kind from which other fields are present.
|
|
445
514
|
_id:
|
|
446
515
|
type: string
|
|
447
516
|
format: objectId
|
|
448
517
|
examples:
|
|
449
518
|
- 68f5a1b2c3d4e5f678901234
|
|
450
519
|
description: |-
|
|
451
|
-
Record the credential belongs to: the access token for a `service`
|
|
452
|
-
on-premise agent (`GET /v1/agents/{_id}`) for an `agent` token.
|
|
520
|
+
Record the credential belongs to: the access token for a `service` or `personal`
|
|
521
|
+
token, the on-premise agent (`GET /v1/agents/{_id}`) for an `agent` token.
|
|
453
522
|
name:
|
|
454
523
|
type: string
|
|
455
524
|
examples:
|
|
456
525
|
- ci-deploy-bot
|
|
457
526
|
description: |-
|
|
458
|
-
Display name of the access token for a `service` token; the
|
|
459
|
-
`agent` token.
|
|
527
|
+
Display name of the access token for a `service` or `personal` token; the
|
|
528
|
+
agent's name for an `agent` token.
|
|
460
529
|
fullAccess:
|
|
461
530
|
type: boolean
|
|
462
531
|
description: |-
|
|
463
|
-
When true, the token has unrestricted access to the account.
|
|
464
|
-
|
|
532
|
+
When true, the token has unrestricted access to the account. When false, the
|
|
533
|
+
token is a Custom-scope token and the resources selected on it are listed beside
|
|
534
|
+
this field. Present on `service` tokens only; `personal` and `agent` tokens
|
|
535
|
+
omit it.
|
|
536
|
+
_connectionIds:
|
|
537
|
+
type: array
|
|
538
|
+
items:
|
|
539
|
+
type: string
|
|
540
|
+
format: objectId
|
|
541
|
+
x-celigo-refModel: connections
|
|
542
|
+
description: |-
|
|
543
|
+
Connections selected on a Custom-scope `service` token: the `_connectionIds` of the
|
|
544
|
+
access token, whose field docs say what the selection permits. A full-access
|
|
545
|
+
token omits it.
|
|
546
|
+
_exportIds:
|
|
547
|
+
type: array
|
|
548
|
+
items:
|
|
549
|
+
type: string
|
|
550
|
+
format: objectId
|
|
551
|
+
x-celigo-refModel: exports
|
|
552
|
+
description: |-
|
|
553
|
+
Exports selected on a Custom-scope `service` token: the `_exportIds` of the
|
|
554
|
+
access token, whose field docs say what the selection permits. A full-access
|
|
555
|
+
token omits it.
|
|
556
|
+
_importIds:
|
|
557
|
+
type: array
|
|
558
|
+
items:
|
|
559
|
+
type: string
|
|
560
|
+
format: objectId
|
|
561
|
+
x-celigo-refModel: imports
|
|
562
|
+
description: |-
|
|
563
|
+
Imports selected on a Custom-scope `service` token: the `_importIds` of the
|
|
564
|
+
access token, whose field docs say what the selection permits. A full-access
|
|
565
|
+
token omits it.
|
|
566
|
+
_apiIds:
|
|
567
|
+
type: array
|
|
568
|
+
items:
|
|
569
|
+
type: string
|
|
570
|
+
format: objectId
|
|
571
|
+
x-celigo-refModel: apis
|
|
572
|
+
description: |-
|
|
573
|
+
APIs selected on a Custom-scope `service` token: the `_apiIds` of the
|
|
574
|
+
access token, whose field docs say what the selection permits. A full-access
|
|
575
|
+
token omits it.
|
|
576
|
+
_mcpServerIds:
|
|
577
|
+
type: array
|
|
578
|
+
items:
|
|
579
|
+
type: string
|
|
580
|
+
format: objectId
|
|
581
|
+
x-celigo-refModel: mcpservers
|
|
582
|
+
description: |-
|
|
583
|
+
MCP servers selected on a Custom-scope `service` token: the `_mcpServerIds` of the
|
|
584
|
+
access token, whose field docs say what the selection permits. A full-access
|
|
585
|
+
token omits it.
|
|
586
|
+
autoPurgeAt:
|
|
587
|
+
type: string
|
|
588
|
+
format: date-time
|
|
589
|
+
description: |-
|
|
590
|
+
Timestamp at which the token record is automatically removed. Absent on a token
|
|
591
|
+
with no expiry set.
|
|
465
592
|
ownerUser:
|
|
466
593
|
type: object
|
|
467
594
|
description: Account (tenant) owner. Use `_id` as the account id.
|
|
@@ -494,9 +621,10 @@ components:
|
|
|
494
621
|
byUser:
|
|
495
622
|
type: object
|
|
496
623
|
description: |-
|
|
497
|
-
User acting through the token.
|
|
498
|
-
|
|
499
|
-
with `accessLevel: owner`.
|
|
624
|
+
User acting through the token. For a `personal` token this is the person the token
|
|
625
|
+
belongs to. For a `service` token created by the account owner this repeats
|
|
626
|
+
`ownerUser`'s `_id`, `email` and `name` with `accessLevel: owner`. Omitted for
|
|
627
|
+
`agent` tokens, which act as the account itself.
|
|
500
628
|
required:
|
|
501
629
|
- _id
|
|
502
630
|
properties:
|
|
@@ -524,7 +652,18 @@ components:
|
|
|
524
652
|
- owner
|
|
525
653
|
description: |-
|
|
526
654
|
Acting user's account-wide access level. `owner` when the acting user is the
|
|
527
|
-
account owner
|
|
655
|
+
account owner; for an invited user's `personal` token, the `accessLevel` of the
|
|
656
|
+
access record named by `_aShareId`.
|
|
657
|
+
_aShareId:
|
|
658
|
+
type: string
|
|
659
|
+
format: objectId
|
|
660
|
+
x-celigo-refModel: ashares
|
|
661
|
+
examples:
|
|
662
|
+
- 6a1b2c3d4e5f678901234abc
|
|
663
|
+
description: |-
|
|
664
|
+
Access record (`GET /v1/ashares`) that gives the acting user their access to the
|
|
665
|
+
account. Present on an invited user's `personal` token; absent on a `service`
|
|
666
|
+
token created by the account owner.
|
|
528
667
|
environment:
|
|
529
668
|
type: object
|
|
530
669
|
description: Environment the token is bound to.
|
package/dist/flow.yml
CHANGED
|
@@ -787,6 +787,11 @@ paths:
|
|
|
787
787
|
`GET /v1/flows/{_id}/{_stepId}/errors`. For a whole-integration rollup, use
|
|
788
788
|
`GET /v1/integrations/{_id}/errors`. `lastErrorAt` is only populated on entries with
|
|
789
789
|
`numError > 0`.
|
|
790
|
+
|
|
791
|
+
A ToolImport step's entry counts the open errors of its whole tool chain. The error records are
|
|
792
|
+
listed under the step inside the tool that failed, not under the ToolImport: pass
|
|
793
|
+
`_toolImportId` to get the chain's per-step counts, then read that step's errors with
|
|
794
|
+
`GET /v1/flows/{_id}/{_stepId}/errors`.
|
|
790
795
|
parameters:
|
|
791
796
|
- name: _id
|
|
792
797
|
in: path
|
|
@@ -796,6 +801,19 @@ paths:
|
|
|
796
801
|
type: string
|
|
797
802
|
format: objectId
|
|
798
803
|
x-celigo-refModel: flows
|
|
804
|
+
- name: _toolImportId
|
|
805
|
+
in: query
|
|
806
|
+
required: false
|
|
807
|
+
description: |-
|
|
808
|
+
ToolImport step of the flow whose tool chain to summarize. The response then lists the steps
|
|
809
|
+
of that chain instead of the flow's own steps: one entry per export or import inside the
|
|
810
|
+
tool and its nested tools, and three entries per ToolImport level — the level itself and its
|
|
811
|
+
`toolStage` `input` and `output`. A ToolImport nested inside another's tool returns an empty
|
|
812
|
+
`flowErrors` array, and a value that is not a valid id returns `400` `invalid_ref`.
|
|
813
|
+
schema:
|
|
814
|
+
type: string
|
|
815
|
+
format: objectId
|
|
816
|
+
x-celigo-refModel: imports
|
|
799
817
|
responses:
|
|
800
818
|
'200':
|
|
801
819
|
description: Per-step open-error summary.
|
|
@@ -813,6 +831,31 @@ paths:
|
|
|
813
831
|
lastErrorAt: '2026-04-21T10:51:13.221Z'
|
|
814
832
|
- _expOrImpId: 69a9aa5c54e3d9bd11b86d82
|
|
815
833
|
numError: 0
|
|
834
|
+
tool_chain:
|
|
835
|
+
summary: With _toolImportId — the chain of a ToolImport whose tool nests a second tool
|
|
836
|
+
value:
|
|
837
|
+
flowErrors:
|
|
838
|
+
- _expOrImpId: 6af9ecef416839654bc2ebe1
|
|
839
|
+
numError: 0
|
|
840
|
+
- _expOrImpId: 6af9ecf0cc1815dca10ea6ff
|
|
841
|
+
numError: 1
|
|
842
|
+
lastErrorAt: '2026-11-15T17:37:07.013Z'
|
|
843
|
+
- _expOrImpId: 6af9ed16cc1815dca10ea729
|
|
844
|
+
numError: 0
|
|
845
|
+
- _expOrImpId: 6af9ed16cc1815dca10ea729
|
|
846
|
+
numError: 0
|
|
847
|
+
toolStage: input
|
|
848
|
+
- _expOrImpId: 6af9ed16cc1815dca10ea729
|
|
849
|
+
numError: 0
|
|
850
|
+
toolStage: output
|
|
851
|
+
- _expOrImpId: 6af9ed87416839654bc2ec3c
|
|
852
|
+
numError: 0
|
|
853
|
+
- _expOrImpId: 6af9ed87416839654bc2ec3c
|
|
854
|
+
numError: 0
|
|
855
|
+
toolStage: input
|
|
856
|
+
- _expOrImpId: 6af9ed87416839654bc2ec3c
|
|
857
|
+
numError: 0
|
|
858
|
+
toolStage: output
|
|
816
859
|
'400':
|
|
817
860
|
$ref: '#/components/responses/400-bad-request'
|
|
818
861
|
'401':
|
|
@@ -1482,7 +1525,9 @@ paths:
|
|
|
1482
1525
|
description: |-
|
|
1483
1526
|
Returns one page of currently-open (unresolved) errors for a single step (export or import) within
|
|
1484
1527
|
a flow. The step id is the `_exportId` / `_importId` from the flow's `pageGenerators[]`,
|
|
1485
|
-
`pageProcessors[]`, or `routers[].branches[].pageProcessors[]`.
|
|
1528
|
+
`pageProcessors[]`, or `routers[].branches[].pageProcessors[]`. An error raised inside a
|
|
1529
|
+
ToolImport step's tool is listed under the export or import inside the tool that failed, read
|
|
1530
|
+
with that step's id on this same flow; the ToolImport's own id returns an empty list.
|
|
1486
1531
|
|
|
1487
1532
|
For a flow-wide rollup (per-step counts only), use `GET /v1/flows/{_id}/errors` instead.
|
|
1488
1533
|
To scope the list to one specific run, pass `_flowJobId` together with the required
|
|
@@ -3291,7 +3336,9 @@ paths:
|
|
|
3291
3336
|
|
|
3292
3337
|
A ToolImport step's tool chain is returned as one entry per record and chain, carrying
|
|
3293
3338
|
`_toolImportId`: the steps inside the tool and any nested tools do not get entries of their own,
|
|
3294
|
-
and the entry's `status` is `error` when any step in the chain errored.
|
|
3339
|
+
and the entry's `status` is `error` when any step in the chain errored. The rollup is written
|
|
3340
|
+
after the step records: right after a run ends, the entry of a chain that failed can still read
|
|
3341
|
+
`success`, so re-query before treating the chain as clean.
|
|
3295
3342
|
|
|
3296
3343
|
For per-stage data (an HTTP request and response, or a mapping's or script hook's input and
|
|
3297
3344
|
output), pick an entry and call `POST .../logs/data/query` with the corresponding `stage`. To stitch an
|
|
@@ -3621,7 +3668,9 @@ paths:
|
|
|
3621
3668
|
before concluding the step recorded nothing.
|
|
3622
3669
|
|
|
3623
3670
|
For a ToolImport step, set `stage` to `tool` to get the record's input to and output from the
|
|
3624
|
-
whole tool, without `groupId`.
|
|
3671
|
+
whole tool, without `groupId`. Each end of the tool is also its own entry: `schemaValidation`
|
|
3672
|
+
with the ToolImport's id and the trace step's `groupId` (the input end) or `outputGroupId` (the
|
|
3673
|
+
output end). With `stage` `tool`, a missing `recordId` or `_expOrImpId` returns
|
|
3625
3674
|
`400` `missing_required_field`, and a `_toolImportId` that differs from `_expOrImpId` returns
|
|
3626
3675
|
`400` `invalid_exp_or_imp_id`.
|
|
3627
3676
|
parameters:
|
|
@@ -3669,6 +3718,13 @@ paths:
|
|
|
3669
3718
|
_toolImportId: 6ae149afa8b7937d2e5a3765
|
|
3670
3719
|
recordId: cAl5nHBP
|
|
3671
3720
|
stage: tool
|
|
3721
|
+
tool_output_end:
|
|
3722
|
+
summary: Fetch the record a ToolImport step's tool returned (groupId is the step's outputGroupId)
|
|
3723
|
+
value:
|
|
3724
|
+
_expOrImpId: 6af9ed87416839654bc2ec3c
|
|
3725
|
+
groupId: Wecs7yWG
|
|
3726
|
+
recordId: SW55vKl8
|
|
3727
|
+
stage: schemaValidation
|
|
3672
3728
|
responses:
|
|
3673
3729
|
'200':
|
|
3674
3730
|
description: Log entries for the requested `(step, stage)`.
|
|
@@ -3750,6 +3806,28 @@ paths:
|
|
|
3750
3806
|
errorMessage: 'id: String contains alpha characters'
|
|
3751
3807
|
errorCode: non_parsable_string
|
|
3752
3808
|
errorSource: resource
|
|
3809
|
+
tool_output_end:
|
|
3810
|
+
summary: schemaValidation on a ToolImport step with its outputGroupId
|
|
3811
|
+
value:
|
|
3812
|
+
logs:
|
|
3813
|
+
- log:
|
|
3814
|
+
timestamp: '2026-11-15T17:37:38.639Z'
|
|
3815
|
+
groupId: Wecs7yWG
|
|
3816
|
+
recordId: SW55vKl8
|
|
3817
|
+
stage: schemaValidation
|
|
3818
|
+
toolStage: output
|
|
3819
|
+
input:
|
|
3820
|
+
record:
|
|
3821
|
+
commentId: 9
|
|
3822
|
+
postTitle: qui est esse
|
|
3823
|
+
authorName: Glenna Reichert
|
|
3824
|
+
output:
|
|
3825
|
+
record:
|
|
3826
|
+
commentId: 9
|
|
3827
|
+
postTitle: qui est esse
|
|
3828
|
+
authorName: Glenna Reichert
|
|
3829
|
+
errors: []
|
|
3830
|
+
errors: []
|
|
3753
3831
|
empty_result:
|
|
3754
3832
|
summary: Nothing captured for the stage, or an unknown stage name
|
|
3755
3833
|
value:
|
|
@@ -7225,7 +7303,8 @@ components:
|
|
|
7225
7303
|
type: object
|
|
7226
7304
|
description: |-
|
|
7227
7305
|
Per-step summary of open errors for a flow. One entry per export or import step; entries with
|
|
7228
|
-
`numError: 0` still appear so the caller can see the full step list.
|
|
7306
|
+
`numError: 0` still appear so the caller can see the full step list. With `_toolImportId`, the
|
|
7307
|
+
entries are the steps of that ToolImport's tool chain.
|
|
7229
7308
|
properties:
|
|
7230
7309
|
flowErrors:
|
|
7231
7310
|
type: array
|
|
@@ -7239,6 +7318,17 @@ components:
|
|
|
7239
7318
|
description: Id of the export or import step.
|
|
7240
7319
|
examples:
|
|
7241
7320
|
- 60a2c4e6f321d800129a1a3c
|
|
7321
|
+
toolStage:
|
|
7322
|
+
type: string
|
|
7323
|
+
enum:
|
|
7324
|
+
- input
|
|
7325
|
+
- output
|
|
7326
|
+
x-enumDescriptions:
|
|
7327
|
+
input: The entry counts errors at the tool's input end
|
|
7328
|
+
output: The entry counts errors at the tool's output end
|
|
7329
|
+
description: |-
|
|
7330
|
+
End of the tool this entry counts. Present only on a tool-chain summary
|
|
7331
|
+
(`_toolImportId`), on the two extra entries each ToolImport level gets.
|
|
7242
7332
|
numError:
|
|
7243
7333
|
type: integer
|
|
7244
7334
|
minimum: 0
|
|
@@ -9078,7 +9168,9 @@ components:
|
|
|
9078
9168
|
type: string
|
|
9079
9169
|
description: |-
|
|
9080
9170
|
Outcome of this step for this record. A ToolImport chain entry is `error` when any step in
|
|
9081
|
-
the chain errored, even if the ToolImport's own pass succeeded.
|
|
9171
|
+
the chain errored, even if the ToolImport's own pass succeeded. That rollup is written after
|
|
9172
|
+
the step records: an entry read right after the job's `endedAt` can still be `success` for a
|
|
9173
|
+
chain that failed, so re-query before treating it as final.
|
|
9082
9174
|
enum:
|
|
9083
9175
|
- success
|
|
9084
9176
|
- error
|
|
@@ -9206,9 +9298,13 @@ components:
|
|
|
9206
9298
|
status:
|
|
9207
9299
|
type: string
|
|
9208
9300
|
description: |-
|
|
9209
|
-
Outcome at this step.
|
|
9210
|
-
|
|
9211
|
-
failed names the stage.
|
|
9301
|
+
Outcome at this step. When the request traces the chain (`traceKey` or `_toolImportId`), the
|
|
9302
|
+
outermost ToolImport step is `error` when any step in its chain errored, even if its own
|
|
9303
|
+
pass succeeded; its `stage` then stays empty, and the step that failed names the stage. A
|
|
9304
|
+
nested ToolImport is not rolled up: it stays `success` when a step inside its own tool
|
|
9305
|
+
errored. Without `traceKey` and `_toolImportId` there is no rollup: the response is the
|
|
9306
|
+
ToolImport's input-side row with that pass's own status, `success` even for a chain that
|
|
9307
|
+
failed inside.
|
|
9212
9308
|
enum:
|
|
9213
9309
|
- success
|
|
9214
9310
|
- error
|
|
@@ -9286,7 +9382,14 @@ components:
|
|
|
9286
9382
|
_expOrImpId:
|
|
9287
9383
|
type: string
|
|
9288
9384
|
format: objectId
|
|
9289
|
-
description:
|
|
9385
|
+
description: |-
|
|
9386
|
+
Id of the export or import step the record was processed by. The two ends of a tool run by a
|
|
9387
|
+
ToolImport step are read with that ToolImport's own id, nested ToolImports included.
|
|
9388
|
+
x-celigo-ai-guidance:
|
|
9389
|
+
- |-
|
|
9390
|
+
For a tool's input or output inside a flow run, send the ToolImport step's id. The
|
|
9391
|
+
`<toolId>_input` form used by tool invocation logs returns `400` `invalid_exp_or_imp_id`
|
|
9392
|
+
here, and the bare tool id returns an empty `logs` array.
|
|
9290
9393
|
examples:
|
|
9291
9394
|
- 60a2c4e6f321d800129a1a3c
|
|
9292
9395
|
stage:
|
|
@@ -9302,6 +9405,13 @@ components:
|
|
|
9302
9405
|
neither the bare hook name (`preMap`) nor `<functionName>Hook` returns them (live-verified
|
|
9303
9406
|
2026-10-20; `inputFilter` 2026-10-22). `tool` returns a ToolImport step's composed input and
|
|
9304
9407
|
output for the record; it needs no `groupId`.
|
|
9408
|
+
|
|
9409
|
+
On a ToolImport level (the flow's ToolImport step or one nested in its tool),
|
|
9410
|
+
`schemaValidation` returns the record at one end of the tool on a `detailed` or `debug` job:
|
|
9411
|
+
with the level's `groupId`, the record entering the tool, and with its `outputGroupId`, the
|
|
9412
|
+
record the tool returned. On a `debug` job, `mapping` with the level's `groupId` returns the
|
|
9413
|
+
ToolImport's own mapping and with its `outputGroupId` the tool's output mapping, and
|
|
9414
|
+
`responseMapping` is recorded under `outputGroupId` (live-verified 2026-11-15).
|
|
9305
9415
|
examples:
|
|
9306
9416
|
- apiCall
|
|
9307
9417
|
- transformation
|
|
@@ -9315,9 +9425,12 @@ components:
|
|
|
9315
9425
|
- postSubmitHook
|
|
9316
9426
|
- postResponseMapHook
|
|
9317
9427
|
- tool
|
|
9428
|
+
- schemaValidation
|
|
9318
9429
|
groupId:
|
|
9319
9430
|
type: string
|
|
9320
|
-
description:
|
|
9431
|
+
description: |-
|
|
9432
|
+
Batch id from the `execution-log` entry or the trace step. For the output side of a
|
|
9433
|
+
ToolImport level, that step's `outputGroupId`. Ignored when `stage` is `tool`.
|
|
9321
9434
|
examples:
|
|
9322
9435
|
- g_5f8d43a1b9e5a80011a35f2d
|
|
9323
9436
|
recordId:
|
|
@@ -9332,8 +9445,9 @@ components:
|
|
|
9332
9445
|
description: |-
|
|
9333
9446
|
Outermost ToolImport of the chain. Set it to the same value as `_expOrImpId` when `stage` is
|
|
9334
9447
|
`tool` and `_expOrImpId` is the outermost ToolImport, so the response carries the chain's
|
|
9335
|
-
errors; without it `errors` comes back empty. Omit it for a tool nested inside another
|
|
9336
|
-
|
|
9448
|
+
errors; without it `errors` comes back empty. Omit it for a tool nested inside another: set
|
|
9449
|
+
to the nested ToolImport's own id, it returns an empty `logs` array. A different value or a
|
|
9450
|
+
malformed id returns `400` `invalid_exp_or_imp_id`.
|
|
9337
9451
|
examples:
|
|
9338
9452
|
- 60a2c4e6f321d800129a1a3c
|
|
9339
9453
|
required:
|
|
@@ -9372,7 +9486,11 @@ components:
|
|
|
9372
9486
|
`{record}`. `outputGroupId` appears once the tool's output pass has run and `output` once that
|
|
9373
9487
|
pass stored a record, so a chain that failed inside the tool has `input` only. Payloads are
|
|
9374
9488
|
written after the job's step records, so right after a run a side can be missing because it has
|
|
9375
|
-
not landed yet; re-query before treating it as absent.
|
|
9489
|
+
not landed yet; re-query before treating it as absent. On a `basic` job the entry carries the
|
|
9490
|
+
ids only, without `input` or `output` (live-verified 2026-11-15).
|
|
9491
|
+
- `schemaValidation`: on a ToolImport level, a per-record entry for one end of the tool, carrying
|
|
9492
|
+
`toolStage` (`input` or `output`), the record at that end as `input.record` and
|
|
9493
|
+
`output.record`, and `errors`. Empty on a `basic` job (live-verified 2026-11-15).
|
|
9376
9494
|
properties:
|
|
9377
9495
|
logs:
|
|
9378
9496
|
type: array
|
package/package.json
CHANGED