@celigo/api-specs 0.2.128 → 0.2.130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ai-agent.yml CHANGED
@@ -3141,7 +3141,7 @@ components:
3141
3141
  no message text) and never cascades or promotes on its own; `Draft`
3142
3142
  descendants are kept as they are, and a `Draft` parent does not gate
3143
3143
  its children. The UI's Set inactive on a parent marks the parent and
3144
- every child `Inactive` (IO-166197). Re-enabling a child
3144
+ every child `Inactive`. Re-enabling a child
3145
3145
  means re-enabling its ancestors in the same payload. Edits that keep
3146
3146
  existing rows must carry their stored status forward — rewriting a
3147
3147
  `Draft` or `Inactive` row to `Active` turns a row the user parked
@@ -4180,7 +4180,7 @@ components:
4180
4180
  no message text) and never cascades or promotes on its own; `Draft`
4181
4181
  descendants are kept as they are, and a `Draft` parent does not gate
4182
4182
  its children. The UI's Set inactive on a parent marks the parent and
4183
- every child `Inactive` (IO-166197). Re-enabling a child
4183
+ every child `Inactive`. Re-enabling a child
4184
4184
  means re-enabling its ancestors in the same payload. Edits that keep
4185
4185
  existing rows must carry their stored status forward — rewriting a
4186
4186
  `Draft` or `Inactive` row to `Active` turns a row the user parked
@@ -5485,7 +5485,7 @@ components:
5485
5485
  ``{record: {...}, settings: ..., job: ...}`` (plus
5486
5486
  ``fileMeta`` on file-provider steps) — the
5487
5487
  same runtime-context envelope Handlebars / SQL /
5488
- GraphQL specialists consume. ``mappings[].extract``
5488
+ GraphQL templates render against. ``mappings[].extract``
5489
5489
  JSONPath values MUST include the ``record.`` segment
5490
5490
  — for example ``"$.record.orderId"`` or
5491
5491
  ``"$.record.customer.email"``. PLACEHOLDER extracts
@@ -5513,9 +5513,8 @@ components:
5513
5513
  ``inputContext: record`` makes the contract
5514
5514
  self-documenting and prevents the transform from
5515
5515
  drifting into envelope mode if an upstream change ever
5516
- changes the platform default. The TransformsAgent
5517
- reads this value off the transform config and threads
5518
- it into the generator's prompt so the JSONPath form
5516
+ changes the platform default. Read this value before
5517
+ writing ``mappings[].extract`` so the JSONPath form
5519
5518
  matches the runtime root.
5520
5519
  - |-
5521
5520
  ## fileMeta on file-provider steps
@@ -6040,9 +6039,9 @@ components:
6040
6039
  format: date-time
6041
6040
  readOnly: true
6042
6041
  description: |-
6043
- When the draft version of this AI agent expires. Drafts are staged by Celigo
6044
- Ora (the platform's AI assistant) when it proposes changes for review; this
6045
- field is present only while an unapproved Ora draft is pending.
6042
+ When the draft version of this AI agent expires. Drafts are staged by Celigo's
6043
+ AI assistant when it proposes changes for review; this field is present only
6044
+ while an unapproved draft is pending.
6046
6045
  debugUntil:
6047
6046
  type: string
6048
6047
  format: date-time
package/dist/alert.yml CHANGED
@@ -651,7 +651,7 @@ paths:
651
651
  type: string
652
652
  description: User display name.
653
653
  examples:
654
- - Tyler Lamparter
654
+ - Jane Doe
655
655
  fieldChanges:
656
656
  type: array
657
657
  description: Fields that were modified.
@@ -686,7 +686,7 @@ paths:
686
686
  byUser:
687
687
  _id: 624cb0346309dc3a543733a2
688
688
  email: user@example.com
689
- name: Tyler Lamparter
689
+ name: Jane Doe
690
690
  fieldChanges:
691
691
  - fieldPath: longRuntime.thresholdMinutes
692
692
  oldValue: 30
@@ -1352,7 +1352,7 @@ components:
1352
1352
  no message text) and never cascades or promotes on its own; `Draft`
