@celigo/api-specs 0.2.285 → 0.2.287

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/export.yml CHANGED
@@ -1368,6 +1368,14 @@ components:
1368
1368
  array-records to (templates reference ``{{rows.0.<field>}}`` /
1369
1369
  iterate ``{{#each rows}}``); hook code sees the array as the
1370
1370
  record element and must not assume object shape.
1371
+ - |-
1372
+ On an HTTP export and on a Snowflake export that group with this field, a grouped record's
1373
+ trace key at the next step was the platform's default key, not the value of the export's
1374
+ `traceKeyTemplate`: the first field on the flow's trace-key list present on the rows, when
1375
+ every row holds the same value. Rows that each carry their own `id` left a multi-row
1376
+ group's key blank; an `id` holding the group's identifier on every row keyed the group on
1377
+ it. A Transform 2.0 in `mode: create` that turned each group into one object made the
1378
+ template the key on the HTTP export (see `traceKeyTemplate`).
1371
1379
  - |-
1372
1380
  A grouped record is ONE record: Mapper 2.0 and Transform 2.0 root
1373
1381
  JSONPath at the array (``$[0].<field>`` / ``$[*].<field>``;
@@ -7225,6 +7233,12 @@ components:
7225
7233
  An export configured with an async helper cannot carry its own transform,
7226
7234
  output filter,
7227
7235
  or preSavePage hook — put that processing in the result export instead.
7236
+ - |-
7237
+ Never set this on a lookup (`isLookup: true`): a flow cannot save with an async
7238
+ export among its page processors (422 `invalid_flow`). An asynchronous read is the
7239
+ flow's source export. A test run does not execute an export that has an async helper
7240
+ — the step reports "The flow in the test mode is not supported for asynchronous
7241
+ export." (verified live 2026-11-11) — so check such a flow with a real run.
7228
7242
  examples:
7229
7243
  - 60a2c4e6f321d800129a1a3c
7230
7244
  - 5f8d43a1b9e5a80011a35f2c
@@ -11173,6 +11187,10 @@ components:
11173
11187
  per row and the repeated internal ids surface as duplicate trace keys
11174
11188
  (`traceKeysDuplicate` in the preview). Grouping keys on the internal id only — a
11175
11189
  different key needs a `preSavePage` hook, which sees one page at a time.
11190
+ - |-
11191
+ With grouping on, the next step's errors are keyed on the rows' `id` (the record's
11192
+ internal id) even when the export sets a `traceKeyTemplate`; with `true` the template's
11193
+ value is the key.
11176
11194
  - |-
11177
11195
  Celigo's documentation requires the saved search to be sorted by Internal ID for
11178
11196
  grouping to apply.
@@ -17495,26 +17513,53 @@ components:
17495
17513
  description: |-
17496
17514
  Handlebars template that overrides how each record's unique trace key is generated, used
17497
17515
  to track records through the flow and match retries to prior errors (e.g.
17498
- `{{join "_" record.customerId record.orderId}}`). When omitted, the system picks a unique
17499
- field automatically from the record's top level, by exact field name (`GET
17500
- /v1/flows/{_id}/traceKey` serves the pattern). The rendered value of a template is stamped
17501
- on each record as `io_custom_trace_key` and travels downstream with it. If a transform
17502
- reshapes the data first, omit the `record.` prefix. Trace keys are capped at 256 characters;
17503
- a longer key is stored truncated from the middle, keeping the beginning and end of the
17504
- value. Downstream imports use the trace key as their default concurrency lock key (a blank
17505
- key means no lock); it never de-duplicates — a record emitted twice with the same key is
17506
- processed twice.
17516
+ `{{join "_" record.customerId record.orderId}}`). When omitted, the platform derives the
17517
+ key from the ordered field list of the flow's source step (`GET /v1/flows/{_id}/traceKey`
17518
+ serves it). The rendered value of a template is stamped on an object record as
17519
+ `io_custom_trace_key` and travels downstream with it. If a transform reshapes the data
17520
+ first, omit the `record.` prefix. Trace keys are capped at 256 characters; a longer key is
17521
+ stored truncated from the middle, keeping the beginning and end of the value. Downstream
17522
+ imports use the trace key as their default concurrency lock key (a blank key means no
17523
+ lock); it never de-duplicates — a record emitted twice with the same key is processed
17524
+ twice.
17507
17525
  x-celigo-ai-guidance:
17508
17526
  - |-
17509
- The default derivation reads these top-level fields in order and takes the first present
17510
- (a record carrying `id` and `internalId` is keyed on `id` alone) — `id`, `Id`, `ID`,
17511
- `internalid`, `Internalid`, `internalId`, `InternalId`, `INTERNALID`, `_id`, `_Id`, `_ID`,
17512
- `internal_id`, `internal_Id`, `Internal_id`, `Internal_Id`, `INTERNAL_ID`, `identifier`,
17513
- `IDENTIFIER` — then a `*anything` rule the platform does not document.
17514
- - |-
17515
- A record in flight through the flow carries `io_custom_trace_key` when a template is set
17516
- — that value is the downstream imports' default lock key; without a template the record
17517
- carries no trace-key field (the key is derived, not stored on the record).
17527
+ For an object record (an export that does not group), the default key is the first
17528
+ field the record carries from the list `GET /v1/flows/{_id}/traceKey` returns for the
17529
+ source step (a record carrying `id` and `internalId` is keyed on `id` alone). The list
17530
+ starts with the exact names `id`, `Id`, `ID`, `internalid`, `Internalid`, `internalId`,
17531
+ `InternalId`, `INTERNALID`, `_id`, `_Id`, `_ID`, `internal_id`, `internal_Id`,
17532
+ `Internal_id`, `Internal_Id`, `INTERNAL_ID`, `identifier`, `IDENTIFIER`.
17533
+ - |-
17534
+ After those names the list carries the source fields named like an id that the flow's
17535
+ import mappings read, in mapping order — an import that maps `Customer_Id` adds
17536
+ `Customer_Id`, so records with none of the standard names are keyed on that field —
17537
+ and then names taken from the export's own configuration, written with a leading `*`:
17538
+ an HTTP export whose relative URI is `v1/mirror` listed `*mirror`, and a record's
17539
+ `mirror_id` became its key.
17540
+ - |-
17541
+ The listed field is read from an object record's top level; when none is there, one
17542
+ level down counts (`order.id` keyed the record). Nested objects that carry different
17543
+ values, or the differing elements of a nested array, leave the key blank, and a field
17544
+ two levels down is not read.
17545
+ - |-
17546
+ On an export whose records are groups of rows — `groupByFields` on an HTTP and on a
17547
+ Snowflake export, and a NetSuite saved search with grouping on, were run — the
17548
+ template's value did not reach the next step: its errors carried the default key and
17549
+ no row carried `io_custom_trace_key`. The default for a group is the first listed field
17550
+ present on its rows when every row holds the same value; rows that differ on that field
17551
+ leave the key blank, and later listed fields are not tried.
17552
+ - |-
17553
+ To key grouped records on a business identifier, return it on every row as `id` — on a
17554
+ database export, `SELECT order_number AS id, * FROM orders` — and the next step's errors
17555
+ carry it, with or without a template (HTTP and Snowflake exports). On the HTTP export a
17556
+ Transform 2.0 in `mode: create` that reshaped each group into one object also made the
17557
+ template the key, because the record leaving the export was then an object.
17558
+ - |-
17559
+ An object record in flight through the flow carries `io_custom_trace_key` when a
17560
+ template is set — that value is the downstream imports' default lock key; without a
17561
+ template the record carries no trace-key field (the key is derived, not stored on the
17562
+ record).
17518
17563
  examples:
17519
17564
  - '{{record.id}}'
17520
17565
  - '{{join "_" record.customerId record.orderId}}'
@@ -17549,6 +17594,13 @@ components:
17549
17594
  TopicExport`) with `isLookup: true` fails the save with 422 `not_supported`
17550
17595
  ("Lookup functionality is not available for Stream Export"). Enrich from a topic by
17551
17596
  listening to it in its own flow.
17597
+ - |-
17598
+ Not supported together with an async helper (`http._asyncHelperId`). Verified live
17599
+ 2026-11-11: a flow that lists such an export in `pageProcessors` is refused at save
17600
+ with 422 `invalid_flow`; an API or a Tool that uses it saves, and invoking it fails
17601
+ with error code `unexpected` (422 from a Tool invoke, 500 from an API request)
17602
+ instead of running the step. Call an asynchronous API from a flow's source export or
17603
+ from an import.
17552
17604
  examples:
17553
17605
  - true
17554
17606
  - false
package/dist/flow.yml CHANGED
@@ -1248,17 +1248,38 @@ paths:
1248
1248
  - Flows
1249
1249
  summary: Get a flow's trace-key patterns
1250
1250
  description: |-
1251
- Returns the trace-key pattern for each page generator in the flow. Trace keys are used to
1252
- correlate source records with their downstream results in execution logs — they let you look up
1253
- "what happened to record X" without scanning the full log.
1251
+ Returns, for each page generator in the flow, the ordered list of fields the platform reads to
1252
+ derive a record's default trace key. Trace keys correlate source records with their downstream
1253
+ results in errors and execution logs — they let you look up "what happened to record X" without
1254
+ scanning the full log.
1254
1255
 
1255
1256
  Each entry in the returned array corresponds to one page generator (`pgIndex` matches the
1256
- zero-based position in the flow's `pageGenerators` array). The `traceKeyPattern` describes
1257
- which source-record fields and/or Handlebars templates are combined to produce the key.
1257
+ zero-based position in the flow's `pageGenerators` array). The list holds the platform's
1258
+ standard id names, then the id-like source fields the flow's import mappings read, then names
1259
+ taken from the export's own configuration, written with a leading `*`.
1260
+
1261
+ For an object record the first field in `fields` that the record carries becomes its trace
1262
+ key; when its top level carries none, a listed field one level down is read, and nested values
1263
+ that differ leave the key blank. For a record that is a group of rows the first listed field
1264
+ present on the rows is the key only when every row holds the same value. A `traceKeyTemplate`
1265
+ set on the export replaces this list for an object record and is not echoed here.
1258
1266
 
1259
1267
  If both `fields` and `templates` are empty for a generator, the flow has no trace key configured
1260
1268
  and log correlation must be done by position or other means. Trace keys are especially important
1261
1269
  for fan-out flows where one source record produces many destination records.
1270
+ x-celigo-ai-guidance:
1271
+ - |-
1272
+ Read this list to explain a record's trace key when the export sets no template, or when
1273
+ the export groups records (a group is keyed from this list, not from the template): an
1274
+ HTTP export with relative URI `v1/mirror` feeding an import that maps `Location_Id` and
1275
+ then `Customer_Id` returned the eighteen standard names, `Location_Id`, `Customer_Id`,
1276
+ `*mirror` — and its records were keyed on `Location_Id`.
1277
+ - |-
1278
+ A NetSuite saved-search export returned its own names — `id`, `internalid`, `internalId`,
1279
+ `internal id`, `internal_id`, `Internal ID`, `inventory_item_id`, `productId`, `entityid`,
1280
+ `nsmsgId` — and a Snowflake export feeding an import with no id-like mapping returned the
1281
+ eighteen standard names alone; an HTTP export with no mapping returned them followed by
1282
+ `*mirror`.
1262
1283
  parameters:
1263
1284
  - name: _id
1264
1285
  in: path
@@ -5112,6 +5133,13 @@ components:
5112
5133
  - Retrieve additional details from a system
5113
5134
  - Validate data against a reference source
5114
5135
  - Enrich records with related information
5136
+ - |-
5137
+ The lookup must answer in one call. An export that references an async helper
5138
+ (`http._asyncHelperId`) is refused as a page processor: the flow's save fails with
5139
+ 422 `invalid_flow` ("Invalid flow - async export <name> of type cannot be used as a
5140
+ pageProcessor") on create and on every later update, until the helper is removed
5141
+ from the export (verified live 2026-11-11). Put an asynchronous export in
5142
+ `pageGenerators`, or use an import with an async helper.
5115
5143
  _importId:
5116
5144
  type: string
5117
5145
  format: objectId
@@ -7371,7 +7399,11 @@ components:
7371
7399
  properties:
7372
7400
  fields:
7373
7401
  type: array
7374
- description: Source-record field paths that contribute to the trace key.
7402
+ description: |-
7403
+ Field names read in order to derive the default trace key; the operation description
7404
+ says how an object record and a group of rows are matched against them. A name with a
7405
+ leading `*` is taken from the export's configuration: `*mirror`, from the relative
7406
+ URI `v1/mirror`, keyed a record on its `mirror_id` field.
7375
7407
  items:
7376
7408
  type: string
7377
7409
  templates:
package/dist/import.yml CHANGED
@@ -17805,8 +17805,8 @@ components:
17805
17805
  Handlebars template that generates a concurrency lock key for each record: records that
17806
17806
  render the same key are never submitted at the same time, while records with different
17807
17807
  keys are processed in parallel. When omitted, the record's trace key is the lock key (a
17808
- blank trace key means no lock; a custom `traceKeyTemplate` upstream arrives on the record
17809
- as `io_custom_trace_key`); a template replaces that default rather than adding to it.
17808
+ blank trace key means no lock; a custom `traceKeyTemplate` upstream arrives on an object
17809
+ record as `io_custom_trace_key`); a template replaces that default rather than adding to it.
17810
17810
  The template is rendered from the record as it arrives at the import — before the import's
17811
17811
  own lookups and mapping run — so a key built from one of the import's lookup results
17812
17812
  (`{{lookup.<name>}}`) or from a mapped field renders empty, and an empty key is no lock at
@@ -911,14 +911,14 @@ paths:
911
911
  Returns the error records recorded while a `pull` or `revert` revision was being applied — the
912
912
  same list the Revisions tab shows for a `failed` revision. Read this, not the diff, to learn why
913
913
  a revision failed: `GET /v1/integrations/{_id}/revisions/{_revisionId}/diff` rejects `failed`
914
- revisions with `invalid_revision_state`. Only `failed` revisions have error records; every
915
- other state is rejected with the same `invalid_revision_state` code.
914
+ revisions with `invalid_revision_state`, and every state other than `failed` is rejected here
915
+ with the same code.
916
916
 
917
- Each record names the resource the apply step rejected. Ids inside a message use the revision's
918
- change-set keys: a `LifeCycleError` of the form `<type> - <id> references a deleted resource:
919
- <type> - <id>.deleted` reports that the merged document still points at an entry the same change
920
- set marks `.deleted`. The suffix is that marker, not the resource's state in the account — the
921
- resource may still exist there.
917
+ Each record is an error the apply step recorded: a resource or reference it refused, or a
918
+ failure of the apply step itself. A `LifeCycleError` names ids by the revision's change-set
919
+ keys — `<type> - <id> references a deleted resource: <type> - <id>.deleted` reports that the
920
+ merged document still points at an entry the same change set marks `.deleted`. The suffix is
921
+ that marker, not the resource's state in the account.
922
922
  parameters:
923
923
  - name: _id
924
924
  in: path
@@ -954,6 +954,17 @@ paths:
954
954
  code: LifeCycleError
955
955
  message: integration - 6a90467b117405485e64787e references a deleted resource:lookupcache - 6aa912fd3ec91536bee07e41.deleted.
956
956
  createdAt: '2026-09-18T07:41:37.675Z'
957
+ unresolved_step_reference:
958
+ summary: Apply refused an enabled, scheduled flow whose step names an export the account does not hold
959
+ value:
960
+ - _id: 6b0f1c2a9d3e4f5a6b7c8d01
961
+ code: invalid_ref
962
+ message: 6b0f1c2a9d3e4f5a6b7c8d9e is not a valid routers.2.branches.1.pageProcessors.0._exportId
963
+ createdAt: '2026-11-05T11:32:24.821Z'
964
+ - _id: 6b0f1c2a9d3e4f5a6b7c8d02
965
+ code: not_allowed
966
+ message: Unfinished flows are not allowed to be scheduled.
967
+ createdAt: '2026-11-05T11:32:24.821Z'
957
968
  '400':
958
969
  description: |-
959
970
  Revision is not in `failed` state, so it has no error records. Error code
@@ -5118,7 +5129,7 @@ components:
5118
5129
  x-enumDescriptions:
5119
5130
  inprogress: The revision is currently being prepared and can be diffed, applied, or canceled.
5120
5131
  completed: The revision has been finalized and applied successfully.
5121
- failed: The apply step rejected the revision; the recorded errors are returned by `GET /v1/integrations/{_id}/revisions/{_revisionId}/errors`.
5132
+ failed: The apply step did not complete; the errors it recorded are returned by `GET /v1/integrations/{_id}/revisions/{_revisionId}/errors`.
5122
5133
  canceled: The revision was aborted before being applied.
5123
5134
  description:
5124
5135
  type: string
@@ -5245,15 +5256,23 @@ components:
5245
5256
  - 6aaceb3c8b19ac878dd7cd41
5246
5257
  code:
5247
5258
  type: string
5248
- description: Error class assigned by the apply step, such as `LifeCycleError` for change-set consistency failures.
5259
+ description: |-
5260
+ Error class the apply step recorded. Recorded classes include `LifeCycleError` — a
5261
+ change-set consistency failure — and the code of a resource validation the apply ran; a
5262
+ failure of the apply step itself is recorded under its own class. A flow whose step names an
5263
+ export the account does not hold is recorded as `invalid_ref` (`<id> is not a valid <path>`);
5264
+ when that flow is enabled and scheduled, the same refusal also records `not_allowed`
5265
+ (`Unfinished flows are not allowed to be scheduled.`), which names no flow.
5249
5266
  examples:
5250
5267
  - LifeCycleError
5268
+ - invalid_ref
5251
5269
  message:
5252
5270
  type: string
5253
5271
  description: |-
5254
- Human-readable cause. Resource references inside it use the change set's own ids, so a
5255
- `<id>.deleted` suffix identifies an entry of the revision, not the state of the resource in
5256
- the account.
5272
+ Human-readable cause. In a `LifeCycleError`, resource references use the change set's own
5273
+ ids, so a `<id>.deleted` suffix identifies an entry of the revision, not the state of the
5274
+ resource in the account. A flow's `invalid_ref` carries the id the flow named and the field
5275
+ path that holds it.
5257
5276
  examples:
5258
5277
  - integration - 6a90467b117405485e64787e references a deleted resource:lookupcache - 6aa912fd3ec91536bee07e41.deleted.
5259
5278
  createdAt:
package/dist/tool.yml CHANGED
@@ -27495,8 +27495,8 @@ components:
27495
27495
  Handlebars template that generates a concurrency lock key for each record: records that
27496
27496
  render the same key are never submitted at the same time, while records with different
27497
27497
  keys are processed in parallel. When omitted, the record's trace key is the lock key (a
27498
- blank trace key means no lock; a custom `traceKeyTemplate` upstream arrives on the record
27499
- as `io_custom_trace_key`); a template replaces that default rather than adding to it.
27498
+ blank trace key means no lock; a custom `traceKeyTemplate` upstream arrives on an object
27499
+ record as `io_custom_trace_key`); a template replaces that default rather than adding to it.
27500
27500
  The template is rendered from the record as it arrives at the import — before the import's
27501
27501
  own lookups and mapping run — so a key built from one of the import's lookup results
27502
27502
  (`{{lookup.<name>}}`) or from a mapped field renders empty, and an empty key is no lock at
@@ -28372,6 +28372,14 @@ components:
28372
28372
  array-records to (templates reference ``{{rows.0.<field>}}`` /
28373
28373
  iterate ``{{#each rows}}``); hook code sees the array as the
28374
28374
  record element and must not assume object shape.
28375
+ - |-
28376
+ On an HTTP export and on a Snowflake export that group with this field, a grouped record's
28377
+ trace key at the next step was the platform's default key, not the value of the export's
28378
+ `traceKeyTemplate`: the first field on the flow's trace-key list present on the rows, when
28379
+ every row holds the same value. Rows that each carry their own `id` left a multi-row
28380
+ group's key blank; an `id` holding the group's identifier on every row keyed the group on
28381
+ it. A Transform 2.0 in `mode: create` that turned each group into one object made the
28382
+ template the key on the HTTP export (see `traceKeyTemplate`).
28375
28383
  - |-
28376
28384
  A grouped record is ONE record: Mapper 2.0 and Transform 2.0 root
28377
28385
  JSONPath at the array (``$[0].<field>`` / ``$[*].<field>``;
@@ -33734,6 +33742,12 @@ components:
33734
33742
  An export configured with an async helper cannot carry its own transform,
33735
33743
  output filter,
33736
33744
  or preSavePage hook — put that processing in the result export instead.
33745
+ - |-
33746
+ Never set this on a lookup (`isLookup: true`): a flow cannot save with an async
33747
+ export among its page processors (422 `invalid_flow`). An asynchronous read is the
33748
+ flow's source export. A test run does not execute an export that has an async helper
33749
+ — the step reports "The flow in the test mode is not supported for asynchronous
33750
+ export." (verified live 2026-11-11) — so check such a flow with a real run.
33737
33751
  examples:
33738
33752
  - 60a2c4e6f321d800129a1a3c
33739
33753
  - 5f8d43a1b9e5a80011a35f2c
@@ -37682,6 +37696,10 @@ components:
37682
37696
  per row and the repeated internal ids surface as duplicate trace keys
37683
37697
  (`traceKeysDuplicate` in the preview). Grouping keys on the internal id only — a
37684
37698
  different key needs a `preSavePage` hook, which sees one page at a time.
37699
+ - |-
37700
+ With grouping on, the next step's errors are keyed on the rows' `id` (the record's
37701
+ internal id) even when the export sets a `traceKeyTemplate`; with `true` the template's
37702
+ value is the key.
37685
37703
  - |-
37686
37704
  Celigo's documentation requires the saved search to be sorted by Internal ID for
37687
37705
  grouping to apply.
@@ -40234,26 +40252,53 @@ components:
40234
40252
  description: |-
40235
40253
  Handlebars template that overrides how each record's unique trace key is generated, used
40236
40254
  to track records through the flow and match retries to prior errors (e.g.
40237
- `{{join "_" record.customerId record.orderId}}`). When omitted, the system picks a unique
40238
- field automatically from the record's top level, by exact field name (`GET
40239
- /v1/flows/{_id}/traceKey` serves the pattern). The rendered value of a template is stamped
40240
- on each record as `io_custom_trace_key` and travels downstream with it. If a transform
40241
- reshapes the data first, omit the `record.` prefix. Trace keys are capped at 256 characters;
40242
- a longer key is stored truncated from the middle, keeping the beginning and end of the
40243
- value. Downstream imports use the trace key as their default concurrency lock key (a blank
40244
- key means no lock); it never de-duplicates — a record emitted twice with the same key is
40245
- processed twice.
40246
- x-celigo-ai-guidance:
40247
- - |-
40248
- The default derivation reads these top-level fields in order and takes the first present
40249
- (a record carrying `id` and `internalId` is keyed on `id` alone) — `id`, `Id`, `ID`,
40250
- `internalid`, `Internalid`, `internalId`, `InternalId`, `INTERNALID`, `_id`, `_Id`, `_ID`,
40251
- `internal_id`, `internal_Id`, `Internal_id`, `Internal_Id`, `INTERNAL_ID`, `identifier`,
40252
- `IDENTIFIER` — then a `*anything` rule the platform does not document.
40253
- - |-
40254
- A record in flight through the flow carries `io_custom_trace_key` when a template is set
40255
- — that value is the downstream imports' default lock key; without a template the record
40256
- carries no trace-key field (the key is derived, not stored on the record).
40255
+ `{{join "_" record.customerId record.orderId}}`). When omitted, the platform derives the
40256
+ key from the ordered field list of the flow's source step (`GET /v1/flows/{_id}/traceKey`
40257
+ serves it). The rendered value of a template is stamped on an object record as
40258
+ `io_custom_trace_key` and travels downstream with it. If a transform reshapes the data
40259
+ first, omit the `record.` prefix. Trace keys are capped at 256 characters; a longer key is
40260
+ stored truncated from the middle, keeping the beginning and end of the value. Downstream
40261
+ imports use the trace key as their default concurrency lock key (a blank key means no
40262
+ lock); it never de-duplicates — a record emitted twice with the same key is processed
40263
+ twice.
40264
+ x-celigo-ai-guidance:
40265
+ - |-
40266
+ For an object record (an export that does not group), the default key is the first
40267
+ field the record carries from the list `GET /v1/flows/{_id}/traceKey` returns for the
40268
+ source step (a record carrying `id` and `internalId` is keyed on `id` alone). The list
40269
+ starts with the exact names `id`, `Id`, `ID`, `internalid`, `Internalid`, `internalId`,
40270
+ `InternalId`, `INTERNALID`, `_id`, `_Id`, `_ID`, `internal_id`, `internal_Id`,
40271
+ `Internal_id`, `Internal_Id`, `INTERNAL_ID`, `identifier`, `IDENTIFIER`.
40272
+ - |-
40273
+ After those names the list carries the source fields named like an id that the flow's
40274
+ import mappings read, in mapping order — an import that maps `Customer_Id` adds
40275
+ `Customer_Id`, so records with none of the standard names are keyed on that field —
40276
+ and then names taken from the export's own configuration, written with a leading `*`:
40277
+ an HTTP export whose relative URI is `v1/mirror` listed `*mirror`, and a record's
40278
+ `mirror_id` became its key.
40279
+ - |-
40280
+ The listed field is read from an object record's top level; when none is there, one
40281
+ level down counts (`order.id` keyed the record). Nested objects that carry different
40282
+ values, or the differing elements of a nested array, leave the key blank, and a field
40283
+ two levels down is not read.
40284
+ - |-
40285
+ On an export whose records are groups of rows — `groupByFields` on an HTTP and on a
40286
+ Snowflake export, and a NetSuite saved search with grouping on, were run — the
40287
+ template's value did not reach the next step: its errors carried the default key and
40288
+ no row carried `io_custom_trace_key`. The default for a group is the first listed field
40289
+ present on its rows when every row holds the same value; rows that differ on that field
40290
+ leave the key blank, and later listed fields are not tried.
40291
+ - |-
40292
+ To key grouped records on a business identifier, return it on every row as `id` — on a
40293
+ database export, `SELECT order_number AS id, * FROM orders` — and the next step's errors
40294
+ carry it, with or without a template (HTTP and Snowflake exports). On the HTTP export a
40295
+ Transform 2.0 in `mode: create` that reshaped each group into one object also made the
40296
+ template the key, because the record leaving the export was then an object.
40297
+ - |-
40298
+ An object record in flight through the flow carries `io_custom_trace_key` when a
40299
+ template is set — that value is the downstream imports' default lock key; without a
40300
+ template the record carries no trace-key field (the key is derived, not stored on the
40301
+ record).
40257
40302
  examples:
40258
40303
  - '{{record.id}}'
40259
40304
  - '{{join "_" record.customerId record.orderId}}'
@@ -40288,6 +40333,13 @@ components:
40288
40333
  TopicExport`) with `isLookup: true` fails the save with 422 `not_supported`
40289
40334
  ("Lookup functionality is not available for Stream Export"). Enrich from a topic by
40290
40335
  listening to it in its own flow.
40336
+ - |-
40337
+ Not supported together with an async helper (`http._asyncHelperId`). Verified live
40338
+ 2026-11-11: a flow that lists such an export in `pageProcessors` is refused at save
40339
+ with 422 `invalid_flow`; an API or a Tool that uses it saves, and invoking it fails
40340
+ with error code `unexpected` (422 from a Tool invoke, 500 from an API request)
40341
+ instead of running the step. Call an asynchronous API from a flow's source export or
40342
+ from an import.
40291
40343
  examples:
40292
40344
  - true
40293
40345
  - false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.285",
3
+ "version": "0.2.287",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "2f2c61b6",
4
+ "iasCommit": "07daf77b",
5
5
  "generatedAt": "2026-11-11"
6
6
  },
7
7
  "roots": {