@celigo/api-specs 0.2.256 → 0.2.258

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.
@@ -1189,10 +1189,11 @@ paths:
1189
1189
  `null`, and a field under a null object fails the record before anything is sent. Check a
1190
1190
  nullable field with an import preview, not here.
1191
1191
 
1192
- An unknown helper is refused with 422. `GET /v1/processors` lists helpers under the handlebars
1193
- entry's `helperFunctions`, but that list is not complete: `eq` and `truncateWords`, for
1194
- example, render although it omits them, so render a doubtful helper once here before relying
1195
- on it.
1192
+ A helper that doesn't exist is refused with 422 once it is called with arguments or as a
1193
+ block; with neither, the name is read as a field and renders that field's value, or nothing.
1194
+ `GET /v1/processors` lists helpers under the handlebars entry's `helperFunctions`, but that
1195
+ list is not complete: `eq` and `truncateWords`, for example, render although it omits them,
1196
+ so render a doubtful helper once here before relying on it.
1196
1197
 
1197
1198
  By default `lookup` doesn't resolve here: each call renders a placeholder such as
1198
1199
  `{$ASYNCID$0$0$}`, Handlebars' own `{{lookup object key}}` form included, and the placeholder
@@ -1380,11 +1381,116 @@ paths:
1380
1381
  description: |-
1381
1382
  The template could not be rendered, for example because it calls a helper that does not
1382
1383
  exist ('Missing helper: "first"') or, with `rules.strict`, reads a path the data doesn't
1383
- carry ('"poNumber" not defined in the model').
1384
+ carry ('"poNumber" not defined in the model'). The body depends on what failed: a template
1385
+ that fails to render answers one flat error object (`code`, `message`, `source`, `path`)
1386
+ rather than the usual `errors` array; a static lookup that fails under `options` answers
1387
+ `statusCode` plus an `errors` array; an `http` connection sent without `options.fieldPath`
1388
+ answers an empty `{}`.
1384
1389
  content:
1385
1390
  application/json:
1386
1391
  schema:
1387
- $ref: '#/components/schemas/Error'
1392
+ type: object
1393
+ properties:
1394
+ code:
1395
+ type: string
1396
+ enum:
1397
+ - cannot_evaluate_handlebars
1398
+ x-enumDescriptions:
1399
+ cannot_evaluate_handlebars: The template engine stopped before producing a result.
1400
+ description: |-
1401
+ Present when the template fails to render, whether a helper is missing, a block
1402
+ names a helper that doesn't exist, or a strict render reads a path the data
1403
+ doesn't carry.
1404
+ message:
1405
+ type: string
1406
+ description: |-
1407
+ Present when the template fails to render; what failed, as the template engine
1408
+ reports it.
1409
+ examples:
1410
+ - 'Missing helper: "first"'
1411
+ - Unable to read "call" from undefined
1412
+ source:
1413
+ type: string
1414
+ description: |-
1415
+ Present when the template fails to render; the layer that raised the error,
1416
+ `resource` for the template itself.
1417
+ examples:
1418
+ - resource
1419
+ path:
1420
+ type: string
1421
+ description: Present when the template fails to render; the processor that raised the error.
1422
+ examples:
1423
+ - processor.handlebars
1424
+ statusCode:
1425
+ type: integer
1426
+ description: Present when a static lookup fails; repeats the HTTP status.
1427
+ examples:
1428
+ - 422
1429
+ errors:
1430
+ type: array
1431
+ description: |-
1432
+ Present when a static lookup fails; one entry per failure, in the usual error
1433
+ envelope shape.
1434
+ items:
1435
+ type: object
1436
+ properties:
1437
+ code:
1438
+ type: string
1439
+ enum:
1440
+ - cannot_evaluate_static_lookup
1441
+ - lookup_not_found
1442
+ - lookup_data_not_defined
1443
+ x-enumDescriptions:
1444
+ cannot_evaluate_static_lookup: The key is not in the lookup's `map` and the lookup sets `allowFailures` false.
1445
+ lookup_not_found: The template names a lookup the import doesn't define.
1446
+ lookup_data_not_defined: The key the template passes is missing, empty or the number `0`.
1447
+ description: |-
1448
+ Which part of the lookup failed. Fix the template's key or the import's
1449
+ `http.lookups` entry accordingly; `lookup_not_found` also covers Handlebars'
1450
+ own `{{lookup object key}}` form, which this route reads as a lookup name.
1451
+ message:
1452
+ type: string
1453
+ description: What failed, naming the lookup and, for an unresolved key, the key.
1454
+ examples:
1455
+ - 'Cannot evaluate the static lookup: "statusMap" using searchKey: "9".'
1456
+ source:
1457
+ type: string
1458
+ description: |-
1459
+ Layer that raised the failure: `lookup` when the lookup ran and couldn't
1460
+ resolve the key, `resource` when the import defines no lookup by that name.
1461
+ examples:
1462
+ - lookup
1463
+ examples:
1464
+ missing_helper:
1465
+ summary: A helper that doesn't exist, called with an argument
1466
+ value:
1467
+ code: cannot_evaluate_handlebars
1468
+ message: 'Missing helper: "first"'
1469
+ source: resource
1470
+ path: processor.handlebars
1471
+ strict_path:
1472
+ summary: A strict render reads a path the data doesn't carry
1473
+ value:
1474
+ code: cannot_evaluate_handlebars
1475
+ message: '"poNumber" not defined in the model. - 1:2'
1476
+ source: resource
1477
+ path: processor.handlebars
1478
+ static_lookup_key_not_in_map:
1479
+ summary: Static lookup key not in the map, allowFailures false
1480
+ value:
1481
+ statusCode: 422
1482
+ errors:
1483
+ - code: cannot_evaluate_static_lookup
1484
+ message: 'Cannot evaluate the static lookup: "statusMap" using searchKey: "9".'
1485
+ source: lookup
1486
+ lookup_not_found:
1487
+ summary: Template names a lookup the import doesn't define
1488
+ value:
1489
+ statusCode: 422
1490
+ errors:
1491
+ - code: lookup_not_found
1492
+ message: Lookup "nosuchMap" was not found on this import.
1493
+ source: resource
1388
1494
  components:
1389
1495
  securitySchemes:
1390
1496
  bearerAuth:
@@ -544,6 +544,7 @@ components:
544
544
  - McpServer
545
545
  - EDIProfile
546
546
  - Agent
547
+ - AgentGroup
547
548
  - Topic
548
549
  - NetworkPolicy
549
550
  - Group
@@ -566,6 +567,7 @@ components:
566
567
  McpServer: An MCP server endpoint exposing tools and APIs to external AI agents.
567
568
  EDIProfile: A trading partner profile for EDI document exchange (X12/EDIFACT).
568
569
  Agent: An on-premise agent that proxies API traffic to systems behind a firewall.
570
+ AgentGroup: An ordered set of on-premise agents that a connection can bind instead of one agent.
569
571
  Topic: An Event Streams topic that buffers published messages for exports.
570
572
  NetworkPolicy: An IP allow/deny list applied to sign-ins, access tokens, and MCP servers.
571
573
  Group: An end-user group that bundles roles and resource grants.
@@ -737,6 +739,7 @@ components:
737
739
  - mcpservers
738
740
  - ediprofiles
739
741
  - agents
742
+ - agentgroups
740
743
  - topics
741
744
  - networkpolicies
742
745
  - groups
@@ -759,6 +762,7 @@ components:
759
762
  mcpservers: MCP server endpoints for external AI agents.
760
763
  ediprofiles: Trading partner profiles for EDI document exchange.
761
764
  agents: On-premise agents proxying traffic behind firewalls.
765
+ agentgroups: Ordered sets of on-premise agents that a connection can bind instead of one agent.
762
766
  topics: Event Streams topics that buffer published messages.
763
767
  networkpolicies: IP allow/deny lists applied to sign-ins, tokens, and MCP servers.
764
768
  groups: End-user groups that bundle roles and resource grants.
@@ -788,6 +792,7 @@ components:
788
792
  - mcpservers
789
793
  - ediprofiles
790
794
  - agents
795
+ - agentgroups
791
796
  - topics
792
797
  - networkpolicies
793
798
  - groups
@@ -809,6 +814,7 @@ components:
809
814
  mcpservers: MCP server and its dependents.
