@celigo/api-specs 0.2.3 → 0.2.4-IO-168454-EPIC-fb

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.
Files changed (52) hide show
  1. package/README.md +71 -80
  2. package/dist/account.yml +456 -55
  3. package/dist/agent.yml +15 -0
  4. package/dist/ai-agent.yml +1000 -192
  5. package/dist/alert.yml +1226 -0
  6. package/dist/api.yml +6375 -178
  7. package/dist/apim.yml +0 -4
  8. package/dist/asynchelper.yml +441 -62
  9. package/dist/audit.yml +57 -2
  10. package/dist/bartendertemplate.yml +508 -0
  11. package/dist/connection.yml +2533 -189
  12. package/dist/connector.yml +8 -0
  13. package/dist/ediprofile.yml +15 -0
  14. package/dist/editransaction.yml +250 -14
  15. package/dist/enduser.yml +6063 -47
  16. package/dist/environment.yml +8 -0
  17. package/dist/eventreport.yml +8 -0
  18. package/dist/export.yml +1624 -1804
  19. package/dist/filedefinition.yml +47 -0
  20. package/dist/filedefinitionrules.yml +722 -0
  21. package/dist/fileserver.yml +1457 -0
  22. package/dist/filestorage.yml +1087 -535
  23. package/dist/flow.yml +896 -209
  24. package/dist/guardrail.yml +310 -499
  25. package/dist/httpconnector.yml +8 -0
  26. package/dist/httpconnectorendpoint.yml +610 -126
  27. package/dist/httpconnectorresource.yml +1160 -84
  28. package/dist/iclient.yml +245 -114
  29. package/dist/import.yml +2583 -448
  30. package/dist/integration.yml +1114 -45
  31. package/dist/job.yml +188 -92
  32. package/dist/lookupcache.yml +45 -14
  33. package/dist/marketplace.yml +352 -107
  34. package/dist/mcp-oauth-provider.yml +15 -30
  35. package/dist/mcp-server.yml +7004 -68
  36. package/dist/networkpolicy.yml +1221 -0
  37. package/dist/notification.yml +59 -9
  38. package/dist/processor.yml +8 -3
  39. package/dist/recyclebin.yml +32 -2
  40. package/dist/script.yml +91 -16
  41. package/dist/stack.yml +642 -5
  42. package/dist/storagequery.yml +935 -0
  43. package/dist/subscription.yml +428 -67
  44. package/dist/sync.yml +435 -79
  45. package/dist/tag.yml +8 -0
  46. package/dist/template.yml +47 -1
  47. package/dist/tool.yml +7932 -3273
  48. package/dist/topic.yml +1806 -0
  49. package/dist/tradingpartnerconnector.yml +18 -0
  50. package/dist/user.yml +465 -42
  51. package/package.json +13 -1
  52. package/schemas.json +2358 -1887
@@ -38,21 +38,123 @@ paths:
38
38
  description: |-
39
39
  Returns one account-level license (`type` is `platform`, `integrator`, or
40
40
  `endpoint`) plus zero or more `connector`, `integrationApp`, or
41
- `integrationAppChild` licenses.
41
+ `integrationAppChild` licenses, oldest first.
42
+
43
+ Pass `type=io` to receive only the account-level license as a single
44
+ object (not an array) with `_userId` added — use this when you need the
45
+ subscription plan without filtering the list yourself.
42
46
  x-celigo-ai-guidance:
43
- - |-
44
- AI guidance:
45
- - Use this to determine the subscription type (`platform`, `integrator`, `endpoint`, `connector`, etc.) and high-level flags (e.g., sandbox access).
47
+ - Use this to determine the subscription type (`platform`, `integrator`, `endpoint`, `connector`, etc.) and high-level flags (e.g., sandbox access).
48
+ - With `?type=io` the response is a single License object, not an array; parse it accordingly.
49
+ parameters:
50
+ - name: type
51
+ in: query
52
+ required: false
53
+ description: |-
54
+ Set to `io` to return only the account-level license as a single object.
55
+ Any other value is ignored and the full array is returned.
56
+ schema:
57
+ type: string
58
+ enum:
59
+ - io
60
+ x-enumDescriptions:
61
+ io: Return the account-level license (integrator, endpoint, or platform) as one object with `_userId`
62
+ examples:
63
+ - io
46
64
  responses:
47
65
  '200':
48
- description: List of licenses
66
+ description: List of licenses. With `type=io`, a single License object instead of an array.
49
67
  content:
50
68
  application/json:
