@celigo/api-specs 0.2.139 → 0.2.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ai-agent.yml CHANGED
@@ -2699,7 +2699,7 @@ components:
2699
2699
  **When to Use**
2700
2700
  - REQUIRED when dataType = "object" (unless you are copying an entire object from the input record)
2701
2701
  - REQUIRED in buildArrayHelper.mappings when defining complex object array elements
2702
- - NEVER used with simple types (string, number, boolean, date)
2702
+ - NEVER used with simple types (string, number, boolean)
2703
2703
 
2704
2704
  **Behavior**
2705
2705
  - Each mapping in this array becomes a property of the parent object
@@ -3765,7 +3765,7 @@ components:
3765
3765
  **When to Use**
3766
3766
  - REQUIRED when dataType = "object" (unless you are copying an entire object from the input record)
3767
3767
  - REQUIRED in buildArrayHelper.mappings when defining complex object array elements
3768
- - NEVER used with simple types (string, number, boolean, date)
3768
+ - NEVER used with simple types (string, number, boolean)
3769
3769
 
3770
3770
  **Behavior**
3771
3771
  - Each mapping in this array becomes a property of the parent object
package/dist/api.yml CHANGED
@@ -45,7 +45,7 @@ tags:
45
45
  - **Builder** — visual configuration with request/response mapping, routing, and transformations
46
46
  - **Script** — custom JavaScript handler function for full control
47
47
 
48
- Each API gets a public URL: `https://api.integrator.io/apis/{version}/{relativeURI}`
48
+ Each API gets a public URL: `https://api.integrator.io/apis/{version}{relativeURI}`
49
49
 
50
50
  ## API schema
51
51
 
@@ -616,7 +616,9 @@ paths:
616
616
  Useful for bootstrapping `bodySchema` in builder-mode APIs from real payload samples.
617
617
  Input must be a non-empty JSON object -- arrays and primitives are rejected.
618
618
  The generated schema is shallow (one level of `properties`); nested objects become
619
- `type: "object"` without further property inference.
619
+ `type: "object"` without further property inference. Fill in or remove those nodes
620
+ before saving the result as a `bodySchema`: the API Builder editor can't render an
621
+ object node that has no properties.
620
622
  requestBody:
621
623
  required: true
622
624
  content:
@@ -1686,6 +1688,10 @@ paths:
1686
1688
 
1687
1689
  Test-run invocations do **not** surface in `GET /v1/apis/{_id}/logs`.
1688
1690
 
1691
+ A test run is not free of outside calls: lookups call their sources live. Imports never
1692
+ send; each returns its saved `mockResponse`, or a placeholder response when none is saved
1693
+ (see `mockResponse` on imports).
1694
+
1689
1695
  Test runs never paginate, whatever `pagination.enabled` says: the captured success
1690
1696
  response carries no `pagination` object, and a `Celigo-Next-Cursor` entry in
1691
1697
  `mockRequest.headers` is not validated — a malformed value does not fail the run.
@@ -1707,19 +1713,24 @@ paths:
1707
1713
  schema:
1708
1714
  type: object
1709
1715
  description: |-
1710
- Optional test request for the run. When the body is empty or
1711
- omitted, the run replays the API's saved
1712
- `builder.request.mockRequest`.
1716
+ Optional test request for the run. The saved
1717
+ `builder.request.mockRequest` is never replayed: when the body is
1718
+ empty, omitted, or has no `mockRequest`, the first step receives
1719
+ an empty record.
1713
1720
  properties:
1714
1721
  mockRequest:
1715
1722
  type: object
1716
1723
  description: |-
1717
- The simulated request to run instead of the saved
1718
- `builder.request.mockRequest`.
1724
+ The simulated request for this run. Send the saved
1725
+ `builder.request.mockRequest` here to test with it.
1719
1726
  properties:
1720
1727
  body:
1721
1728
  type: object
1722
- description: Request body for the simulated call.
1729
+ description: |-
1730
+ Request body for the simulated call. Only the body reaches
1731
+ the record the steps see. Must be a JSON object: an array
1732
+ is refused with 400 "Mock request body should be a plain
1733
+ object."
1723
1734
  pathParams:
1724
1735
  type: object
1725
1736
  description: Path parameter values for the simulated call.
@@ -1731,10 +1742,10 @@ paths:
1731
1742
  description: Request headers for the simulated call.
1732
1743
  additionalProperties: true
1733
1744
  x-celigo-ai-guidance:
1734
- - Send explicit test input under the mockRequest key ({body, pathParams, queryParams, headers}); with no body the run replays the saved builder.request.mockRequest.
1745
+ - Send test input under the mockRequest key ({body, pathParams, queryParams, headers}). A run without mockRequest starts from an empty record; the saved builder.request.mockRequest is not replayed, so send it explicitly to test with it.
1735
1746
  examples:
1736
1747
  default:
1737
- summary: Run with no overrides
1748
+ summary: Run without test input (the first step gets an empty record)
1738
1749
  value: {}
1739
1750
  withMockRequest:
1740
1751
  summary: Run with an explicit test request
@@ -2559,6 +2570,59 @@ components:
2559
2570
  - |-
2560
2571
  In script mode, you provide a custom JavaScript function that receives the request
2561
2572
  object and returns the response. This gives you complete control over the API behavior.
2573
+ items:
2574
+ type: object
2575
+ required:
2576
+ - dataType
2577
+ properties:
2578
+ generate:
2579
+ type: string
2580
+ description: Record field the row writes.
2581
+ examples:
2582
+ - customerId
2583
+ extract:
2584
+ type: string
2585
+ description: JSONPath into the request body that the value is read from.
2586
+ examples:
2587
+ - $.id
2588
+ dataType:
2589
+ type: string
2590
+ enum:
2591
+ - string
2592
+ - number
2593
+ - boolean
2594
+ - object
2595
+ - stringarray
2596
+ - numberarray
2597
+ - booleanarray
2598
+ - objectarray
2599
+ x-enumDescriptions:
2600
+ string: Single string value
2601
+ number: Single numeric value
2602
+ boolean: Single boolean value
2603
+ object: Nested object value
2604
+ stringarray: Array of strings
2605
+ numberarray: Array of numbers
2606
+ booleanarray: Array of booleans
2607
+ objectarray: Array of objects
2608
+ description: Data type the row writes.
2609
+ examples:
2610
+ - string
2611
+ sourceDataType:
2612
+ type: string
2613
+ description: Data type of the extracted value.
2614
+ examples:
2615
+ - string
2616
+ status:
2617
+ type: string
2618
+ description: Row status; `Active` rows run.
2619
+ examples:
2620
+ - Active
2621
+ mappings:
2622
+ type: array
2623
+ description: Child rows of an `object` row, with the same shape as this row.
2624
+ items:
2625
+ $ref: '#/components/schemas/items'
2562
2626
  ApiRequest:
2563
2627
  type: object
2564
2628
  description: Request configuration for a builder-mode API endpoint.
@@ -2581,15 +2645,20 @@ components:
2581
2645
  maxLength: 131072
2582
2646
  pattern: ^\/[a-zA-Z0-9:_*\/\-\.]*$
2583
2647
  description: |-
2584
- URI path relative to the version. Full endpoint becomes
2585
- `/{version}{relativeURI}`. Use colon notation for path params: `/customers/:id`.
2648
+ URI path relative to the version. Callers reach the API at
2649
+ `https://api.integrator.io/apis/{version}{relativeURI}` (on the account's regional
2650
+ host outside the US), with the account's API token. Use colon notation for path
2651
+ params: `/customers/:id`.
2586
2652
  examples:
2587
2653
  - /customers/:id
2588
2654
  - /orders
2589
2655
  - /products/:productId/variants/:variantId
2590
2656
  x-celigo-ai-guidance:
2591
2657
  - |-
2592
- Full endpoint URL will be: `/{version}{relativeURI}`
2658
+ The public endpoint is `https://api.integrator.io/apis/{version}{relativeURI}`, for
2659
+ example `/apis/v1/customers/:id`; `relativeURI` already starts with `/`, so add no
2660
+ slash after the version. Without the `/apis` prefix the request goes to the
2661
+ platform's own API and answers `resource_not_found`.
2593
2662
  Can include path parameters using colon notation: `/customers/:id`
2594
2663
  First path segment must be alphanumeric, dash, or underscore only.
2595
2664
  method:
@@ -2722,7 +2791,10 @@ components:
2722
2791
  the empty map never survives the round-trip.
2723
2792
  mockRequest:
2724
2793
  type: object
2725
- description: Mock request data for testing the API without live calls.
2794
+ description: |-
2795
+ Sample request saved with the API for testing. `POST /v1/apis/{_id}/test/run` doesn't
2796
+ read it; send it as that call's `mockRequest`. A test run still makes outside calls:
2797
+ its lookups call their sources live.
2726
2798
  properties:
2727
2799
  body:
2728
2800
  type: object
@@ -2739,12 +2811,104 @@ components:
2739
2811
  additionalProperties: false
2740
2812
  x-celigo-ai-guidance:
2741
2813
  - |-
2742
- Provides sample data to test the API without making actual calls.
2743
- Can include body, headers, pathParams, and queryParams.
2814
+ Saving a mockRequest doesn't make test runs use it: a test run without its own
2815
+ mockRequest starts from an empty record. A test run isn't free of outside calls
2816
+ either: lookups run live, and only imports are kept from sending (each returns its
2817
+ mockResponse or a placeholder). Can include body, headers, pathParams, and
2818
+ queryParams.
2744
2819
  transform:
2745
2820
  type: object
2746
- description: Optional transformation applied to the incoming request before processing.
2821
+ description: |-
2822
+ Optional transformation applied to the incoming request before processing. The
2823
+ expression form (`type: "expression"` with Transformation 2.0 rules in `expression`)
2824
+ saves and runs. In a test run its rules see only the request body, not `pathParams`,
2825
+ `queryParams` or headers.
2747
2826
  properties:
2827
+ type:
2828
+ type: string
2829
+ description: Selects the transform form; `expression` runs the rules in `expression`.
2830
+ examples:
2831
+ - expression
2832
+ expression:
2833
+ type: object
2834
+ description: Transformation 2.0 rules applied to the request body.
2835
+ properties:
2836
+ version:
2837
+ type: string
2838
+ description: Rule format; `"2"` selects the rules in `rulesTwoDotZero`.
2839
+ examples:
2840
+ - '2'
2841
+ rulesTwoDotZero:
2842
+ type: object
2843
+ description: The rules applied to the request body.
2844
+ properties:
2845
+ mode:
2846
+ type: string
2847
+ enum:
2848
+ - create
2849
+ - modify
2850
+ x-enumDescriptions:
2851
+ create: Builds a new record from the mappings, dropping unmapped fields.
2852
+ modify: Edits the incoming record, keeping unmapped fields.
2853
+ description: How the mappings apply to the record; `modify` keeps the body's own fields beside the mapped ones.
2854
+ examples:
2855
+ - modify
2856
+ mappings:
2857
+ type: array
2858
+ description: Mapper 2.0 rows that write fields onto the record.
2859
+ items:
2860
+ type: object
2861
+ required:
2862
+ - dataType
2863
+ properties:
2864
+ generate:
2865
+ type: string
2866
+ description: Record field the row writes.
2867
+ examples:
2868
+ - customerId
2869
+ extract:
2870
+ type: string
2871
+ description: JSONPath into the request body that the value is read from.
2872
+ examples:
2873
+ - $.id
2874
+ dataType:
2875
+ type: string
2876
+ enum:
2877
+ - string
2878
+ - number
2879
+ - boolean
2880
+ - object
2881
+ - stringarray
2882
+ - numberarray
2883
+ - booleanarray
2884
+ - objectarray
2885
+ x-enumDescriptions:
2886
+ string: Single string value
2887
+ number: Single numeric value
2888
+ boolean: Single boolean value
2889
+ object: Nested object value
2890
+ stringarray: Array of strings
2891
+ numberarray: Array of numbers
2892
+ booleanarray: Array of booleans
2893
+ objectarray: Array of objects
2894
+ description: Data type the row writes.
2895
+ examples:
2896
+ - string
2897
+ sourceDataType:
2898
+ type: string
2899
+ description: Data type of the extracted value.
2900
+ examples:
2901
+ - string
2902
+ status:
2903
+ type: string
2904
+ description: Row status; `Active` rows run.
2905
+ examples:
2906
+ - Active
2907
+ mappings:
2908
+ type: array
2909
+ description: Child rows of an `object` row, with the same shape as this row.
2910
+ items:
2911
+ $ref: '#/components/schemas/items'
2748
2912
  _scriptId:
2749
2913
  type: string
2750
2914
  format: objectId
@@ -2874,16 +3038,19 @@ components:
2874
3038
  items: {}
2875
3039
  examples:
2876
3040
  - - equals
2877
- - - get
2878
- - customerType
3041
+ - - string
3042
+ - - extract
3043
+ - customerType
2879
3044
  - premium
2880
3045
  - - and
2881
- - - exists
2882
- - - get
2883
- - orderId
2884
- - - greaterThan
2885
- - - get
2886
- - amount
3046
+ - - notempty
3047
+ - - string
3048
+ - - extract
3049
+ - orderId
3050
+ - - greaterthan
3051
+ - - number
3052
+ - - extract
3053
+ - amount
2887
3054
  - 1000
2888
3055
  x-celigo-ai-guidance:
2889
3056
  - |-
@@ -2926,6 +3093,13 @@ components:
2926
3093
  hooks:
2927
3094
  type: object
2928
3095
  description: Custom scripts for processing
3096
+ proceedOnFailure:
3097
+ type: boolean
3098
+ description: |-
3099
+ When true, the next step still runs after this step fails, and the request
3100
+ can still end in the `success` response (`context.success` stays true).
3101
+ When false, a failure stops the branch and the API returns its `fail`
3102
+ response.
2929
3103
  x-celigo-ai-guidance:
2930
3104
  - |-
2931
3105
  Each branch has its own criteria and processing steps. Requests are
@@ -2992,6 +3166,75 @@ components:
2992
3166
  The response router determines which response configuration to use based on
2993
3167
  the processing results. This allows you to return different responses based
2994
3168
  on different conditions or outcomes.
3169
+ items-2:
3170
+ type: object
3171
+ required:
3172
+ - dataType
3173
+ properties:
3174
+ generate:
3175
+ type: string
3176
+ description: |-
3177
+ Name of the response-body field this row writes. A dot doesn't nest:
3178
+ `customer.id` makes one key named `customer.id`. To nest, use an `object` row
3179
+ with child `mappings`.
3180
+ examples:
3181
+ - customerId
3182
+ dataType:
3183
+ type: string
3184
+ enum:
3185
+ - string
3186
+ - number
3187
+ - boolean
3188
+ - object
3189
+ - stringarray
3190
+ - numberarray
3191
+ - booleanarray
3192
+ - objectarray
3193
+ x-lowercase: true
3194
+ x-enumDescriptions:
3195
+ string: Single string value
3196
+ number: Single numeric value
3197
+ boolean: Single boolean value
3198
+ object: Nested object value
3199
+ stringarray: Array of strings
3200
+ numberarray: Array of numbers
3201
+ booleanarray: Array of booleans
3202
+ objectarray: Array of objects
3203
+ description: Data type of the value this mapping writes into the response body.
3204
+ examples:
3205
+ - string
3206
+ x-celigo-ai-guidance:
3207
+ - |-
3208
+ Validator-enforced on every mapping entry: writes fail with
3209
+ `422` ("Path 'dataType' is required."), repeated once per
3210
+ entry that omits it.
3211
+ extract:
3212
+ type: string
3213
+ description: |-
3214
+ Where the value comes from, as a JSONPath into the record (`$.id`). A bare string
3215
+ such as `id` or `record.id` is written as that literal text, not read from the
3216
+ record.
3217
+ examples:
3218
+ - $.id
3219
+ mappings:
3220
+ type: array
3221
+ description: |-
3222
+ Child rows of an `object` row, with the same shape as this row. Each writes one
3223
+ field inside the object this row generates.
3224
+ items:
3225
+ $ref: '#/components/schemas/items-2'
3226
+ hardCodedValue:
3227
+ type: string
3228
+ description: |-
3229
+ Static value written to the target field instead of extracting
3230
+ from input data.
3231
+ x-celigo-ai-guidance:
3232
+ - |-
3233
+ The field name is exactly `hardCodedValue` (capital C). The
3234
+ server does not reject unknown mapping keys: a mapping sent
3235
+ with `hardcodedValue` saves successfully with the value
3236
+ silently dropped — no error, and the target field is then
3237
+ simply absent from the API's responses.
2995
3238
  ApiResponse:
2996
3239
  type: object
2997
3240
  description: |-
@@ -3173,7 +3416,9 @@ components:
3173
3416
  additionalProperties: true
3174
3417
  mappings:
3175
3418
  type: array
3176
- description: Field mappings to transform processing results into the response body.
3419
+ description: |-
3420
+ Mapper 2.0 rows that build the response body from the record the steps produced,
3421
+ under the same rules as the shared Mapper 2.0 schema an import's `mappings` use.
3177
3422
  items:
3178
3423
  type: object
3179
3424
  required:
@@ -3181,9 +3426,12 @@ components:
3181
3426
  properties:
3182
3427
  generate:
3183
3428
  type: string
3184
- description: Target field path in the response
3429
+ description: |-
3430
+ Name of the response-body field this row writes. A dot doesn't nest:
3431
+ `customer.id` makes one key named `customer.id`. To nest, use an `object` row
3432
+ with child `mappings`.
3185
3433
  examples:
3186
- - data.customerId
3434
+ - customerId
3187
3435
  dataType:
3188
3436
  type: string
3189
3437
  enum:
@@ -3195,7 +3443,6 @@ components:
3195
3443
  - numberarray
3196
3444
  - booleanarray
3197
3445
  - objectarray
3198
- - arrayarray
3199
3446
  x-lowercase: true
3200
3447
  x-enumDescriptions:
3201
3448
  string: Single string value
@@ -3206,7 +3453,6 @@ components:
3206
3453
  numberarray: Array of numbers
3207
3454
  booleanarray: Array of booleans
3208
3455
  objectarray: Array of objects
3209
- arrayarray: Array of arrays
3210
3456
  description: Data type of the value this mapping writes into the response body.
3211
3457
  examples:
3212
3458
  - string
@@ -3217,9 +3463,19 @@ components:
3217
3463
  entry that omits it.
3218
3464
  extract:
3219
3465
  type: string
3220
- description: Source field path from input data
3466
+ description: |-
3467
+ Where the value comes from, as a JSONPath into the record (`$.id`). A bare string
3468
+ such as `id` or `record.id` is written as that literal text, not read from the
3469
+ record.
3221
3470
  examples:
3222
- - record.id
3471
+ - $.id
3472
+ mappings:
3473
+ type: array
3474
+ description: |-
3475
+ Child rows of an `object` row, with the same shape as this row. Each writes one
3476
+ field inside the object this row generates.
3477
+ items:
3478
+ $ref: '#/components/schemas/items-2'
3223
3479
  hardCodedValue:
3224
3480
  type: string
3225
3481
  description: |-
@@ -3435,7 +3691,7 @@ components:
3435
3691
  type: string
3436
3692
  default: v1
3437
3693
  pattern: ^[a-zA-Z0-9\-_\.]+$
3438
- description: Version segment of the public URL (`/{version}/{relativeURI}`).
3694
+ description: Version segment of the public URL (`/apis/{version}{relativeURI}`).
3439
3695
  examples:
3440
3696
  - v1
3441
3697
  - v2
@@ -3483,16 +3739,17 @@ components:
3483
3739
  - accountLevel
3484
3740
  - noLogging
3485
3741
  x-enumDescriptions:
3486
- basic: Log request metadata (method, URI, status, timing) only.
3742
+ basic: Log request metadata and the trace view's step list, with the least per-record payload.
3487
3743
  standard: Log request metadata plus headers and summary step information.
3488
3744
  detailed: Full capture including per-step trace logs, viewable in the run-history trace view.
3489
3745
  accountLevel: Defer to the account's logging settings.
3490
3746
  noLogging: Disable request logging entirely — no run-history entries are produced.
3491
3747
  description: |-
3492
- Which logging level applies to requests handled by this API. Only
3493
- `detailed` (or a temporary debug window) produces the per-step
3494
- trace data used by `GET /v1/apis/{_id}/requests/{executionId}`.
3495
- Payload-capturing modes (`standard`, `detailed`) require payload
3748
+ Which logging level applies to requests handled by this API. Every
3749
+ mode that logs records the step list that
3750
+ `GET /v1/apis/{_id}/requests/{executionId}` returns, `basic` included;
3751
+ the level decides how much per-record payload the log-data query can
3752
+ return. Payload-capturing modes (`standard`, `detailed`) require payload
3496
3753
  storage to be enabled for the account — without it, changing the
3497
3754
  mode fails with `422` (code `payload_storage_required`).
3498
3755
  debugUntil:
@@ -3835,7 +4092,7 @@ components:
3835
4092
  `/v1/exports/{_exportId}/invoke`, `/v1/imports/{_importId}/invoke`,
3836
4093
  `/v1/connections/{_connectionId}/import` for virtual imports,
3837
4094
  `/v1/apis/{_apiId}/request` for script-mode APIs, and
3838
- `/apis/v1/<relativeURI>` for builder-mode APIs.
4095
+ `/apis/{version}{relativeURI}` (such as `/apis/v1/orders`) for builder-mode APIs.
3839
4096
  examples:
3840
4097
  - /v1/exports/6878f4a43bc01652c09cdccc/invoke
3841
4098
  metadata:
@@ -4278,7 +4535,7 @@ components:
4278
4535
  description: |-
4279
4536
  Identifier of this request execution (20-character lowercase hex).
4280
4537
  Pass it to `GET /v1/apis/{_id}/requests/{executionId}` to open the
4281
- trace view when `logMode` is `detailed` or `debug`.
4538
+ trace view, which every `logMode` records.
4282
4539
  examples:
4283
4540
  - a1b2c3d4e5f678901234
4284
4541
  time:
@@ -4384,7 +4641,10 @@ components:
4384
4641
  Identifies what ran: the API's own id for the request-parsing step, the
4385
4642
  export or import id for a lookup or import step, the response `id`
4386
4643
  (for example `success`) for the response step, or `<toolId>_input` /
4387
- `<toolId>_output` for the boundaries of a nested Tool step.
4644
+ `<toolId>_output` for the boundaries of a nested Tool step. A response
4645
+ step whose `id` was named by the user can't be read through the
4646
+ log-data query, which rejects that id with 400 `invalid_exp_or_imp_id`
4647
+ at every stage; read the step's outcome from this trace.
4388
4648
  examples:
4389
4649
  - 67ee026136f4d1eeb529ad63
4390
4650
  - success
@@ -5003,7 +5263,11 @@ components:
5003
5263
  $ref: '#/components/schemas/AIDescription'
5004
5264
  offline:
5005
5265
  type: boolean
5006
- description: When true, the connection has been taken offline and is skipped during flow execution.
5266
+ description: |-
5267
+ When true, the connection has been taken offline and is skipped during flow execution.
5268
+ The platform tests the connection after a create or `PUT` and updates this shortly
5269
+ afterwards (the audit log records a `system` change; `lastModified` doesn't move), so
5270
+ read it again a few seconds after the write.
5007
5271
  readOnly: true
5008
5272
  needsAuthorization:
5009
5273
  type: boolean
@@ -908,7 +908,7 @@ components:
908
908
  **When to Use**
909
909
  - REQUIRED when dataType = "object" (unless you are copying an entire object from the input record)
910
910
  - REQUIRED in buildArrayHelper.mappings when defining complex object array elements
911
- - NEVER used with simple types (string, number, boolean, date)
911
+ - NEVER used with simple types (string, number, boolean)
912
912
 
913
913
  **Behavior**
914
914
  - Each mapping in this array becomes a property of the parent object
@@ -1974,7 +1974,7 @@ components:
1974
1974
  **When to Use**
1975
1975
  - REQUIRED when dataType = "object" (unless you are copying an entire object from the input record)
1976
1976
  - REQUIRED in buildArrayHelper.mappings when defining complex object array elements
1977
- - NEVER used with simple types (string, number, boolean, date)
1977
+ - NEVER used with simple types (string, number, boolean)
1978
1978
 
1979
1979
  **Behavior**
1980
1980
  - Each mapping in this array becomes a property of the parent object
@@ -1002,6 +1002,7 @@ paths:
1002
1002
  | Path | Description |
1003
1003
  |------|-------------|
1004
1004
  | `/name` | Connection display name |
1005
+ | `/aiDescription` | AI-generated description of the connection |
1005
1006
  | `/debugDate` | Debug logging expiry (ISO-8601, max 1 hour from now) |
1006
1007
  | `/debugUntil` | Alias for `/debugDate` |
1007
1008
  | `/<adaptor>/concurrencyLevel` | Concurrent requests allowed. Platform-managed while `autoRecoverRateLimitErrors` is true — the recovery machinery moves it toward the target, so set `targetConcurrencyLevel` instead |
@@ -1019,8 +1020,10 @@ paths:
1019
1020
  `invalid_field_value`); out-of-range integers are clamped into the account's
1020
1021
  licensed range rather than rejected. A whitelisted path under an adaptor
1021
1022
  block the connection does not use is accepted but never read. The
1022
- borrowed-from connection must exist in the account, may not itself borrow,
1023
- and a connection that others borrow from cannot start borrowing.
1023
+ borrowed-from connection must exist in the account and may not itself borrow
1024
+ (422 `connection_borrows_from_another`), and a connection that others borrow
1025
+ from cannot start borrowing (422 `connection_borrowed_by_another`). A
1026
+ connection naming itself is accepted, so check the id before sending it.
1024
1027
  Settings-only changes are recorded in the connection's audit log.
1025
1028
  operationId: patchConnection
1026
1029
  tags:
@@ -4115,7 +4118,11 @@ components:
4115
4118
  $ref: '#/components/schemas/AIDescription'
4116
4119
  offline:
4117
4120
  type: boolean
4118
- description: When true, the connection has been taken offline and is skipped during flow execution.
4121
+ description: |-
4122
+ When true, the connection has been taken offline and is skipped during flow execution.
4123
+ The platform tests the connection after a create or `PUT` and updates this shortly
4124
+ afterwards (the audit log records a `system` change; `lastModified` doesn't move), so
4125
+ read it again a few seconds after the write.
4119
4126
  readOnly: true
4120
4127
  needsAuthorization:
4121
4128
  type: boolean
package/dist/enduser.yml CHANGED
@@ -2215,7 +2215,11 @@ components:
2215
2215
  $ref: '#/components/schemas/AIDescription'
2216
2216
  offline:
2217
2217
  type: boolean
2218
- description: When true, the connection has been taken offline and is skipped during flow execution.
2218
+ description: |-
2219
+ When true, the connection has been taken offline and is skipped during flow execution.
2220
+ The platform tests the connection after a create or `PUT` and updates this shortly
2221
+ afterwards (the audit log records a `system` change; `lastModified` doesn't move), so
2222
+ read it again a few seconds after the write.
2219
2223
  readOnly: true
2220
2224
  needsAuthorization:
2221
2225
  type: boolean