@celigo/api-specs 0.2.266 → 0.2.267
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-agent.yml +8 -8
- package/dist/api.yml +48 -8
- package/dist/connection.yml +129 -14
- package/dist/eventreport.yml +12 -1
- package/dist/flow.yml +12 -1
- package/dist/import.yml +9 -4
- package/dist/job.yml +35 -4
- package/dist/notification.yml +19 -2
- package/dist/sync.yml +216 -36
- package/dist/tool.yml +9 -4
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/ai-agent.yml
CHANGED
|
@@ -675,7 +675,7 @@ paths:
|
|
|
675
675
|
data: Latest stable Python 3 release: 3.15.0 — source: python.org.
|
|
676
676
|
|
|
677
677
|
event: usage
|
|
678
|
-
data: {"content": {"model": "gpt-5-mini", "input_tokens": 9218, "output_tokens": 737, "total_tokens": 9955, "token_only_ai_credits": 0.004345275, "
|
|
678
|
+
data: {"content": {"model": "gpt-5-mini", "input_tokens": 9218, "output_tokens": 737, "total_tokens": 9955, "token_only_ai_credits": 0.004345275, "total_cost": 0.015845275, "web_search_details": {"billed_search_actions": 1, "tool_call_ai_credits": 0.0115}, "tool_call_buckets": [{"category": "native_tool", "total_count": 1, "tools": [{"name": "web_search", "count": 1}]}]}}
|
|
679
679
|
|
|
680
680
|
event: complete
|
|
681
681
|
data: {"success": true}
|
|
@@ -6823,7 +6823,7 @@ components:
|
|
|
6823
6823
|
- gpt-4.1-mini-2025-04-14
|
|
6824
6824
|
total_cost:
|
|
6825
6825
|
type: number
|
|
6826
|
-
description:
|
|
6826
|
+
description: Price of the call in AI credits, tool charges included.
|
|
6827
6827
|
examples:
|
|
6828
6828
|
- 0.00042
|
|
6829
6829
|
image_generation_details:
|
|
@@ -6847,6 +6847,11 @@ components:
|
|
|
6847
6847
|
description: Number of web search actions billed for the request.
|
|
6848
6848
|
examples:
|
|
6849
6849
|
- 1
|
|
6850
|
+
tool_call_ai_credits:
|
|
6851
|
+
type: number
|
|
6852
|
+
description: AI credits charged for the searches.
|
|
6853
|
+
examples:
|
|
6854
|
+
- 0.0115
|
|
6850
6855
|
model:
|
|
6851
6856
|
type: string
|
|
6852
6857
|
description: Model used for the web search calls.
|
|
@@ -6867,16 +6872,11 @@ components:
|
|
|
6867
6872
|
- object
|
|
6868
6873
|
- 'null'
|
|
6869
6874
|
description: MCP tool usage details, if applicable.
|
|
6870
|
-
token_only_raw_cost:
|
|
6871
|
-
type: number
|
|
6872
|
-
description: Token-only cost before platform markup.
|
|
6873
|
-
examples:
|
|
6874
|
-
- 0.00031
|
|
6875
6875
|
token_only_ai_credits:
|
|
6876
6876
|
type: number
|
|
6877
6877
|
description: AI credits consumed by token usage.
|
|
6878
6878
|
examples:
|
|
6879
|
-
- 0.
|
|
6879
|
+
- 0.000351325
|
|
6880
6880
|
timing:
|
|
6881
6881
|
type: object
|
|
6882
6882
|
description: Execution timing.
|
package/dist/api.yml
CHANGED
|
@@ -912,7 +912,7 @@ paths:
|
|
|
912
912
|
request and response of a single call.
|
|
913
913
|
|
|
914
914
|
Run history exists only for builder-mode APIs — a script-mode API id returns
|
|
915
|
-
|
|
915
|
+
422 `invalid_api_type`; an unknown id returns 404.
|
|
916
916
|
|
|
917
917
|
Results are cursor-paginated (`next`/`prev`). When `time_gte` / `time_lte`
|
|
918
918
|
are omitted, only the last 5 minutes are returned — pass an explicit window
|
|
@@ -1085,6 +1085,8 @@ paths:
|
|
|
1085
1085
|
$ref: '#/components/responses/403-forbidden'
|
|
1086
1086
|
'404':
|
|
1087
1087
|
$ref: '#/components/responses/404-not-found'
|
|
1088
|
+
'422':
|
|
1089
|
+
$ref: '#/components/responses/422-builder-only'
|
|
1088
1090
|
delete:
|
|
1089
1091
|
x-internal: false
|
|
1090
1092
|
operationId: deleteApiRequestLogs
|
|
@@ -1095,7 +1097,7 @@ paths:
|
|
|
1095
1097
|
Queues asynchronous deletion of stored request log payloads for the API
|
|
1096
1098
|
within `[startedAt, endAt]`. Returns `202 Accepted`; cleanup runs in the
|
|
1097
1099
|
background. Requires manage access for log deletion — monitor-level users
|
|
1098
|
-
receive `403`.
|
|
1100
|
+
receive `403`. A script-mode API returns 422 `invalid_api_type` and queues nothing.
|
|
1099
1101
|
parameters:
|
|
1100
1102
|
- name: _id
|
|
1101
1103
|
in: path
|
|
@@ -1136,6 +1138,8 @@ paths:
|
|
|
1136
1138
|
$ref: '#/components/responses/403-forbidden'
|
|
1137
1139
|
'404':
|
|
1138
1140
|
$ref: '#/components/responses/404-not-found'
|
|
1141
|
+
'422':
|
|
1142
|
+
$ref: '#/components/responses/422-builder-only'
|
|
1139
1143
|
/v1/apis/{_id}/requests/{executionId}:
|
|
1140
1144
|
get:
|
|
1141
1145
|
x-internal: false
|
|
@@ -1153,8 +1157,8 @@ paths:
|
|
|
1153
1157
|
fetched separately with the log-data query endpoint.
|
|
1154
1158
|
|
|
1155
1159
|
An unknown `executionId` returns `200` with an empty `steps` array; a
|
|
1156
|
-
malformed one returns `422` (`invalid_execution_id`). An unknown
|
|
1157
|
-
script-mode API `
|
|
1160
|
+
malformed one returns `422` (`invalid_execution_id`). An unknown API `_id`
|
|
1161
|
+
returns `404`; a script-mode API returns `422` (`invalid_api_type`).
|
|
1158
1162
|
parameters:
|
|
1159
1163
|
- name: _id
|
|
1160
1164
|
in: path
|
|
@@ -1216,7 +1220,7 @@ paths:
|
|
|
1216
1220
|
'404':
|
|
1217
1221
|
$ref: '#/components/responses/404-not-found'
|
|
1218
1222
|
'422':
|
|
1219
|
-
$ref: '#/components/responses/422-
|
|
1223
|
+
$ref: '#/components/responses/422-execution-log'
|
|
1220
1224
|
/v1/apis/{_id}/requests/{executionId}/{_expOrImpId}/logs/{parentRecordId}/children:
|
|
1221
1225
|
get:
|
|
1222
1226
|
x-internal: false
|
|
@@ -1351,7 +1355,7 @@ paths:
|
|
|
1351
1355
|
'404':
|
|
1352
1356
|
$ref: '#/components/responses/404-not-found'
|
|
1353
1357
|
'422':
|
|
1354
|
-
$ref: '#/components/responses/422-
|
|
1358
|
+
$ref: '#/components/responses/422-execution-log'
|
|
1355
1359
|
/v1/apis/{_id}/requests/{executionId}/logs/data/query:
|
|
1356
1360
|
post:
|
|
1357
1361
|
x-internal: false
|
|
@@ -1427,7 +1431,7 @@ paths:
|
|
|
1427
1431
|
'404':
|
|
1428
1432
|
$ref: '#/components/responses/404-not-found'
|
|
1429
1433
|
'422':
|
|
1430
|
-
$ref: '#/components/responses/422-
|
|
1434
|
+
$ref: '#/components/responses/422-execution-log'
|
|
1431
1435
|
/v1/apis/{_id}/requests/{executionId}/logs/signedURL:
|
|
1432
1436
|
get:
|
|
1433
1437
|
x-internal: false
|
|
@@ -1492,7 +1496,7 @@ paths:
|
|
|
1492
1496
|
'404':
|
|
1493
1497
|
$ref: '#/components/responses/404-not-found'
|
|
1494
1498
|
'422':
|
|
1495
|
-
$ref: '#/components/responses/422-
|
|
1499
|
+
$ref: '#/components/responses/422-execution-log'
|
|
1496
1500
|
/v1/apis/{_id}/dependencies:
|
|
1497
1501
|
get:
|
|
1498
1502
|
x-internal: false
|
|
@@ -14307,5 +14311,41 @@ components:
|
|
|
14307
14311
|
errors:
|
|
14308
14312
|
- code: forbidden
|
|
14309
14313
|
message: You do not have permission to access this resource.
|
|
14314
|
+
422-builder-only:
|
|
14315
|
+
description: |-
|
|
14316
|
+
The API exists but is a script-mode API. Run history and execution logs exist only for
|
|
14317
|
+
builder-mode APIs. Error code: `invalid_api_type`.
|
|
14318
|
+
content:
|
|
14319
|
+
application/json:
|
|
14320
|
+
schema:
|
|
14321
|
+
$ref: '#/components/schemas/Error'
|
|
14322
|
+
examples:
|
|
14323
|
+
scriptApi:
|
|
14324
|
+
summary: Script-mode API
|
|
14325
|
+
value:
|
|
14326
|
+
errors:
|
|
14327
|
+
- code: invalid_api_type
|
|
14328
|
+
message: Run history and execution logs are only available for builder APIs.
|
|
14329
|
+
422-execution-log:
|
|
14330
|
+
description: |-
|
|
14331
|
+
The `executionId` is malformed (`invalid_execution_id`), or the API is a script-mode API
|
|
14332
|
+
(`invalid_api_type`); run history and execution logs exist only for builder-mode APIs.
|
|
14333
|
+
content:
|
|
14334
|
+
application/json:
|
|
14335
|
+
schema:
|
|
14336
|
+
$ref: '#/components/schemas/Error'
|
|
14337
|
+
examples:
|
|
14338
|
+
invalidExecutionId:
|
|
14339
|
+
summary: Malformed executionId
|
|
14340
|
+
value:
|
|
14341
|
+
errors:
|
|
14342
|
+
- code: invalid_execution_id
|
|
14343
|
+
message: executionId is invalid
|
|
14344
|
+
scriptApi:
|
|
14345
|
+
summary: Script-mode API
|
|
14346
|
+
value:
|
|
14347
|
+
errors:
|
|
14348
|
+
- code: invalid_api_type
|
|
14349
|
+
message: Run history and execution logs are only available for builder APIs.
|
|
14310
14350
|
x-enable-proxy: true
|
|
14311
14351
|
x-internal: false
|
package/dist/connection.yml
CHANGED
|
@@ -2542,6 +2542,13 @@ paths:
|
|
|
2542
2542
|
Logs are shared across every flow using the connection (filter by `resourceId` client-side),
|
|
2543
2543
|
and sensitive header values are redacted (`"Authorization": "********"`). For execution logs
|
|
2544
2544
|
tied to a specific run, use `GET /v1/flows/{_id}/jobs/{_jobId}/logs` instead.
|
|
2545
|
+
|
|
2546
|
+
Each response is capped (by default 100 log files and 2,000,000 bytes; the deployment can
|
|
2547
|
+
change both). Without `time_gt` the response holds the newest log files that fit the cap.
|
|
2548
|
+
With `time_gt` it holds the oldest files newer than `time_gt` that fit the cap, so a client
|
|
2549
|
+
can page forward: send the previous response's `X-Debug-Logs-Latest` value as the next
|
|
2550
|
+
`time_gt`. Files that share the boundary timestamp are returned together. Entries are
|
|
2551
|
+
ordered oldest first.
|
|
2545
2552
|
parameters:
|
|
2546
2553
|
- name: _id
|
|
2547
2554
|
in: path
|
|
@@ -2551,9 +2558,15 @@ paths:
|
|
|
2551
2558
|
type: string
|
|
2552
2559
|
format: objectId
|
|
2553
2560
|
x-celigo-refModel: connections
|
|
2561
|
+
- $ref: '#/components/parameters/DebugLogsTimeGt'
|
|
2554
2562
|
responses:
|
|
2555
2563
|
'200':
|
|
2556
2564
|
description: Debug log stream (plain text).
|
|
2565
|
+
headers:
|
|
2566
|
+
X-Debug-Logs-Latest:
|
|
2567
|
+
$ref: '#/components/headers/DebugLogsLatest'
|
|
2568
|
+
X-Debug-Logs-Truncated:
|
|
2569
|
+
$ref: '#/components/headers/DebugLogsTruncated'
|
|
2557
2570
|
content:
|
|
2558
2571
|
text/plain:
|
|
2559
2572
|
schema:
|
|
@@ -2573,11 +2586,36 @@ paths:
|
|
|
2573
2586
|
'204':
|
|
2574
2587
|
description: |-
|
|
2575
2588
|
No debug logs available — either debug capture is disabled (no `debugDate` set, or it
|
|
2576
|
-
is in the past)
|
|
2589
|
+
is in the past), the buffer has been cleared, or no log file is newer than `time_gt`.
|
|
2590
|
+
'400':
|
|
2591
|
+
description: '`time_gt` is not a non-negative integer of epoch milliseconds.'
|
|
2592
|
+
content:
|
|
2593
|
+
application/json:
|
|
2594
|
+
schema:
|
|
2595
|
+
$ref: '#/components/schemas/Error'
|
|
2596
|
+
examples:
|
|
2597
|
+
invalidTimeGt:
|
|
2598
|
+
value:
|
|
2599
|
+
errors:
|
|
2600
|
+
- code: invalid_url
|
|
2601
|
+
message: time_gt is not valid.
|
|
2577
2602
|
'401':
|
|
2578
2603
|
$ref: '#/components/responses/401-unauthorized'
|
|
2579
2604
|
'404':
|
|
2580
2605
|
$ref: '#/components/responses/404-not-found'
|
|
2606
|
+
'500':
|
|
2607
|
+
description: The debug log store could not be listed or read.
|
|
2608
|
+
content:
|
|
2609
|
+
application/json:
|
|
2610
|
+
schema:
|
|
2611
|
+
$ref: '#/components/schemas/Error'
|
|
2612
|
+
examples:
|
|
2613
|
+
internalError:
|
|
2614
|
+
value:
|
|
2615
|
+
errors:
|
|
2616
|
+
- code: INTERNAL_ERROR
|
|
2617
|
+
message: Failed to list S3 keys
|
|
2618
|
+
source: internal
|
|
2581
2619
|
delete:
|
|
2582
2620
|
x-internal: false
|
|
2583
2621
|
operationId: clearConnectionDebugLogs
|
|
@@ -2627,6 +2665,9 @@ paths:
|
|
|
2627
2665
|
|
|
2628
2666
|
`typeId` must be the id of an export or import in the account; an id that resolves to
|
|
2629
2667
|
neither answers 404, and a value that is not an ObjectId answers 400.
|
|
2668
|
+
|
|
2669
|
+
The response cap and `time_gt` paging work as on `GET /v1/connections/{_id}/debug`: newest
|
|
2670
|
+
files without `time_gt`, oldest files newer than `time_gt` with it, entries oldest first.
|
|
2630
2671
|
parameters:
|
|
2631
2672
|
- name: _id
|
|
2632
2673
|
in: path
|
|
@@ -2643,9 +2684,15 @@ paths:
|
|
|
2643
2684
|
schema:
|
|
2644
2685
|
type: string
|
|
2645
2686
|
format: objectId
|
|
2687
|
+
- $ref: '#/components/parameters/DebugLogsTimeGt'
|
|
2646
2688
|
responses:
|
|
2647
2689
|
'200':
|
|
2648
2690
|
description: Debug log stream (plain text) for the given export or import.
|
|
2691
|
+
headers:
|
|
2692
|
+
X-Debug-Logs-Latest:
|
|
2693
|
+
$ref: '#/components/headers/DebugLogsLatest'
|
|
2694
|
+
X-Debug-Logs-Truncated:
|
|
2695
|
+
$ref: '#/components/headers/DebugLogsTruncated'
|
|
2649
2696
|
content:
|
|
2650
2697
|
text/plain:
|
|
2651
2698
|
schema:
|
|
@@ -2666,10 +2713,10 @@ paths:
|
|
|
2666
2713
|
'204':
|
|
2667
2714
|
description: |-
|
|
2668
2715
|
No debug logs for this export or import — debug capture is off (no future `debugDate`),
|
|
2669
|
-
the step has not run through the connection since it was enabled,
|
|
2670
|
-
cleared
|
|
2716
|
+
the step has not run through the connection since it was enabled, the buffer was
|
|
2717
|
+
cleared, or no log file is newer than `time_gt`.
|
|
2671
2718
|
'400':
|
|
2672
|
-
description: '`typeId` is not a valid ObjectId.'
|
|
2719
|
+
description: '`typeId` is not a valid ObjectId, or `time_gt` is not a non-negative integer of epoch milliseconds.'
|
|
2673
2720
|
content:
|
|
2674
2721
|
application/json:
|
|
2675
2722
|
schema:
|
|
@@ -2680,6 +2727,11 @@ paths:
|
|
|
2680
2727
|
errors:
|
|
2681
2728
|
- code: invalid_ref
|
|
2682
2729
|
message: Please provide a valid typeId.
|
|
2730
|
+
invalidTimeGt:
|
|
2731
|
+
value:
|
|
2732
|
+
errors:
|
|
2733
|
+
- code: invalid_url
|
|
2734
|
+
message: time_gt is not valid.
|
|
2683
2735
|
'401':
|
|
2684
2736
|
$ref: '#/components/responses/401-unauthorized'
|
|
2685
2737
|
'404':
|
|
@@ -2701,6 +2753,19 @@ paths:
|
|
|
2701
2753
|
errors:
|
|
2702
2754
|
- code: invalid_ref
|
|
2703
2755
|
message: Export/Import not found.
|
|
2756
|
+
'500':
|
|
2757
|
+
description: The debug log store could not be listed or read.
|
|
2758
|
+
content:
|
|
2759
|
+
application/json:
|
|
2760
|
+
schema:
|
|
2761
|
+
$ref: '#/components/schemas/Error'
|
|
2762
|
+
examples:
|
|
2763
|
+
internalError:
|
|
2764
|
+
value:
|
|
2765
|
+
errors:
|
|
2766
|
+
- code: INTERNAL_ERROR
|
|
2767
|
+
message: Failed to list S3 keys
|
|
2768
|
+
source: internal
|
|
2704
2769
|
/v1/connections/{_id}/metadata:
|
|
2705
2770
|
put:
|
|
2706
2771
|
x-internal: false
|
|
@@ -2931,11 +2996,14 @@ paths:
|
|
|
2931
2996
|
summary: Purge the message queue for a connection
|
|
2932
2997
|
description: |-
|
|
2933
2998
|
Purges all messages from the connection's message queue. This is a
|
|
2934
|
-
rate-limited operation — repeated calls within
|
|
2935
|
-
|
|
2999
|
+
rate-limited operation — repeated calls within about a minute are
|
|
3000
|
+
throttled.
|
|
2936
3001
|
|
|
2937
3002
|
Returns an empty response on success. If the queue is already empty,
|
|
2938
|
-
the request fails with an `empty_connection_queue` error.
|
|
3003
|
+
the request fails with an `empty_connection_queue` error. The connection
|
|
3004
|
+
is looked up before the purge rate limit applies, so an unknown or
|
|
3005
|
+
inaccessible connection id answers 404 rather than 429, however often it
|
|
3006
|
+
is sent.
|
|
2939
3007
|
parameters:
|
|
2940
3008
|
- in: path
|
|
2941
3009
|
name: _id
|
|
@@ -2949,7 +3017,9 @@ paths:
|
|
|
2949
3017
|
'401':
|
|
2950
3018
|
$ref: '#/components/responses/401-unauthorized'
|
|
2951
3019
|
'404':
|
|
2952
|
-
description:
|
|
3020
|
+
description: |-
|
|
3021
|
+
The connection does not exist in the account (checked before the purge
|
|
3022
|
+
rate limit), or the connection's message queue is already empty.
|
|
2953
3023
|
content:
|
|
2954
3024
|
application/json:
|
|
2955
3025
|
schema:
|
|
@@ -2964,12 +3034,23 @@ paths:
|
|
|
2964
3034
|
type: string
|
|
2965
3035
|
message:
|
|
2966
3036
|
type: string
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
3037
|
+
examples:
|
|
3038
|
+
connectionNotFound:
|
|
3039
|
+
summary: Unknown connection id
|
|
3040
|
+
value:
|
|
3041
|
+
errors:
|
|
3042
|
+
- code: invalid_ref
|
|
3043
|
+
message: Connection not found for the given id.
|
|
3044
|
+
emptyQueue:
|
|
3045
|
+
summary: Nothing to purge
|
|
3046
|
+
value:
|
|
3047
|
+
errors:
|
|
3048
|
+
- code: empty_connection_queue
|
|
3049
|
+
message: The connection's message queue is already empty.
|
|
2971
3050
|
'429':
|
|
2972
|
-
description:
|
|
3051
|
+
description: |-
|
|
3052
|
+
Rate limit exceeded for an existing connection. Wait the number of
|
|
3053
|
+
seconds the message names before retrying.
|
|
2973
3054
|
content:
|
|
2974
3055
|
application/json:
|
|
2975
3056
|
schema:
|
|
@@ -2984,7 +3065,7 @@ paths:
|
|
|
2984
3065
|
type: string
|
|
2985
3066
|
example:
|
|
2986
3067
|
errors:
|
|
2987
|
-
- message:
|
|
3068
|
+
- message: Rate limit exceeded. Please try again after 43 seconds.
|
|
2988
3069
|
/v1/connection/{_id}/oauth2:
|
|
2989
3070
|
get:
|
|
2990
3071
|
x-internal: false
|
|
@@ -3863,6 +3944,20 @@ components:
|
|
|
3863
3944
|
schema:
|
|
3864
3945
|
type: string
|
|
3865
3946
|
example: createdAt,lastModified
|
|
3947
|
+
DebugLogsTimeGt:
|
|
3948
|
+
name: time_gt
|
|
3949
|
+
in: query
|
|
3950
|
+
required: false
|
|
3951
|
+
description: |-
|
|
3952
|
+
Epoch milliseconds. When set, only log files whose timestamp is greater than this value
|
|
3953
|
+
are returned, oldest first, up to the response cap. Send the `X-Debug-Logs-Latest` value
|
|
3954
|
+
of the previous response to fetch the next files. Digits only; any other value answers
|
|
3955
|
+
400 `invalid_url` before the connection is looked up.
|
|
3956
|
+
schema:
|
|
3957
|
+
type: string
|
|
3958
|
+
pattern: ^\d+$
|
|
3959
|
+
examples:
|
|
3960
|
+
- '1776570246673'
|
|
3866
3961
|
schemas:
|
|
3867
3962
|
ResourceResponse:
|
|
3868
3963
|
type: object
|
|
@@ -11717,5 +11812,25 @@ components:
|
|
|
11717
11812
|
errors:
|
|
11718
11813
|
- code: unprocessable_entity
|
|
11719
11814
|
message: The request could not be processed due to a semantic error.
|
|
11815
|
+
headers:
|
|
11816
|
+
DebugLogsLatest:
|
|
11817
|
+
description: |-
|
|
11818
|
+
Epoch-millisecond timestamp of the newest log file in this response. Send it as `time_gt`
|
|
11819
|
+
on the next call to read the files that follow.
|
|
11820
|
+
schema:
|
|
11821
|
+
type: string
|
|
11822
|
+
pattern: ^\d+$
|
|
11823
|
+
examples:
|
|
11824
|
+
- '1776570246774'
|
|
11825
|
+
DebugLogsTruncated:
|
|
11826
|
+
description: |-
|
|
11827
|
+
Present with the value `true` when the response cap left matching log files out. Absent
|
|
11828
|
+
when every matching file was returned.
|
|
11829
|
+
schema:
|
|
11830
|
+
type: string
|
|
11831
|
+
enum:
|
|
11832
|
+
- 'true'
|
|
11833
|
+
x-enumDescriptions:
|
|
11834
|
+
'true': The cap left matching log files out of this response.
|
|
11720
11835
|
x-enable-proxy: true
|
|
11721
11836
|
x-internal: false
|
package/dist/eventreport.yml
CHANGED
|
@@ -343,7 +343,18 @@ paths:
|
|
|
343
343
|
'401':
|
|
344
344
|
$ref: '#/components/responses/401-unauthorized'
|
|
345
345
|
'404':
|
|
346
|
-
|
|
346
|
+
description: The event report does not exist in the account.
|
|
347
|
+
content:
|
|
348
|
+
application/json:
|
|
349
|
+
schema:
|
|
350
|
+
$ref: '#/components/schemas/Error'
|
|
351
|
+
examples:
|
|
352
|
+
not_found:
|
|
353
|
+
summary: Unknown event report id
|
|
354
|
+
value:
|
|
355
|
+
errors:
|
|
356
|
+
- code: invalid_ref
|
|
357
|
+
message: EventReport not found.
|
|
347
358
|
'422':
|
|
348
359
|
description: The report is in `completed` status and cannot be canceled.
|
|
349
360
|
content:
|
package/dist/flow.yml
CHANGED
|
@@ -1208,7 +1208,18 @@ paths:
|
|
|
1208
1208
|
'403':
|
|
1209
1209
|
$ref: '#/components/responses/403-forbidden'
|
|
1210
1210
|
'404':
|
|
1211
|
-
|
|
1211
|
+
description: The flow does not exist in the account.
|
|
1212
|
+
content:
|
|
1213
|
+
application/json:
|
|
1214
|
+
schema:
|
|
1215
|
+
$ref: '#/components/schemas/Error'
|
|
1216
|
+
examples:
|
|
1217
|
+
flowNotFound:
|
|
1218
|
+
summary: Unknown flow id
|
|
1219
|
+
value:
|
|
1220
|
+
errors:
|
|
1221
|
+
- code: invalid_ref
|
|
1222
|
+
message: The flow 507f1f77bcf86cd799439011 does not belong to the user 5f1b2c3d4e5f6a7b8c9d0e1f.
|
|
1212
1223
|
'422':
|
|
1213
1224
|
$ref: '#/components/responses/422-unprocessable-entity'
|
|
1214
1225
|
/v1/flows/{_id}/traceKey:
|
package/dist/import.yml
CHANGED
|
@@ -17572,7 +17572,11 @@ components:
|
|
|
17572
17572
|
Sample of the record the import writes, in the destination's own shape — the
|
|
17573
17573
|
mapping editor builds its destination field list from it when none of its earlier
|
|
17574
17574
|
sources applies: an HTTP connector on the connection, a bulk-load table's columns,
|
|
17575
|
-
an Integration App's metadata, then this field.
|
|
17575
|
+
an Integration App's metadata, then this field. `AiAgentImport`, `GuardrailImport`
|
|
17576
|
+
and `ToolImport` are the exception: the editor never reads this field on them — it
|
|
17577
|
+
maps an AI agent or guardrail step into the step's fixed input (`text` and `record`,
|
|
17578
|
+
plus `files` on an AI agent or a moderation guardrail) and a Tool step into the
|
|
17579
|
+
tool's `input.schema`. On a file
|
|
17576
17580
|
transfer it is the generated file's record: for `file.type` `filedefinition` (EDI
|
|
17577
17581
|
X12 / EDIFACT, fixed-width or another custom format) the definition's generate
|
|
17578
17582
|
sample — a record whose nested arrays are the document's repeating loops, carried
|
|
@@ -17582,9 +17586,10 @@ components:
|
|
|
17582
17586
|
is never the flow's source record, which comes from the previous step's preview.
|
|
17583
17587
|
x-celigo-ai-guidance:
|
|
17584
17588
|
- |-
|
|
17585
|
-
|
|
17586
|
-
|
|
17587
|
-
|
|
17589
|
+
Except on `AiAgentImport`, `GuardrailImport` and `ToolImport`, which never take
|
|
17590
|
+
their destination from this field, the destination's source is decided in one
|
|
17591
|
+
order — an HTTP connector on the connection, then a bulk-load table's columns, then
|
|
17592
|
+
an Integration App's metadata, then this field. Where it falls to this field, read
|
|
17588
17593
|
it as the destination structure: on a file definition map into the record's
|
|
17589
17594
|
nested arrays (unwrap a one-element array first; an 846's `LIN` array holds the
|
|
17590
17595
|
item identifier and its `QTY` quantities), on csv / xlsx / xml / json parse the
|
package/dist/job.yml
CHANGED
|
@@ -463,6 +463,20 @@ paths:
|
|
|
463
463
|
$ref: '#/components/responses/400-bad-request'
|
|
464
464
|
'401':
|
|
465
465
|
$ref: '#/components/responses/401-unauthorized'
|
|
466
|
+
'503':
|
|
467
|
+
description: |-
|
|
468
|
+
The query ran out of time on the database. Retry, or narrow the filter. Error code:
|
|
469
|
+
`resource_not_available`.
|
|
470
|
+
content:
|
|
471
|
+
application/json:
|
|
472
|
+
schema:
|
|
473
|
+
$ref: '#/components/schemas/Error'
|
|
474
|
+
examples:
|
|
475
|
+
timedOut:
|
|
476
|
+
value:
|
|
477
|
+
errors:
|
|
478
|
+
- code: resource_not_available
|
|
479
|
+
message: Resource is not available yet, retry might help.
|
|
466
480
|
x-celigo-ai-guidance:
|
|
467
481
|
- |-
|
|
468
482
|
Returns a paged collection of currently running jobs for the dashboard.
|
|
@@ -567,6 +581,20 @@ paths:
|
|
|
567
581
|
$ref: '#/components/responses/400-bad-request'
|
|
568
582
|
'401':
|
|
569
583
|
$ref: '#/components/responses/401-unauthorized'
|
|
584
|
+
'503':
|
|
585
|
+
description: |-
|
|
586
|
+
The query ran out of time on the database. Retry, or narrow the filter. Error code:
|
|
587
|
+
`resource_not_available`.
|
|
588
|
+
content:
|
|
589
|
+
application/json:
|
|
590
|
+
schema:
|
|
591
|
+
$ref: '#/components/schemas/Error'
|
|
592
|
+
examples:
|
|
593
|
+
timedOut:
|
|
594
|
+
value:
|
|
595
|
+
errors:
|
|
596
|
+
- code: resource_not_available
|
|
597
|
+
message: Resource is not available yet, retry might help.
|
|
570
598
|
/v1/jobs/family:
|
|
571
599
|
post:
|
|
572
600
|
x-internal: false
|
|
@@ -1094,9 +1122,12 @@ paths:
|
|
|
1094
1122
|
- Jobs
|
|
1095
1123
|
summary: Get the most recent job(s) for a flow
|
|
1096
1124
|
description: |-
|
|
1097
|
-
Returns the
|
|
1098
|
-
|
|
1099
|
-
|
|
1125
|
+
Returns the current job records for the given flow, per page generator: every in-progress job
|
|
1126
|
+
(`queued`, `running`, or `retrying`, newest first, at most 50 per page generator by default;
|
|
1127
|
+
the deployment can change the cap) plus the newest job of any status. A job that is both
|
|
1128
|
+
appears once. A flow with overlapping runs (listeners, webhooks) therefore returns every
|
|
1129
|
+
run still in progress, not only the newest one. For a richer parent+children view, feed a
|
|
1130
|
+
returned `_id` into `GET /v1/jobs/{_id}/family`.
|
|
1100
1131
|
parameters:
|
|
1101
1132
|
- name: _id
|
|
1102
1133
|
in: path
|
|
@@ -1112,7 +1143,7 @@ paths:
|
|
|
1112
1143
|
- $ref: '#/components/parameters/Exclude'
|
|
1113
1144
|
responses:
|
|
1114
1145
|
'200':
|
|
1115
|
-
description:
|
|
1146
|
+
description: In-progress jobs and the newest job for each of the flow's page generators.
|
|
1116
1147
|
content:
|
|
1117
1148
|
application/json:
|
|
1118
1149
|
schema:
|
package/dist/notification.yml
CHANGED
|
@@ -115,7 +115,8 @@ paths:
|
|
|
115
115
|
Returns a parallel array of per-item results — one entry per request item,
|
|
116
116
|
in the same order. Each result carries `statusCode` (**201** when a subscription
|
|
117
117
|
was created, **200** when updated or removed, 422 when a referenced resource
|
|
118
|
-
doesn't exist
|
|
118
|
+
doesn't exist or the subscriber is not an active member of the account) plus an
|
|
119
|
+
`errors[]` array on failures. An empty request body
|
|
119
120
|
returns an empty array.
|
|
120
121
|
|
|
121
122
|
The body is a bare array (maximum 500 items). Each item must carry
|
|
@@ -123,6 +124,13 @@ paths:
|
|
|
123
124
|
`_syncId`. The response is a per-item status array; referencing a
|
|
124
125
|
non-existent resource fails that item with `statusCode: 422` but
|
|
125
126
|
does not fail the whole request.
|
|
127
|
+
|
|
128
|
+
Subscribing (`subscribed: true`) on behalf of someone other than the account owner
|
|
129
|
+
requires that `subscribedByUserEmail` belong to a user who accepted an account share
|
|
130
|
+
in this environment that is not disabled (a support user needs an active support
|
|
131
|
+
share). Otherwise that item fails with `statusCode: 422`, field
|
|
132
|
+
`subscribedByUserEmail`, code `invalid_ref`. Unsubscribing is not checked, so
|
|
133
|
+
subscriptions of people who left the account can still be removed.
|
|
126
134
|
requestBody:
|
|
127
135
|
required: true
|
|
128
136
|
content:
|
|
@@ -167,7 +175,8 @@ paths:
|
|
|
167
175
|
Per-item outcome: 201 when the subscription was created;
|
|
168
176
|
200 when it already existed (subscribing again keeps the one
|
|
169
177
|
record) or was removed; 422 when the referenced resource
|
|
170
|
-
doesn't exist
|
|
178
|
+
doesn't exist or the subscriber is not an active member of the
|
|
179
|
+
account (details in `errors[]`).
|
|
171
180
|
errors:
|
|
172
181
|
type: array
|
|
173
182
|
description: Per-item error details — present on 4xx per-item failures, never on a 201 or 200.
|
|
@@ -201,6 +210,14 @@ paths:
|
|
|
201
210
|
- field: _connectionId
|
|
202
211
|
code: invalid_ref
|
|
203
212
|
message: Please ensure that connection with 000000000000000000000001 exists for creating the notification.
|
|
213
|
+
nonMember:
|
|
214
|
+
summary: The subscriber is not an active member of the account
|
|
215
|
+
value:
|
|
216
|
+
- statusCode: 422
|
|
217
|
+
errors:
|
|
218
|
+
- field: subscribedByUserEmail
|
|
219
|
+
code: invalid_ref
|
|
220
|
+
message: subscribedByUserEmail must be an accepted, active member of this account.
|
|
204
221
|
'400':
|
|
205
222
|
$ref: '#/components/responses/400-bad-request'
|
|
206
223
|
'401':
|
package/dist/sync.yml
CHANGED
|
@@ -143,7 +143,9 @@ paths:
|
|
|
143
143
|
'204':
|
|
144
144
|
description: No syncs exist in the account.
|
|
145
145
|
'401':
|
|
146
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
146
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
147
|
+
'403':
|
|
148
|
+
$ref: '#/components/responses/403-one-time-token'
|
|
147
149
|
'422':
|
|
148
150
|
$ref: '#/components/responses/422-unprocessable-entity'
|
|
149
151
|
post:
|
|
@@ -237,7 +239,32 @@ paths:
|
|
|
237
239
|
- code: missing_integration_id
|
|
238
240
|
message: To create sync integration id is required. Not provided in request body.
|
|
239
241
|
'401':
|
|
240
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
242
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
243
|
+
'403':
|
|
244
|
+
description: |-
|
|
245
|
+
Forbidden. Returned for a user with manage access to specific integrations only
|
|
246
|
+
when `_integrationId` is not one of them, or when `source._connectionId` or
|
|
247
|
+
`destination._connectionId` is not registered on any of their integrations
|
|
248
|
+
(`invalid_access`). The account owner and users with account-level access skip
|
|
249
|
+
both checks. A request made with a one-time token is refused with
|
|
250
|
+
`access_restricted`.
|
|
251
|
+
content:
|
|
252
|
+
application/json:
|
|
253
|
+
schema:
|
|
254
|
+
$ref: '#/components/schemas/Error'
|
|
255
|
+
examples:
|
|
256
|
+
unregisteredConnection:
|
|
257
|
+
summary: A connection the caller's integrations don't register
|
|
258
|
+
value:
|
|
259
|
+
errors:
|
|
260
|
+
- code: invalid_access
|
|
261
|
+
message: You don't have the required permission to access the integration. Please contact your account administrator to gain access for the integration.
|
|
262
|
+
oneTimeToken:
|
|
263
|
+
summary: Request made with a one-time token
|
|
264
|
+
value:
|
|
265
|
+
errors:
|
|
266
|
+
- code: access_restricted
|
|
267
|
+
message: Access restricted
|
|
241
268
|
'422':
|
|
242
269
|
description: |-
|
|
243
270
|
Validation failed. `source._connectionId` is missing
|
|
@@ -326,7 +353,9 @@ paths:
|
|
|
326
353
|
reduced: automate
|
|
327
354
|
expanded: automate
|
|
328
355
|
'401':
|
|
329
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
356
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
357
|
+
'403':
|
|
358
|
+
$ref: '#/components/responses/403-one-time-token'
|
|
330
359
|
'404':
|
|
331
360
|
$ref: '#/components/responses/404-not-found'
|
|
332
361
|
put:
|
|
@@ -440,7 +469,31 @@ paths:
|
|
|
440
469
|
- code: sync_integration_id_update
|
|
441
470
|
message: Integration Id cannot be updated in sync once assigned.
|
|
442
471
|
'401':
|
|
443
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
472
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
473
|
+
'403':
|
|
474
|
+
description: |-
|
|
475
|
+
Forbidden. Returned for a user with manage access to specific integrations only
|
|
476
|
+
when the body's `source._connectionId` or `destination._connectionId` is not
|
|
477
|
+
registered on any of their integrations (`invalid_access`); the stored sync is
|
|
478
|
+
unchanged. The account owner and users with account-level access skip this check.
|
|
479
|
+
A request made with a one-time token is refused with `access_restricted`.
|
|
480
|
+
content:
|
|
481
|
+
application/json:
|
|
482
|
+
schema:
|
|
483
|
+
$ref: '#/components/schemas/Error'
|
|
484
|
+
examples:
|
|
485
|
+
unregisteredConnection:
|
|
486
|
+
summary: A connection the caller's integrations don't register
|
|
487
|
+
value:
|
|
488
|
+
errors:
|
|
489
|
+
- code: invalid_access
|
|
490
|
+
message: You don't have the required permission to access the integration. Please contact your account administrator to gain access for the integration.
|
|
491
|
+
oneTimeToken:
|
|
492
|
+
summary: Request made with a one-time token
|
|
493
|
+
value:
|
|
494
|
+
errors:
|
|
495
|
+
- code: access_restricted
|
|
496
|
+
message: Access restricted
|
|
444
497
|
'404':
|
|
445
498
|
$ref: '#/components/responses/404-not-found'
|
|
446
499
|
'422':
|
|
@@ -521,7 +574,9 @@ paths:
|
|
|
521
574
|
- code: sync_delete_not_allowed
|
|
522
575
|
message: Cannot delete an enabled sync. Please disable the sync before deletion.
|
|
523
576
|
'401':
|
|
524
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
577
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
578
|
+
'403':
|
|
579
|
+
$ref: '#/components/responses/403-one-time-token'
|
|
525
580
|
'404':
|
|
526
581
|
$ref: '#/components/responses/404-not-found'
|
|
527
582
|
/v1/integrations/{_integrationId}/syncs:
|
|
@@ -608,7 +663,9 @@ paths:
|
|
|
608
663
|
'204':
|
|
609
664
|
description: The integration has no syncs, or the integration does not exist.
|
|
610
665
|
'401':
|
|
611
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
666
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
667
|
+
'403':
|
|
668
|
+
$ref: '#/components/responses/403-one-time-token'
|
|
612
669
|
'422':
|
|
613
670
|
$ref: '#/components/responses/422-unprocessable-entity'
|
|
614
671
|
/v1/syncs/{_syncId}/datasets:
|
|
@@ -618,7 +675,9 @@ paths:
|
|
|
618
675
|
description: |-
|
|
619
676
|
Returns the datasets configured on a sync — the tables/objects it replicates —
|
|
620
677
|
sorted by name. Export-backed datasets whose export no longer uses the sync's
|
|
621
|
-
source connection carry `mismatchSyncConnection: true`.
|
|
678
|
+
source connection carry `mismatchSyncConnection: true`. An export-backed dataset
|
|
679
|
+
whose export was deleted is left out of the list, and the sync's next run deletes
|
|
680
|
+
it.
|
|
622
681
|
operationId: listDatasetsForSync
|
|
623
682
|
tags:
|
|
624
683
|
- Syncs
|
|
@@ -734,9 +793,7 @@ paths:
|
|
|
734
793
|
children: []
|
|
735
794
|
mismatchSyncConnection: true
|
|
736
795
|
'204':
|
|
737
|
-
description:
|
|
738
|
-
The sync has no datasets (none matching `enable`, when it is sent), or the sync
|
|
739
|
-
does not exist.
|
|
796
|
+
description: The sync exists and has no datasets (none matching `enable`, when it is sent).
|
|
740
797
|
'400':
|
|
741
798
|
description: |-
|
|
742
799
|
`enable` is something other than `true` or `false` (`invalid_query_param`). The
|
|
@@ -753,7 +810,22 @@ paths:
|
|
|
753
810
|
- code: invalid_query_param
|
|
754
811
|
message: The query parameter "enable" has invalid value.
|
|
755
812
|
'401':
|
|
756
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
813
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
814
|
+
'403':
|
|
815
|
+
$ref: '#/components/responses/403-one-time-token'
|
|
816
|
+
'404':
|
|
817
|
+
description: The sync does not exist in the account or was deleted (`invalid_ref`).
|
|
818
|
+
content:
|
|
819
|
+
application/json:
|
|
820
|
+
schema:
|
|
821
|
+
$ref: '#/components/schemas/Error'
|
|
822
|
+
examples:
|
|
823
|
+
missingSync:
|
|
824
|
+
summary: Unknown or deleted sync
|
|
825
|
+
value:
|
|
826
|
+
errors:
|
|
827
|
+
- code: invalid_ref
|
|
828
|
+
message: syncs not found.
|
|
757
829
|
'422':
|
|
758
830
|
$ref: '#/components/responses/422-unprocessable-entity'
|
|
759
831
|
put:
|
|
@@ -853,7 +925,9 @@ paths:
|
|
|
853
925
|
- code: dataset_externalId_id_required
|
|
854
926
|
message: For creation externalId should be provide and for update dataset id should be provided but not both.
|
|
855
927
|
'401':
|
|
856
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
928
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
929
|
+
'403':
|
|
930
|
+
$ref: '#/components/responses/403-one-time-token'
|
|
857
931
|
'422':
|
|
858
932
|
description: |-
|
|
859
933
|
Validation failed. An enabled dataset is missing `ingestionMode`
|
|
@@ -939,7 +1013,9 @@ paths:
|
|
|
939
1013
|
mask: false
|
|
940
1014
|
children: []
|
|
941
1015
|
'401':
|
|
942
|
-
$ref: '#/components/responses/401-unauthorized'
|
|
1016
|
+
$ref: '#/components/responses/401-unauthorized-or-scoped-token'
|
|
1017
|
+
'403':
|
|
1018
|
+
$ref: '#/components/responses/403-one-time-token'
|
|
943
1019
|
'404':
|
|
944
1020
|
$ref: '#/components/responses/404-not-found'
|
|
945
1021
|
/v1/syncs/{_syncId}/run:
|
|
@@ -1129,6 +1205,10 @@ paths:
|
|
|
1129
1205
|
set, `queued` and `running` jobs are pinned to the first pages even if they fall outside
|
|
1130
1206
|
the range; `canceling` jobs are not pinned. Follow `Link` header URLs as-is to page
|
|
1131
1207
|
through pinned jobs and then the date-filtered remainder.
|
|
1208
|
+
|
|
1209
|
+
Only `createdAt_gt` and `createdAt_lte` filter by date; `createdAt_gte` and `createdAt_lt`
|
|
1210
|
+
are ignored. A blank or whitespace-only bound counts as not sent. A bound that is not a
|
|
1211
|
+
valid date answers 422 `invalid_query_param` before the sync is looked up.
|
|
1132
1212
|
parameters:
|
|
1133
1213
|
- name: _syncId
|
|
1134
1214
|
in: path
|
|
@@ -1168,7 +1248,7 @@ paths:
|
|
|
1168
1248
|
- name: createdAt_gt
|
|
1169
1249
|
in: query
|
|
1170
1250
|
required: false
|
|
1171
|
-
description: Only return jobs created after this time. Accepts ISO 8601 or epoch milliseconds.
|
|
1251
|
+
description: Only return jobs created after this time. Accepts ISO 8601 or epoch milliseconds; any other non-blank value answers 422.
|
|
1172
1252
|
schema:
|
|
1173
1253
|
type: string
|
|
1174
1254
|
examples:
|
|
@@ -1176,7 +1256,7 @@ paths:
|
|
|
1176
1256
|
- name: createdAt_lte
|
|
1177
1257
|
in: query
|
|
1178
1258
|
required: false
|
|
1179
|
-
description: Only return jobs created at or before this time. Accepts ISO 8601 or epoch milliseconds.
|
|
1259
|
+
description: Only return jobs created at or before this time. Accepts ISO 8601 or epoch milliseconds; any other non-blank value answers 422.
|
|
1180
1260
|
schema:
|
|
1181
1261
|
type: string
|
|
1182
1262
|
examples:
|
|
@@ -1284,6 +1364,21 @@ paths:
|
|
|
1284
1364
|
errors:
|
|
1285
1365
|
- code: invalid_ref
|
|
1286
1366
|
message: Sync not found.
|
|
1367
|
+
'422':
|
|
1368
|
+
description: |-
|
|
1369
|
+
`createdAt_gt` or `createdAt_lte` is not a valid date. Checked before the sync is
|
|
1370
|
+
looked up. Error code: `invalid_query_param`.
|
|
1371
|
+
content:
|
|
1372
|
+
application/json:
|
|
1373
|
+
schema:
|
|
1374
|
+
$ref: '#/components/schemas/Error'
|
|
1375
|
+
examples:
|
|
1376
|
+
invalid_date:
|
|
1377
|
+
summary: createdAt_gt is not a date
|
|
1378
|
+
value:
|
|
1379
|
+
errors:
|
|
1380
|
+
- code: invalid_query_param
|
|
1381
|
+
message: createdAt_gt must be a valid date in ISO 8601 format or epoch milliseconds.
|
|
1287
1382
|
/v1/syncs/{_syncId}/syncJobs/cancel:
|
|
1288
1383
|
put:
|
|
1289
1384
|
x-internal: false
|
|
@@ -3491,8 +3586,10 @@ paths:
|
|
|
3491
3586
|
type: boolean
|
|
3492
3587
|
description: |-
|
|
3493
3588
|
Only present (as `true`) when the export no longer uses the
|
|
3494
|
-
sync's source connection, or is no longer among
|
|
3495
|
-
connection's exports (for example, it was
|
|
3589
|
+
sync's source connection, or still exists but is no longer among
|
|
3590
|
+
the source connection's exports (for example, it was disabled).
|
|
3591
|
+
A saved export dataset whose export was deleted is left out of
|
|
3592
|
+
the list.
|
|
3496
3593
|
examples:
|
|
3497
3594
|
- true
|
|
3498
3595
|
totalFieldCount:
|
|
@@ -4092,6 +4189,37 @@ components:
|
|
|
4092
4189
|
- sf_
|
|
4093
4190
|
driftPolicy:
|
|
4094
4191
|
$ref: '#/components/schemas/SyncDriftPolicy'
|
|
4192
|
+
items:
|
|
4193
|
+
type: object
|
|
4194
|
+
properties:
|
|
4195
|
+
code:
|
|
4196
|
+
oneOf:
|
|
4197
|
+
- type: string
|
|
4198
|
+
- type: integer
|
|
4199
|
+
description: |-
|
|
4200
|
+
Machine-readable error code. Usually a string like
|
|
4201
|
+
`invalid_ref`, `missing_required_field`, or `unauthorized`;
|
|
4202
|
+
may be an **integer** when the error mirrors an upstream HTTP
|
|
4203
|
+
status (e.g. `500`) — most commonly returned by connection-ping
|
|
4204
|
+
and adaptor-proxy responses.
|
|
4205
|
+
message:
|
|
4206
|
+
type: string
|
|
4207
|
+
description: Human-readable description of the error.
|
|
4208
|
+
field:
|
|
4209
|
+
type: string
|
|
4210
|
+
description: |-
|
|
4211
|
+
Optional pointer to the document field that caused the error.
|
|
4212
|
+
Used by structural validation errors (`missing_required_field`,
|
|
4213
|
+
`invalid_ref`) to indicate which field is at fault
|
|
4214
|
+
(e.g. `_id`, `type`, `http.baseURI`).
|
|
4215
|
+
source:
|
|
4216
|
+
type: string
|
|
4217
|
+
description: |-
|
|
4218
|
+
Optional origin layer for the error — e.g. `application` when
|
|
4219
|
+
the error came from the remote system the adaptor called,
|
|
4220
|
+
`connector` when the adaptor itself rejected the request.
|
|
4221
|
+
required:
|
|
4222
|
+
- message
|
|
4095
4223
|
Error:
|
|
4096
4224
|
type: object
|
|
4097
4225
|
description: Standard error response envelope returned by integrator.io APIs.
|
|
@@ -5390,17 +5518,16 @@ components:
|
|
|
5390
5518
|
- action: Table removed
|
|
5391
5519
|
resourceType: Table
|
|
5392
5520
|
responses:
|
|
5393
|
-
401-unauthorized:
|
|
5521
|
+
401-unauthorized-or-scoped-token:
|
|
5394
5522
|
description: |-
|
|
5395
|
-
Unauthorized.
|
|
5396
|
-
|
|
5523
|
+
Unauthorized. Either the request has no valid bearer token, or the token is an API
|
|
5524
|
+
token scoped to specific resources instead of `fullAccess`. Sync and dataset
|
|
5525
|
+
endpoints take a full-access API token, a personal access token, or a signed-in
|
|
5526
|
+
session; a scoped token is refused with `access_restricted` before the sync is
|
|
5527
|
+
looked up or changed.
|
|
5397
5528
|
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
standard `{errors: [...]}` envelope. Instead the body is a bare
|
|
5401
|
-
`{message: string}` object with no `code`, no `errors` array. Callers
|
|
5402
|
-
handling 401s should key off the HTTP status and the `message` string,
|
|
5403
|
-
not try to destructure an `errors[]`.
|
|
5529
|
+
A missing or invalid token gets the auth middleware's bare `{message}` body, with no
|
|
5530
|
+
`errors` array. A scoped token gets the standard `{errors: [...]}` envelope.
|
|
5404
5531
|
content:
|
|
5405
5532
|
application/json:
|
|
5406
5533
|
schema:
|
|
@@ -5409,21 +5536,40 @@ components:
|
|
|
5409
5536
|
message:
|
|
5410
5537
|
type: string
|
|
5411
5538
|
description: |-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5539
|
+
Present when the token is missing or invalid: `Unauthorized` (no
|
|
5540
|
+
`Authorization` header) or `Bearer Authentication Failed`.
|
|
5541
|
+
errors:
|
|
5542
|
+
type: array
|
|
5543
|
+
description: Present when the token is a scoped API token.
|
|
5544
|
+
items:
|
|
5545
|
+
$ref: '#/components/schemas/items'
|
|
5418
5546
|
examples:
|
|
5419
|
-
|
|
5420
|
-
summary:
|
|
5547
|
+
scopedToken:
|
|
5548
|
+
summary: An API token scoped to specific resources
|
|
5421
5549
|
value:
|
|
5422
|
-
|
|
5423
|
-
|
|
5550
|
+
errors:
|
|
5551
|
+
- code: access_restricted
|
|
5552
|
+
message: You don't have the required permissions to perform the action.
|
|
5553
|
+
invalidToken:
|
|
5424
5554
|
summary: Bearer token invalid or revoked
|
|
5425
5555
|
value:
|
|
5426
5556
|
message: Bearer Authentication Failed
|
|
5557
|
+
403-one-time-token:
|
|
5558
|
+
description: |-
|
|
5559
|
+
Forbidden. The request was authenticated with a one-time token, which sync and
|
|
5560
|
+
dataset endpoints refuse with `access_restricted` before the sync is looked up or
|
|
5561
|
+
changed. Use a full-access API token or a personal access token.
|
|
5562
|
+
content:
|
|
5563
|
+
application/json:
|
|
5564
|
+
schema:
|
|
5565
|
+
$ref: '#/components/schemas/Error'
|
|
5566
|
+
examples:
|
|
5567
|
+
oneTimeToken:
|
|
5568
|
+
summary: Request made with a one-time token
|
|
5569
|
+
value:
|
|
5570
|
+
errors:
|
|
5571
|
+
- code: access_restricted
|
|
5572
|
+
message: Access restricted
|
|
5427
5573
|
422-unprocessable-entity:
|
|
5428
5574
|
description: |
|
|
5429
5575
|
Unprocessable entity. The request was well-formed but was unable to be followed due to semantic errors.
|
|
@@ -5450,6 +5596,40 @@ components:
|
|
|
5450
5596
|
errors:
|
|
5451
5597
|
- code: not_found
|
|
5452
5598
|
message: The requested resource was not found.
|
|
5599
|
+
401-unauthorized:
|
|
5600
|
+
description: |-
|
|
5601
|
+
Unauthorized. The request lacks a valid bearer token, or the provided token
|
|
5602
|
+
failed to authenticate.
|
|
5603
|
+
|
|
5604
|
+
Note: the 401 response is produced by the auth middleware **before** the
|
|
5605
|
+
request reaches the endpoint handler, so it does **not** follow the
|
|
5606
|
+
standard `{errors: [...]}` envelope. Instead the body is a bare
|
|
5607
|
+
`{message: string}` object with no `code`, no `errors` array. Callers
|
|
5608
|
+
handling 401s should key off the HTTP status and the `message` string,
|
|
5609
|
+
not try to destructure an `errors[]`.
|
|
5610
|
+
content:
|
|
5611
|
+
application/json:
|
|
5612
|
+
schema:
|
|
5613
|
+
type: object
|
|
5614
|
+
properties:
|
|
5615
|
+
message:
|
|
5616
|
+
type: string
|
|
5617
|
+
description: |-
|
|
5618
|
+
Human-readable description of the auth failure. Known values:
|
|
5619
|
+
- `"Unauthorized"` — no `Authorization` header on the request.
|
|
5620
|
+
- `"Bearer Authentication Failed"` — header present but token
|
|
5621
|
+
is invalid, revoked, or expired.
|
|
5622
|
+
required:
|
|
5623
|
+
- message
|
|
5624
|
+
examples:
|
|
5625
|
+
missing_token:
|
|
5626
|
+
summary: No Authorization header sent
|
|
5627
|
+
value:
|
|
5628
|
+
message: Unauthorized
|
|
5629
|
+
invalid_token:
|
|
5630
|
+
summary: Bearer token invalid or revoked
|
|
5631
|
+
value:
|
|
5632
|
+
message: Bearer Authentication Failed
|
|
5453
5633
|
400-bad-request:
|
|
5454
5634
|
description: |
|
|
5455
5635
|
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
|
package/dist/tool.yml
CHANGED
|
@@ -26958,7 +26958,11 @@ components:
|
|
|
26958
26958
|
Sample of the record the import writes, in the destination's own shape — the
|
|
26959
26959
|
mapping editor builds its destination field list from it when none of its earlier
|
|
26960
26960
|
sources applies: an HTTP connector on the connection, a bulk-load table's columns,
|
|
26961
|
-
an Integration App's metadata, then this field.
|
|
26961
|
+
an Integration App's metadata, then this field. `AiAgentImport`, `GuardrailImport`
|
|
26962
|
+
and `ToolImport` are the exception: the editor never reads this field on them — it
|
|
26963
|
+
maps an AI agent or guardrail step into the step's fixed input (`text` and `record`,
|
|
26964
|
+
plus `files` on an AI agent or a moderation guardrail) and a Tool step into the
|
|
26965
|
+
tool's `input.schema`. On a file
|
|
26962
26966
|
transfer it is the generated file's record: for `file.type` `filedefinition` (EDI
|
|
26963
26967
|
X12 / EDIFACT, fixed-width or another custom format) the definition's generate
|
|
26964
26968
|
sample — a record whose nested arrays are the document's repeating loops, carried
|
|
@@ -26968,9 +26972,10 @@ components:
|
|
|
26968
26972
|
is never the flow's source record, which comes from the previous step's preview.
|
|
26969
26973
|
x-celigo-ai-guidance:
|
|
26970
26974
|
- |-
|
|
26971
|
-
|
|
26972
|
-
|
|
26973
|
-
|
|
26975
|
+
Except on `AiAgentImport`, `GuardrailImport` and `ToolImport`, which never take
|
|
26976
|
+
their destination from this field, the destination's source is decided in one
|
|
26977
|
+
order — an HTTP connector on the connection, then a bulk-load table's columns, then
|
|
26978
|
+
an Integration App's metadata, then this field. Where it falls to this field, read
|
|
26974
26979
|
it as the destination structure: on a file definition map into the record's
|
|
26975
26980
|
nested arrays (unwrap a one-element array first; an 846's `LIN` array holds the
|
|
26976
26981
|
item identifier and its `QTY` quantities), on csv / xlsx / xml / json parse the
|
package/package.json
CHANGED