51
69
  schema:
52
- type: array
53
- items:
54
- $ref: '#/components/schemas/License'
70
+ oneOf:
71
+ - title: list
72
+ description: Default shape — every license on the account, oldest first.
73
+ type: array
74
+ items:
75
+ $ref: '#/components/schemas/License'
76
+ - title: single
77
+ description: Shape returned for `?type=io` — the account-level license alone, with `_userId`.
78
+ allOf:
79
+ - $ref: '#/components/schemas/License'
55
80
  examples:
81
+ io:
82
+ summary: Account-level license via ?type=io (single object)
83
+ value:
84
+ _userId: 624cb0346309dc3a543733a2
85
+ _id: 624cb0356309dc3a543733a4
86
+ created: '2024-04-05T21:10:13.226Z'
87
+ lastModified: '2025-08-10T14:22:33.000Z'
88
+ expires: '2099-12-31T00:00:00.000Z'
89
+ type: platform
90
+ tier: enterprise (2024)
91
+ supportTier: premier
92
+ resumable: false
93
+ disableOverage: false
94
+ requestUserToMigrateSandbox: false
95
+ sso: true
96
+ scim: false
97
+ van: true
98
+ cdc: true
99
+ lookupCache: true
100
+ abstractFlows: true
101
+ apiManagement: true
102
+ concurrency: 25
103
+ maxAllowedDataRetention: 180
104
+ auditLogRetentionYears: 3
105
+ aiConversationsPrepaidBalance: 47.96
106
+ aiAgentsPrepaidBalance: 19.62
107
+ platform:
108
+ production:
109
+ numEndpoints: 600
110
+ numAddOnEndpoints: 0
111
+ numFlows: 80
112
+ numAddOnFlows: 5000
113
+ numAgents: 0
114
+ numAddOnAgents: 100
115
+ apiManagement: true
116
+ numEnvironments: 5
117
+ edi:
118
+ enabled: true
119
+ onboarded: true
120
+ disableOverage: false
121
+ tier: basic
122
+ numTradingPartners: 3
123
+ numAddOnTradingPartners: 0
124
+ numDocumentTypes: 5
125
+ numAddOnDocumentTypes: 0
126
+ labelPrinting:
127
+ enabled: true
128
+ onboarded: true
129
+ numLabels: 10000
130
+ numAddOnLabels: 0
131
+ api:
132
+ builder: true
133
+ enablePricing: false
134
+ disableOverages: false
135
+ numInvocations: 0
136
+ apimNumInvocations: 0
137
+ numAddOnInvocations: 0
138
+ topics:
139
+ enabled: true
140
+ topicsAllowed: 20
141
+ retentionCeilingDays: 90
142
+ lookupCacheUsage:
143
+ numUnits: 100000000
144
+ numAddOnUnits: 0
145
+ di:
146
+ enabled: false
147
+ volume: 0
148
+ volumeAddOn: 0
149
+ disableOverage: false
150
+ logging:
151
+ enabled: true
152
+ maxLogMode: detailed
153
+ maxDebugDuration: 4320
154
+ maxRetentionPeriod: 180
155
+ storage:
156
+ maxAllowedUsage: 200
157
+ disableOverage: false
56
158
  platform:
57
159
  summary: Platform license (enterprise tier)
58
160
  value:
@@ -67,7 +169,9 @@ paths:
67
169
  disableOverage: false
68
170
  requestUserToMigrateSandbox: false
69
171
  sso: true
172
+ scim: false
70
173
  van: true
174
+ cdc: true
71
175
  lookupCache: true
72
176
  abstractFlows: true
73
177
  apiManagement: true
@@ -76,7 +180,6 @@ paths:
76
180
  auditLogRetentionYears: 3
77
181
  aiConversationsPrepaidBalance: 47.96
78
182
  aiAgentsPrepaidBalance: 19.62
79
- aiAgentsActions: 10000
80
183
  platform:
81
184
  production:
82
185
  numEndpoints: 600
@@ -108,8 +211,15 @@ paths:
108
211
  numInvocations: 0
109
212
  apimNumInvocations: 0
110
213
  numAddOnInvocations: 0
111
- mcp:
112
- numInvocations: 50000
214
+ topics:
215
+ enabled: true
216
+ topicsAllowed: 20
217
+ retentionCeilingDays: 90
218
+ filesql:
219
+ enabled: true
220
+ lookupCacheUsage:
221
+ numUnits: 100000000
222
+ numAddOnUnits: 0
113
223
  di:
114
224
  enabled: false
115
225
  volume: 0
@@ -123,6 +233,10 @@ paths:
123
233
  storage:
124
234
  maxAllowedUsage: 200
125
235
  disableOverage: false
236
+ '204':
237
+ description: |-
238
+ The account has no licenses, or `type=io` was requested and the account
239
+ has no account-level license.
126
240
  '401':
127
241
  $ref: '#/components/responses/401-unauthorized'
128
242
  /v1/licenseEntitlementUsage:
@@ -133,14 +247,15 @@ paths:
133
247
  tags:
134
248
  - Subscription & Entitlements
135
249
  description: |-
136
- Returns entitlement usage for the current account/license -- how many resources the account
137
- is consuming vs. what is entitled. Pair with `GET /v1/licenses` for the entitlement limits.
250
+ Returns entitlement usage for the environment the request is made in -- how many resources it
251
+ is consuming vs. what is entitled. Pair with `GET /v1/licenses` for the entitlement limits;
252
+ the license's pricing model decides what the flow count means.
138
253
  x-celigo-ai-guidance:
139
- - Returns entitlement usage for the current account/license (consumption vs. entitlement, by usage category).
254
+ - Returns entitlement usage for the requesting environment (consumption vs. entitlement, by usage category); environments are never netted against each other.
140
255
  - |-
141
256
  The response includes counts such as:
142
257
  - endpoints consumed
143
- - flows enabled
258
+ - the flow meter (`flowUsage.numEnabled` — enabled flows, or the distinct flows that ran in the billing period, depending on the account's pricing model)
144
259
  - agents active
145
260
  - trading partners consumed
146
261
  - environments enabled (for multi-environment licensing)
@@ -170,7 +285,21 @@ paths:
170
285
  connections:
171
286
  - _id: 62ac9ab6cd606e428737008e
172
287
  name: HubSpot (Production)
288
+ - type: http
289
+ _httpConnectorId: 6425e536bd748551c63024bc
290
+ connections:
291
+ - _id: 68ae48d6b5f755d2dd38c294
292
+ name: OpenAI
293
+ - type: ftp
294
+ hostURI: sftp.example.com
295
+ port: 22
296
+ connections:
297
+ - _id: 62ac8142839f01546de4db2a
298
+ name: Warehouse SFTP
173
299
  - type: rdbms
300
+ rdbms:
301
+ type: snowflake
302
+ host: celigo_partner
174
303
  connections:
175
304
  - _id: 69d096cd4e0c505cda036a3a
176
305
  name: Snowflake DW
@@ -221,8 +350,8 @@ paths:
221
350
  syncUsage:
222
351
  entitlement: 0
223
352
  volume: 0
224
- mcpUsage:
225
- numInvocations: 340
353
+ lookupCacheUsage:
354
+ numUnits: 4820
226
355
  aiAgentsActionsUsage: 87
227
356
  '401':
228
357
  $ref: '#/components/responses/401-unauthorized'
@@ -273,8 +402,12 @@ paths:
273
402
  tags:
274
403
  - Subscription & Entitlements
275
404
  description: |-
276
- Returns historical monthly usage for accounts on flow-run pricing models (primarily platform
277
- licenses). Useful for month-by-month trend analysis of usage vs. allocation.
405
+ Returns historical monthly usage for accounts whose pricing model meters flow runs (platform
406
+ licenses), newest month first; the current month's row can carry null usage until the meter
407
+ has processed. Useful for month-by-month trend analysis of usage vs. allocation. Not available
408
+ on plans that do not store monthly usage (endpoint and integrator licenses).
409
+ x-celigo-ai-guidance:
410
+ - On endpoint and integrator licenses the request currently fails with a 500 server error instead of returning an empty list; treat that as "this plan stores no monthly usage", not as an outage, and answer from `GET /v1/licenseEntitlementUsage` instead.
278
411
  responses:
279
412
  '200':
280
413
  description: Historical monthly usage
@@ -382,7 +515,10 @@ components:
382
515
  properties:
383
516
  numEndpoints:
384
517
  type: integer
385
- description: Base number of endpoints included with the plan.
518
+ description: |-
519
+ Base number of endpoints (distinct connected applications) included with the plan, per
520
+ environment. Whether the count is taken from endpoints in use or from endpoints invoked
521
+ in the billing period depends on the account's pricing model.
386
522
  example: 600
387
523
  numAddOnEndpoints:
388
524
  type: integer
@@ -390,7 +526,10 @@ components:
390
526
  example: 0
391
527
  numFlows:
392
528
  type: integer
393
- description: Base number of flows included with the plan.
529
+ description: |-
530
+ Base flow entitlement included with the plan, per environment. Whether it caps enabled
531
+ flows or the distinct flows run in a billing period — and whether reaching it blocks or
532
+ only notifies — depends on the account's pricing model.
394
533
  example: 80
395
534
  numAddOnFlows:
396
535
  type: integer
@@ -435,6 +574,16 @@ components:
435
574
  Licenses may represent:
436
575
  - an account-level subscription (`type` is `integrator`, `platform`, or `endpoint`)
437
576
  - a connector-specific license (`type` is `connector`, includes `_connectorId` / `_integrationId`)
577
+ - |-
578
+ The resource meters (flows, endpoints, on-premise agents, trading partners) apply per
579
+ environment: every environment is a separate account under the parent, each is metered
580
+ on its own, and headroom in one never offsets usage in another. Account-level grants —
581
+ the number of environments, prepaid AI balances, and the other non-resource fields —
582
+ belong to the parent license and are not repeated per environment.
583
+ - |-
584
+ What a flow or endpoint entitlement METERS depends on the account's pricing model
585
+ (`type` plus tier generation). Interpret the counts for the plan this account is on
586
+ only; do not infer the rule from field names.
438
587
  properties:
439
588
  _id:
440
589
  type: string
@@ -443,6 +592,16 @@ components:
443
592
  x-celigo-refModel: licenses
444
593
  description: License identifier.
445
594
  example: 624cb0356309dc3a543733a4
595
+ _userId:
596
+ type: string
597
+ format: objectId
598
+ readOnly: true
599
+ x-celigo-refModel: users
600
+ description: |-
601
+ Account owner the license belongs to. Present only on the single-object
602
+ response of `GET /v1/licenses?type=io`; absent from the array response.
603
+ examples:
604
+ - 624cb0346309dc3a543733a2
446
605
  created:
447
606
  type: string
448
607
  format: date-time
@@ -472,9 +631,9 @@ components:
472
631
  - integrationApp
473
632
  - integrationAppChild
474
633
  x-enumDescriptions:
475
- integrator: Account-level subscription (integrator pricing model).
476
- platform: Account-level subscription (platform pricing model).
477
- endpoint: Account-level subscription (endpoint pricing model).
634
+ integrator: Account-level subscription (legacy integrator pricing model).
635
+ platform: Account-level subscription (platform pricing model; the tier name carries the plan generation).
636
+ endpoint: Account-level subscription (endpoint pricing model, metered on distinct endpoints).
478
637
  connector: Connector-specific license for an Integration App.
479
638
  integrationApp: Integration App license (parent).
480
639
  integrationAppChild: Integration App child license (inherits from a parent via `_parentId`).
@@ -483,9 +642,13 @@ components:
483
642
  description: When true, the account is licensed for CDC (change data capture) features.
484
643
  tier:
485
644
  type: string
486
- description: Subscription tier name — the plan level the account is on.
645
+ description: |-
646
+ Subscription tier name — the plan level the account is on. On `platform` licenses a year
647
+ marker in the name identifies the plan generation; the rest of the name is free-form
648
+ (packages, custom names).
487
649
  x-celigo-ai-guidance:
488
- - 'Examples: `free`, `standard`, `professional`, `enterprise`, `enterprise (2024)`.'
650
+ - 'Examples: `free`, `standard`, `professional`, `enterprise`, `enterprise (2024)`, `standard package (2024) - lite`.'
651
+ - Key pricing-model logic on `type` plus the year marker, never on the full tier string.
489
652
  example: enterprise (2024)
490
653
  supportTier:
491
654
  type: string
@@ -593,6 +756,14 @@ components:
593
756
  type: boolean
594
757
  description: When true, the plan entitles the account to use SSO (Single Sign-On).
595
758
  example: true
759
+ scim:
760
+ type: boolean
761
+ description: |-
762
+ When true, the plan entitles the account to provision users through SCIM.
763
+ Derived from the SCIM add-on together with `sso` — reads false whenever the
764
+ plan does not also entitle SSO. Present on account-level licenses.
765
+ examples:
766
+ - false
596
767
  van:
597
768
  type: boolean
598
769
  description: When true, the plan entitles the account to use VAN (Value Added Network) for EDI.
@@ -636,45 +807,174 @@ components:
636
807
  hooks). Customers purchase credits up front and usage costs are
637
808
  deducted as AI agents run. This balance is separate from Ora credits.
638
809
  example: 19.62
639
- aiAgentsActions:
640
- type: integer
641
- description: Total AI agent action entitlement for the current billing period.
642
- example: 10000
643
- mcp:
810
+ topics:
644
811
  type: object
645
- description: MCP (Model Context Protocol) server entitlements.
812
+ description: |-
813
+ Event Streams (topics) entitlements. Present on `endpoint` and `platform`
814
+ licenses; a plan without Event Streams carries only `enabled: false`, and the
815
+ two limits appear once `enabled` is true.
646
816
  required:
647
- - numInvocations
817
+ - enabled
648
818
  properties:
649
- numInvocations:
819
+ enabled:
820
+ type: boolean
821
+ description: When true, the plan entitles the account to create topics and use Event Streams.
822
+ examples:
823
+ - true
824
+ topicsAllowed:
825
+ type: integer
826
+ minimum: 0
827
+ description: |-
828
+ Maximum number of topics the account may hold. Enforced when a topic is
829
+ created or restored from the recycle bin.
830
+ examples:
831
+ - 20
832
+ retentionCeilingDays:
833
+ type: integer
834
+ minimum: 1
835
+ maximum: 90
836
+ description: |-
837
+ Longest message retention (in days) a topic may be configured with. Trial
838
+ accounts read a lower ceiling than paid plans.
839
+ examples:
840
+ - 90
841
+ lookupCacheUsage:
842
+ type: object
843
+ description: |-
844
+ Monthly lookup-cache unit entitlement; every read and write against a lookup
845
+ cache consumes units. Present on `endpoint` and `platform` licenses whose plan
846
+ includes lookup-cache units. Compare with `lookupCacheUsage.numUnits` on
847
+ `GET /v1/licenseEntitlementUsage` for consumption.
848
+ required:
849
+ - numUnits
850
+ - numAddOnUnits
851
+ properties:
852
+ numUnits:
853
+ type: integer
854
+ minimum: 0
855
+ description: Base number of lookup-cache units per month included with the plan.
856
+ examples:
857
+ - 100000000
858
+ numAddOnUnits:
650
859
  type: integer
651
- description: Base number of MCP server invocations per month included with the plan.
652
- example: 50000
860
+ minimum: 0
861
+ description: Additional lookup-cache units per month the customer purchased as add-ons.
862
+ examples:
863
+ - 0
864
+ fileserver:
865
+ type: object
866
+ description: |-
867
+ File server entitlement — running a Celigo-hosted SFTP server through
868
+ `/v1/mft/fileserver`. Present on account-level licenses once the add-on has
869
+ been provisioned; absent otherwise.
870
+ required:
871
+ - enabled
872
+ properties:
873
+ enabled:
874
+ type: boolean
875
+ description: When true, the plan entitles the account to run a Celigo-hosted SFTP file server.
876
+ examples:
877
+ - true
878
+ maxAccounts:
879
+ type: integer
880
+ minimum: 0
881
+ description: |-
882
+ Maximum number of partner accounts that may connect to each environment's
883
+ file server. A value of 0 blocks every partner connection.
884
+ examples:
885
+ - 1000
886
+ maxConcurrentSessionsPerAccount:
887
+ type: integer
888
+ minimum: 0
889
+ description: |-
890
+ Maximum concurrent sessions each partner account may hold on the file
891
+ server. A value of 0 blocks new sessions.
892
+ examples:
893
+ - 20
894
+ filesql:
895
+ type: object
896
+ description: |-
897
+ Storage Query entitlement — running SQL over files in Celigo Storage through
898
+ `POST /v1/storage/query`. Present on account-level licenses once the add-on has
899
+ been provisioned; absent otherwise.
900
+ required:
901
+ - enabled
902
+ properties:
903
+ enabled:
904
+ type: boolean
905
+ description: |-
906
+ When true, the account may submit storage queries. When false or when the
907
+ block is absent, every `/v1/storage/query` route answers
908
+ `403 STORAGE_QUERY_NOT_ENTITLED`.
909
+ examples:
910
+ - true
653
911
  di:
654
912
  type: object
655
- description: Data Interchange (DI) entitlements.
913
+ description: |-
914
+ Data Ingestion (Celigo Sync) entitlements. Every paid edition includes a base
915
+ allowance — one enabled sync per environment and a monthly loaded-row volume —
916
+ and a Data Ingestion volume pack adds capacity on top of it. A free trial
917
+ carries the Enterprise-equivalent allowance for its duration; the free plan
918
+ after the trial has no Data Ingestion.
656
919
  required:
657
920
  - enabled
658
921
  - volume
659
922
  - volumeAddOn
660
923
  - disableOverage
924
+ x-celigo-ai-guidance:
925
+ - |-
926
+ Read the entitlement from this block, never from a tier table: `volume` is
927
+ the edition's included monthly loaded rows and `volumeAddOn` the purchased
928
+ capacity. A trial's allowance is computed by the platform and is reported
929
+ here while the trial is active.
930
+ - |-
931
+ The entitlement is enforced when a sync is enabled, not when it is created.
932
+ Saving a sync with `disabled: false` returns `422 di_subscription_required`
933
+ ("Your license does not support Data Ingestion") when the account has no
934
+ entitlement, `di_sync_limit_exceeded` when the environment already has an
935
+ enabled sync and `volumeAddOn` is 0, and `di_usage_limit_exceeded` on volume
936
+ in two cases: while `histLoadEndDate` is in the future (with `volumeAddOn`
937
+ above 0), when the month's loaded rows have reached the historical-load cap —
938
+ regardless of `disableOverage`; otherwise, only when `disableOverage` is in
939
+ force and the month's loaded rows already exceed the allowance.
661
940
  properties:
662
941
  enabled:
663
942
  type: boolean
664
- description: When true, the plan entitles the account to use Data Interchange.
943
+ description: When true, the plan entitles the account to enable and run Data Ingestion syncs.
665
944
  example: false
666
945
  volume:
667
946
  type: integer
668
- description: Base DI volume included with the plan.
947
+ description: |-
948
+ Monthly loaded-row allowance included with the edition. Without the add-on,
949
+ crossing it lets the running job finish and disables the sync from its next
950
+ run until the next month.
669
951
  example: 0
670
952
  volumeAddOn:
671
953
  type: integer
672
- description: Additional DI volume the customer purchased as add-ons.
954
+ description: |-
955
+ Additional monthly loaded rows purchased as a Data Ingestion volume pack. With
956
+ a pack the account is no longer limited to one enabled sync per environment;
957
+ when the pack lapses, each environment is trimmed back to its most recently
958
+ run sync.
673
959
  example: 0
674
960
  disableOverage:
675
961
  type: boolean
676
- description: When true, Data Interchange overage charges are disabled.
962
+ description: |-
963
+ When true, monthly overage is not permitted: once the month's loaded rows
964
+ reach the allowance, syncs cannot be enabled until the next month. Trial
965
+ licenses enforce this unless the field is explicitly false. Not consulted
966
+ while a historical-load window (`histLoadEndDate`) is active.
677
967
  example: false
968
+ histLoadEndDate:
969
+ type: string
970
+ format: date-time
971
+ description: |-
972
+ End of the historical-load window granted with a volume pack. While this date
973
+ is in the future and `volumeAddOn` is above 0, the monthly cap is raised to a
974
+ platform-configured multiple (50 by default) of `volume` plus `volumeAddOn` —
975
+ still checked per calendar month — and `disableOverage` is not consulted.
976
+ Absent when no window is active.
977
+ example: '2026-10-29T00:00:00.000Z'
678
978
  api:
679
979
  type: object
680
980
  description: API Builder plan entitlements and invocation limits.
@@ -805,12 +1105,13 @@ components:
805
1105
  example: 4000
806
1106
  logging:
807
1107
  type: object
808
- description: Execution logging plan entitlements.
1108
+ description: |-
1109
+ Execution logging plan entitlements. A plan that does not entitle execution
1110
+ logging carries only `enabled: false`; the cap fields appear when the plan
1111
+ defines them. Trial accounts carry the trial's entitlement until `trialEndDate`;
1112
+ an account that does not convert then reads `enabled: false` (or no block).
809
1113
  required:
810
1114
  - enabled
811
- - maxLogMode
812
- - maxDebugDuration
813
- - maxRetentionPeriod
814
1115
  properties:
815
1116
  enabled:
816
1117
  type: boolean
@@ -818,21 +1119,29 @@ components:
818
1119
  example: true
819
1120
  maxLogMode:
820
1121
  type: string
821
- description: Maximum logging detail level the plan allows.
1122
+ description: |-
1123
+ Maximum persistent execution-log mode (`flow.logging.mode`) the plan allows;
1124
+ present when the plan defines this cap. A flow mode above this level is
1125
+ outside the entitlement regardless of the account's Store payloads consent.
1126
+ Time-boxed debug windows (`flow.logging.debugUntil`) are not governed by
1127
+ this cap: they are governed by `enabled`, `maxDebugDuration`, and the
1128
+ account's Store payloads consent.
822
1129
  example: detailed