1353
1353
  descendants are kept as they are, and a `Draft` parent does not gate
1354
1354
  its children. The UI's Set inactive on a parent marks the parent and
1355
- every child `Inactive` (IO-166197). Re-enabling a child
1355
+ every child `Inactive`. Re-enabling a child
1356
1356
  means re-enabling its ancestors in the same payload. Edits that keep
1357
1357
  existing rows must carry their stored status forward — rewriting a
1358
1358
  `Draft` or `Inactive` row to `Active` turns a row the user parked
@@ -2391,7 +2391,7 @@ components:
2391
2391
  no message text) and never cascades or promotes on its own; `Draft`
2392
2392
  descendants are kept as they are, and a `Draft` parent does not gate
2393
2393
  its children. The UI's Set inactive on a parent marks the parent and
2394
- every child `Inactive` (IO-166197). Re-enabling a child
2394
+ every child `Inactive`. Re-enabling a child
2395
2395
  means re-enabling its ancestors in the same payload. Edits that keep
2396
2396
  existing rows must carry their stored status forward — rewriting a
2397
2397
  `Draft` or `Inactive` row to `Active` turns a row the user parked
@@ -3099,7 +3099,7 @@ components:
3099
3099
  ``{record: {...}, settings: ..., job: ...}`` (plus
3100
3100
  ``fileMeta`` on file-provider steps) — the
3101
3101
  same runtime-context envelope Handlebars / SQL /
3102
- GraphQL specialists consume. ``mappings[].extract``
3102
+ GraphQL templates render against. ``mappings[].extract``
3103
3103
  JSONPath values MUST include the ``record.`` segment
3104
3104
  — for example ``"$.record.orderId"`` or
3105
3105
  ``"$.record.customer.email"``. PLACEHOLDER extracts
@@ -3127,9 +3127,8 @@ components:
3127
3127
  ``inputContext: record`` makes the contract
3128
3128
  self-documenting and prevents the transform from
3129
3129
  drifting into envelope mode if an upstream change ever
3130
- changes the platform default. The TransformsAgent
3131
- reads this value off the transform config and threads
3132
- it into the generator's prompt so the JSONPath form
3130
+ changes the platform default. Read this value before
3131
+ writing ``mappings[].extract`` so the JSONPath form
3133
3132
  matches the runtime root.
3134
3133
  - |-
3135
3134
  ## fileMeta on file-provider steps
package/dist/audit.yml CHANGED
@@ -199,7 +199,7 @@ paths:
199
199
  sso: Change triggered by an SSO authentication event.
200
200
  cli: Change made via the Celigo CLI.
201
201
  mcp: Change made through the Celigo Platform MCP server.
202
- ora: Change made by the Ora AI assistant.
202
+ ora: Change made by Celigo's AI assistant.
203
203
  description: |-
204
204
  Filter by source. Unsupported values are rejected with 422
205
205
  `invalid_audit_field`.
@@ -671,7 +671,7 @@ paths:
671
671
  sso: Change triggered by an SSO authentication event.
672
672
  cli: Change made via the Celigo CLI.
673
673
  mcp: Change made through the Celigo Platform MCP server.
674
- ora: Change made by the Ora AI assistant.
674
+ ora: Change made by Celigo's AI assistant.
675
675
  description: Source filter.
676
676
  responses:
677
677
  '200':
@@ -951,7 +951,7 @@ paths:
951
951
  sso: Change triggered by an SSO authentication event.
952
952
  cli: Change made via the Celigo CLI.
953
953
  mcp: Change made through the Celigo Platform MCP server.
954
- ora: Change made by the Ora AI assistant.
954
+ ora: Change made by Celigo's AI assistant.
955
955
  description: Filter by source.
956
956
  - name: _byUserId
957
957
  in: query
@@ -1550,7 +1550,7 @@ components:
1550
1550
  sso: Change triggered by an SSO authentication event.
1551
1551
  cli: Change made via the Celigo CLI.
1552
1552
  mcp: Change made through the Celigo Platform MCP server.
1553
- ora: Change made by the Ora AI assistant.
1553
+ ora: Change made by Celigo's AI assistant.
1554
1554
  support:
1555
1555
  type: boolean
1556
1556
  readOnly: true
@@ -1754,7 +1754,7 @@ components:
1754
1754
  sso: Change triggered by an SSO authentication event.
1755
1755
  cli: Change made via the Celigo CLI.
1756
1756
  mcp: Change made through the Celigo Platform MCP server.
1757
- ora: Change made by the Ora AI assistant.
1757
+ ora: Change made by Celigo's AI assistant.
1758
1758
  examples:
1759
1759
  - - api
1760
1760
  - system
@@ -1969,7 +1969,7 @@ components:
1969
1969
  sso: Change triggered by an SSO authentication event.
1970
1970
  cli: Change made via the Celigo CLI.
1971
1971
  mcp: Change made through the Celigo Platform MCP server.
1972
- ora: Change made by the Ora AI assistant.
1972
+ ora: Change made by Celigo's AI assistant.
1973
1973
  description: Source filter.
1974
1974
  _byUserId:
1975
1975
  type: string
@@ -958,7 +958,7 @@ components:
958
958
  Present only when the flow resolved the partner; drives the partner
959
959
  filter of the B2B Manager dashboard.
960
960
  examples:
961
- - Best Buy
961
+ - Globex Retail
962
962
  partnerPairKey:
963
963
  type: string
964
964
  description: |-
@@ -968,7 +968,7 @@ components:
968
968
  `referenceDocumentNumber`. Present only when the flow resolved the
969
969
  partner.
970
970
  examples:
971
- - ACME:BESTBUY
971
+ - ACME:GLOBEX
972
972
  direction:
973
973
  type: string
974
974
  enum:
@@ -509,13 +509,13 @@ components:
509
509
  type: string
510
510
  description: Display name of the requesting user.
511
511
  examples:
512
- - Tyler Lamparter
512
+ - Jane Doe
513
513
  email:
514
514
  type: string
515
515
  format: email
516
516
  description: Email address of the requesting user.
517
517
  examples:
518
- - tyler.lamparter@celigo.com
518
+ - jane@example.com
519
519
  EventReportCreateRequest:
520
520
  type: object
521
521
  description: |
package/dist/export.yml CHANGED
@@ -475,7 +475,7 @@ paths:
475
475
  Body is a complete export document (the shape you would POST to
476
476
  `/v1/exports`), typically without `_id`. The CLI uses it for two
477
477
  scenarios:
478
- - `ora exports invoke` with a doc on stdin → ad-hoc preview of a
478
+ - `celigo exports invoke` with a doc on stdin → ad-hoc preview of a
479
479
  not-yet-saved export.
480
480
  - Agent-driven "preview + refine" loops where an LLM iterates on the
481
481
  export config and calls this endpoint to sample output each time.
@@ -1097,9 +1097,9 @@ components:
1097
1097
  Substitute ``<modifiedTimestampField>`` with the actual
1098
1098
  timestamp field the target entity exposes in its response. Do
1099
1099
  NOT invent or copy field names from an example authored for a
1100
- different endpoint -- an unknown field name causes a runtime
1101
- "unknown property" / "invalid column" error the build cannot
1102
- catch. See the engine's filter-field grounding principle.
1100
+ different endpoint -- an unknown field name causes an
1101
+ "unknown property" / "invalid column" error that surfaces only
1102
+ at run time.
1103
1103
 
1104
1104
  For Salesforce, this field is required and has the following default values:
1105
1105
  - LastModifiedDate
@@ -10896,7 +10896,7 @@ components:
10896
10896
  `[application · stage=apiCall] search.createColumn:
10897
10897
  Missing a required argument: name`. The platform
10898
10898
  validation runs before any column data is read, so
10899
- the build fails fast.
10899
+ the export fails fast.
10900
10900
  - |-
10901
10901
  ## NAME MUST BE A SEARCH COLUMN, NOT A BODY FIELD
10902
10902
  NetSuite distinguishes between body fields (the
@@ -10904,9 +10904,8 @@ components:
10904
10904
  search columns (the fields exposed for filtering /
10905
10905
  sorting in saved searches, like `shipaddress1`).
10906
10906
  `columns[].name` MUST be a search column ID, not
10907
- a body field ID. See the SEARCH COLUMNS section of
10908
- the metadata fetcher output for the valid search
10909
- column names for the chosen `recordType`.
10907
+ a body field ID: take it from the chosen
10908
+ `recordType`'s SEARCH COLUMNS list.
10910
10909
  - |-
10911
10910
  ## EXAMPLES
10912
10911
  - `"internalid"` -- the record's internal id
@@ -11648,7 +11647,7 @@ components:
11648
11647
  If the folder internal ID is required to be dynamic based on the data you are integrating,
11649
11648
  you can specify the JSON path to the field in your data containing the folder
11650
11649
  internal ID values instead — with DOUBLE braces (e.g. {{record.folderId}}).
11651
- Production usage is dominantly a static numeric ID; dynamic substitution is rare.
11650
+ Default to a static numeric ID; dynamic substitution is the exception.
11652
11651
  - |-
11653
11652
  ## FIELD BEHAVIOR:
11654
11653
  - Identifies the specific folder in NetSuite's file cabinet to export files from
@@ -11673,7 +11672,7 @@ components:
11673
11672
  - May be linked to folder creation or folder search operations to retrieve valid IDs.
11674
11673
  - |-
11675
11674
  ## EXAMPLES:
11676
- - "12345" - Static folder internal ID (the dominant production form)
11675
+ - "12345" - Static folder internal ID (the usual form)
11677
11676
  - "67890" - Another valid folder internal ID
11678
11677
  - "{{record.folderId}}" - Dynamic folder ID from integration data (double braces)
11679
11678
  - |-
@@ -13196,7 +13195,7 @@ components:
13196
13195
  no message text) and never cascades or promotes on its own; `Draft`
13197
13196
  descendants are kept as they are, and a `Draft` parent does not gate
13198
13197
  its children. The UI's Set inactive on a parent marks the parent and
13199
- every child `Inactive` (IO-166197). Re-enabling a child
13198
+ every child `Inactive`. Re-enabling a child
13200
13199
  means re-enabling its ancestors in the same payload. Edits that keep
13201
13200
  existing rows must carry their stored status forward — rewriting a
13202
13201
  `Draft` or `Inactive` row to `Active` turns a row the user parked
@@ -14235,7 +14234,7 @@ components:
14235
14234
  no message text) and never cascades or promotes on its own; `Draft`
14236
14235
  descendants are kept as they are, and a `Draft` parent does not gate
14237
14236
  its children. The UI's Set inactive on a parent marks the parent and
14238
- every child `Inactive` (IO-166197). Re-enabling a child
14237
+ every child `Inactive`. Re-enabling a child
14239
14238
  means re-enabling its ancestors in the same payload. Edits that keep
14240
14239
  existing rows must carry their stored status forward — rewriting a
14241
14240
  `Draft` or `Inactive` row to `Active` turns a row the user parked
@@ -14943,7 +14942,7 @@ components:
14943
14942
  ``{record: {...}, settings: ..., job: ...}`` (plus
14944
14943
  ``fileMeta`` on file-provider steps) — the
14945
14944
  same runtime-context envelope Handlebars / SQL /
14946
- GraphQL specialists consume. ``mappings[].extract``
14945
+ GraphQL templates render against. ``mappings[].extract``
14947
14946
  JSONPath values MUST include the ``record.`` segment
14948
14947
  — for example ``"$.record.orderId"`` or
14949
14948
  ``"$.record.customer.email"``. PLACEHOLDER extracts
@@ -14971,9 +14970,8 @@ components:
14971
14970
  ``inputContext: record`` makes the contract
14972
14971
  self-documenting and prevents the transform from
14973
14972
  drifting into envelope mode if an upstream change ever
14974
- changes the platform default. The TransformsAgent
14975
- reads this value off the transform config and threads
14976
- it into the generator's prompt so the JSONPath form
14973
+ changes the platform default. Read this value before
14974
+ writing ``mappings[].extract`` so the JSONPath form
14977
14975
  matches the runtime root.
14978
14976
  - |-
14979
14977
  ## fileMeta on file-provider steps
@@ -26,7 +26,7 @@ tags:
26
26
  Job records expire 24 hours after submission. Submissions are
27
27
  rate-limited per caller (10 per hour, with an administrator bypass);
28
28
  the document-types catalog allows 100 per hour and 10 per 60 seconds.
29
- The API only produces rules — it persists nothing. The Ora agent in
29
+ The API only produces rules — it persists nothing. Celigo's AI assistant in
30
30
  integrator.io drives these endpoints for interactive onboarding; call
31
31
  them directly to script partner onboarding in bulk.
32
32
 
package/dist/flow.yml CHANGED
@@ -1592,7 +1592,7 @@ paths:
1592
1592
  Only return errors closed by the listed resolvers. Repeat the parameter once per value;
1593
1593
  each value is a Mongo user id (matching the `resolvedBy` field on user-resolved errors).
1594
1594
  The literal value `auto` matches platform-auto-resolved errors and can be mixed with
1595
- user ids (`?resolvedBy=681a1c92c99fc39fabe2d7b9&resolvedBy=auto`). Unknown values are
1595
+ user ids (`?resolvedBy=<userId>&resolvedBy=auto`). Unknown values are
1596
1596
  not rejected — they simply match nothing.
1597
1597
  schema:
1598
1598
  type: array
@@ -2965,8 +2965,8 @@ paths:
2965
2965
  time-bounded `logging.debugUntil` debug window). Jobs older than the flow's log retention window will
2966
2966
  return an empty `logs` array.
2967
2967
 
2968
- For detailed per-stage data (HTTP request/response, script `options.logs` output), pick an
2969
- entry and call `POST .../logs/data/query` with the corresponding `stage`. To stitch an
2968
+ For per-stage data (an HTTP request and response, or a mapping's or script hook's input and
2969
+ output), pick an entry and call `POST .../logs/data/query` with the corresponding `stage`. To stitch an
2970
2970
  export entry to its downstream imports, use the `traceKey` with
2971
2971
  `POST .../logs/metadata/query`.
2972
2972
  parameters:
@@ -3184,22 +3184,14 @@ paths:
3184
3184
  - Flows
3185
3185
  summary: Get per-stage execution log data for a record
3186
3186
  description: |-
3187
- Returns the decoded log data (typically request/response bodies, transform input/output, or script
3188
- `options.logs` entries) for a single `(step, stage)` tuple within a flow run.
3189
-
3190
- Stages are bubble-kind specific. The most useful values:
3191
- - **Export / Lookup:** `apiCall` (HTTP request+response for HTTP exports), `transformation`,
3192
- `outputFilter`, `responseMapping`.
3193
- - **Import:** `apiCall`, `mapping`, `inputFilter`, `responseTransformation`.
3194
- - **Router:** `routing` (branching decision).
3195
- - **Any:** the `function` name from a configured script hook (e.g. `preMap`, `postMap`, `postSubmit`,
3196
- `postResponseMap`, `preSavePage`) — populated only when the hook explicitly calls
3197
- `options.logs.push(...)`.
3187
+ Returns the decoded log data for a single `(step, stage)` tuple within a flow run, such as the
3188
+ HTTP request and response a step sent or the input and output of its mapping or a script hook.
3198
3189
 
3199
3190
  This is typically the terminal call in the drill-down sequence: `execution-logs` then
3200
- `metadata/query` then `data/query`. For HTTP traces, set `stage: apiCall`. A 200 with
3201
- `logs: []` means the stage ran but produced no log entry — usually because a script did not
3202
- call `options.logs.push()`, or the stage is not instrumented for that adaptor.
3191
+ `metadata/query` then `data/query`. An empty `logs` array does not show that the stage ran or
3192
+ that its name is valid: the server answers an unknown stage name the same way as a stage that
3193
+ captured nothing, so check the stage name and the job's `logMode` (`GET /v1/jobs/{_id}`)
3194
+ before concluding the step recorded nothing.
3203
3195
  parameters:
3204
3196
  - name: _id
3205
3197
  in: path
@@ -3231,13 +3223,13 @@ paths:
3231
3223
  groupId: 69e981ee18808f3e5ed1b2fd
3232
3224
  recordId: '0'
3233
3225
  stage: apiCall
3234
- post_map_script:
3235
- summary: Fetch `options.logs` output from a postMap script hook
3226
+ pre_map_hook:
3227
+ summary: Fetch a preMap hook's input and output for an import step
3236
3228
  value:
3237
- _expOrImpId: 69a9aa5d3b213b3ac975e8d2
3238
- groupId: 69e981ee18808f3e5ed1b2fd
3239
- recordId: '0'
3240
- stage: postMap
3229
+ _expOrImpId: 69a9aa5c54e3d9bd11b86d82
3230
+ groupId: 4tQqtS
3231
+ recordId: f0xVak
3232
+ stage: preMapHook
3241
3233
  responses:
3242
3234
  '200':
3243
3235
  description: Log entries for the requested `(step, stage)`.
@@ -3261,8 +3253,31 @@ paths:
3261
3253
  response:
3262
3254
  statusCode: 200
3263
3255
  errors: []
3264
- empty_no_hook_output:
3265
- summary: Script-hook stage that never called `options.logs.push(...)`
3256
+ pre_map_hook:
3257
+ summary: preMap hook stage — the hook's options and its return value
3258
+ value:
3259
+ logs:
3260
+ - log:
3261
+ timeStamp: '2026-04-23T02:51:51.402Z'
3262
+ groupId: 4tQqtS
3263
+ stage: preMapHook
3264
+ input:
3265
+ - data:
3266
+ - id: 1
3267
+ name: Acme Corp
3268
+ phone: 555-0100 x12
3269
+ _importId: 69a9aa5c54e3d9bd11b86d82
3270
+ testMode: false
3271
+ output:
3272
+ - data:
3273
+ id: 1
3274
+ name: Acme Corp
3275
+ phone: 555-0100 x12
3276
+ phoneExtension: '12'
3277
+ errors: []
3278
+ errors: []
3279
+ empty_result:
3280
+ summary: Nothing captured for the stage, or an unknown stage name
3266
3281
  value:
3267
3282
  logs: []
3268
3283
  errors: []
@@ -6632,11 +6647,11 @@ components:
6632
6647
  type: string
6633
6648
  description: |-
6634
6649
  Display name of the user currently assigned to this error for triage when the email resolves
6635
- to a known account user (e.g. `"Tyler Lamparter"`). When the email does not match a known
6650
+ to a known account user (e.g. `"Jane Doe"`). When the email does not match a known
6636
6651
  user, the literal email string is stored instead. Set via
6637
6652
  `PUT /v1/flows/{_id}/{_stepId}/errors/assign`. Absent when no assignment has been made.
6638
6653
  examples:
6639
- - Tyler Lamparter
6654
+ - Jane Doe
6640
6655
  assignedBy:
6641
6656
  type: string
6642
6657
  description: Mongo user id of the user who made the assignment. Absent when no assignment has been made.
@@ -7306,7 +7321,7 @@ components:
7306
7321
  description: |-
7307
7322
  Effective logging mode for this job, resolved from the flow's `logging.mode`
7308
7323
  and the account-level logging preference. Common values: `basic` (default),
7309
- `off`, `on`, `debug`.
7324
+ `detailed`, `off`, `on`, `debug`.
7310
7325
  examples:
7311
7326
  - basic
7312
7327
  __lastPageGeneratorJob:
@@ -7926,7 +7941,8 @@ components:
7926
7941
  type: object
7927
7942
  description: |-
7928
7943
  Request body for `POST /v1/flows/{_id}/jobs/{_jobId}/logs/data/query`.
7929
- Fetches the actual data captured at a specific execution stage for a single record-at-step.
7944
+ Fetches the data one step captured at one execution stage for a record, or for the record's
7945
+ whole group at a group-level stage.
7930
7946
  properties:
