@celigo/api-specs 0.2.261 → 0.2.262
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.yml +7 -9
- package/dist/connection.yml +7 -9
- package/dist/enduser.yml +7 -9
- package/dist/export.yml +34 -0
- package/dist/filedefinition.yml +46 -10
- package/dist/flow.yml +68 -4
- package/dist/import.yml +36 -0
- package/dist/mcp-server.yml +69 -28
- package/dist/processor.yml +27 -3
- package/dist/tool.yml +7 -9
- package/dist/topic.yml +107 -11
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/api.yml
CHANGED
|
@@ -8260,8 +8260,9 @@ components:
|
|
|
8260
8260
|
PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
|
|
8261
8261
|
cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
|
|
8262
8262
|
Celigo file storage. `publicKey` encrypts the files the connection's imports write,
|
|
8263
|
-
record-generated files and transferred (blob) files alike; `privateKey` with
|
|
8264
|
-
decrypts the files its exports read and signs encrypted output. Supply at
|
|
8263
|
+
record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
|
|
8264
|
+
the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
|
|
8265
|
+
least one of the two.
|
|
8265
8266
|
properties:
|
|
8266
8267
|
publicKey:
|
|
8267
8268
|
type: string
|
|
@@ -8290,7 +8291,10 @@ components:
|
|
|
8290
8291
|
passphrase:
|
|
8291
8292
|
type: string
|
|
8292
8293
|
writeOnly: true
|
|
8293
|
-
description:
|
|
8294
|
+
description: |-
|
|
8295
|
+
Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
|
|
8296
|
+
when the private key is passphrase-protected; a connection with a private key and no
|
|
8297
|
+
passphrase saves.
|
|
8294
8298
|
compressionAlgorithm:
|
|
8295
8299
|
type: string
|
|
8296
8300
|
enum:
|
|
@@ -8304,12 +8308,6 @@ components:
|
|
|
8304
8308
|
type: boolean
|
|
8305
8309
|
default: true
|
|
8306
8310
|
description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
|
|
8307
|
-
if:
|
|
8308
|
-
required:
|
|
8309
|
-
- privateKey
|
|
8310
|
-
then:
|
|
8311
|
-
required:
|
|
8312
|
-
- passphrase
|
|
8313
8311
|
SSL:
|
|
8314
8312
|
type: object
|
|
8315
8313
|
description: |-
|
package/dist/connection.yml
CHANGED
|
@@ -3984,8 +3984,9 @@ components:
|
|
|
3984
3984
|
PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
|
|
3985
3985
|
cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
|
|
3986
3986
|
Celigo file storage. `publicKey` encrypts the files the connection's imports write,
|
|
3987
|
-
record-generated files and transferred (blob) files alike; `privateKey` with
|
|
3988
|
-
decrypts the files its exports read and signs encrypted output. Supply at
|
|
3987
|
+
record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
|
|
3988
|
+
the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
|
|
3989
|
+
least one of the two.
|
|
3989
3990
|
properties:
|
|
3990
3991
|
publicKey:
|
|
3991
3992
|
type: string
|
|
@@ -4014,7 +4015,10 @@ components:
|
|
|
4014
4015
|
passphrase:
|
|
4015
4016
|
type: string
|
|
4016
4017
|
writeOnly: true
|
|
4017
|
-
description:
|
|
4018
|
+
description: |-
|
|
4019
|
+
Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
|
|
4020
|
+
when the private key is passphrase-protected; a connection with a private key and no
|
|
4021
|
+
passphrase saves.
|
|
4018
4022
|
compressionAlgorithm:
|
|
4019
4023
|
type: string
|
|
4020
4024
|
enum:
|
|
@@ -4028,12 +4032,6 @@ components:
|
|
|
4028
4032
|
type: boolean
|
|
4029
4033
|
default: true
|
|
4030
4034
|
description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
|
|
4031
|
-
if:
|
|
4032
|
-
required:
|
|
4033
|
-
- privateKey
|
|
4034
|
-
then:
|
|
4035
|
-
required:
|
|
4036
|
-
- passphrase
|
|
4037
4035
|
SSL:
|
|
4038
4036
|
type: object
|
|
4039
4037
|
description: |-
|
package/dist/enduser.yml
CHANGED
|
@@ -2026,8 +2026,9 @@ components:
|
|
|
2026
2026
|
PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
|
|
2027
2027
|
cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
|
|
2028
2028
|
Celigo file storage. `publicKey` encrypts the files the connection's imports write,
|
|
2029
|
-
record-generated files and transferred (blob) files alike; `privateKey` with
|
|
2030
|
-
decrypts the files its exports read and signs encrypted output. Supply at
|
|
2029
|
+
record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
|
|
2030
|
+
the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
|
|
2031
|
+
least one of the two.
|
|
2031
2032
|
properties:
|
|
2032
2033
|
publicKey:
|
|
2033
2034
|
type: string
|
|
@@ -2056,7 +2057,10 @@ components:
|
|
|
2056
2057
|
passphrase:
|
|
2057
2058
|
type: string
|
|
2058
2059
|
writeOnly: true
|
|
2059
|
-
description:
|
|
2060
|
+
description: |-
|
|
2061
|
+
Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
|
|
2062
|
+
when the private key is passphrase-protected; a connection with a private key and no
|
|
2063
|
+
passphrase saves.
|
|
2060
2064
|
compressionAlgorithm:
|
|
2061
2065
|
type: string
|
|
2062
2066
|
enum:
|
|
@@ -2070,12 +2074,6 @@ components:
|
|
|
2070
2074
|
type: boolean
|
|
2071
2075
|
default: true
|
|
2072
2076
|
description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
|
|
2073
|
-
if:
|
|
2074
|
-
required:
|
|
2075
|
-
- privateKey
|
|
2076
|
-
then:
|
|
2077
|
-
required:
|
|
2078
|
-
- passphrase
|
|
2079
2077
|
SSL:
|
|
2080
2078
|
type: object
|
|
2081
2079
|
description: |-
|
package/dist/export.yml
CHANGED
|
@@ -184,6 +184,22 @@ paths:
|
|
|
184
184
|
x-celigo-refModel: exports
|
|
185
185
|
examples:
|
|
186
186
|
- 5f8d43a1b9e5a80011a35f2c
|
|
187
|
+
- name: mergeInstanceFlowId
|
|
188
|
+
in: query
|
|
189
|
+
description: |-
|
|
190
|
+
Instance flow whose overrides to apply: the response is this export with that instance's
|
|
191
|
+
`overrides.exports[]` entry for it (such as `_connectionId` or `http.relativeURI`) in
|
|
192
|
+
place of the stored values, and nothing is saved. Fields the override leaves out are
|
|
193
|
+
inherited, but one set to `null` drops its whole parent object (a null
|
|
194
|
+
`http.relativeURI` removes all of `http`). A flow that is not an instance, or an
|
|
195
|
+
instance whose abstract flow does not use this export, is rejected with 400
|
|
196
|
+
`invalid_request`; an unknown flow id returns 404.
|
|
197
|
+
schema:
|
|
198
|
+
type: string
|
|
199
|
+
format: objectId
|
|
200
|
+
x-celigo-refModel: flows
|
|
201
|
+
examples:
|
|
202
|
+
- 6a0fd84629f7fd19fd68feac
|
|
187
203
|
responses:
|
|
188
204
|
'200':
|
|
189
205
|
description: Export retrieved successfully
|
|
@@ -206,6 +222,22 @@ paths:
|
|
|
206
222
|
apiIdentifier: e53af6b210
|
|
207
223
|
createdAt: '2026-06-09T17:30:12.482Z'
|
|
208
224
|
lastModified: '2026-06-09T17:30:12.554Z'
|
|
225
|
+
merged_for_instance:
|
|
226
|
+
summary: Read with mergeInstanceFlowId — the instance overrides _connectionId and http.relativeURI
|
|
227
|
+
value:
|
|
228
|
+
_id: 5f8d43a1b9e5a80011a35f2c
|
|
229
|
+
name: Get Modified Contacts
|
|
230
|
+
_connectionId: 6a0fc7eb7202049b32ea45c1
|
|
231
|
+
adaptorType: HTTPExport
|
|
232
|
+
http:
|
|
233
|
+
relativeURI: /api/v2/contacts
|
|
234
|
+
method: GET
|
|
235
|
+
asynchronous: true
|
|
236
|
+
apiIdentifier: e53af6b210
|
|
237
|
+
createdAt: '2026-06-09T17:30:12.482Z'
|
|
238
|
+
lastModified: '2026-06-09T17:30:12.554Z'
|
|
239
|
+
'400':
|
|
240
|
+
$ref: '#/components/responses/400-bad-request'
|
|
209
241
|
'401':
|
|
210
242
|
$ref: '#/components/responses/401-unauthorized'
|
|
211
243
|
'404':
|
|
@@ -418,6 +450,8 @@ paths:
|
|
|
418
450
|
description: |
|
|
419
451
|
Replaces the connection used by an export in a flow and cancels any running jobs.
|
|
420
452
|
This is useful when migrating flows between environments or updating to newer connection versions.
|
|
453
|
+
Only `_connectionId` changes: the export's relative URI and other settings stay as authored,
|
|
454
|
+
also when the new connection is bound to a different HTTP connector.
|
|
421
455
|
operationId: replaceConnectionOnExport
|
|
422
456
|
tags:
|
|
423
457
|
- Exports
|
package/dist/filedefinition.yml
CHANGED
|
@@ -1138,28 +1138,57 @@ components:
|
|
|
1138
1138
|
delimited:
|
|
1139
1139
|
type: object
|
|
1140
1140
|
description: |
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1141
|
+
Delimiters for every `format` that starts with "delimited" (CSV, X12, EDIFACT).
|
|
1142
|
+
Generation always writes these saved values. A version "2" `delimited/x12` or
|
|
1143
|
+
`delimited/edifact` parse instead reads the element separator, component separator
|
|
1144
|
+
and segment terminator from the incoming envelope — the ISA segment for X12, the UNB
|
|
1145
|
+
segment for EDIFACT — and uses them for that parse only, so one definition parses
|
|
1146
|
+
interchanges from partners who use different delimiters. The stored definition is
|
|
1147
|
+
not changed. Version "1" definitions and plain delimited files always parse with the
|
|
1148
|
+
saved values; check either behavior against a sample with
|
|
1149
|
+
`POST /v1/processors/structuredFileParser`.
|
|
1150
|
+
x-celigo-ai-guidance:
|
|
1151
|
+
- |-
|
|
1152
|
+
Envelope delimiters are read only from an X12 ISA in its fixed 106-character form.
|
|
1153
|
+
An interchange whose ISA is not padded to that length is parsed with the saved
|
|
1154
|
+
delimiters, and when those do not produce an ISA segment either the parse fails
|
|
1155
|
+
with 422 `delimiter_detect_failed` "Could not read delimiters from the EDI envelope,
|
|
1156
|
+
and the file definition delimiters did not produce an ISA header." — fix the ISA
|
|
1157
|
+
padding or save the partner's delimiters.
|
|
1158
|
+
- |-
|
|
1159
|
+
Detection needs `version: "2"`. A version "1" X12 definition saved with `*` that is
|
|
1160
|
+
fed a `|`-separated interchange fails with 422 `missing_row` "Required rule must have
|
|
1161
|
+
the respective row in the source file. Path: rules[0].required for line: 1".
|
|
1144
1162
|
properties:
|
|
1145
1163
|
rowSuffix:
|
|
1146
1164
|
type: string
|
|
1147
1165
|
description: |
|
|
1148
|
-
|
|
1166
|
+
Segment terminator (X12 `~`, EDIFACT `'`) or other text the generator appends to
|
|
1167
|
+
every row before `rowDelimiter`; rules with `skipRowSuffix: true` omit it. A
|
|
1168
|
+
version "2" X12 or EDIFACT parse strips the terminator the envelope declares
|
|
1169
|
+
instead of this value.
|
|
1149
1170
|
examples:
|
|
1150
1171
|
- \n
|
|
1151
1172
|
- \r\n
|
|
1152
1173
|
rowDelimiter:
|
|
1153
1174
|
type: string
|
|
1154
1175
|
description: |
|
|
1155
|
-
|
|
1176
|
+
Splits the file into rows when parsing and is written after each row's
|
|
1177
|
+
`rowSuffix` when generating. A version "2" X12 or EDIFACT parse splits on the
|
|
1178
|
+
segment terminator the envelope declares (plus any line break that follows it),
|
|
1179
|
+
so an interchange with no line breaks parses too; generation still writes this
|
|
1180
|
+
value.
|
|
1156
1181
|
examples:
|
|
1157
1182
|
- \n
|
|
1158
1183
|
- ~\n
|
|
1159
1184
|
colDelimiter:
|
|
1160
1185
|
type: string
|
|
1161
1186
|
description: |
|
|
1162
|
-
|
|
1187
|
+
Separates the elements of a row — `,` for CSV, `*` for X12, `+` for EDIFACT — when
|
|
1188
|
+
parsing and generating. A version "2" X12 or EDIFACT parse uses the element
|
|
1189
|
+
separator found in the incoming ISA (the character after `ISA`) or UNB segment
|
|
1190
|
+
instead, so a partner's `|`-separated interchange parses against a definition
|
|
1191
|
+
saved with `*`; generation always writes this value.
|
|
1163
1192
|
examples:
|
|
1164
1193
|
- ','
|
|
1165
1194
|
- \t
|
|
@@ -1168,8 +1197,12 @@ components:
|
|
|
1168
1197
|
compositeDelimiter:
|
|
1169
1198
|
type: string
|
|
1170
1199
|
description: |
|
|
1171
|
-
|
|
1172
|
-
|
|
1200
|
+
Separates the sub-elements of a composite element (a rule element whose `value`
|
|
1201
|
+
is an object) that does not set its own `delimiter` — `:` is usual for EDIFACT,
|
|
1202
|
+
`>` or `:` for X12. A version "2" X12 or EDIFACT parse uses the component
|
|
1203
|
+
separator the envelope declares (ISA16 for X12; the character after the syntax
|
|
1204
|
+
identifier in UNB01 for EDIFACT), so composites split correctly whatever the
|
|
1205
|
+
partner sends; generation joins sub-elements with this value.
|
|
1173
1206
|
examples:
|
|
1174
1207
|
- ':'
|
|
1175
1208
|
- '>'
|
|
@@ -1191,8 +1224,11 @@ components:
|
|
|
1191
1224
|
escapeReleaseChar:
|
|
1192
1225
|
type: boolean
|
|
1193
1226
|
description: |
|
|
1194
|
-
|
|
1195
|
-
|
|
1227
|
+
When true, a `?` in front of a delimiter makes that character part of the value
|
|
1228
|
+
instead of a separator (`PO?+W3B` parses as `PO+W3B`); it protects the separators a
|
|
1229
|
+
version "2" EDIFACT parse reads from the envelope as well as the saved ones. When
|
|
1230
|
+
false, `?` is ordinary text and the delimiter after it still splits the element. Set
|
|
1231
|
+
it for EDIFACT partners who release characters in their data.
|
|
1196
1232
|
skipEDIValidation:
|
|
1197
1233
|
type: boolean
|
|
1198
1234
|
default: true
|
package/dist/flow.yml
CHANGED
|
@@ -55,6 +55,16 @@ paths:
|
|
|
55
55
|
type: string
|
|
56
56
|
format: objectId
|
|
57
57
|
x-celigo-refModel: flows
|
|
58
|
+
- name: mergeInstance
|
|
59
|
+
in: query
|
|
60
|
+
description: |-
|
|
61
|
+
When true, returns each instance merged with its abstract flow, exactly as
|
|
62
|
+
`GET /v1/flows/{_id}?mergeInstance=true` returns it. Works only with
|
|
63
|
+
`_abstractFlowId`; without it the request is rejected with 400 `missing_query_param`,
|
|
64
|
+
whatever other filters are set.
|
|
65
|
+
schema:
|
|
66
|
+
type: boolean
|
|
67
|
+
default: false
|
|
58
68
|
- name: externalId
|
|
59
69
|
in: query
|
|
60
70
|
description: Filter to flows matching this exact external identifier.
|
|
@@ -295,7 +305,8 @@ paths:
|
|
|
295
305
|
the response merges the abstract flow's configuration into the instance.
|
|
296
306
|
Without this, instance flows return a sparse object containing only
|
|
297
307
|
`_abstractFlowId`, `overrides`, and instance-level fields — no
|
|
298
|
-
`pageGenerators` or `routers`.
|
|
308
|
+
`pageGenerators` or `routers`. The merged object omits `overrides` and a `PUT` of it
|
|
309
|
+
fails with 422 `flow_instance_invalid_fields`, so edit an instance from the unmerged read.
|
|
299
310
|
schema:
|
|
300
311
|
type: boolean
|
|
301
312
|
default: false
|
|
@@ -781,10 +792,19 @@ paths:
|
|
|
781
792
|
instead of requiring per-resource PUTs.
|
|
782
793
|
|
|
783
794
|
The replacement connection must exist and be of the same adaptor type as the original. If the
|
|
784
|
-
types do not match, the request is rejected with a 422.
|
|
795
|
+
types do not match, the request is rejected with a 422. Adaptor type is the only compatibility
|
|
796
|
+
check: two HTTP connections bound to different connectors (Google Drive and Google Sheets, for
|
|
797
|
+
example), or a connector-bound and a plain HTTP connection, swap without error. Only the
|
|
798
|
+
connection reference changes; each step keeps its relative URIs and other settings as authored.
|
|
785
799
|
|
|
786
800
|
Use `GET /v1/flows/{_id}/descendants` to verify which resources use a given connection
|
|
787
801
|
before replacing.
|
|
802
|
+
x-celigo-ai-guidance:
|
|
803
|
+
- |-
|
|
804
|
+
Use this call when the new connection reaches the same API (credential rotation, sandbox to
|
|
805
|
+
production). When it reaches a different API — another connector, or connector-bound to plain
|
|
806
|
+
HTTP — change each step's relative URI and endpoint together with its connection instead:
|
|
807
|
+
this call returns 204 and leaves the paths authored for the old API in place.
|
|
788
808
|
parameters:
|
|
789
809
|
- name: _id
|
|
790
810
|
in: path
|
|
@@ -840,6 +860,11 @@ paths:
|
|
|
840
860
|
Flow-level preconditions enforced by the platform:
|
|
841
861
|
- The flow must not be `disabled`.
|
|
842
862
|
- The flow must be in an enabled integration (when part of one).
|
|
863
|
+
- The flow must not be abstract (`isAbstract`): an abstract flow is refused with
|
|
864
|
+
`422 abstract_flow_run_not_allowed` whether or not it is disabled. Run one of its instances.
|
|
865
|
+
- An instance counts as disabled while its abstract flow is disabled, whatever its own
|
|
866
|
+
`disabled` says, and is refused with `422 invalid_flow` like any disabled flow. Its
|
|
867
|
+
merged read (`GET /v1/flows/{_id}?mergeInstance=true`) shows `disabled: true` in that state.
|
|
843
868
|
|
|
844
869
|
|
|
845
870
|
To trace a run end-to-end, arm debug logging before calling this, then use the returned
|
|
@@ -3776,6 +3801,8 @@ paths:
|
|
|
3776
3801
|
synchronously. Unlike `POST /v1/flows/{_id}/run` (which queues an
|
|
3777
3802
|
asynchronous production job), a test run executes inline against the
|
|
3778
3803
|
flow's current configuration and records the per-step stages it produced.
|
|
3804
|
+
The body's `_exportId` picks the page generator the run starts from, and
|
|
3805
|
+
the flow can be enabled or disabled.
|
|
3779
3806
|
|
|
3780
3807
|
Test runs are kept in a **separate history** from production runs — the
|
|
3781
3808
|
`flowJob` and `childJobs` returned here are test artifacts, not records
|
|
@@ -3805,6 +3832,27 @@ paths:
|
|
|
3805
3832
|
type: string
|
|
3806
3833
|
format: objectId
|
|
3807
3834
|
x-celigo-refModel: flows
|
|
3835
|
+
requestBody:
|
|
3836
|
+
required: true
|
|
3837
|
+
content:
|
|
3838
|
+
application/json:
|
|
3839
|
+
schema:
|
|
3840
|
+
type: object
|
|
3841
|
+
required:
|
|
3842
|
+
- _exportId
|
|
3843
|
+
properties:
|
|
3844
|
+
_exportId:
|
|
3845
|
+
type: string
|
|
3846
|
+
format: objectId
|
|
3847
|
+
x-celigo-refModel: exports
|
|
3848
|
+
description: |-
|
|
3849
|
+
Page generator the test run starts from — the `_exportId` of one of the
|
|
3850
|
+
flow's `pageGenerators`. A missing id, or any id that is not one of them,
|
|
3851
|
+
fails with 400 `missing_pageGenerator_doc`.
|
|
3852
|
+
examples:
|
|
3853
|
+
default:
|
|
3854
|
+
value:
|
|
3855
|
+
_exportId: 69d462d5b9c28ea0b7f82522
|
|
3808
3856
|
responses:
|
|
3809
3857
|
'200':
|
|
3810
3858
|
description: |-
|
|
@@ -3873,7 +3921,20 @@ paths:
|
|
|
3873
3921
|
numPagesGenerated: 1
|
|
3874
3922
|
_expOrImpId: 69d462d5b9c28ea0b7f82522
|
|
3875
3923
|
'400':
|
|
3876
|
-
|
|
3924
|
+
description: |-
|
|
3925
|
+
Bad request — notably a body whose `_exportId` is missing or is not one of
|
|
3926
|
+
the flow's page generators (`missing_pageGenerator_doc`).
|
|
3927
|
+
content:
|
|
3928
|
+
application/json:
|
|
3929
|
+
schema:
|
|
3930
|
+
$ref: '#/components/schemas/Error'
|
|
3931
|
+
examples:
|
|
3932
|
+
missing_page_generator:
|
|
3933
|
+
summary: '`_exportId` missing, or not one of the flow''s page generators'
|
|
3934
|
+
value:
|
|
3935
|
+
errors:
|
|
3936
|
+
- code: missing_pageGenerator_doc
|
|
3937
|
+
message: The page generator corresponding to the _exportId 6a2e23bbcf5b64ca6b93b799 is not found.
|
|
3877
3938
|
'401':
|
|
3878
3939
|
$ref: '#/components/responses/401-unauthorized'
|
|
3879
3940
|
'404':
|
|
@@ -6237,7 +6298,8 @@ components:
|
|
|
6237
6298
|
|
|
6238
6299
|
Constraints: top-level `pageProcessors` are not allowed (use `routers` — a linear chain
|
|
6239
6300
|
sits in one pass-through router with neither routing field set), cannot reference another
|
|
6240
|
-
abstract flow, cannot be a "run next" target, and cannot be unset
|
|
6301
|
+
abstract flow, cannot be a "run next" target, and cannot be unset or deleted while
|
|
6302
|
+
instances exist — delete the instances first.
|
|
6241
6303
|
examples:
|
|
6242
6304
|
- true
|
|
6243
6305
|
- false
|
|
@@ -6254,6 +6316,8 @@ components:
|
|
|
6254
6316
|
customize it only through `overrides`.
|
|
6255
6317
|
Do not set `pageGenerators`, `pageProcessors`, `routers`,
|
|
6256
6318
|
or `runPageGeneratorsInParallel` on the instance — they are inherited from the abstract flow.
|
|
6319
|
+
A create or PUT that carries `pageGenerators` or `routers` fails with 422
|
|
6320
|
+
`flow_instance_invalid_fields`.
|
|
6257
6321
|
examples:
|
|
6258
6322
|
- 60a2c4e6f321d800129a1a3c
|
|
6259
6323
|
overrides:
|
package/dist/import.yml
CHANGED
|
@@ -185,6 +185,20 @@ paths:
|
|
|
185
185
|
x-celigo-refModel: imports
|
|
186
186
|
examples:
|
|
187
187
|
- 5f8d43a1b9e5a80011a35f2c
|
|
188
|
+
- name: mergeInstanceFlowId
|
|
189
|
+
in: query
|
|
190
|
+
description: |-
|
|
191
|
+
Instance flow whose overrides to apply: the response is this import with that instance's
|
|
192
|
+
`overrides.imports[]` entry for it (such as `_connectionId` or `filter`) in place of the
|
|
193
|
+
stored values, every field the override leaves out inherited, and nothing saved. A flow
|
|
194
|
+
that is not an instance, or an instance whose abstract flow does not use this import, is
|
|
195
|
+
rejected with 400 `invalid_request`; an unknown flow id returns 404.
|
|
196
|
+
schema:
|
|
197
|
+
type: string
|
|
198
|
+
format: objectId
|
|
199
|
+
x-celigo-refModel: flows
|
|
200
|
+
examples:
|
|
201
|
+
- 6a0fd84629f7fd19fd68feac
|
|
188
202
|
responses:
|
|
189
203
|
'200':
|
|
190
204
|
description: Import retrieved successfully
|
|
@@ -211,6 +225,26 @@ paths:
|
|
|
211
225
|
apiIdentifier: if0626b560
|
|
212
226
|
createdAt: '2026-06-09T17:32:41.218Z'
|
|
213
227
|
lastModified: '2026-06-09T17:32:41.296Z'
|
|
228
|
+
merged_for_instance:
|
|
229
|
+
summary: Read with mergeInstanceFlowId — the instance overrides _connectionId
|
|
230
|
+
value:
|
|
231
|
+
_id: 5f8d43a1b9e5a80011a35f2c
|
|
232
|
+
name: Shopify Customer Import
|
|
233
|
+
_connectionId: 6a0fc7eb7202049b32ea45c1
|
|
234
|
+
adaptorType: HTTPImport
|
|
235
|
+
http:
|
|
236
|
+
relativeURI:
|
|
237
|
+
- /customers.json
|
|
238
|
+
method:
|
|
239
|
+
- POST
|
|
240
|
+
requestMediaType: json
|
|
241
|
+
successMediaType: json
|
|
242
|
+
sendPostMappedData: true
|
|
243
|
+
apiIdentifier: if0626b560
|
|
244
|
+
createdAt: '2026-06-09T17:32:41.218Z'
|
|
245
|
+
lastModified: '2026-06-09T17:32:41.296Z'
|
|
246
|
+
'400':
|
|
247
|
+
$ref: '#/components/responses/400-bad-request'
|
|
214
248
|
'401':
|
|
215
249
|
$ref: '#/components/responses/401-unauthorized'
|
|
216
250
|
'404':
|
|
@@ -489,6 +523,8 @@ paths:
|
|
|
489
523
|
description: |
|
|
490
524
|
Replaces the connection used by an import in a flow and cancels any related running jobs.
|
|
491
525
|
This is useful when migrating flows between environments or updating to newer connection versions.
|
|
526
|
+
Only `_connectionId` changes: the import's relative URIs and other settings stay as authored,
|
|
527
|
+
also when the new connection is bound to a different HTTP connector.
|
|
492
528
|
operationId: replaceConnectionOnImport
|
|
493
529
|
tags:
|
|
494
530
|
- Imports
|
package/dist/mcp-server.yml
CHANGED
|
@@ -22,6 +22,7 @@ info:
|
|
|
22
22
|
- Can proxy **upstream MCP servers** (`upstreamMcpConnections[]`, attached through `mcp`-type connections) and whitelist which of their tools, prompts, and resources it exposes
|
|
23
23
|
- Lists the **connections** each end user must supply their own credentials for (`connections[]`); only entries with `requiresEndUserCredentials: true` are kept
|
|
24
24
|
- Can be pinned to a **network policy** (`_networkPolicyId`) that restricts which IP ranges may reach it
|
|
25
|
+
- Carries **request-log capture** settings (`logging.mode`, `logging.debugUntil`); a new server starts at `basic`
|
|
25
26
|
servers:
|
|
26
27
|
- url: https://api.integrator.io
|
|
27
28
|
description: Production (US / default region)
|
|
@@ -129,6 +130,8 @@ paths:
|
|
|
129
130
|
_resourceIds: []
|
|
130
131
|
upstreamMcpConnections: []
|
|
131
132
|
policies: []
|
|
133
|
+
logging:
|
|
134
|
+
mode: basic
|
|
132
135
|
oauth:
|
|
133
136
|
useCeligoOauth: true
|
|
134
137
|
createdAt: '2026-04-24T16:52:05.607Z'
|
|
@@ -202,7 +205,7 @@ paths:
|
|
|
202
205
|
$ref: '#/components/schemas/MCPServer'
|
|
203
206
|
examples:
|
|
204
207
|
created:
|
|
205
|
-
summary: Created from the minimal request (
|
|
208
|
+
summary: Created from the minimal request (empty arrays, basic logging)
|
|
206
209
|
value:
|
|
207
210
|
_id: 69eb9fb5b4fc023618e490b8
|
|
208
211
|
_userId: 624cb0346309dc3a543733a2
|
|
@@ -218,6 +221,8 @@ paths:
|
|
|
218
221
|
permissionSets: []
|
|
219
222
|
upstreamMcpConnections: []
|
|
220
223
|
policies: []
|
|
224
|
+
logging:
|
|
225
|
+
mode: basic
|
|
221
226
|
createdAt: '2026-04-24T16:52:05.607Z'
|
|
222
227
|
lastModified: '2026-04-24T16:52:05.607Z'
|
|
223
228
|
enabledItemCount: 0
|
|
@@ -442,6 +447,8 @@ paths:
|
|
|
442
447
|
resources: []
|
|
443
448
|
_networkPolicyId: 6ab1ebbfb9e4547494ff7558
|
|
444
449
|
policies: []
|
|
450
|
+
logging:
|
|
451
|
+
mode: basic
|
|
445
452
|
oauth:
|
|
446
453
|
useCeligoOauth: true
|
|
447
454
|
createdAt: '2026-04-24T16:52:05.607Z'
|
|
@@ -464,10 +471,12 @@ paths:
|
|
|
464
471
|
that required end-user credentials invalidates the end users' `mcpChild`
|
|
465
472
|
connections for it unless another server still requires them. Three fields work the other
|
|
466
473
|
way round: `upstreamMcpConnections`, `_networkPolicyId` and `logging` keep their
|
|
467
|
-
stored value when omitted — send `[]` or `null`
|
|
468
|
-
— and a PUT that includes
|
|
469
|
-
|
|
470
|
-
is rejected the same way as on
|
|
474
|
+
stored value when omitted — send `[]`, `null`, and `{}` or `null`
|
|
475
|
+
respectively to clear them — and a PUT that includes
|
|
476
|
+
`upstreamMcpConnections` re-approves the current upstream definitions.
|
|
477
|
+
A `logging.mode` the account cannot use is rejected the same way as on
|
|
478
|
+
PATCH (422 `payload_storage_required`), and so is a `logging.debugUntil`
|
|
479
|
+
in the past (422 `invalid_date`).
|
|
471
480
|
`_templateId` is ignored. `relativeURI`
|
|
472
481
|
can be changed but must remain unique per account.
|
|
473
482
|
operationId: updateMcpServer
|
|
@@ -595,6 +604,8 @@ paths:
|
|
|
595
604
|
_resourceIds: []
|
|
596
605
|
upstreamMcpConnections: []
|
|
597
606
|
policies: []
|
|
607
|
+
logging:
|
|
608
|
+
mode: basic
|
|
598
609
|
oauth:
|
|
599
610
|
useCeligoOauth: true
|
|
600
611
|
createdAt: '2026-04-24T16:52:05.607Z'
|
|
@@ -632,10 +643,14 @@ paths:
|
|
|
632
643
|
`/logging/mode` takes `replace` with one of the request-log modes;
|
|
633
644
|
`/logging/debugUntil` takes `replace` with a future date-time to start a
|
|
634
645
|
debug window and `remove` to end it early (a `remove` with no window set
|
|
635
|
-
is accepted and changes nothing)
|
|
636
|
-
|
|
637
|
-
`
|
|
638
|
-
|
|
646
|
+
is accepted and changes nothing); `add` works on both paths too, and
|
|
647
|
+
`remove /logging/mode` leaves the server with no stored mode. A
|
|
648
|
+
`debugUntil` in the past is 422 `invalid_date`, one further ahead than
|
|
649
|
+
the license's `logging.maxDebugDuration` is 422 `not_allowed`, and one
|
|
650
|
+
that is not a date-time is 422 `invalid_field`. Payload storage must be
|
|
651
|
+
enabled for the account for `standard`, `detailed` and a debug window —
|
|
652
|
+
422 `payload_storage_required` for the two modes, 422 `not_allowed` for
|
|
653
|
+
the window; `basic` and `noLogging` need no payload storage — and a mode
|
|
639
654
|
outside the set, in any other spelling, is 422 `invalid_logging_mode`.
|
|
640
655
|
Under `/policies`, `add`, `replace`, and `remove` work on the whole
|
|
641
656
|
array, `add` works at `/policies/-` or an index, and `replace` works at
|
|
@@ -763,8 +778,8 @@ paths:
|
|
|
763
778
|
description: |-
|
|
764
779
|
The patch names a path outside the whitelist, an invalid
|
|
765
780
|
`_networkPolicyId`, an invalid policy, a request-log mode or debug
|
|
766
|
-
window the account cannot use,
|
|
767
|
-
nothing enabled.
|
|
781
|
+
window the account cannot use, a debug window in the past or beyond
|
|
782
|
+
the license's limit, or would enable a server with nothing enabled.
|
|
768
783
|
content:
|
|
769
784
|
application/json:
|
|
770
785
|
schema:
|
|
@@ -794,6 +809,20 @@ paths:
|
|
|
794
809
|
- field: logging.debugUntil
|
|
795
810
|
code: not_allowed
|
|
796
811
|
message: The McpServer logging mode cannot be set to debug as payload storage is not enabled.
|
|
812
|
+
debug_window_in_the_past:
|
|
813
|
+
summary: A debugUntil that is not in the future
|
|
814
|
+
value:
|
|
815
|
+
errors:
|
|
816
|
+
- field: logging.debugUntil
|
|
817
|
+
code: invalid_date
|
|
818
|
+
message: Debug logging end time must be in the future.
|
|
819
|
+
debug_window_beyond_license:
|
|
820
|
+
summary: A debugUntil further ahead than the license's logging.maxDebugDuration
|
|
821
|
+
value:
|
|
822
|
+
errors:
|
|
823
|
+
- field: logging.debugUntil
|
|
824
|
+
code: not_allowed
|
|
825
|
+
message: As per your license, you can only set debug duration up to 72.0 hours. Please contact celigo support to upgrade your license.
|
|
797
826
|
enablement:
|
|
798
827
|
value:
|
|
799
828
|
errors:
|
|
@@ -4547,10 +4576,20 @@ components:
|
|
|
4547
4576
|
servers are created with `{"mode": "basic"}`. Changed with
|
|
4548
4577
|
`PATCH /v1/mcpservers/{_id}` on the `/logging/mode` and
|
|
4549
4578
|
`/logging/debugUntil` paths, or by sending the object on PUT;
|
|
4550
|
-
omitted on PUT, the stored value is kept
|
|
4579
|
+
omitted on PUT, the stored value is kept, while `logging: {}` or
|
|
4580
|
+
`null` on PUT (or PATCH `remove /logging/mode`) clears it, after
|
|
4581
|
+
which the field is absent from responses and requests are recorded
|
|
4582
|
+
as entries only. A change applies to the
|
|
4551
4583
|
requests that follow it, not to entries already recorded. While
|
|
4552
4584
|
payload storage is off for the account, requests are recorded as
|
|
4553
4585
|
entries only whatever the stored mode.
|
|
4586
|
+
x-celigo-ai-guidance:
|
|
4587
|
+
- |-
|
|
4588
|
+
Leave logging out of a create: the server stores mode basic. To change it
|
|
4589
|
+
later, PATCH replace /logging/mode — the whole /logging object is not a
|
|
4590
|
+
whitelisted path. While payload storage is off for the account, standard
|
|
4591
|
+
and detailed fail with 422 "payload_storage_required" and any debugUntil
|
|
4592
|
+
with 422 "not_allowed"; noLogging and basic save without it.
|
|
4554
4593
|
properties:
|
|
4555
4594
|
mode:
|
|
4556
4595
|
type: string
|
|
@@ -4584,13 +4623,17 @@ components:
|
|
|
4584
4623
|
While this timestamp is in the future, every request is captured
|
|
4585
4624
|
with full payloads and execution detail regardless of `mode`;
|
|
4586
4625
|
once it passes, the stored `mode` applies again without any
|
|
4587
|
-
further write
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4626
|
+
further write (the past value stays in responses until removed
|
|
4627
|
+
or replaced). The value must lie in the future (422
|
|
4628
|
+
`invalid_date`), at most the license's `logging.maxDebugDuration`
|
|
4629
|
+
minutes ahead (422 `not_allowed`, "As per your license, you can
|
|
4630
|
+
only set debug duration up to N hours"), and be a date-time (422
|
|
4631
|
+
`invalid_field`); payload storage must be on for the account
|
|
4632
|
+
(422 `not_allowed`, "…as payload storage is not enabled"). A
|
|
4633
|
+
window longer than a new plan allows is cleared by the platform
|
|
4634
|
+
when the plan changes. Clear an active window with a PATCH
|
|
4635
|
+
`remove` — removing it when none is set is accepted and changes
|
|
4636
|
+
nothing. Absent from responses when no window has been set.
|
|
4594
4637
|
examples:
|
|
4595
4638
|
- '2026-10-27T09:30:00.000Z'
|
|
4596
4639
|
oauth:
|
|
@@ -5157,8 +5200,9 @@ components:
|
|
|
5157
5200
|
PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
|
|
5158
5201
|
cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
|
|
5159
5202
|
Celigo file storage. `publicKey` encrypts the files the connection's imports write,
|
|
5160
|
-
record-generated files and transferred (blob) files alike; `privateKey` with
|
|
5161
|
-
decrypts the files its exports read and signs encrypted output. Supply at
|
|
5203
|
+
record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
|
|
5204
|
+
the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
|
|
5205
|
+
least one of the two.
|
|
5162
5206
|
properties:
|
|
5163
5207
|
publicKey:
|
|
5164
5208
|
type: string
|
|
@@ -5187,7 +5231,10 @@ components:
|
|
|
5187
5231
|
passphrase:
|
|
5188
5232
|
type: string
|
|
5189
5233
|
writeOnly: true
|
|
5190
|
-
description:
|
|
5234
|
+
description: |-
|
|
5235
|
+
Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
|
|
5236
|
+
when the private key is passphrase-protected; a connection with a private key and no
|
|
5237
|
+
passphrase saves.
|
|
5191
5238
|
compressionAlgorithm:
|
|
5192
5239
|
type: string
|
|
5193
5240
|
enum:
|
|
@@ -5201,12 +5248,6 @@ components:
|
|
|
5201
5248
|
type: boolean
|
|
5202
5249
|
default: true
|
|
5203
5250
|
description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
|
|
5204
|
-
if:
|
|
5205
|
-
required:
|
|
5206
|
-
- privateKey
|
|
5207
|
-
then:
|
|
5208
|
-
required:
|
|
5209
|
-
- passphrase
|
|
5210
5251
|
SSL:
|
|
5211
5252
|
type: object
|
|
5212
5253
|
description: |-
|
package/dist/processor.yml
CHANGED
|
@@ -660,7 +660,11 @@ paths:
|
|
|
660
660
|
fixed: Fixed-width columns padded to defined lengths.
|
|
661
661
|
delimited:
|
|
662
662
|
type: object
|
|
663
|
-
description:
|
|
663
|
+
description: |-
|
|
664
|
+
Required when `format` starts with `delimited`. For a `version` `"2"`
|
|
665
|
+
X12 or EDIFACT definition the parse reads the element, component and
|
|
666
|
+
segment separators from the ISA or UNB segment at the start of `data`
|
|
667
|
+
and uses them over these values for this call.
|
|
664
668
|
properties:
|
|
665
669
|
rowSuffix:
|
|
666
670
|
type: string
|
|
@@ -807,7 +811,9 @@ paths:
|
|
|
807
811
|
'401':
|
|
808
812
|
$ref: '#/components/responses/401-unauthorized'
|
|
809
813
|
'422':
|
|
810
|
-
description:
|
|
814
|
+
description: |-
|
|
815
|
+
File definition validation error, missing required segment, or an EDI envelope
|
|
816
|
+
whose delimiters could not be read.
|
|
811
817
|
content:
|
|
812
818
|
application/json:
|
|
813
819
|
schema:
|
|
@@ -821,13 +827,31 @@ paths:
|
|
|
821
827
|
type: string
|
|
822
828
|
description: |-
|
|
823
829
|
Error code. Common values: `file_definition_error`,
|
|
824
|
-
`missing_row`, `WRONG_MAX_OCCURRENCE
|
|
830
|
+
`missing_row`, `WRONG_MAX_OCCURRENCE`, `edi_error` (a mandatory
|
|
831
|
+
envelope segment is missing), and `delimiter_detect_failed` (a
|
|
832
|
+
version `"2"` X12 definition fed an interchange whose ISA is not
|
|
833
|
+
the fixed 106-character form and does not use the saved
|
|
834
|
+
delimiters either).
|
|
835
|
+
name:
|
|
836
|
+
type: string
|
|
837
|
+
description: Title of the failure; present on `delimiter_detect_failed`.
|
|
825
838
|
resolved:
|
|
826
839
|
type: boolean
|
|
827
840
|
occurredAt:
|
|
828
841
|
type: integer
|
|
829
842
|
path:
|
|
830
843
|
type: string
|
|
844
|
+
examples:
|
|
845
|
+
delimiter_detect_failed:
|
|
846
|
+
summary: Unpadded ISA that uses neither detectable nor saved delimiters
|
|
847
|
+
value:
|
|
848
|
+
code: delimiter_detect_failed
|
|
849
|
+
message: Could not read delimiters from the EDI envelope, and the file definition delimiters did not produce an ISA header.
|
|
850
|
+
source: resource
|
|
851
|
+
name: Delimiter detection failed
|
|
852
|
+
resolved: false
|
|
853
|
+
occurredAt: 1794017548333
|
|
854
|
+
path: processor.structuredFileParser
|
|
831
855
|
/v1/processors/structuredFileGenerator:
|
|
832
856
|
post:
|
|
833
857
|
x-internal: false
|
package/dist/tool.yml
CHANGED
|
@@ -7586,8 +7586,9 @@ components:
|
|
|
7586
7586
|
PGP keys and options for the file transports — `ftp`, `s3`, the on-premise file system and the
|
|
7587
7587
|
cloud file-provider connections such as Box, Dropbox, Google Drive, Azure Blob Storage and
|
|
7588
7588
|
Celigo file storage. `publicKey` encrypts the files the connection's imports write,
|
|
7589
|
-
record-generated files and transferred (blob) files alike; `privateKey` with
|
|
7590
|
-
decrypts the files its exports read and signs encrypted output. Supply at
|
|
7589
|
+
record-generated files and transferred (blob) files alike; `privateKey` (with `passphrase` when
|
|
7590
|
+
the key is protected) decrypts the files its exports read and signs encrypted output. Supply at
|
|
7591
|
+
least one of the two.
|
|
7591
7592
|
properties:
|
|
7592
7593
|
publicKey:
|
|
7593
7594
|
type: string
|
|
@@ -7616,7 +7617,10 @@ components:
|
|
|
7616
7617
|
passphrase:
|
|
7617
7618
|
type: string
|
|
7618
7619
|
writeOnly: true
|
|
7619
|
-
description:
|
|
7620
|
+
description: |-
|
|
7621
|
+
Passphrase that unlocks `privateKey` (encrypted at rest; returned masked as `"******"`). Set it
|
|
7622
|
+
when the private key is passphrase-protected; a connection with a private key and no
|
|
7623
|
+
passphrase saves.
|
|
7620
7624
|
compressionAlgorithm:
|
|
7621
7625
|
type: string
|
|
7622
7626
|
enum:
|
|
@@ -7630,12 +7634,6 @@ components:
|
|
|
7630
7634
|
type: boolean
|
|
7631
7635
|
default: true
|
|
7632
7636
|
description: When true, produces ASCII-armored (text) PGP output. Set to false only when the recipient requires binary PGP output.
|
|
7633
|
-
if:
|
|
7634
|
-
required:
|
|
7635
|
-
- privateKey
|
|
7636
|
-
then:
|
|
7637
|
-
required:
|
|
7638
|
-
- passphrase
|
|
7639
7637
|
SSL:
|
|
7640
7638
|
type: object
|
|
7641
7639
|
description: |-
|
package/dist/topic.yml
CHANGED
|
@@ -505,8 +505,10 @@ paths:
|
|
|
505
505
|
description: |-
|
|
506
506
|
Reads the messages currently retained on a topic, oldest first, without affecting any
|
|
507
507
|
listener's read position — use it to inspect what producers are publishing or to confirm a
|
|
508
|
-
purge.
|
|
509
|
-
|
|
508
|
+
purge. Every message carries its `offset`, so a read can be bounded by position
|
|
509
|
+
(`offset_gt`, `offset_lte`) as well as by time (`time_gt`, `time_lte`). Pages are
|
|
510
|
+
cursor-based: follow `nextPageURL`, which keeps the request's filters, until it is absent.
|
|
511
|
+
Unrecognized query parameters are ignored.
|
|
510
512
|
operationId: listTopicMessages
|
|
511
513
|
tags:
|
|
512
514
|
- Topics
|
|
@@ -560,6 +562,35 @@ paths:
|
|
|
560
562
|
format: int64
|
|
561
563
|
examples:
|
|
562
564
|
- 1790047500000
|
|
565
|
+
- name: offset_gt
|
|
566
|
+
in: query
|
|
567
|
+
required: false
|
|
568
|
+
description: |-
|
|
569
|
+
Only messages whose `offset` is strictly greater than this value — pass the `offset` of
|
|
570
|
+
the last message you handled to resume after it. Sent together with `afterOffset`, the
|
|
571
|
+
higher of the two lower bounds applies. A value that is not a non-negative integer
|
|
572
|
+
fails with 400 `invalid_offset_gt`.
|
|
573
|
+
schema:
|
|
574
|
+
type: integer
|
|
575
|
+
format: int64
|
|
576
|
+
minimum: 0
|
|
577
|
+
examples:
|
|
578
|
+
- 49
|
|
579
|
+
- name: offset_lte
|
|
580
|
+
in: query
|
|
581
|
+
required: false
|
|
582
|
+
description: |-
|
|
583
|
+
Only messages whose `offset` is at or below this value; with `offset_gt` it closes a
|
|
584
|
+
window, for example to re-read exactly the positions one listener run consumed. A
|
|
585
|
+
bound beyond the newest message returns what exists; a window below `offset_gt`, or
|
|
586
|
+
one covering only purged or expired positions, returns an empty page. A value that is
|
|
587
|
+
not a non-negative integer fails with 400 `invalid_offset_lte`.
|
|
588
|
+
schema:
|
|
589
|
+
type: integer
|
|
590
|
+
format: int64
|
|
591
|
+
minimum: 0
|
|
592
|
+
examples:
|
|
593
|
+
- 99
|
|
563
594
|
responses:
|
|
564
595
|
'200':
|
|
565
596
|
description: One page of messages. `messages` is empty when nothing is retained in the requested window.
|
|
@@ -572,24 +603,46 @@ paths:
|
|
|
572
603
|
summary: First of several pages
|
|
573
604
|
value:
|
|
574
605
|
messages:
|
|
575
|
-
-
|
|
606
|
+
- offset: 0
|
|
607
|
+
timestamp: '2026-09-22T03:24:35.992Z'
|
|
576
608
|
payload:
|
|
577
609
|
orderId: SO-1001
|
|
578
610
|
total: 42.5
|
|
579
|
-
-
|
|
611
|
+
- offset: 1
|
|
612
|
+
timestamp: '2026-09-22T03:24:35.992Z'
|
|
580
613
|
payload:
|
|
581
614
|
orderId: SO-1002
|
|
582
615
|
total: 18
|
|
616
|
+
offsetRange:
|
|
617
|
+
startOffset: 0
|
|
618
|
+
endOffset: 1
|
|
583
619
|
nextPageURL: /v1/topics/6aab2870265e1cf39fcbee4d/messages?limit=2&afterOffset=1
|
|
620
|
+
offset_window:
|
|
621
|
+
summary: '`offset_gt=0&offset_lte=3&limit=2`: the window is kept on the next page'
|
|
622
|
+
value:
|
|
623
|
+
messages:
|
|
624
|
+
- offset: 1
|
|
625
|
+
timestamp: '2026-11-07T02:20:29.028Z'
|
|
626
|
+
payload:
|
|
627
|
+
orderId: SO-1001
|
|
628
|
+
- offset: 2
|
|
629
|
+
timestamp: '2026-11-07T02:20:29.028Z'
|
|
630
|
+
payload:
|
|
631
|
+
orderId: SO-1002
|
|
632
|
+
offsetRange:
|
|
633
|
+
startOffset: 1
|
|
634
|
+
endOffset: 2
|
|
635
|
+
nextPageURL: /v1/topics/6aab2870265e1cf39fcbee4d/messages?offset_gt=0&offset_lte=3&limit=2&afterOffset=2
|
|
584
636
|
empty:
|
|
585
|
-
summary: Nothing retained
|
|
637
|
+
summary: Nothing retained in the requested window
|
|
586
638
|
value:
|
|
587
639
|
messages: []
|
|
588
640
|
'400':
|
|
589
641
|
description: |-
|
|
590
642
|
A query parameter is malformed: `limit` outside 1–100 (`invalid_limit`), `time_gt` or
|
|
591
|
-
`time_lte` not epoch milliseconds (`invalid_time_gt`, `invalid_time_lte`),
|
|
592
|
-
not a
|
|
643
|
+
`time_lte` not epoch milliseconds (`invalid_time_gt`, `invalid_time_lte`), `offset_gt` or
|
|
644
|
+
`offset_lte` not a non-negative integer (`invalid_offset_gt`, `invalid_offset_lte`), or
|
|
645
|
+
`afterOffset` not a cursor issued by this endpoint (`invalid_after_offset`).
|
|
593
646
|
content:
|
|
594
647
|
application/json:
|
|
595
648
|
schema:
|
|
@@ -607,6 +660,13 @@ paths:
|
|
|
607
660
|
- code: invalid_time_gt
|
|
608
661
|
message: time_gt must be a Unix timestamp in milliseconds
|
|
609
662
|
source: internal
|
|
663
|
+
bad_offset:
|
|
664
|
+
summary: '`offset_gt=-1` (also a fractional, empty or non-numeric value)'
|
|
665
|
+
value:
|
|
666
|
+
errors:
|
|
667
|
+
- code: invalid_offset_gt
|
|
668
|
+
message: offset_gt must be a non-negative integer Kafka offset
|
|
669
|
+
source: internal
|
|
610
670
|
'401':
|
|
611
671
|
$ref: '#/components/responses/401-unauthorized'
|
|
612
672
|
'404':
|
|
@@ -1505,9 +1565,21 @@ components:
|
|
|
1505
1565
|
type: object
|
|
1506
1566
|
description: One retained message, in publish order.
|
|
1507
1567
|
required:
|
|
1568
|
+
- offset
|
|
1508
1569
|
- timestamp
|
|
1509
1570
|
- payload
|
|
1510
1571
|
properties:
|
|
1572
|
+
offset:
|
|
1573
|
+
type: integer
|
|
1574
|
+
format: int64
|
|
1575
|
+
minimum: 0
|
|
1576
|
+
description: |-
|
|
1577
|
+
Position of the message in the topic's stream, counted from the first message ever
|
|
1578
|
+
published and never reused: it keeps increasing after a purge, so a page that starts above
|
|
1579
|
+
the position you expected means the earlier messages expired or were purged. Pass it as
|
|
1580
|
+
`offset_gt` to resume after this message or as `offset_lte` to stop at it.
|
|
1581
|
+
examples:
|
|
1582
|
+
- 49
|
|
1511
1583
|
timestamp:
|
|
1512
1584
|
type: string
|
|
1513
1585
|
format: date-time
|
|
@@ -1531,15 +1603,39 @@ components:
|
|
|
1531
1603
|
type: array
|
|
1532
1604
|
description: |-
|
|
1533
1605
|
Messages in the requested window, oldest first. Empty when the topic has never received a
|
|
1534
|
-
message, when everything has aged out of `retentionMs`,
|
|
1535
|
-
already at the end of the stream.
|
|
1606
|
+
message, when everything has aged out of `retentionMs`, when the continuation cursor is
|
|
1607
|
+
already at the end of the stream, or when the `offset_*`/`time_*` bounds select nothing.
|
|
1536
1608
|
items:
|
|
1537
1609
|
$ref: '#/components/schemas/TopicMessage'
|
|
1610
|
+
offsetRange:
|
|
1611
|
+
type: object
|
|
1612
|
+
description: |-
|
|
1613
|
+
Offsets of the first and last message on this page, so a caller can record how far it has
|
|
1614
|
+
read without walking `messages`. Absent when `messages` is empty.
|
|
1615
|
+
required:
|
|
1616
|
+
- startOffset
|
|
1617
|
+
- endOffset
|
|
1618
|
+
properties:
|
|
1619
|
+
startOffset:
|
|
1620
|
+
type: integer
|
|
1621
|
+
format: int64
|
|
1622
|
+
minimum: 0
|
|
1623
|
+
description: '`offset` of the first message on the page.'
|
|
1624
|
+
examples:
|
|
1625
|
+
- 0
|
|
1626
|
+
endOffset:
|
|
1627
|
+
type: integer
|
|
1628
|
+
format: int64
|
|
1629
|
+
minimum: 0
|
|
1630
|
+
description: '`offset` of the last message on the page; the value to continue from.'
|
|
1631
|
+
examples:
|
|
1632
|
+
- 49
|
|
1538
1633
|
nextPageURL:
|
|
1539
1634
|
type: string
|
|
1540
1635
|
description: |-
|
|
1541
|
-
Relative URL of the next page
|
|
1542
|
-
Follow it as-is rather than building the cursor yourself. Absent on
|
|
1636
|
+
Relative URL of the next page: the request's `limit`, time and offset filters plus an
|
|
1637
|
+
`afterOffset` cursor. Follow it as-is rather than building the cursor yourself. Absent on
|
|
1638
|
+
the last page, including when an `offset_lte` window is used up before `limit` is reached.
|
|
1543
1639
|
examples:
|
|
1544
1640
|
- /v1/topics/6ab1f44d7c4b4e699fe84b0a/messages?limit=50&afterOffset=49
|
|
1545
1641
|
PurgeMessagesResponse:
|
package/package.json
CHANGED