823
1130
  enum:
824
- - brief
1131
+ - basic
825
1132
  - detailed
826
1133
  x-enumDescriptions:
827
- brief: Summary-level execution logs only.
828
- detailed: Full execution logs with request/response data.
1134
+ basic: Summary-level persistent execution logs only (no request/response payloads); debug windows remain available within maxDebugDuration
1135
+ detailed: Full persistent execution logs with request/response payloads
1136
+ x-celigo-ai-guidance:
1137
+ - On a basic-capped plan, a persistent Detailed log mode is outside the entitlement — steer that request to a license upgrade. A time-boxed debug window is within the plan; check `maxDebugDuration` and the account's Store payloads consent for it instead of inferring from this cap.
829
1138
  maxDebugDuration:
830
1139
  type: integer
831
- description: Maximum time (in minutes) the plan allows a user to enable debug logging for.
1140
+ description: Maximum time (in minutes) the plan allows a user to enable debug logging for. Present when the plan defines this cap.
832
1141
  example: 4320
833
1142
  maxRetentionPeriod:
834
1143
  type: integer
835
- description: Maximum execution log retention period (in days) the plan allows.
1144
+ description: Maximum execution log retention period (in days) the plan allows. Present when the plan defines this cap.
836
1145
  example: 180
837
1146
  storage:
838
1147
  type: object
@@ -897,11 +1206,16 @@ components:
897
1206
  properties:
898
1207
  numEnabled:
899
1208
  type: integer
900
- description: Number of enabled flows.
1209
+ description: |-
1210
+ The flow meter for the requesting environment on the account's pricing model. The field
1211
+ name reflects its legacy meaning (enabled flows); on plans that meter flow runs it is the
1212
+ number of distinct flows that ran in the billing period — never a count of executions.
1213
+ x-celigo-ai-guidance:
1214
+ - Read the account license before interpreting this number — it is not the enabled-flow count on every plan, and enabled-but-idle flows may not appear in it.
901
1215
  example: 12
902
1216
  flows:
903
1217
  type: array
904
- description: Flows contributing to usage.
1218
+ description: Flows contributing to the meter.
905
1219
  x-celigo-ai-guidance:
906
1220
  - List of flows contributing to usage (if provided).
907
1221
  items:
@@ -935,34 +1249,71 @@ components:
935
1249
  type: string
936
1250
  description: Integration name.
937
1251
  example: POC – HubSpot → Snowflake
1252
+ isDeleted:
1253
+ type: boolean
1254
+ description: When true, the parent integration has been soft-deleted and sits in the recycle bin. Absent while the integration is live.
1255
+ example: true
938
1256
  EndpointUsage:
939
1257
  type: object
940
- description: Endpoint entitlement usage.
1258
+ description: |-
1259
+ Endpoint entitlement usage for the requesting environment. An endpoint is a connected
1260
+ application, not a connection record: connections that share a Celigo-managed application
1261
+ profile (`assistant`) are one endpoint, HTTP connections linked to an HTTP connector but without
1262
+ an `assistant` are grouped by `_httpConnectorId`, generic HTTP connections by `baseURI`,
1263
+ databases by `rdbms` engine and host, FTP servers by `hostURI` and `port`, and other adaptor
1264
+ types by their own connection identity. Each `endpoints[]` entry carries the fields it was
1265
+ grouped by.
941
1266
  properties:
942
1267
  numConsumed:
943
1268
  type: integer
944
- description: Number of endpoints currently consumed.
1269
+ description: |-
1270
+ Endpoints counted against the entitlement in the requesting environment, one per distinct
1271
+ endpoint (see `endpoints`). Which flows bring an endpoint into the count follows the account's
1272
+ pricing model, as for `flowUsage.numEnabled`: flows that are enabled on plans that meter
1273
+ enabled resources, flows that ran in the billing period on plans that meter runs.
1274
+ x-celigo-ai-guidance:
1275
+ - Read the account license before interpreting this number. On run-metered plans an endpoint whose flows are enabled but have not run this period is not counted, and one used by a flow that ran even once counts for the whole period; on enabled-metered plans it is counted while any enabled flow references one of its connections, run or not.
1276
+ - Connections referenced by no flow are never counted, and connections to the platform's own API (`api.integrator.io`) never count. On enabled-metered plans a connection referenced only by disabled flows is not counted; on run-metered plans an endpoint used by a flow that ran this period stays counted for the period even if that flow is disabled afterwards.
945
1277
  example: 8
946
1278
  endpoints:
947
1279
  type: array
948
- description: Detailed breakdown of endpoints by type.
1280
+ description: The endpoints being counted, each with the connections that roll up into it.
1281
+ x-celigo-ai-guidance:
1282
+ - Two generic HTTP connections to the same application through different base URIs (a second store, a different API version in the path) are two endpoints; to explain an unexpected count, read each entry's `connections` and name the connection that carries the extra endpoint.
949
1283
  items:
950
1284
  type: object
951
1285
  properties:
952
1286
  type:
953
1287
  type: string
954
1288
  description: Endpoint adaptor type (e.g., `http`, `rdbms`, `ftp`).
955
- x-celigo-ai-guidance:
956
- - Endpoint type/category.
957
1289
  example: http
958
1290
  assistant:
959
1291
  type: string
960
- description: Application assistant identifier, if the connection uses a Celigo-managed application profile (e.g., `hubspot`, `netsuite`).
1292
+ description: Application assistant identifier, if the connection uses a Celigo-managed application profile (e.g., `hubspot`, `netsuite`). Connections sharing an assistant are one endpoint.
961
1293
  example: hubspot
1294
+ _httpConnectorId:
1295
+ type: string
1296
+ format: objectId
1297
+ x-celigo-refModel: httpconnectors
1298
+ description: |-
1299
+ HTTP connector the endpoint's connections are linked to. Present when `type` is `http`
1300
+ and the connections carry `http._httpConnectorId` without an `assistant`; connections
1301
+ sharing the connector are one endpoint.
1302
+ example: 6425e536bd748551c63024bc
962
1303
  baseURI:
963
1304
  type: string
964
- description: Base URI of the connection, if applicable.
1305
+ description: Base URI that identifies this endpoint for generic HTTP connections (those without an `assistant` or an HTTP connector); connections whose base URIs differ are separate endpoints.
965
1306
  example: https://api.hubspot.com
1307
+ hostURI:
1308
+ type: string
1309
+ description: |-
1310
+ Server host the endpoint's connections point at. Present when `type` is `ftp`; with
1311
+ `port` it is the identity FTP endpoints are grouped by.
1312
+ example: sftp.example.com
1313
+ port:
1314
+ type: integer
1315
+ description: Server port the endpoint's connections use. Present when `type` is `ftp` and the connections set one.
1316
+ example: 22
966
1317
  rdbms:
967
1318
  type: object
968
1319
  description: Database connection details. Present when `type` is `rdbms`.
@@ -1239,17 +1590,27 @@ components:
1239
1590
  type: integer
1240
1591
  description: Sync volume consumed against the entitlement.
1241
1592
  example: 0
1242
- mcpUsage:
1593
+ lookupCacheUsage:
1243
1594
  type: object
1244
- description: MCP server invocation counts.
1595
+ description: |-
1596
+ Lookup-cache consumption for the current calendar month. Present when the
1597
+ plan entitles lookup caches; compare `numUnits` with the license's
1598
+ `lookupCacheUsage.numUnits` plus `numAddOnUnits`.
1599
+ required:
1600
+ - numUnits
1245
1601
  properties:
1246
- numInvocations:
1602
+ numUnits:
1247
1603
  type: integer
1248
- description: Number of MCP invocations for the current period.
1249
- example: 340
1604
+ minimum: 0
1605
+ description: Lookup-cache units consumed this month — every read and write against a lookup cache counts.
1606
+ examples:
1607
+ - 4820
1250
1608
  aiAgentsActionsUsage:
1251
1609
  type: integer
1252
- description: Number of AI agent actions consumed for the current period.
1610
+ description: |-
1611
+ AI agent actions consumed in the current billing period, including billable
1612
+ MCP server invocations (tool calls and resource reads). Metered on production
1613
+ usage only.
1253
1614
  example: 87
1254
1615
  EDILabelPrintingUsageSummary:
1255
1616
  type: object
@@ -1326,7 +1687,7 @@ components:
1326
1687
  example: 0
1327
1688
  diVolume:
1328
1689
  type: integer
1329
- description: Data Interchange volume consumed during the month.
1690
+ description: Data Ingestion (Celigo Sync) rows loaded during the month.
1330
1691
  example: 0
1331
1692
  allocated:
1332
1693
  type: object