@celigo/api-specs 0.2.1
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/LICENSE +21 -0
- package/README.md +119 -0
- package/dist/account.yml +592 -0
- package/dist/agent.yml +908 -0
- package/dist/ai-agent.yml +5471 -0
- package/dist/api.yml +4140 -0
- package/dist/apim.yml +1286 -0
- package/dist/asynchelper.yml +3391 -0
- package/dist/audit.yml +2006 -0
- package/dist/connection.yml +8665 -0
- package/dist/connector.yml +1406 -0
- package/dist/ediprofile.yml +911 -0
- package/dist/editransaction.yml +1210 -0
- package/dist/enduser.yml +1724 -0
- package/dist/environment.yml +568 -0
- package/dist/eventreport.yml +692 -0
- package/dist/export.yml +17610 -0
- package/dist/filedefinition.yml +1396 -0
- package/dist/filestorage.yml +3102 -0
- package/dist/flow.yml +7928 -0
- package/dist/guardrail.yml +2763 -0
- package/dist/httpconnector.yml +2277 -0
- package/dist/httpconnectorendpoint.yml +722 -0
- package/dist/httpconnectorresource.yml +396 -0
- package/dist/iclient.yml +4452 -0
- package/dist/import.yml +15381 -0
- package/dist/integration.yml +4406 -0
- package/dist/job.yml +2014 -0
- package/dist/lookupcache.yml +1325 -0
- package/dist/marketplace.yml +685 -0
- package/dist/mcp-oauth-provider.yml +590 -0
- package/dist/mcp-server.yml +2656 -0
- package/dist/notification.yml +488 -0
- package/dist/processor.yml +1253 -0
- package/dist/profile.yml +455 -0
- package/dist/recyclebin.yml +768 -0
- package/dist/script.yml +1128 -0
- package/dist/stack.yml +1291 -0
- package/dist/state.yml +894 -0
- package/dist/subscription.yml +1405 -0
- package/dist/sync.yml +4857 -0
- package/dist/tag.yml +553 -0
- package/dist/template.yml +897 -0
- package/dist/tool.yml +33656 -0
- package/dist/tradingpartnerconnector.yml +1490 -0
- package/dist/user.yml +831 -0
- package/package.json +41 -0
- package/schemas.json +8420 -0
|
@@ -0,0 +1,1325 @@
|
|
|
1
|
+
openapi: 3.2.0
|
|
2
|
+
info:
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
title: Lookup Caches
|
|
5
|
+
description: API for managing Celigo lookup caches — in-memory key-value stores used during flow execution for fast lookups and deduplication.
|
|
6
|
+
x-celigo-ai-guidance:
|
|
7
|
+
- |-
|
|
8
|
+
API for managing lookup caches in Celigo. Lookup caches are in-memory key-value
|
|
9
|
+
stores used during integration processing for fast data lookups, deduplication,
|
|
10
|
+
and cross-reference resolution.
|
|
11
|
+
|
|
12
|
+
Each lookup cache:
|
|
13
|
+
- Belongs to a specific integration
|
|
14
|
+
- Has a maximum size of 50 MB per cache
|
|
15
|
+
- Is subject to a per-environment aggregate limit of 1 GB
|
|
16
|
+
- Can optionally include its data when used in templates and cloning
|
|
17
|
+
|
|
18
|
+
Lookup cache data is managed through separate data endpoints (getData, upsert, delete, purge)
|
|
19
|
+
that proxy to the dedicated Lookup Cache service.
|
|
20
|
+
servers:
|
|
21
|
+
- url: https://api.integrator.io
|
|
22
|
+
description: Production (US / default region)
|
|
23
|
+
- url: https://api.eu.integrator.io
|
|
24
|
+
description: Production (EU region)
|
|
25
|
+
- url: https://api.au.integrator.io
|
|
26
|
+
description: Production (AU region)
|
|
27
|
+
- url: https://api.ca.integrator.io
|
|
28
|
+
description: Production (CA region)
|
|
29
|
+
security:
|
|
30
|
+
- bearerAuth: []
|
|
31
|
+
tags:
|
|
32
|
+
- name: Lookup Caches
|
|
33
|
+
description: |-
|
|
34
|
+
Lookup caches are in-memory key-value stores used during flow
|
|
35
|
+
execution for fast lookups, deduplication, and cross-reference
|
|
36
|
+
resolution.
|
|
37
|
+
|
|
38
|
+
Lookup caches are account-level resources — they are not scoped to
|
|
39
|
+
a specific integration.
|
|
40
|
+
|
|
41
|
+
- Maximum size: 50 MB per cache
|
|
42
|
+
- Aggregate limit: 1 GB per environment
|
|
43
|
+
- Data is managed through separate endpoints (`getData`, `upsert`,
|
|
44
|
+
`delete`, `purge`) that proxy to the Lookup Cache service
|
|
45
|
+
|
|
46
|
+
## Lookup cache schema
|
|
47
|
+
|
|
48
|
+
{% openapi-schemas spec="lookupcache" schemas="LookupCache" grouped="true" %}
|
|
49
|
+
paths:
|
|
50
|
+
/v1/lookupcaches:
|
|
51
|
+
get:
|
|
52
|
+
x-internal: false
|
|
53
|
+
summary: List lookup caches
|
|
54
|
+
description: Returns lookup caches in the account.
|
|
55
|
+
operationId: listLookupCaches
|
|
56
|
+
tags:
|
|
57
|
+
- Lookup Caches
|
|
58
|
+
parameters:
|
|
59
|
+
- name: limit
|
|
60
|
+
in: query
|
|
61
|
+
description: Maximum number of caches to return per page. Omit to return all caches.
|
|
62
|
+
schema:
|
|
63
|
+
type: integer
|
|
64
|
+
minimum: 1
|
|
65
|
+
examples:
|
|
66
|
+
- 100
|
|
67
|
+
- name: externalId
|
|
68
|
+
in: query
|
|
69
|
+
description: Filter to caches matching this exact external identifier.
|
|
70
|
+
schema:
|
|
71
|
+
type: string
|
|
72
|
+
examples:
|
|
73
|
+
- ext-cache-12345
|
|
74
|
+
responses:
|
|
75
|
+
'200':
|
|
76
|
+
description: One or more lookup caches found.
|
|
77
|
+
headers:
|
|
78
|
+
Link:
|
|
79
|
+
description: |-
|
|
80
|
+
RFC 5988 pagination links. Contains a `rel="next"` entry when
|
|
81
|
+
more pages remain; absent on the final page.
|
|
82
|
+
schema:
|
|
83
|
+
type: string
|
|
84
|
+
content:
|
|
85
|
+
application/json:
|
|
86
|
+
schema:
|
|
87
|
+
type: array
|
|
88
|
+
items:
|
|
89
|
+
$ref: '#/components/schemas/LookupCache'
|
|
90
|
+
examples:
|
|
91
|
+
default:
|
|
92
|
+
value:
|
|
93
|
+
- _id: 69c2eb25365fb658aa39c642
|
|
94
|
+
_userId: 624cb0346309dc3a543733a2
|
|
95
|
+
name: US State Name to State Code
|
|
96
|
+
description: Maps full state names, abbreviations, and common variations to 2-letter state codes
|
|
97
|
+
includeDataInTemplatesAndCloning: false
|
|
98
|
+
size: 1887
|
|
99
|
+
sizeInMB: <5 MB
|
|
100
|
+
createdAt: '2026-03-24T19:51:01.266Z'
|
|
101
|
+
lastModified: '2026-04-18T05:40:33.812Z'
|
|
102
|
+
- _id: 69f4b2d97009ea11ab730306
|
|
103
|
+
_userId: 624cb0346309dc3a543733a2
|
|
104
|
+
name: ''
|
|
105
|
+
includeDataInTemplatesAndCloning: false
|
|
106
|
+
size: 0
|
|
107
|
+
sizeInMB: 0 MB
|
|
108
|
+
createdAt: '2026-05-01T14:04:09.321Z'
|
|
109
|
+
lastModified: '2026-05-01T14:04:09.339Z'
|
|
110
|
+
'204':
|
|
111
|
+
description: No lookup caches exist in the account.
|
|
112
|
+
'401':
|
|
113
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
114
|
+
x-celigo-ai-guidance:
|
|
115
|
+
- |-
|
|
116
|
+
Returns a list of all lookup caches configured in the account.
|
|
117
|
+
If no lookup caches exist, a 204 response with no body will be returned.
|
|
118
|
+
post:
|
|
119
|
+
x-internal: false
|
|
120
|
+
summary: Create a lookup cache
|
|
121
|
+
description: |-
|
|
122
|
+
Creates a new empty lookup cache. Only `name` is required. Populate
|
|
123
|
+
it afterwards via `POST /v1/lookupcaches/{_id}/data`.
|
|
124
|
+
operationId: createLookupCache
|
|
125
|
+
tags:
|
|
126
|
+
- Lookup Caches
|
|
127
|
+
requestBody:
|
|
128
|
+
required: true
|
|
129
|
+
content:
|
|
130
|
+
application/json:
|
|
131
|
+
schema:
|
|
132
|
+
$ref: '#/components/schemas/Request'
|
|
133
|
+
examples:
|
|
134
|
+
minimal:
|
|
135
|
+
summary: Minimal — name only
|
|
136
|
+
value:
|
|
137
|
+
name: Customer ID Cache
|
|
138
|
+
with_options:
|
|
139
|
+
summary: With description and template inclusion
|
|
140
|
+
value:
|
|
141
|
+
name: Product SKU Lookup
|
|
142
|
+
description: Maps external vendor SKUs to internal product IDs
|
|
143
|
+
includeDataInTemplatesAndCloning: true
|
|
144
|
+
responses:
|
|
145
|
+
'201':
|
|
146
|
+
description: Lookup cache created.
|
|
147
|
+
content:
|
|
148
|
+
application/json:
|
|
149
|
+
schema:
|
|
150
|
+
$ref: '#/components/schemas/LookupCache'
|
|
151
|
+
examples:
|
|
152
|
+
default:
|
|
153
|
+
value:
|
|
154
|
+
_id: 6a07cb9a2334574c8c54bcb6
|
|
155
|
+
_userId: 624cb0346309dc3a543733a2
|
|
156
|
+
name: Customer ID Cache
|
|
157
|
+
includeDataInTemplatesAndCloning: false
|
|
158
|
+
size: 0
|
|
159
|
+
sizeInMB: 0 MB
|
|
160
|
+
createdAt: '2026-05-15T21:42:35.701Z'
|
|
161
|
+
lastModified: '2026-05-15T21:42:35.701Z'
|
|
162
|
+
'400':
|
|
163
|
+
$ref: '#/components/responses/400-bad-request'
|
|
164
|
+
'401':
|
|
165
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
166
|
+
x-celigo-ai-guidance:
|
|
167
|
+
- |-
|
|
168
|
+
The cache is created with size 0 and can be populated through
|
|
169
|
+
the data management endpoints. The per-environment aggregate size
|
|
170
|
+
limit is validated on creation (1 GB for new caches).
|
|
171
|
+
/v1/lookupcaches/{_id}:
|
|
172
|
+
get:
|
|
173
|
+
x-internal: false
|
|
174
|
+
summary: Get a lookup cache
|
|
175
|
+
description: |-
|
|
176
|
+
Returns configuration, metadata, and current size of a lookup cache.
|
|
177
|
+
This returns metadata only — to read the cached key-value data,
|
|
178
|
+
use `POST /v1/lookupcaches/{_id}/getData`.
|
|
179
|
+
operationId: getLookupCacheById
|
|
180
|
+
tags:
|
|
181
|
+
- Lookup Caches
|
|
182
|
+
parameters:
|
|
183
|
+
- name: _id
|
|
184
|
+
in: path
|
|
185
|
+
description: Lookup cache ID.
|
|
186
|
+
required: true
|
|
187
|
+
schema:
|
|
188
|
+
type: string
|
|
189
|
+
format: objectId
|
|
190
|
+
x-celigo-refModel: lookupcaches
|
|
191
|
+
examples:
|
|
192
|
+
- 69c2eb25365fb658aa39c642
|
|
193
|
+
responses:
|
|
194
|
+
'200':
|
|
195
|
+
description: Lookup cache found.
|
|
196
|
+
content:
|
|
197
|
+
application/json:
|
|
198
|
+
schema:
|
|
199
|
+
$ref: '#/components/schemas/LookupCache'
|
|
200
|
+
examples:
|
|
201
|
+
default:
|
|
202
|
+
value:
|
|
203
|
+
_id: 69c2eb25365fb658aa39c642
|
|
204
|
+
_userId: 624cb0346309dc3a543733a2
|
|
205
|
+
name: US State Name to State Code
|
|
206
|
+
description: Maps full state names, abbreviations, and common variations to 2-letter state codes
|
|
207
|
+
includeDataInTemplatesAndCloning: false
|
|
208
|
+
size: 1887
|
|
209
|
+
sizeInMB: <5 MB
|
|
210
|
+
createdAt: '2026-03-24T19:51:01.266Z'
|
|
211
|
+
lastModified: '2026-04-18T05:40:33.812Z'
|
|
212
|
+
'401':
|
|
213
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
214
|
+
'404':
|
|
215
|
+
$ref: '#/components/responses/404-not-found'
|
|
216
|
+
put:
|
|
217
|
+
x-internal: false
|
|
218
|
+
summary: Update a lookup cache
|
|
219
|
+
description: |-
|
|
220
|
+
Replaces the cache's writable fields. Read-only fields (`_id`,
|
|
221
|
+
`_userId`, `size`, `sizeInMB`, timestamps) are silently ignored.
|
|
222
|
+
To write cached data, use `POST /v1/lookupcaches/{_id}/data`.
|
|
223
|
+
operationId: updateLookupCache
|
|
224
|
+
tags:
|
|
225
|
+
- Lookup Caches
|
|
226
|
+
parameters:
|
|
227
|
+
- name: _id
|
|
228
|
+
in: path
|
|
229
|
+
description: Lookup cache ID.
|
|
230
|
+
required: true
|
|
231
|
+
schema:
|
|
232
|
+
type: string
|
|
233
|
+
format: objectId
|
|
234
|
+
x-celigo-refModel: lookupcaches
|
|
235
|
+
examples:
|
|
236
|
+
- 69c2eb25365fb658aa39c642
|
|
237
|
+
requestBody:
|
|
238
|
+
required: true
|
|
239
|
+
content:
|
|
240
|
+
application/json:
|
|
241
|
+
schema:
|
|
242
|
+
$ref: '#/components/schemas/Request'
|
|
243
|
+
examples:
|
|
244
|
+
default:
|
|
245
|
+
summary: Update name and description
|
|
246
|
+
value:
|
|
247
|
+
name: US State Code Lookup (v2)
|
|
248
|
+
description: Updated mapping table — now includes territories
|
|
249
|
+
includeDataInTemplatesAndCloning: true
|
|
250
|
+
responses:
|
|
251
|
+
'200':
|
|
252
|
+
description: Lookup cache updated.
|
|
253
|
+
content:
|
|
254
|
+
application/json:
|
|
255
|
+
schema:
|
|
256
|
+
$ref: '#/components/schemas/LookupCache'
|
|
257
|
+
examples:
|
|
258
|
+
updated:
|
|
259
|
+
summary: Cache with updated name and description (read-only fields preserved)
|
|
260
|
+
value:
|
|
261
|
+
_id: 69c2eb25365fb658aa39c642
|
|
262
|
+
_userId: 624cb0346309dc3a543733a2
|
|
263
|
+
name: US State Code Lookup (v2)
|
|
264
|
+
description: Updated mapping table — now includes territories
|
|
265
|
+
includeDataInTemplatesAndCloning: true
|
|
266
|
+
size: 1887
|
|
267
|
+
sizeInMB: <5 MB
|
|
268
|
+
createdAt: '2026-03-24T19:51:01.266Z'
|
|
269
|
+
lastModified: '2026-04-21T09:30:12.405Z'
|
|
270
|
+
'400':
|
|
271
|
+
$ref: '#/components/responses/400-bad-request'
|
|
272
|
+
'401':
|
|
273
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
274
|
+
'404':
|
|
275
|
+
$ref: '#/components/responses/404-not-found'
|
|
276
|
+
x-celigo-ai-guidance:
|
|
277
|
+
- |-
|
|
278
|
+
This updates metadata such as name, description, and template settings.
|
|
279
|
+
To manage the actual cached data, use the data management endpoints.
|
|
280
|
+
patch:
|
|
281
|
+
x-internal: false
|
|
282
|
+
summary: Patch a lookup cache
|
|
283
|
+
description: |-
|
|
284
|
+
Partially updates a lookup cache using a JSON Patch document (RFC 6902).
|
|
285
|
+
Only `replace` is supported, on these paths:
|
|
286
|
+
|
|
287
|
+
| Path | Description |
|
|
288
|
+
|------|-------------|
|
|
289
|
+
| `/name` | Cache display name |
|
|
290
|
+
| `/description` | Cache description |
|
|
291
|
+
|
|
292
|
+
All other paths or operations are rejected.
|
|
293
|
+
operationId: patchLookupCache
|
|
294
|
+
tags:
|
|
295
|
+
- Lookup Caches
|
|
296
|
+
parameters:
|
|
297
|
+
- name: _id
|
|
298
|
+
in: path
|
|
299
|
+
description: Lookup cache ID.
|
|
300
|
+
required: true
|
|
301
|
+
schema:
|
|
302
|
+
type: string
|
|
303
|
+
format: objectId
|
|
304
|
+
x-celigo-refModel: lookupcaches
|
|
305
|
+
examples:
|
|
306
|
+
- 69c2eb25365fb658aa39c642
|
|
307
|
+
requestBody:
|
|
308
|
+
required: true
|
|
309
|
+
content:
|
|
310
|
+
application/json:
|
|
311
|
+
schema:
|
|
312
|
+
$ref: '#/components/schemas/JsonPatchRequest'
|
|
313
|
+
examples:
|
|
314
|
+
rename:
|
|
315
|
+
summary: Rename a lookup cache
|
|
316
|
+
value:
|
|
317
|
+
- op: replace
|
|
318
|
+
path: /name
|
|
319
|
+
value: Customer ID Cache (v2)
|
|
320
|
+
responses:
|
|
321
|
+
'204':
|
|
322
|
+
description: Lookup cache patched successfully
|
|
323
|
+
'401':
|
|
324
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
325
|
+
'404':
|
|
326
|
+
$ref: '#/components/responses/404-not-found'
|
|
327
|
+
'422':
|
|
328
|
+
$ref: '#/components/responses/422-unprocessable-entity'
|
|
329
|
+
delete:
|
|
330
|
+
x-internal: false
|
|
331
|
+
summary: Delete a lookup cache
|
|
332
|
+
description: |-
|
|
333
|
+
Soft-deletes a lookup cache and all its data. Retained for 30 days
|
|
334
|
+
before permanent removal. To clear data without deleting the cache
|
|
335
|
+
itself, use `DELETE /v1/lookupcaches/{_id}/data/purge` instead.
|
|
336
|
+
operationId: deleteLookupCache
|
|
337
|
+
tags:
|
|
338
|
+
- Lookup Caches
|
|
339
|
+
parameters:
|
|
340
|
+
- name: _id
|
|
341
|
+
in: path
|
|
342
|
+
description: Lookup cache ID.
|
|
343
|
+
required: true
|
|
344
|
+
schema:
|
|
345
|
+
type: string
|
|
346
|
+
format: objectId
|
|
347
|
+
x-celigo-refModel: lookupcaches
|
|
348
|
+
examples:
|
|
349
|
+
- 69c2eb25365fb658aa39c642
|
|
350
|
+
responses:
|
|
351
|
+
'204':
|
|
352
|
+
description: Lookup cache deleted.
|
|
353
|
+
'401':
|
|
354
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
355
|
+
'404':
|
|
356
|
+
$ref: '#/components/responses/404-not-found'
|
|
357
|
+
/v1/lookupcaches/{_id}/clone/preview:
|
|
358
|
+
get:
|
|
359
|
+
x-internal: false
|
|
360
|
+
summary: Preview cloning a lookup cache
|
|
361
|
+
description: |-
|
|
362
|
+
Returns resources that would be created by cloning this cache.
|
|
363
|
+
Lookup caches have no transitive dependencies, so the response
|
|
364
|
+
contains only the cache itself. No resources are created. Whether
|
|
365
|
+
the clone includes cached data depends on the source cache's
|
|
366
|
+
`includeDataInTemplatesAndCloning` setting.
|
|
367
|
+
operationId: previewCloneLookupCache
|
|
368
|
+
tags:
|
|
369
|
+
- Lookup Caches
|
|
370
|
+
parameters:
|
|
371
|
+
- name: _id
|
|
372
|
+
in: path
|
|
373
|
+
description: Lookup cache ID.
|
|
374
|
+
required: true
|
|
375
|
+
schema:
|
|
376
|
+
type: string
|
|
377
|
+
format: objectId
|
|
378
|
+
x-celigo-refModel: lookupcaches
|
|
379
|
+
examples:
|
|
380
|
+
- 69c2eb25365fb658aa39c642
|
|
381
|
+
responses:
|
|
382
|
+
'200':
|
|
383
|
+
description: Clone preview retrieved successfully
|
|
384
|
+
content:
|
|
385
|
+
application/json:
|
|
386
|
+
schema:
|
|
387
|
+
$ref: '#/components/schemas/ClonePreviewResponse'
|
|
388
|
+
examples:
|
|
389
|
+
default:
|
|
390
|
+
summary: Preview contains only the cache itself (no transitive dependencies)
|
|
391
|
+
value:
|
|
392
|
+
objects:
|
|
393
|
+
- model: LookupCache
|
|
394
|
+
doc:
|
|
395
|
+
name: US State Name to State Code
|
|
396
|
+
description: Maps full state names, abbreviations, and common variations to 2-letter state codes
|
|
397
|
+
includeDataInTemplatesAndCloning: false
|
|
398
|
+
stackRequired: false
|
|
399
|
+
_stackId: null
|
|
400
|
+
'401':
|
|
401
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
402
|
+
'404':
|
|
403
|
+
$ref: '#/components/responses/404-not-found'
|
|
404
|
+
/v1/lookupcaches/{_id}/data:
|
|
405
|
+
post:
|
|
406
|
+
x-internal: false
|
|
407
|
+
operationId: upsertLookupCacheData
|
|
408
|
+
tags:
|
|
409
|
+
- Lookup Caches
|
|
410
|
+
summary: Upsert entries into a lookup cache
|
|
411
|
+
description: |-
|
|
412
|
+
Writes key-value entries to a lookup cache. Keys that already exist are
|
|
413
|
+
overwritten; new keys are created. Keys are strings; values may be strings or
|
|
414
|
+
objects — arrays at the top level are rejected (wrap them in an object). One
|
|
415
|
+
invalid value fails the entire batch with `400 invalid_value`.
|
|
416
|
+
|
|
417
|
+
The service rejects batches larger than ~1000 entries or ~5 MB of JSON.
|
|
418
|
+
Callers uploading more than that should split their payload; the Celigo CLI
|
|
419
|
+
auto-batches at 1000 entries / 5 MB and concatenates the per-key results.
|
|
420
|
+
Each cache is capped at 50 MB and the per-environment aggregate is 1 GB.
|
|
421
|
+
parameters:
|
|
422
|
+
- name: _id
|
|
423
|
+
in: path
|
|
424
|
+
required: true
|
|
425
|
+
description: Lookup cache id.
|
|
426
|
+
schema:
|
|
427
|
+
type: string
|
|
428
|
+
format: objectId
|
|
429
|
+
x-celigo-refModel: lookupcaches
|
|
430
|
+
examples:
|
|
431
|
+
- 69c2eb25365fb658aa39c642
|
|
432
|
+
requestBody:
|
|
433
|
+
required: true
|
|
434
|
+
content:
|
|
435
|
+
application/json:
|
|
436
|
+
schema:
|
|
437
|
+
$ref: '#/components/schemas/LookupCacheDataUpsertRequest'
|
|
438
|
+
examples:
|
|
439
|
+
default:
|
|
440
|
+
summary: Upsert a handful of state-code entries
|
|
441
|
+
value:
|
|
442
|
+
data:
|
|
443
|
+
- key: CA
|
|
444
|
+
value: California
|
|
445
|
+
- key: NY
|
|
446
|
+
value: New York
|
|
447
|
+
- key: TX
|
|
448
|
+
value: Texas
|
|
449
|
+
responses:
|
|
450
|
+
'200':
|
|
451
|
+
description: Entries upserted. Per-key success flags in response.
|
|
452
|
+
content:
|
|
453
|
+
application/json:
|
|
454
|
+
schema:
|
|
455
|
+
$ref: '#/components/schemas/LookupCacheDataUpsertResponse'
|
|
456
|
+
examples:
|
|
457
|
+
default:
|
|
458
|
+
value:
|
|
459
|
+
success: true
|
|
460
|
+
data:
|
|
461
|
+
- key: CA
|
|
462
|
+
success: true
|
|
463
|
+
- key: NY
|
|
464
|
+
success: true
|
|
465
|
+
- key: TX
|
|
466
|
+
success: true
|
|
467
|
+
'400':
|
|
468
|
+
$ref: '#/components/responses/400-bad-request'
|
|
469
|
+
'401':
|
|
470
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
471
|
+
'404':
|
|
472
|
+
$ref: '#/components/responses/404-not-found'
|
|
473
|
+
delete:
|
|
474
|
+
x-internal: false
|
|
475
|
+
operationId: deleteLookupCacheDataKeys
|
|
476
|
+
tags:
|
|
477
|
+
- Lookup Caches
|
|
478
|
+
summary: Delete specific keys from a lookup cache
|
|
479
|
+
description: |-
|
|
480
|
+
Removes named keys from a lookup cache. Send the keys to delete in the request
|
|
481
|
+
body. To wipe every entry instead, call `DELETE /v1/lookupcaches/{_id}/data/purge`.
|
|
482
|
+
|
|
483
|
+
Send the request with `Content-Type: application/json`. The body must be a
|
|
484
|
+
JSON object with a `keys` property; a request with no body is rejected as
|
|
485
|
+
`missing_parameter`. The response reports `success: true` for every
|
|
486
|
+
submitted key, including keys that did not exist in the cache.
|
|
487
|
+
parameters:
|
|
488
|
+
- name: _id
|
|
489
|
+
in: path
|
|
490
|
+
required: true
|
|
491
|
+
description: Lookup cache id.
|
|
492
|
+
schema:
|
|
493
|
+
type: string
|
|
494
|
+
format: objectId
|
|
495
|
+
x-celigo-refModel: lookupcaches
|
|
496
|
+
examples:
|
|
497
|
+
- 69c2eb25365fb658aa39c642
|
|
498
|
+
requestBody:
|
|
499
|
+
required: true
|
|
500
|
+
content:
|
|
501
|
+
application/json:
|
|
502
|
+
schema:
|
|
503
|
+
$ref: '#/components/schemas/LookupCacheDataDeleteRequest'
|
|
504
|
+
examples:
|
|
505
|
+
default:
|
|
506
|
+
summary: Delete two keys
|
|
507
|
+
value:
|
|
508
|
+
keys:
|
|
509
|
+
- CA
|
|
510
|
+
- NY
|
|
511
|
+
responses:
|
|
512
|
+
'200':
|
|
513
|
+
description: Delete accepted. Per-key results in response.
|
|
514
|
+
content:
|
|
515
|
+
application/json:
|
|
516
|
+
schema:
|
|
517
|
+
$ref: '#/components/schemas/LookupCacheDataDeleteResponse'
|
|
518
|
+
examples:
|
|
519
|
+
default:
|
|
520
|
+
value:
|
|
521
|
+
success: true
|
|
522
|
+
data:
|
|
523
|
+
- key: CA
|
|
524
|
+
success: true
|
|
525
|
+
- key: NY
|
|
526
|
+
success: true
|
|
527
|
+
'400':
|
|
528
|
+
$ref: '#/components/responses/400-bad-request'
|
|
529
|
+
'401':
|
|
530
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
531
|
+
'404':
|
|
532
|
+
$ref: '#/components/responses/404-not-found'
|
|
533
|
+
/v1/lookupcaches/{_id}/getData:
|
|
534
|
+
post:
|
|
535
|
+
x-internal: false
|
|
536
|
+
operationId: getLookupCacheData
|
|
537
|
+
tags:
|
|
538
|
+
- Lookup Caches
|
|
539
|
+
summary: Read entries from a lookup cache
|
|
540
|
+
description: |-
|
|
541
|
+
Returns entries stored in a lookup cache. Called as `POST` (not `GET`) so the
|
|
542
|
+
query — explicit keys or a prefix — can travel in the request body.
|
|
543
|
+
|
|
544
|
+
Body variants:
|
|
545
|
+
- omitted or `{}` → first page of all entries (up to ~1000, unordered).
|
|
546
|
+
- `{keys: [...]}` → one entry per requested key. Hits carry `value`; misses
|
|
547
|
+
carry `error: {message}` — missing keys are **reported**, not silently
|
|
548
|
+
omitted. Branch on `error` vs `value` when consuming the response.
|
|
549
|
+
- `{startsWith: "prefix"}` → every entry whose key begins with `prefix`
|
|
550
|
+
(case-sensitive).
|
|
551
|
+
|
|
552
|
+
`keys` and `startsWith` are treated as mutually exclusive client-side; if both
|
|
553
|
+
are supplied the server honors `keys` and ignores `startsWith`. Keys are
|
|
554
|
+
case-sensitive. There is no pagination cursor for unfiltered reads; for
|
|
555
|
+
caches larger than ~1000 entries, use a prefix scheme with `startsWith`.
|
|
556
|
+
parameters:
|
|
557
|
+
- name: _id
|
|
558
|
+
in: path
|
|
559
|
+
required: true
|
|
560
|
+
description: Lookup cache id.
|
|
561
|
+
schema:
|
|
562
|
+
type: string
|
|
563
|
+
format: objectId
|
|
564
|
+
x-celigo-refModel: lookupcaches
|
|
565
|
+
examples:
|
|
566
|
+
- 69c2eb25365fb658aa39c642
|
|
567
|
+
requestBody:
|
|
568
|
+
required: false
|
|
569
|
+
content:
|
|
570
|
+
application/json:
|
|
571
|
+
schema:
|
|
572
|
+
$ref: '#/components/schemas/LookupCacheDataReadRequest'
|
|
573
|
+
examples:
|
|
574
|
+
all:
|
|
575
|
+
summary: First page of every entry (no filter)
|
|
576
|
+
value: {}
|
|
577
|
+
by_keys:
|
|
578
|
+
summary: Fetch specific keys
|
|
579
|
+
value:
|
|
580
|
+
keys:
|
|
581
|
+
- CA
|
|
582
|
+
- NY
|
|
583
|
+
by_prefix:
|
|
584
|
+
summary: Fetch every entry whose key starts with a prefix
|
|
585
|
+
value:
|
|
586
|
+
startsWith: tenant-42/
|
|
587
|
+
responses:
|
|
588
|
+
'200':
|
|
589
|
+
description: Matched entries.
|
|
590
|
+
content:
|
|
591
|
+
application/json:
|
|
592
|
+
schema:
|
|
593
|
+
$ref: '#/components/schemas/LookupCacheDataReadResponse'
|
|
594
|
+
examples:
|
|
595
|
+
hits_and_misses:
|
|
596
|
+
summary: Mix of found and missing keys
|
|
597
|
+
value:
|
|
598
|
+
success: true
|
|
599
|
+
data:
|
|
600
|
+
- key: CA
|
|
601
|
+
value: California
|
|
602
|
+
- key: NY
|
|
603
|
+
value: New York
|
|
604
|
+
- key: ZZ
|
|
605
|
+
error:
|
|
606
|
+
message: Key not found
|
|
607
|
+
'400':
|
|
608
|
+
$ref: '#/components/responses/400-bad-request'
|
|
609
|
+
'401':
|
|
610
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
611
|
+
'404':
|
|
612
|
+
$ref: '#/components/responses/404-not-found'
|
|
613
|
+
/v1/lookupcaches/{_id}/data/purge:
|
|
614
|
+
delete:
|
|
615
|
+
x-internal: false
|
|
616
|
+
operationId: purgeLookupCacheData
|
|
617
|
+
tags:
|
|
618
|
+
- Lookup Caches
|
|
619
|
+
summary: Purge all data from a lookup cache
|
|
620
|
+
description: |-
|
|
621
|
+
Removes every entry from a lookup cache. The cache itself is preserved — only
|
|
622
|
+
its contents are cleared. Use this instead of deleting-and-recreating when you
|
|
623
|
+
want to keep the cache's `_id`, name, and any references from flows intact.
|
|
624
|
+
This operation is irreversible. To delete a subset of keys, use
|
|
625
|
+
`DELETE /v1/lookupcaches/{_id}/data` with a `keys` body.
|
|
626
|
+
parameters:
|
|
627
|
+
- name: _id
|
|
628
|
+
in: path
|
|
629
|
+
required: true
|
|
630
|
+
description: Lookup cache id.
|
|
631
|
+
schema:
|
|
632
|
+
type: string
|
|
633
|
+
format: objectId
|
|
634
|
+
x-celigo-refModel: lookupcaches
|
|
635
|
+
examples:
|
|
636
|
+
- 69c2eb25365fb658aa39c642
|
|
637
|
+
responses:
|
|
638
|
+
'204':
|
|
639
|
+
description: Cache data was purged. No response body.
|
|
640
|
+
'401':
|
|
641
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
642
|
+
'404':
|
|
643
|
+
$ref: '#/components/responses/404-not-found'
|
|
644
|
+
/v1/lookupcaches/{_id}/dependencies:
|
|
645
|
+
get:
|
|
646
|
+
x-internal: false
|
|
647
|
+
operationId: listLookupCacheDependencies
|
|
648
|
+
tags:
|
|
649
|
+
- Lookup Caches
|
|
650
|
+
summary: List dependencies of a lookup cache
|
|
651
|
+
description: |-
|
|
652
|
+
Returns the set of resources that depend on the specified resource.
|
|
653
|
+
The response is an object whose keys are dependent-resource types
|
|
654
|
+
(e.g. `flows`, `imports`) and whose values are arrays of dependency
|
|
655
|
+
entries. An empty object `{}` means no dependents exist (also
|
|
656
|
+
returned for a well-formatted but nonexistent id).
|
|
657
|
+
parameters:
|
|
658
|
+
- name: _id
|
|
659
|
+
in: path
|
|
660
|
+
required: true
|
|
661
|
+
description: Resource ID.
|
|
662
|
+
schema:
|
|
663
|
+
type: string
|
|
664
|
+
format: objectId
|
|
665
|
+
x-celigo-refModel: lookupcaches
|
|
666
|
+
examples:
|
|
667
|
+
- 69c2eb25365fb658aa39c642
|
|
668
|
+
responses:
|
|
669
|
+
'200':
|
|
670
|
+
description: |
|
|
671
|
+
Dependency map. Keys are resource-type strings; values are arrays
|
|
672
|
+
of dependency entries. Returns `{}` when no dependents exist.
|
|
673
|
+
content:
|
|
674
|
+
application/json:
|
|
675
|
+
schema:
|
|
676
|
+
$ref: '#/components/schemas/DependencyResponse'
|
|
677
|
+
examples:
|
|
678
|
+
none:
|
|
679
|
+
summary: No dependents (also returned for a nonexistent ID)
|
|
680
|
+
value: {}
|
|
681
|
+
'401':
|
|
682
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
683
|
+
components:
|
|
684
|
+
securitySchemes:
|
|
685
|
+
bearerAuth:
|
|
686
|
+
type: http
|
|
687
|
+
scheme: bearer
|
|
688
|
+
schemas:
|
|
689
|
+
LookupCacheBase:
|
|
690
|
+
type: object
|
|
691
|
+
description: Writable fields shared by the request and response schemas.
|
|
692
|
+
properties:
|
|
693
|
+
name:
|
|
694
|
+
type: string
|
|
695
|
+
maxLength: 200
|
|
696
|
+
description: Display name.
|
|
697
|
+
examples:
|
|
698
|
+
- Customer ID Cache
|
|
699
|
+
- Product SKU Lookup
|
|
700
|
+
description:
|
|
701
|
+
type: string
|
|
702
|
+
maxLength: 5120
|
|
703
|
+
description: Purpose or contents of the cache.
|
|
704
|
+
examples:
|
|
705
|
+
- Maps external customer IDs to internal Salesforce IDs for deduplication
|
|
706
|
+
includeDataInTemplatesAndCloning:
|
|
707
|
+
type: boolean
|
|
708
|
+
default: false
|
|
709
|
+
description: |-
|
|
710
|
+
Whether to include the cached key-value data when this cache is
|
|
711
|
+
used in templates or cloned. When `false` (default), only
|
|
712
|
+
metadata transfers. Set to `true` for static reference tables.
|
|
713
|
+
examples:
|
|
714
|
+
- false
|
|
715
|
+
- true
|
|
716
|
+
x-celigo-ai-guidance:
|
|
717
|
+
- |-
|
|
718
|
+
When false (default), only the cache metadata is included — the actual
|
|
719
|
+
key-value data is not transferred. Set to true if the cached data is
|
|
720
|
+
part of the integration's configuration (e.g., static reference tables).
|
|
721
|
+
externalId:
|
|
722
|
+
type: string
|
|
723
|
+
description: Caller-supplied identifier for cross-system correlation.
|
|
724
|
+
examples:
|
|
725
|
+
- ext-cache-12345
|
|
726
|
+
ResourceResponse:
|
|
727
|
+
type: object
|
|
728
|
+
description: Response
|
|
729
|
+
x-celigo-ai-guidance:
|
|
730
|
+
- Core response fields shared by all Celigo resources
|
|
731
|
+
properties:
|
|
732
|
+
_id:
|
|
733
|
+
type: string
|
|
734
|
+
format: objectId
|
|
735
|
+
readOnly: true
|
|
736
|
+
description: Unique identifier for the resource. Format is a 24-character hexadecimal string.
|
|
737
|
+
x-celigo-ai-guidance:
|
|
738
|
+
- |-
|
|
739
|
+
The _id is used in:
|
|
740
|
+
- API endpoints that operate on a specific resource (e.g., GET, PUT, DELETE)
|
|
741
|
+
- References from other resources (e.g., flows that use this resource)
|
|
742
|
+
- Job history and error tracking
|
|
743
|
+
examples:
|
|
744
|
+
- 5f8d43a1b9e5a80011a35f2c
|
|
745
|
+
createdAt:
|
|
746
|
+
type: string
|
|
747
|
+
format: date-time
|
|
748
|
+
readOnly: true
|
|
749
|
+
description: Timestamp when the resource was created. Set automatically and cannot be modified.
|
|
750
|
+
x-celigo-ai-guidance:
|
|
751
|
+
- Recorded in ISO 8601 with a UTC timezone (Z suffix).
|
|
752
|
+
examples:
|
|
753
|
+
- '2023-04-01T09:15:32Z'
|
|
754
|
+
lastModified:
|
|
755
|
+
type: string
|
|
756
|
+
format: date-time
|
|
757
|
+
readOnly: true
|
|
758
|
+
description: Timestamp when the resource was last updated. Changes whenever any property is modified.
|
|
759
|
+
x-celigo-ai-guidance:
|
|
760
|
+
- Recorded in ISO 8601 with a UTC timezone (Z suffix); always equal to or later than `createdAt`.
|
|
761
|
+
examples:
|
|
762
|
+
- '2023-04-15T14:30:15Z'
|
|
763
|
+
deletedAt:
|
|
764
|
+
type:
|
|
765
|
+
- string
|
|
766
|
+
- 'null'
|
|
767
|
+
format: date-time
|
|
768
|
+
readOnly: true
|
|
769
|
+
description: Timestamp when the resource was soft-deleted. When null or absent, the resource is active.
|
|
770
|
+
x-celigo-ai-guidance:
|
|
771
|
+
- Non-null means the resource is soft-deleted (in the recycle bin) — recoverable within the retention period before permanent removal.
|
|
772
|
+
examples:
|
|
773
|
+
- '2023-05-20T11:45:32Z'
|
|
774
|
+
required:
|
|
775
|
+
- _id
|
|
776
|
+
LookupCache:
|
|
777
|
+
type: object
|
|
778
|
+
required:
|
|
779
|
+
- _id
|
|
780
|
+
- _userId
|
|
781
|
+
- createdAt
|
|
782
|
+
- lastModified
|
|
783
|
+
description: Lookup cache object as returned by the API.
|
|
784
|
+
allOf:
|
|
785
|
+
- $ref: '#/components/schemas/LookupCacheBase'
|
|
786
|
+
- $ref: '#/components/schemas/ResourceResponse'
|
|
787
|
+
- type: object
|
|
788
|
+
properties:
|
|
789
|
+
_userId:
|
|
790
|
+
type: string
|
|
791
|
+
format: objectId
|
|
792
|
+
readOnly: true
|
|
793
|
+
x-celigo-refModel: users
|
|
794
|
+
description: User who owns this lookup cache.
|
|
795
|
+
examples:
|
|
796
|
+
- 624cb0346309dc3a543733a2
|
|
797
|
+
_templateId:
|
|
798
|
+
type: string
|
|
799
|
+
format: objectId
|
|
800
|
+
readOnly: true
|
|
801
|
+
x-celigo-refModel: templates
|
|
802
|
+
description: Template this lookup cache was installed from, when it originated from a template.
|
|
803
|
+
examples:
|
|
804
|
+
- 6a27a36f9cea1a85192e72cd
|
|
805
|
+
_sourceId:
|
|
806
|
+
type: string
|
|
807
|
+
format: objectId
|
|
808
|
+
readOnly: true
|
|
809
|
+
description: Origin resource ID when this cache was created by cloning or installing a template.
|
|
810
|
+
examples:
|
|
811
|
+
- 5f8d43a1b9e5a80011a35f2c
|
|
812
|
+
size:
|
|
813
|
+
type: integer
|
|
814
|
+
minimum: 0
|
|
815
|
+
readOnly: true
|
|
816
|
+
description: Current size of the cached data in bytes. Maximum 50 MB per cache; 1 GB aggregate per environment.
|
|
817
|
+
examples:
|
|
818
|
+
- 0
|
|
819
|
+
- 1887
|
|
820
|
+
- 5242880
|
|
821
|
+
sizeInMB:
|
|
822
|
+
type: string
|
|
823
|
+
readOnly: true
|
|
824
|
+
description: |-
|
|
825
|
+
Human-readable size rounded up to the nearest 5 MB increment.
|
|
826
|
+
`"0 MB"` for empty caches, `"<5 MB"` through `"<50 MB"` for
|
|
827
|
+
non-empty caches, `"50 MB"` at the per-cache cap.
|
|
828
|
+
examples:
|
|
829
|
+
- 0 MB
|
|
830
|
+
- <5 MB
|
|
831
|
+
- <25 MB
|
|
832
|
+
- 50 MB
|
|
833
|
+
x-celigo-ai-guidance:
|
|
834
|
+
- |-
|
|
835
|
+
Human-readable representation of the cache size, rounded up to
|
|
836
|
+
the nearest 5 MB increment. Returns "0 MB" for empty caches,
|
|
837
|
+
"<N MB" for caches under 50 MB, and "50 MB" for caches at or
|
|
838
|
+
over the limit.
|
|
839
|
+
draft:
|
|
840
|
+
type: boolean
|
|
841
|
+
readOnly: true
|
|
842
|
+
description: When true, this cache was created as a draft by the AI-assisted builder and has not yet been confirmed.
|
|
843
|
+
examples:
|
|
844
|
+
- true
|
|
845
|
+
draftExpiresAt:
|
|
846
|
+
type: string
|
|
847
|
+
format: date-time
|
|
848
|
+
readOnly: true
|
|
849
|
+
description: When the draft cache expires and will be automatically deleted. Only present when `draft` is `true`.
|
|
850
|
+
examples:
|
|
851
|
+
- '2026-05-08T17:29:30.726Z'
|
|
852
|
+
Request:
|
|
853
|
+
type: object
|
|
854
|
+
description: Writable fields for creating or updating a lookup cache.
|
|
855
|
+
allOf:
|
|
856
|
+
- $ref: '#/components/schemas/LookupCacheBase'
|
|
857
|
+
Error:
|
|
858
|
+
type: object
|
|
859
|
+
description: Standard error response envelope returned by integrator.io APIs.
|
|
860
|
+
properties:
|
|
861
|
+
errors:
|
|
862
|
+
type: array
|
|
863
|
+
description: List of errors that occurred while processing the request.
|
|
864
|
+
items:
|
|
865
|
+
type: object
|
|
866
|
+
properties:
|
|
867
|
+
code:
|
|
868
|
+
oneOf:
|
|
869
|
+
- type: string
|
|
870
|
+
- type: integer
|
|
871
|
+
description: |-
|
|
872
|
+
Machine-readable error code. Usually a string like
|
|
873
|
+
`invalid_ref`, `missing_required_field`, or `unauthorized`;
|
|
874
|
+
may be an **integer** when the error mirrors an upstream HTTP
|
|
875
|
+
status (e.g. `500`) — most commonly returned by connection-ping
|
|
876
|
+
and adaptor-proxy responses.
|
|
877
|
+
message:
|
|
878
|
+
type: string
|
|
879
|
+
description: Human-readable description of the error.
|
|
880
|
+
field:
|
|
881
|
+
type: string
|
|
882
|
+
description: |-
|
|
883
|
+
Optional pointer to the document field that caused the error.
|
|
884
|
+
Used by structural validation errors (`missing_required_field`,
|
|
885
|
+
`invalid_ref`) to indicate which field is at fault
|
|
886
|
+
(e.g. `_id`, `type`, `http.baseURI`).
|
|
887
|
+
source:
|
|
888
|
+
type: string
|
|
889
|
+
description: |-
|
|
890
|
+
Optional origin layer for the error — e.g. `application` when
|
|
891
|
+
the error came from the remote system the adaptor called,
|
|
892
|
+
`connector` when the adaptor itself rejected the request.
|
|
893
|
+
required:
|
|
894
|
+
- message
|
|
895
|
+
required:
|
|
896
|
+
- errors
|
|
897
|
+
JsonPatchOperation:
|
|
898
|
+
type: object
|
|
899
|
+
description: A single JSON Patch operation (RFC 6902).
|
|
900
|
+
required:
|
|
901
|
+
- op
|
|
902
|
+
- path
|
|
903
|
+
properties:
|
|
904
|
+
op:
|
|
905
|
+
type: string
|
|
906
|
+
enum:
|
|
907
|
+
- replace
|
|
908
|
+
- add
|
|
909
|
+
- remove
|
|
910
|
+
x-enumDescriptions:
|
|
911
|
+
replace: Replaces the value at the specified path.
|
|
912
|
+
add: Sets the value at the specified path.
|
|
913
|
+
remove: Removes the value at the specified path.
|
|
914
|
+
description: The operation to perform.
|
|
915
|
+
path:
|
|
916
|
+
type: string
|
|
917
|
+
description: |-
|
|
918
|
+
JSON Pointer (RFC 6901) to the field to patch. Only
|
|
919
|
+
whitelisted paths are accepted — unlisted paths return
|
|
920
|
+
`422` with `"<path> is not a whitelisted property"`.
|
|
921
|
+
value:
|
|
922
|
+
description: The new value to set. Required for `replace` and `add`, omit for `remove`.
|
|
923
|
+
JsonPatchRequest:
|
|
924
|
+
type: array
|
|
925
|
+
description: |-
|
|
926
|
+
A JSON Patch document (RFC 6902). Send an array of patch
|
|
927
|
+
operations on whitelisted fields — all other paths are rejected
|
|
928
|
+
with 422.
|
|
929
|
+
minItems: 1
|
|
930
|
+
items:
|
|
931
|
+
$ref: '#/components/schemas/JsonPatchOperation'
|
|
932
|
+
ClonePreviewResponse:
|
|
933
|
+
type: object
|
|
934
|
+
description: |
|
|
935
|
+
Preview of the resources that would be created by a clone operation.
|
|
936
|
+
Each object in the `objects` array represents a resource that will be
|
|
937
|
+
cloned, including the target resource and all transitive dependencies
|
|
938
|
+
(connections, scripts, exports, imports, etc.).
|
|
939
|
+
properties:
|
|
940
|
+
objects:
|
|
941
|
+
type: array
|
|
942
|
+
description: |
|
|
943
|
+
List of resources that would be created by the clone. Always includes
|
|
944
|
+
the target resource and may include transitive dependencies such as
|
|
945
|
+
connections, scripts, exports, imports, async helpers, and lookup caches.
|
|
946
|
+
items:
|
|
947
|
+
type: object
|
|
948
|
+
properties:
|
|
949
|
+
model:
|
|
950
|
+
type: string
|
|
951
|
+
description: |
|
|
952
|
+
The model type of the resource. Observed values include
|
|
953
|
+
AsyncHelper, Connection, Export, Flow, Import, Integration,
|
|
954
|
+
LookupCache, Script, and Tool.
|
|
955
|
+
examples:
|
|
956
|
+
- Flow
|
|
957
|
+
doc:
|
|
958
|
+
type: object
|
|
959
|
+
description: The full resource document that would be created by the clone.
|
|
960
|
+
additionalProperties: true
|
|
961
|
+
stackRequired:
|
|
962
|
+
type: boolean
|
|
963
|
+
description: Whether the clone requires a stack (connector-level) environment to proceed.
|
|
964
|
+
_stackId:
|
|
965
|
+
type:
|
|
966
|
+
- string
|
|
967
|
+
- 'null'
|
|
968
|
+
description: The stack id associated with the resource, or null if no stack is involved.
|
|
969
|
+
examples:
|
|
970
|
+
- 5f8d43a1b9e5a80011a35f2c
|
|
971
|
+
LookupCacheDataEntry:
|
|
972
|
+
type: object
|
|
973
|
+
description: |-
|
|
974
|
+
A single key-value pair stored in a lookup cache. Keys are strings; values are
|
|
975
|
+
either strings or objects — the cache preserves whichever JSON shape was
|
|
976
|
+
upserted. Top-level arrays are **rejected** at upsert with
|
|
977
|
+
`400 invalid_value "The value provided corresponding to the key: <k> is invalid"`;
|
|
978
|
+
callers that need to store an array should wrap it in an object
|
|
979
|
+
(e.g. `{ "items": [...] }`).
|
|
980
|
+
properties:
|
|
981
|
+
key:
|
|
982
|
+
type: string
|
|
983
|
+
description: |-
|
|
984
|
+
Lookup key. Treated as an opaque string by the cache — case-sensitive, no
|
|
985
|
+
normalization. The same cache can hold multiple entries that differ only in
|
|
986
|
+
case (e.g. `CA` and `ca`).
|
|
987
|
+
examples:
|
|
988
|
+
- CA
|
|
989
|
+
- ext-customer-12345
|
|
990
|
+
value:
|
|
991
|
+
description: |-
|
|
992
|
+
Value associated with the key. May be a string or an object; nested arrays
|
|
993
|
+
inside an object are fine. Top-level arrays are rejected — wrap them.
|
|
994
|
+
Consumers should check the runtime type before use.
|
|
995
|
+
oneOf:
|
|
996
|
+
- title: String value
|
|
997
|
+
type: string
|
|
998
|
+
- title: Object value
|
|
999
|
+
type: object
|
|
1000
|
+
additionalProperties: true
|
|
1001
|
+
examples:
|
|
1002
|
+
- California
|
|
1003
|
+
- customerId: 0015g00000abc
|
|
1004
|
+
- ts: '2026-04-22T00:00:00Z'
|
|
1005
|
+
LookupCacheDataUpsertRequest:
|
|
1006
|
+
type: object
|
|
1007
|
+
description: |-
|
|
1008
|
+
Request body for upserting key-value entries into a lookup cache. `data` must be
|
|
1009
|
+
a non-empty array. Keys already present are overwritten; new keys are created.
|
|
1010
|
+
|
|
1011
|
+
The service rejects batches larger than ~1000 entries or ~5 MB — callers inserting
|
|
1012
|
+
more than that should split into multiple requests (the Celigo CLI auto-batches
|
|
1013
|
+
at 1000 entries / 5 MB).
|
|
1014
|
+
properties:
|
|
1015
|
+
data:
|
|
1016
|
+
type: array
|
|
1017
|
+
minItems: 1
|
|
1018
|
+
description: Entries to upsert. Must contain at least one item.
|
|
1019
|
+
items:
|
|
1020
|
+
$ref: '#/components/schemas/LookupCacheDataEntry'
|
|
1021
|
+
required:
|
|
1022
|
+
- data
|
|
1023
|
+
LookupCacheKeyResult:
|
|
1024
|
+
type: object
|
|
1025
|
+
description: |-
|
|
1026
|
+
Per-key result returned by the upsert and delete-keys endpoints. The `success`
|
|
1027
|
+
flag reflects whether the individual key operation succeeded; the wrapping
|
|
1028
|
+
response's `success` flag reflects whether the request as a whole was accepted.
|
|
1029
|
+
|
|
1030
|
+
For deletes, `success: true` is returned even for keys that did not exist in the
|
|
1031
|
+
cache — the API does not distinguish between "deleted" and "absent."
|
|
1032
|
+
properties:
|
|
1033
|
+
key:
|
|
1034
|
+
type: string
|
|
1035
|
+
description: The key this result applies to.
|
|
1036
|
+
examples:
|
|
1037
|
+
- CA
|
|
1038
|
+
success:
|
|
1039
|
+
type: boolean
|
|
1040
|
+
description: When true, the operation on this key completed successfully.
|
|
1041
|
+
LookupCacheDataUpsertResponse:
|
|
1042
|
+
type: object
|
|
1043
|
+
description: |-
|
|
1044
|
+
Response from a successful lookup-cache upsert. Contains a per-key success flag
|
|
1045
|
+
for every entry in the request — in the same order as submitted.
|
|
1046
|
+
properties:
|
|
1047
|
+
success:
|
|
1048
|
+
type: boolean
|
|
1049
|
+
description: When true, the server accepted the upsert request. Individual key results are in `data`.
|
|
1050
|
+
data:
|
|
1051
|
+
type: array
|
|
1052
|
+
description: Per-key results, one entry per submitted key.
|
|
1053
|
+
items:
|
|
1054
|
+
$ref: '#/components/schemas/LookupCacheKeyResult'
|
|
1055
|
+
LookupCacheDataDeleteRequest:
|
|
1056
|
+
type: object
|
|
1057
|
+
description: |-
|
|
1058
|
+
Request body for deleting specific keys from a lookup cache. The `keys` array
|
|
1059
|
+
may be empty (the endpoint returns `{success: true, data: []}`), but the field
|
|
1060
|
+
itself must be present — a request body missing `keys` is rejected with
|
|
1061
|
+
`missing_parameter`.
|
|
1062
|
+
|
|
1063
|
+
To remove every entry from a cache instead, call
|
|
1064
|
+
`DELETE /v1/lookupcaches/{_id}/data/purge`.
|
|
1065
|
+
properties:
|
|
1066
|
+
keys:
|
|
1067
|
+
type: array
|
|
1068
|
+
description: Keys to remove from the cache.
|
|
1069
|
+
items:
|
|
1070
|
+
type: string
|
|
1071
|
+
examples:
|
|
1072
|
+
- - CA
|
|
1073
|
+
- NY
|
|
1074
|
+
required:
|
|
1075
|
+
- keys
|
|
1076
|
+
LookupCacheDataDeleteResponse:
|
|
1077
|
+
type: object
|
|
1078
|
+
description: |-
|
|
1079
|
+
Response from a successful delete-keys call. Mirrors the upsert response shape:
|
|
1080
|
+
one per-key result entry per submitted key, in submission order.
|
|
1081
|
+
|
|
1082
|
+
Note: `success: true` is returned for every submitted key regardless of whether
|
|
1083
|
+
it actually existed in the cache — the endpoint does not distinguish between
|
|
1084
|
+
"deleted" and "absent." Callers that need that distinction should read the
|
|
1085
|
+
cache first.
|
|
1086
|
+
properties:
|
|
1087
|
+
success:
|
|
1088
|
+
type: boolean
|
|
1089
|
+
description: When true, the server accepted the delete request. Individual key results are in `data`.
|
|
1090
|
+
data:
|
|
1091
|
+
type: array
|
|
1092
|
+
description: Per-key results, one entry per submitted key.
|
|
1093
|
+
items:
|
|
1094
|
+
$ref: '#/components/schemas/LookupCacheKeyResult'
|
|
1095
|
+
LookupCacheDataReadRequest:
|
|
1096
|
+
type: object
|
|
1097
|
+
description: |-
|
|
1098
|
+
Request body for reading entries from a lookup cache.
|
|
1099
|
+
|
|
1100
|
+
All fields are optional. If omitted, the endpoint returns the first page of the
|
|
1101
|
+
cache (up to ~1000 entries, unordered). `keys` and `startsWith` should be
|
|
1102
|
+
treated as mutually exclusive — if both are supplied the server honors `keys`
|
|
1103
|
+
and ignores `startsWith`. An empty JSON body (`{}`) is equivalent to calling
|
|
1104
|
+
the endpoint with no body.
|
|
1105
|
+
properties:
|
|
1106
|
+
keys:
|
|
1107
|
+
type: array
|
|
1108
|
+
description: |-
|
|
1109
|
+
Explicit keys to fetch. The response returns one `data[]` entry per
|
|
1110
|
+
requested key: hits carry `value`, misses carry `error: {message}` — both
|
|
1111
|
+
surface in the same array. Branch on the presence of `error` vs `value`
|
|
1112
|
+
when consuming the response.
|
|
1113
|
+
items:
|
|
1114
|
+
type: string
|
|
1115
|
+
examples:
|
|
1116
|
+
- - CA
|
|
1117
|
+
- NY
|
|
1118
|
+
- TX
|
|
1119
|
+
startsWith:
|
|
1120
|
+
type: string
|
|
1121
|
+
description: |-
|
|
1122
|
+
Key prefix filter. Returns every entry whose key begins with the supplied
|
|
1123
|
+
string (case-sensitive). Useful for namespaced keys like
|
|
1124
|
+
`tenant-42/customer-…`.
|
|
1125
|
+
examples:
|
|
1126
|
+
- tenant-42/
|
|
1127
|
+
LookupCacheDataMissingEntry:
|
|
1128
|
+
type: object
|
|
1129
|
+
description: |-
|
|
1130
|
+
Per-key read result returned when a requested `keys[]` entry was not present in
|
|
1131
|
+
the cache. Surfaces in `data[]` alongside successful `LookupCacheDataEntry`
|
|
1132
|
+
items — callers should check for an `error` sub-object to distinguish hits from
|
|
1133
|
+
misses.
|
|
1134
|
+
properties:
|
|
1135
|
+
key:
|
|
1136
|
+
type: string
|
|
1137
|
+
description: The key that was not found.
|
|
1138
|
+
examples:
|
|
1139
|
+
- ZZ
|
|
1140
|
+
error:
|
|
1141
|
+
type: object
|
|
1142
|
+
description: Miss diagnostic.
|
|
1143
|
+
properties:
|
|
1144
|
+
message:
|
|
1145
|
+
type: string
|
|
1146
|
+
description: Human-readable explanation of the miss.
|
|
1147
|
+
examples:
|
|
1148
|
+
- Key not found
|
|
1149
|
+
LookupCacheDataReadResponse:
|
|
1150
|
+
type: object
|
|
1151
|
+
description: |-
|
|
1152
|
+
Response from a successful lookup-cache read. Contains the matching entries.
|
|
1153
|
+
|
|
1154
|
+
When no filter is supplied, the response contains the first page of the cache
|
|
1155
|
+
(up to ~1000 entries). The API does not currently expose a pagination cursor for
|
|
1156
|
+
large caches — callers that need to iterate a cache larger than the page limit
|
|
1157
|
+
should use `startsWith` to narrow the result set, or key their data with a known
|
|
1158
|
+
prefix scheme.
|
|
1159
|
+
properties:
|
|
1160
|
+
success:
|
|
1161
|
+
type: boolean
|
|
1162
|
+
description: When true, the read request completed successfully.
|
|
1163
|
+
data:
|
|
1164
|
+
type: array
|
|
1165
|
+
description: |-
|
|
1166
|
+
Per-key results, one entry per key returned by the read. Hits carry `key` + `value`
|
|
1167
|
+
(`LookupCacheDataEntry`); misses on `keys[]`-filtered reads carry `key` + `error`
|
|
1168
|
+
(`LookupCacheDataMissingEntry`). Callers should switch on the presence of `error`
|
|
1169
|
+
vs `value` to distinguish. Order is not guaranteed.
|
|
1170
|
+
items:
|
|
1171
|
+
oneOf:
|
|
1172
|
+
- $ref: '#/components/schemas/LookupCacheDataEntry'
|
|
1173
|
+
- $ref: '#/components/schemas/LookupCacheDataMissingEntry'
|
|
1174
|
+
DependencyEntry:
|
|
1175
|
+
type: object
|
|
1176
|
+
description: A single resource that depends on the queried resource.
|
|
1177
|
+
properties:
|
|
1178
|
+
id:
|
|
1179
|
+
type: string
|
|
1180
|
+
description: Unique identifier of the dependent resource.
|
|
1181
|
+
examples:
|
|
1182
|
+
- 61f92026dd053843b5d72350
|
|
1183
|
+
name:
|
|
1184
|
+
type: string
|
|
1185
|
+
description: Display name of the dependent resource.
|
|
1186
|
+
examples:
|
|
1187
|
+
- Import Orders to NetSuite
|
|
1188
|
+
paths:
|
|
1189
|
+
type: array
|
|
1190
|
+
description: |-
|
|
1191
|
+
Dot-notation paths within the dependent resource that reference
|
|
1192
|
+
the target resource. `[*]` denotes array elements.
|
|
1193
|
+
items:
|
|
1194
|
+
type: string
|
|
1195
|
+
examples:
|
|
1196
|
+
- - hooks.preSavePage._scriptId
|
|
1197
|
+
accessLevel:
|
|
1198
|
+
type: string
|
|
1199
|
+
description: The caller's access level on the dependent resource.
|
|
1200
|
+
examples:
|
|
1201
|
+
- manage
|
|
1202
|
+
dependencyIds:
|
|
1203
|
+
type: object
|
|
1204
|
+
description: |-
|
|
1205
|
+
Map of resource types to arrays of IDs that this dependent
|
|
1206
|
+
resource references on the target. Keys are singular or plural
|
|
1207
|
+
resource type strings; values are arrays of ID strings.
|
|
1208
|
+
additionalProperties:
|
|
1209
|
+
type: array
|
|
1210
|
+
items:
|
|
1211
|
+
type: string
|
|
1212
|
+
example:
|
|
1213
|
+
script:
|
|
1214
|
+
- 64ff4b21612a134bd2f45531
|
|
1215
|
+
required:
|
|
1216
|
+
- id
|
|
1217
|
+
- name
|
|
1218
|
+
- paths
|
|
1219
|
+
- accessLevel
|
|
1220
|
+
- dependencyIds
|
|
1221
|
+
DependencyResponse:
|
|
1222
|
+
type: object
|
|
1223
|
+
description: |
|
|
1224
|
+
Map of dependent-resource types to arrays of dependency entries.
|
|
1225
|
+
Keys are plural resource type strings (e.g. `flows`, `imports`,
|
|
1226
|
+
`connections`). An empty object `{}` means no dependents.
|
|
1227
|
+
additionalProperties:
|
|
1228
|
+
type: array
|
|
1229
|
+
items:
|
|
1230
|
+
$ref: '#/components/schemas/DependencyEntry'
|
|
1231
|
+
example:
|
|
1232
|
+
exports:
|
|
1233
|
+
- id: 64ff4b21612a134bd2f45534
|
|
1234
|
+
name: Bank FTP Export
|
|
1235
|
+
paths:
|
|
1236
|
+
- hooks.preSavePage._scriptId
|
|
1237
|
+
accessLevel: manage
|
|
1238
|
+
dependencyIds:
|
|
1239
|
+
script:
|
|
1240
|
+
- 64ff4b21612a134bd2f45531
|
|
1241
|
+
flows:
|
|
1242
|
+
- id: 64ff4b22612a134bd2f45538
|
|
1243
|
+
name: CAMT-053 to Celigo CAM Format
|
|
1244
|
+
paths:
|
|
1245
|
+
- pageGenerators[*]._exportId
|
|
1246
|
+
accessLevel: manage
|
|
1247
|
+
dependencyIds:
|
|
1248
|
+
export:
|
|
1249
|
+
- 64ff4b21612a134bd2f45534
|
|
1250
|
+
responses:
|
|
1251
|
+
401-unauthorized:
|
|
1252
|
+
description: |-
|
|
1253
|
+
Unauthorized. The request lacks a valid bearer token, or the provided token
|
|
1254
|
+
failed to authenticate.
|
|
1255
|
+
|
|
1256
|
+
Note: the 401 response is produced by the auth middleware **before** the
|
|
1257
|
+
request reaches the endpoint handler, so it does **not** follow the
|
|
1258
|
+
standard `{errors: [...]}` envelope. Instead the body is a bare
|
|
1259
|
+
`{message: string}` object with no `code`, no `errors` array. Callers
|
|
1260
|
+
handling 401s should key off the HTTP status and the `message` string,
|
|
1261
|
+
not try to destructure an `errors[]`.
|
|
1262
|
+
content:
|
|
1263
|
+
application/json:
|
|
1264
|
+
schema:
|
|
1265
|
+
type: object
|
|
1266
|
+
properties:
|
|
1267
|
+
message:
|
|
1268
|
+
type: string
|
|
1269
|
+
description: |-
|
|
1270
|
+
Human-readable description of the auth failure. Known values:
|
|
1271
|
+
- `"Unauthorized"` — no `Authorization` header on the request.
|
|
1272
|
+
- `"Bearer Authentication Failed"` — header present but token
|
|
1273
|
+
is invalid, revoked, or expired.
|
|
1274
|
+
required:
|
|
1275
|
+
- message
|
|
1276
|
+
examples:
|
|
1277
|
+
missing_token:
|
|
1278
|
+
summary: No Authorization header sent
|
|
1279
|
+
value:
|
|
1280
|
+
message: Unauthorized
|
|
1281
|
+
invalid_token:
|
|
1282
|
+
summary: Bearer token invalid or revoked
|
|
1283
|
+
value:
|
|
1284
|
+
message: Bearer Authentication Failed
|
|
1285
|
+
400-bad-request:
|
|
1286
|
+
description: |
|
|
1287
|
+
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
|
|
1288
|
+
content:
|
|
1289
|
+
application/json:
|
|
1290
|
+
schema:
|
|
1291
|
+
$ref: '#/components/schemas/Error'
|
|
1292
|
+
examples:
|
|
1293
|
+
default:
|
|
1294
|
+
value:
|
|
1295
|
+
errors:
|
|
1296
|
+
- code: invalid_request
|
|
1297
|
+
message: The request body failed validation.
|
|
1298
|
+
404-not-found:
|
|
1299
|
+
description: |
|
|
1300
|
+
Not found. The requested resource does not exist or is not visible to the caller.
|
|
1301
|
+
content:
|
|
1302
|
+
application/json:
|
|
1303
|
+
schema:
|
|
1304
|
+
$ref: '#/components/schemas/Error'
|
|
1305
|
+
examples:
|
|
1306
|
+
default:
|
|
1307
|
+
value:
|
|
1308
|
+
errors:
|
|
1309
|
+
- code: not_found
|
|
1310
|
+
message: The requested resource was not found.
|
|
1311
|
+
422-unprocessable-entity:
|
|
1312
|
+
description: |
|
|
1313
|
+
Unprocessable entity. The request was well-formed but was unable to be followed due to semantic errors.
|
|
1314
|
+
content:
|
|
1315
|
+
application/json:
|
|
1316
|
+
schema:
|
|
1317
|
+
$ref: '#/components/schemas/Error'
|
|
1318
|
+
examples:
|
|
1319
|
+
default:
|
|
1320
|
+
value:
|
|
1321
|
+
errors:
|
|
1322
|
+
- code: unprocessable_entity
|
|
1323
|
+
message: The request could not be processed due to a semantic error.
|
|
1324
|
+
x-enable-proxy: true
|
|
1325
|
+
x-internal: false
|