@celigo/api-specs 0.2.311 → 0.2.313
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/account.yml +9 -1
- package/dist/flow.yml +30 -4
- package/dist/job.yml +33 -11
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/account.yml
CHANGED
|
@@ -819,7 +819,15 @@ components:
|
|
|
819
819
|
while pending.
|
|
820
820
|
isProductionAdmin:
|
|
821
821
|
type: boolean
|
|
822
|
-
description:
|
|
822
|
+
description: |-
|
|
823
|
+
When true, the flag is meant to mark a share that grants administrator
|
|
824
|
+
access to the owner's production environment. `GET /v1/shared/ashares`
|
|
825
|
+
currently returns `true` on every share, whatever its access level or
|
|
826
|
+
environment — a known issue, IO-242791 — so do not rely on the flag.
|
|
827
|
+
`accessLevel` gives the share's level, but not whether the share
|
|
828
|
+
belongs to the owner's production environment.
|
|
829
|
+
x-celigo-ai-guidance:
|
|
830
|
+
- Never tell the current user they are a production administrator of the owner's account from this field — it came back `true` on a `manage` share in one of the owner's non-production environments and on a share with per-integration access only. Report `accessLevel` as the share's level, and never present `administrator` as production administrator from `accessLevel` alone.
|
|
823
831
|
accessLevel:
|
|
824
832
|
type: string
|
|
825
833
|
description: |-
|
package/dist/flow.yml
CHANGED
|
@@ -8469,14 +8469,40 @@ components:
|
|
|
8469
8469
|
type: string
|
|
8470
8470
|
format: date-time
|
|
8471
8471
|
readOnly: true
|
|
8472
|
-
description:
|
|
8473
|
-
|
|
8474
|
-
|
|
8472
|
+
description: |-
|
|
8473
|
+
When a stored copy of the job is due to be purged. Beside `clickhousePurgeAt`, it is
|
|
8474
|
+
the earlier purge of the job's primary copy, after which the job is still returned;
|
|
8475
|
+
alone, it is the date `clickhousePurgeAt` describes.
|
|
8476
|
+
x-celigo-ai-guidance:
|
|
8477
|
+
- |-
|
|
8478
|
+
The job is returned at least until the later of `purgeAt` and `clickhousePurgeAt`,
|
|
8479
|
+
and that date's distance from `createdAt` is how long the job is kept. On a `flow`
|
|
8480
|
+
job the distance is the account's `dataRetentionPeriod` stamped on it at creation —
|
|
8481
|
+
the earlier period on a job created before a change of the setting or in the hours
|
|
8482
|
+
after it. So the newest job's distance is how far back a `flow` listing reaches only
|
|
8483
|
+
when the setting has not changed in that time.
|
|
8484
|
+
- |-
|
|
8485
|
+
On a `retry` job the distance was 30 days on accounts whose period is 30, 60 or 180,
|
|
8486
|
+
so read it from a listed retry job, never from the account setting; with none
|
|
8487
|
+
listed, an empty retry listing for a window more than 30 days back is not evidence
|
|
8488
|
+
that no retry ran.
|
|
8489
|
+
- |-
|
|
8490
|
+
A different `purgeAt` on another read of the same job is not a change in its
|
|
8491
|
+
retention; compare the later of the two dates. Every read of a job in flight or just
|
|
8492
|
+
ended carried both dates; hours later the job listing and the family reads carried
|
|
8493
|
+
`purgeAt` alone (the later date) while `GET /v1/jobs/{_id}` and the `jobs/latest`
|
|
8494
|
+
reads still carried both; after the primary purge every read carries `purgeAt` alone
|
|
8495
|
+
(read on `flow`, `retry`, `export` and `import` jobs).
|
|
8496
|
+
examples:
|
|
8497
|
+
- '2026-05-06T01:03:43.577Z'
|
|
8475
8498
|
clickhousePurgeAt:
|
|
8476
8499
|
type: string
|
|
8477
8500
|
format: date-time
|
|
8478
8501
|
readOnly: true
|
|
8479
|
-
description:
|
|
8502
|
+
description: |-
|
|
8503
|
+
When the job's run-history copy is due to be purged; the job is no longer returned
|
|
8504
|
+
once that purge has run, which can be after this date. A job record without the
|
|
8505
|
+
field reports this date as `purgeAt`.
|
|
8480
8506
|
examples:
|
|
8481
8507
|
- '2026-06-01T01:03:43.577Z'
|
|
8482
8508
|
triggeredBy:
|
package/dist/job.yml
CHANGED
|
@@ -300,7 +300,6 @@ paths:
|
|
|
300
300
|
logMode: basic
|
|
301
301
|
flowExecutionGroupId: 70f3bd04a01142b29031e36ccff9242b
|
|
302
302
|
purgeAt: '2026-06-01T01:03:43.577Z'
|
|
303
|
-
clickhousePurgeAt: '2026-06-01T01:03:43.577Z'
|
|
304
303
|
- _id: 69e9820a12e2a80e73166a8a
|
|
305
304
|
type: flow
|
|
306
305
|
status: failed
|
|
@@ -576,7 +575,7 @@ paths:
|
|
|
576
575
|
_id: 69e83e7a75f7f8c14a12916e
|
|
577
576
|
name: New flow
|
|
578
577
|
'204':
|
|
579
|
-
description: No runs match the filter on any flow within the queried window (the ~24-hour default when no `time_gt` was sent).
|
|
578
|
+
description: No runs match the filter on any flow within the queried window (the ~24-hour default when no `time_gt` was sent). A window older than the flows' job records answers 204 as well, whatever ran in it.
|
|
580
579
|
'400':
|
|
581
580
|
$ref: '#/components/responses/400-bad-request'
|
|
582
581
|
'401':
|
|
@@ -747,7 +746,7 @@ paths:
|
|
|
747
746
|
doneExporting: false
|
|
748
747
|
logMode: basic
|
|
749
748
|
flowExecutionGroupId: 70f3bd04a01142b29031e36ccff9242b
|
|
750
|
-
purgeAt: '2026-
|
|
749
|
+
purgeAt: '2026-05-06T01:03:43.577Z'
|
|
751
750
|
clickhousePurgeAt: '2026-06-01T01:03:43.577Z'
|
|
752
751
|
'400':
|
|
753
752
|
description: The `_id` is not a valid ObjectId.
|
|
@@ -838,7 +837,6 @@ paths:
|
|
|
838
837
|
logMode: basic
|
|
839
838
|
flowExecutionGroupId: 70f3bd04a01142b29031e36ccff9242b
|
|
840
839
|
purgeAt: '2026-06-01T01:03:43.577Z'
|
|
841
|
-
clickhousePurgeAt: '2026-06-01T01:03:43.577Z'
|
|
842
840
|
children:
|
|
843
841
|
- _id: 69f54d6f47185f8c7a5005e9
|
|
844
842
|
type: export
|
|
@@ -860,7 +858,6 @@ paths:
|
|
|
860
858
|
numPagesProcessed: 0
|
|
861
859
|
logMode: basic
|
|
862
860
|
purgeAt: '2026-06-01T01:03:43.577Z'
|
|
863
|
-
clickhousePurgeAt: '2026-06-01T01:03:43.577Z'
|
|
864
861
|
- _id: 69f54d6f47185f8c7a500611
|
|
865
862
|
type: import
|
|
866
863
|
status: completed
|
|
@@ -881,7 +878,6 @@ paths:
|
|
|
881
878
|
numPagesProcessed: 10
|
|
882
879
|
logMode: basic
|
|
883
880
|
purgeAt: '2026-06-01T01:03:43.577Z'
|
|
884
|
-
clickhousePurgeAt: '2026-06-01T01:03:43.577Z'
|
|
885
881
|
'401':
|
|
886
882
|
$ref: '#/components/responses/401-unauthorized'
|
|
887
883
|
'404':
|
|
@@ -1093,7 +1089,7 @@ paths:
|
|
|
1093
1089
|
rather than storing the URL.
|
|
1094
1090
|
|
|
1095
1091
|
This is distinct from flow execution logs -- use `GET /v1/flows/{_id}/jobs/{_jobId}/logs` for step-level
|
|
1096
|
-
execution logs. Jobs with no diagnostics (very recent
|
|
1092
|
+
execution logs. Jobs with no diagnostics (very recent) return 204.
|
|
1097
1093
|
parameters:
|
|
1098
1094
|
- name: _id
|
|
1099
1095
|
in: path
|
|
@@ -1574,14 +1570,40 @@ components:
|
|
|
1574
1570
|
type: string
|
|
1575
1571
|
format: date-time
|
|
1576
1572
|
readOnly: true
|
|
1577
|
-
description:
|
|
1573
|
+
description: |-
|
|
1574
|
+
When a stored copy of the job is due to be purged. Beside `clickhousePurgeAt`, it is
|
|
1575
|
+
the earlier purge of the job's primary copy, after which the job is still returned;
|
|
1576
|
+
alone, it is the date `clickhousePurgeAt` describes.
|
|
1577
|
+
x-celigo-ai-guidance:
|
|
1578
|
+
- |-
|
|
1579
|
+
The job is returned at least until the later of `purgeAt` and `clickhousePurgeAt`,
|
|
1580
|
+
and that date's distance from `createdAt` is how long the job is kept. On a `flow`
|
|
1581
|
+
job the distance is the account's `dataRetentionPeriod` stamped on it at creation —
|
|
1582
|
+
the earlier period on a job created before a change of the setting or in the hours
|
|
1583
|
+
after it. So the newest job's distance is how far back a `flow` listing reaches only
|
|
1584
|
+
when the setting has not changed in that time.
|
|
1585
|
+
- |-
|
|
1586
|
+
On a `retry` job the distance was 30 days on accounts whose period is 30, 60 or 180,
|
|
1587
|
+
so read it from a listed retry job, never from the account setting; with none
|
|
1588
|
+
listed, an empty retry listing for a window more than 30 days back is not evidence
|
|
1589
|
+
that no retry ran.
|
|
1590
|
+
- |-
|
|
1591
|
+
A different `purgeAt` on another read of the same job is not a change in its
|
|
1592
|
+
retention; compare the later of the two dates. Every read of a job in flight or just
|
|
1593
|
+
ended carried both dates; hours later the job listing and the family reads carried
|
|
1594
|
+
`purgeAt` alone (the later date) while `GET /v1/jobs/{_id}` and the `jobs/latest`
|
|
1595
|
+
reads still carried both; after the primary purge every read carries `purgeAt` alone
|
|
1596
|
+
(read on `flow`, `retry`, `export` and `import` jobs).
|
|
1578
1597
|
examples:
|
|
1579
|
-
- '2026-
|
|
1598
|
+
- '2026-05-06T01:03:43.577Z'
|
|
1580
1599
|
clickhousePurgeAt:
|
|
1581
1600
|
type: string
|
|
1582
1601
|
format: date-time
|
|
1583
1602
|
readOnly: true
|
|
1584
|
-
description:
|
|
1603
|
+
description: |-
|
|
1604
|
+
When the job's run-history copy is due to be purged; the job is no longer returned
|
|
1605
|
+
once that purge has run, which can be after this date. A job record without the
|
|
1606
|
+
field reports this date as `purgeAt`.
|
|
1585
1607
|
examples:
|
|
1586
1608
|
- '2026-06-01T01:03:43.577Z'
|
|
1587
1609
|
triggeredBy:
|
|
@@ -1934,7 +1956,7 @@ components:
|
|
|
1934
1956
|
- Always send an explicit time_gt matching the window you intend to report, and never present the aggregates as covering a longer period than the time filter you sent. Without time_gt the default window (~24 hours) applies — an empty result then means "nothing ran recently", never "no runs exist".
|
|
1935
1957
|
- For a window that runs through the present, omit time_lte rather than computing an end bound — a value even seconds ahead of the server clock (a rounded-up "now", end of today) fails the whole request with 400 invalid_filter_request_body.
|
|
1936
1958
|
- A closed window narrower than one hour cannot be queried; widen time_lte to time_gt + one hour (and say so when reporting) rather than sending the narrower range.
|
|
1937
|
-
- A flow absent from stats[]
|
|
1959
|
+
- A flow absent from stats[], or a 204, means no job records in the window; it does not mean the flow does not exist, and for a window older than the flow's job records (a job is kept at least until the later of its purgeAt and clickhousePurgeAt) it does not mean the flow did not run. numOpenError counts errors open NOW, which may predate the window.
|
|
1938
1960
|
properties:
|
|
1939
1961
|
_integrationIds:
|
|
1940
1962
|
type: array
|
package/package.json
CHANGED