7931
7947
  _expOrImpId:
7932
7948
  type: string
@@ -7936,23 +7952,26 @@ components:
7936
7952
  - 60a2c4e6f321d800129a1a3c
7937
7953
  stage:
7938
7954
  type: string
7939
- description: Execution stage whose data to return.
7940
- enum:
7955
+ description: |-
7956
+ Execution stage whose data to return. `apiCall` holds the request and response an HTTP
7957
+ export or import sent. On a job whose `logMode` is `debug`, an export's transform and
7958
+ output filter record under `transformation` and `outputFilter`, an import's mapping and
7959
+ response mapping under `mapping` and `responseMapping`, and a script hook's `options` and
7960
+ return value under its hook type plus `Hook` (`preSavePageHook`, `preMapHook`,
7961
+ `postMapHook`, `postSubmitHook`, `postResponseMapHook`), whatever the function is called;
7962
+ neither the bare hook name (`preMap`) nor `<functionName>Hook` returns them (live-verified
7963
+ 2026-10-20).
7964
+ examples:
7941
7965
  - apiCall
7942
- - preMap
7943
- - postMap
7944
- - postSubmit
7945
- - postResponseMap
7946
- - transform
7947
- - responseTransform
7948
- x-enumDescriptions:
7949
- apiCall: Raw HTTP request and response from the adaptor invocation.
7950
- preMap: Data captured by the preMap script hook via options.logs.push().
7951
- postMap: Data captured by the postMap script hook via options.logs.push().
7952
- postSubmit: Data captured by the postSubmit script hook via options.logs.push().
7953
- postResponseMap: Data captured by the postResponseMap script hook via options.logs.push().
7954
- transform: Data captured during the transformation stage.
7955
- responseTransform: Data captured during the response transformation stage.
7966
+ - transformation
7967
+ - outputFilter
7968
+ - mapping
7969
+ - responseMapping
7970
+ - preSavePageHook
7971
+ - preMapHook
7972
+ - postMapHook
7973
+ - postSubmitHook
7974
+ - postResponseMapHook
7956
7975
  groupId:
7957
7976
  type: string
7958
7977
  description: Batch id from the `execution-log` entry.
@@ -7971,12 +7990,19 @@ components:
7971
7990
  ExecutionLogDataResponse:
7972
7991
  type: object
7973
7992
  description: |-
7974
- Stage data for a single record-at-step. Returned by
7975
- `POST /v1/flows/{_id}/jobs/{_jobId}/logs/data/query`.
7976
-
7977
- The payload inside `logs[].log` is stage-specific. For `apiCall`, it contains decoded request + response
7978
- bodies, headers, status, and duration. For script-hook stages (`preMap`, `postMap`, …), it contains
7979
- whatever the hook pushed via `options.logs.push(...)`, and is empty (`logs: []`) when the hook did not log.
7993
+ Stage data one step of a flow run recorded for a record, or for the record's whole group at a
7994
+ group-level stage. Returned by `POST /v1/flows/{_id}/jobs/{_jobId}/logs/data/query`.
7995
+
7996
+ The payload inside `logs[].log` is stage-specific (live-verified 2026-10-20):
7997
+
7998
+ - `apiCall`: the request's method and URI and the response's status code. A job whose `logMode` is
7999
+ `detailed` or `debug` also records each side's headers and body; a `basic` job does not.
8000
+ - `mapping`, `transformation`, `outputFilter`, `responseMapping`: a per-record entry carrying the
8001
+ record's `recordId`, the stage's `input`, and its `output` (`outputFilter` has `success` instead).
8002
+ - `preSavePageHook`, `preMapHook`, `postMapHook`, `postSubmitHook`: one entry for the record's whole
8003
+ group, with no `recordId`. `input` is a one-element array holding the `options` the hook received,
8004
+ and `output` holds what the hook returned.
8005
+ - `postResponseMapHook`: `recordId` is null, and `input` is the `options` object itself.
7980
8006
  properties:
7981
8007
  logs:
7982
8008
  type: array