810
815
  ediprofiles: EDI profile and its dependents.
811
816
  agents: On-premise agent and its dependents.
817
+ agentgroups: On-premise agent group (restored on its own; groups have no recycle-bin dependents).
812
818
  topics: Event Streams topic (restored on its own; topics have no recycle-bin dependents).
813
819
  networkpolicies: Network policy (restored on its own; policies have no recycle-bin dependents).
814
820
  groups: End-user group (restored on its own).
package/dist/script.yml CHANGED
@@ -606,24 +606,8 @@ paths:
606
606
  type: string
607
607
  examples:
608
608
  - W3siJGRhdGUiOiIyMDI2LTA1LTAxVDAwOjAwOjAwLjAwMFoifSwiNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIl0
609
- - name: from
610
- in: query
611
- required: false
612
- description: Only return entries at or after this timestamp.
613
- schema:
614
- type: string
615
- format: date-time
616
- examples:
617
- - '2026-05-01T00:00:00.000Z'
618
- - name: to
619
- in: query
620
- required: false
621
- description: Only return entries at or before this timestamp.
622
- schema:
623
- type: string
624
- format: date-time
625
- examples:
626
- - '2026-05-31T23:59:59.999Z'
609
+ - $ref: '#/components/parameters/From'
610
+ - $ref: '#/components/parameters/To'
627
611
  - name: action
628
612
  in: query
629
613
  required: false
@@ -820,7 +804,7 @@ paths:
820
804
  '404':
821
805
  $ref: '#/components/responses/404-not-found'
822
806
  '422':
823
- $ref: '#/components/responses/422-unprocessable-entity'
807
+ $ref: '#/components/responses/422-invalid-audit-query'
824
808
  /v1/scripts/{_id}/dependencies:
825
809
  get:
826
810
  x-internal: false
@@ -884,6 +868,34 @@ components:
884
868
  schema:
885
869
  type: string
886
870
  example: createdAt,lastModified
871
+ From:
872
+ name: from
873
+ in: query
874
+ required: false
875
+ description: |-
876
+ Only return entries at or after this timestamp. On a `platform` license, leaving it out limits
877
+ the range to the year before `to` (or the last year when `to` is omitted too), and a value older
878
+ than the audit window — the license's `auditLogRetentionYears` — starts the range at the
879
+ window's edge instead of failing. A future value fails with 422 `invalid_time_period`.
880
+ schema:
881
+ type: string
882
+ format: date-time
883
+ examples:
884
+ - '2026-05-01T00:00:00.000Z'
885
+ To:
886
+ name: to
887
+ in: query
888
+ required: false
889
+ description: |-
890
+ Only return entries at or before this timestamp. A future value, or one older than the
891
+ account's audit window, fails with 422 `invalid_time_period`; the message names the window in
892
+ years (the license's `auditLogRetentionYears` on a `platform` license). A value earlier than
893
+ `from` fails with 422 `invalid_time_range`.
894
+ schema:
895
+ type: string
896
+ format: date-time
897
+ examples:
898
+ - '2026-05-31T23:59:59.999Z'
887
899
  schemas:
888
900
  Script:
889
901
  type: object
@@ -1224,5 +1236,42 @@ components:
1224
1236
  errors:
1225
1237
  - code: dependencies_not_deleted
1226
1238
  message: export 6902d88c10b42b2eaac9b2a1 must be deleted before you can delete connection 6398ddf316be761fb16a6523
1239
+ 422-invalid-audit-query:
1240
+ description: |-
1241
+ A query value is invalid: a filter outside the audit vocabulary (`invalid_audit_field`), a
1242
+ `from` or `to` that is not ISO 8601 (`invalid_timestamp_format`), a bound in the future or a `to`
1243
+ older than the account's audit window (`invalid_time_period`), or a `from` later than `to`
1244
+ (`invalid_time_range`).
1245
+ content:
1246
+ application/json:
1247
+ schema:
1248
+ $ref: '#/components/schemas/Error'
1249
+ examples:
1250
+ invalid_source:
1251
+ value:
1252
+ errors:
1253
+ - code: invalid_audit_field
1254
+ message: zzz is not a valid audit source.
1255
+ to_before_window:
1256
+ summary: A `to` older than a three-year audit window
1257
+ value:
1258
+ errors:
1259
+ - code: invalid_time_period
1260
+ message: 'Please make sure that the time provided for field: "to" is not older than 3 year(s) to current date and is not a future date.'
1261
+ from_in_future:
1262
+ value:
1263
+ errors:
1264
+ - code: invalid_time_period
1265
+ message: 'Please make sure that the time provided for field: "from" is not older than 3 year(s) to current date and is not a future date.'
1266
+ from_after_to:
1267
+ value:
1268
+ errors:
1269
+ - code: invalid_time_range
1270
+ message: Please make sure "from" time should not be greater than "to" time.
1271
+ not_iso_8601:
1272
+ value:
1273
+ errors:
1274
+ - code: invalid_timestamp_format
1275
+ message: 'Please make sure that the time provided for field: "from" is in ISO8601 time format.'
1227
1276
  x-enable-proxy: true
1228
1277
  x-internal: false
package/dist/stack.yml CHANGED
@@ -453,24 +453,8 @@ paths:
453
453
  type: string
454
454
  examples:
455
455
  - W3siJGRhdGUiOiIyMDI2LTA1LTAxVDAwOjAwOjAwLjAwMFoifSwiNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIl0
456
- - name: from
457
- in: query
458
- required: false
459
- description: Only return entries at or after this timestamp.
460
- schema:
461
- type: string
462
- format: date-time
463
- examples:
464
- - '2026-05-01T00:00:00.000Z'
465
- - name: to
466
- in: query
467
- required: false
468
- description: Only return entries at or before this timestamp.
469
- schema:
470
- type: string
471
- format: date-time
472
- examples:
473
- - '2026-05-31T23:59:59.999Z'
456
+ - $ref: '#/components/parameters/From'
457
+ - $ref: '#/components/parameters/To'
474
458
  - name: action
475
459
  in: query
476
460
  required: false
@@ -671,7 +655,7 @@ paths:
671
655
  '404':
672
656
  $ref: '#/components/responses/404-not-found'
673
657
  '422':
674
- $ref: '#/components/responses/422-unprocessable-entity'
658
+ $ref: '#/components/responses/422-invalid-audit-query'
675
659
  /v1/stacks/{_id}/dependencies:
676
660
  get:
677
661
  x-internal: false
@@ -1210,6 +1194,34 @@ components:
1210
1194
  schema:
1211
1195
  type: string
1212
1196
  example: createdAt,lastModified
1197
+ From:
1198
+ name: from
1199
+ in: query
1200
+ required: false
1201
+ description: |-
1202
+ Only return entries at or after this timestamp. On a `platform` license, leaving it out limits
1203
+ the range to the year before `to` (or the last year when `to` is omitted too), and a value older
1204
+ than the audit window — the license's `auditLogRetentionYears` — starts the range at the
1205
+ window's edge instead of failing. A future value fails with 422 `invalid_time_period`.
1206
+ schema:
1207
+ type: string
1208
+ format: date-time
1209
+ examples:
1210
+ - '2026-05-01T00:00:00.000Z'
1211
+ To:
1212
+ name: to
1213
+ in: query
1214
+ required: false
1215
+ description: |-
1216
+ Only return entries at or before this timestamp. A future value, or one older than the
1217
+ account's audit window, fails with 422 `invalid_time_period`; the message names the window in
1218
+ years (the license's `auditLogRetentionYears` on a `platform` license). A value earlier than
1219
+ `from` fails with 422 `invalid_time_range`.
1220
+ schema:
1221
+ type: string
1222
+ format: date-time
1223
+ examples:
1224
+ - '2026-05-31T23:59:59.999Z'
1213
1225
  After:
1214
1226
  name: after
1215
1227
  in: query
@@ -1936,5 +1948,42 @@ components:
1936
1948
  errors:
1937
1949
  - code: dependencies_not_deleted
1938
1950
  message: export 6902d88c10b42b2eaac9b2a1 must be deleted before you can delete connection 6398ddf316be761fb16a6523
1951
+ 422-invalid-audit-query:
1952
+ description: |-
1953
+ A query value is invalid: a filter outside the audit vocabulary (`invalid_audit_field`), a
1954
+ `from` or `to` that is not ISO 8601 (`invalid_timestamp_format`), a bound in the future or a `to`
1955
+ older than the account's audit window (`invalid_time_period`), or a `from` later than `to`
1956
+ (`invalid_time_range`).
1957
+ content:
1958
+ application/json:
1959
+ schema:
1960
+ $ref: '#/components/schemas/Error'
1961
+ examples:
1962
+ invalid_source:
1963
+ value:
1964
+ errors:
1965
+ - code: invalid_audit_field
1966
+ message: zzz is not a valid audit source.
1967
+ to_before_window:
1968
+ summary: A `to` older than a three-year audit window
1969
+ value:
1970
+ errors:
1971
+ - code: invalid_time_period
1972
+ message: 'Please make sure that the time provided for field: "to" is not older than 3 year(s) to current date and is not a future date.'
1973
+ from_in_future:
1974
+ value:
1975
+ errors:
1976
+ - code: invalid_time_period
1977
+ message: 'Please make sure that the time provided for field: "from" is not older than 3 year(s) to current date and is not a future date.'
1978
+ from_after_to:
1979
+ value:
1980
+ errors:
1981
+ - code: invalid_time_range
1982
+ message: Please make sure "from" time should not be greater than "to" time.
1983
+ not_iso_8601:
1984
+ value:
1985
+ errors:
1986
+ - code: invalid_timestamp_format
1987
+ message: 'Please make sure that the time provided for field: "from" is in ISO8601 time format.'
1939
1988
  x-internal: false
1940
1989
  x-enable-proxy: true
@@ -752,7 +752,11 @@ components:
752
752
  $ref: '#/components/schemas/LicenseEntitlementCounts'
753
753
  numEnvironments:
754
754
  type: integer
755
- description: Maximum number of environments the plan allows.
755
+ description: |-
756
+ Caps how many non-production environments can be enabled at once; Production is not
757
+ counted, so 0 means none can be. Disabled environments don't count, so an account can
758
+ hold more environments than this. Enabling one more at the cap fails with 400
759
+ `entitlement_reached` on `PUT /v1/environments/{_id}/enable`.
756
760
  example: 5
757
761
  apiManagement:
758
762
  type: boolean
package/dist/sync.yml CHANGED
@@ -1852,24 +1852,8 @@ paths:
1852
1852
  type: string
1853
1853
  examples:
1854
1854
  - W3siJGRhdGUiOiIyMDI2LTA1LTAxVDAwOjAwOjAwLjAwMFoifSwiNjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwIl0
1855
- - name: from
1856
- in: query
1857
- required: false
1858
- description: Only return entries at or after this timestamp.
1859
- schema:
1860
- type: string
1861
- format: date-time
1862
- examples:
1863
- - '2026-05-01T00:00:00.000Z'
1864
- - name: to
1865
- in: query
1866
- required: false
1867
- description: Only return entries at or before this timestamp.
1868
- schema:
1869
- type: string
1870
- format: date-time
1871
- examples:
1872
- - '2026-05-31T23:59:59.999Z'
1855
+ - $ref: '#/components/parameters/From'
1856
+ - $ref: '#/components/parameters/To'
1873
1857
  - name: action
1874
1858
  in: query
1875
1859
  required: false
@@ -2135,7 +2119,7 @@ paths:
2135
2119
  '404':
2136
2120
  $ref: '#/components/responses/404-not-found'
2137
2121
  '422':
2138
- $ref: '#/components/responses/422-unprocessable-entity'
2122
+ $ref: '#/components/responses/422-invalid-audit-query'
2139
2123
  /v1/di/resource/syncs/{_syncId}/events:
2140
2124
  get:
2141
2125
  x-internal: false
@@ -3788,6 +3772,34 @@ components:
3788
3772
  schema:
3789
3773
  type: string
3790
3774
  example: createdAt,lastModified
3775
+ From:
3776
+ name: from
3777
+ in: query
3778
+ required: false
3779
+ description: |-
3780
+ Only return entries at or after this timestamp. On a `platform` license, leaving it out limits
3781
+ the range to the year before `to` (or the last year when `to` is omitted too), and a value older
3782
+ than the audit window — the license's `auditLogRetentionYears` — starts the range at the
3783
+ window's edge instead of failing. A future value fails with 422 `invalid_time_period`.
3784
+ schema:
3785
+ type: string
3786
+ format: date-time
3787
+ examples:
3788
+ - '2026-05-01T00:00:00.000Z'
3789
+ To:
3790
+ name: to
3791
+ in: query
3792
+ required: false
3793
+ description: |-
3794
+ Only return entries at or before this timestamp. A future value, or one older than the
3795
+ account's audit window, fails with 422 `invalid_time_period`; the message names the window in
3796
+ years (the license's `auditLogRetentionYears` on a `platform` license). A value earlier than
3797
+ `from` fails with 422 `invalid_time_range`.
3798
+ schema:
3799
+ type: string
3800
+ format: date-time
3801
+ examples:
3802
+ - '2026-05-31T23:59:59.999Z'
3791
3803
  schemas:
3792
3804
  ElementDriftPolicy:
3793
3805
  type: object
@@ -5451,5 +5463,42 @@ components:
5451
5463
  errors:
5452
5464
  - code: invalid_request
5453
5465
  message: The request body failed validation.
5466
+ 422-invalid-audit-query:
5467
+ description: |-
5468
+ A query value is invalid: a filter outside the audit vocabulary (`invalid_audit_field`), a
5469
+ `from` or `to` that is not ISO 8601 (`invalid_timestamp_format`), a bound in the future or a `to`
5470
+ older than the account's audit window (`invalid_time_period`), or a `from` later than `to`
5471
+ (`invalid_time_range`).
5472
+ content:
5473
+ application/json:
5474
+ schema:
5475
+ $ref: '#/components/schemas/Error'
5476
+ examples:
5477
+ invalid_source:
5478
+ value:
5479
+ errors:
5480
+ - code: invalid_audit_field
5481
+ message: zzz is not a valid audit source.
5482
+ to_before_window:
5483
+ summary: A `to` older than a three-year audit window
5484
+ value:
5485
+ errors:
5486
+ - code: invalid_time_period
5487
+ message: 'Please make sure that the time provided for field: "to" is not older than 3 year(s) to current date and is not a future date.'
5488
+ from_in_future:
5489
+ value:
5490
+ errors:
5491
+ - code: invalid_time_period
5492
+ message: 'Please make sure that the time provided for field: "from" is not older than 3 year(s) to current date and is not a future date.'
5493
+ from_after_to:
5494
+ value:
5495
+ errors:
5496
+ - code: invalid_time_range
5497
+ message: Please make sure "from" time should not be greater than "to" time.
5498
+ not_iso_8601:
5499
+ value:
5500
+ errors:
5501
+ - code: invalid_timestamp_format
5502
+ message: 'Please make sure that the time provided for field: "from" is in ISO8601 time format.'
5454
5503
  x-enable-proxy: true
5455
5504
  x-internal: false
package/dist/topic.yml CHANGED
@@ -846,24 +846,8 @@ paths:
846
846
  type: string
847
847
  examples:
848
848
  - W3siJGRhdGUiOiIyMDI2LTA5LTIyVDAzOjIyOjQzLjkyNVoifSwiNmFiMWY0ODM3YzRiNGU2OTlmZTg1NWI2Il0
849
- - name: from
850
- in: query
851
- required: false
852
- description: Only return entries at or after this timestamp.
853
- schema:
854
- type: string
855
- format: date-time
856
- examples:
857
- - '2026-09-01T00:00:00.000Z'
858
- - name: to
859
- in: query
860
- required: false
861
- description: Only return entries at or before this timestamp.
862
- schema:
863
- type: string
864
- format: date-time
865
- examples:
866
- - '2026-09-30T23:59:59.999Z'
849
+ - $ref: '#/components/parameters/From'
850
+ - $ref: '#/components/parameters/To'
867
851
  - name: action
868
852
  in: query
869
853
  required: false
@@ -1098,24 +1082,7 @@ paths:
1098
1082
  '404':
1099
1083
  $ref: '#/components/responses/404-not-found'
1100
1084
  '422':
1101
- description: |-
1102
- `action` or `source` is outside the audit vocabulary (`invalid_audit_field`), or `from` / `to`
1103
- is not an ISO 8601 timestamp (`invalid_timestamp_format`).
1104
- content:
1105
- application/json:
1106
- schema:
1107
- $ref: '#/components/schemas/Error'
1108
- examples:
1109
- bad_action:
1110
- value:
1111
- errors:
1112
- - code: invalid_audit_field
1113
- message: bogus is not a valid audit action.
1114
- bad_timestamp:
1115
- value:
1116
- errors:
1117
- - code: invalid_timestamp_format
1118
- message: 'Please make sure that the time provided for field: "from" is in ISO8601 time format.'
1085
+ $ref: '#/components/responses/422-invalid-audit-query'
1119
1086
  /v1/topics/{_id}/dependencies:
1120
1087
  get:
1121
1088
  x-internal: false
@@ -1190,6 +1157,34 @@ components:
1190
1157
  response header (`rel="next"`) to fetch the next page.
1191
1158
  schema:
1192
1159
  type: string
1160
+ From:
1161
+ name: from
1162
+ in: query
1163
+ required: false
1164
+ description: |-
1165
+ Only return entries at or after this timestamp. On a `platform` license, leaving it out limits
1166
+ the range to the year before `to` (or the last year when `to` is omitted too), and a value older
1167
+ than the audit window — the license's `auditLogRetentionYears` — starts the range at the
1168
+ window's edge instead of failing. A future value fails with 422 `invalid_time_period`.
1169
+ schema:
1170
+ type: string
1171
+ format: date-time
1172
+ examples:
1173
+ - '2026-05-01T00:00:00.000Z'
1174
+ To:
1175
+ name: to
1176
+ in: query
1177
+ required: false
1178
+ description: |-
1179
+ Only return entries at or before this timestamp. A future value, or one older than the
1180
+ account's audit window, fails with 422 `invalid_time_period`; the message names the window in
1181
+ years (the license's `auditLogRetentionYears` on a `platform` license). A value earlier than
1182
+ `from` fails with 422 `invalid_time_range`.
1183
+ schema:
1184
+ type: string
1185
+ format: date-time
1186
+ examples:
1187
+ - '2026-05-31T23:59:59.999Z'
1193
1188
  schemas:
1194
1189
  Topic:
1195
1190
  type: object
@@ -1819,5 +1814,42 @@ components:
1819
1814
  errors:
1820
1815
  - code: not_found
1821
1816
  message: The requested resource was not found.
1817
+ 422-invalid-audit-query:
1818
+ description: |-
1819
+ A query value is invalid: a filter outside the audit vocabulary (`invalid_audit_field`), a
1820
+ `from` or `to` that is not ISO 8601 (`invalid_timestamp_format`), a bound in the future or a `to`
1821
+ older than the account's audit window (`invalid_time_period`), or a `from` later than `to`
1822
+ (`invalid_time_range`).
1823
+ content:
1824
+ application/json:
1825
+ schema:
1826
+ $ref: '#/components/schemas/Error'
1827
+ examples:
1828
+ invalid_source:
1829
+ value:
1830
+ errors:
1831
+ - code: invalid_audit_field
1832
+ message: zzz is not a valid audit source.
1833
+ to_before_window:
1834
+ summary: A `to` older than a three-year audit window
1835
+ value:
1836
+ errors:
1837
+ - code: invalid_time_period
1838
+ message: 'Please make sure that the time provided for field: "to" is not older than 3 year(s) to current date and is not a future date.'
1839
+ from_in_future:
1840
+ value:
1841
+ errors:
1842
+ - code: invalid_time_period
1843
+ message: 'Please make sure that the time provided for field: "from" is not older than 3 year(s) to current date and is not a future date.'
1844
+ from_after_to:
1845
+ value:
1846
+ errors:
1847
+ - code: invalid_time_range
1848
+ message: Please make sure "from" time should not be greater than "to" time.
1849
+ not_iso_8601:
1850
+ value:
1851
+ errors:
1852
+ - code: invalid_timestamp_format
1853
+ message: 'Please make sure that the time provided for field: "from" is in ISO8601 time format.'
1822
1854
  x-internal: false
1823
1855
  x-enable-proxy: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.256",
3
+ "version": "0.2.258",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [