@vertesia/common 1.5.0-dev.20260910.052912Z → 1.5.1

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 (139) hide show
  1. package/lib/api-contract/components.generated.json +929 -378
  2. package/lib/api-schemas/account.d.ts +5 -0
  3. package/lib/api-schemas/account.d.ts.map +1 -1
  4. package/lib/api-schemas/account.js +7 -0
  5. package/lib/api-schemas/account.js.map +1 -1
  6. package/lib/api-schemas/agent-runs.d.ts +410 -145
  7. package/lib/api-schemas/agent-runs.d.ts.map +1 -1
  8. package/lib/api-schemas/apikey.d.ts +7 -1
  9. package/lib/api-schemas/apikey.d.ts.map +1 -1
  10. package/lib/api-schemas/apikey.js +10 -1
  11. package/lib/api-schemas/apikey.js.map +1 -1
  12. package/lib/api-schemas/app-runtime.d.ts +1169 -406
  13. package/lib/api-schemas/app-runtime.d.ts.map +1 -1
  14. package/lib/api-schemas/app-runtime.js +6 -0
  15. package/lib/api-schemas/app-runtime.js.map +1 -1
  16. package/lib/api-schemas/apps.d.ts +5 -0
  17. package/lib/api-schemas/apps.d.ts.map +1 -1
  18. package/lib/api-schemas/apps.js +6 -3
  19. package/lib/api-schemas/apps.js.map +1 -1
  20. package/lib/api-schemas/content.d.ts +418 -145
  21. package/lib/api-schemas/content.d.ts.map +1 -1
  22. package/lib/api-schemas/content.js +3 -0
  23. package/lib/api-schemas/content.js.map +1 -1
  24. package/lib/api-schemas/data-store.d.ts +1 -0
  25. package/lib/api-schemas/data-store.d.ts.map +1 -1
  26. package/lib/api-schemas/data-store.js +7 -0
  27. package/lib/api-schemas/data-store.js.map +1 -1
  28. package/lib/api-schemas/document-processing.d.ts +246 -87
  29. package/lib/api-schemas/document-processing.d.ts.map +1 -1
  30. package/lib/api-schemas/embeddings.d.ts +250 -0
  31. package/lib/api-schemas/embeddings.d.ts.map +1 -1
  32. package/lib/api-schemas/embeddings.js +163 -0
  33. package/lib/api-schemas/embeddings.js.map +1 -1
  34. package/lib/api-schemas/environment.d.ts +2 -2
  35. package/lib/api-schemas/events.d.ts +738 -261
  36. package/lib/api-schemas/events.d.ts.map +1 -1
  37. package/lib/api-schemas/files.d.ts +1 -0
  38. package/lib/api-schemas/files.d.ts.map +1 -1
  39. package/lib/api-schemas/files.js +1 -0
  40. package/lib/api-schemas/files.js.map +1 -1
  41. package/lib/api-schemas/interaction.d.ts +3518 -1260
  42. package/lib/api-schemas/interaction.d.ts.map +1 -1
  43. package/lib/api-schemas/interaction.js +2 -0
  44. package/lib/api-schemas/interaction.js.map +1 -1
  45. package/lib/api-schemas/project-configuration.d.ts +825 -290
  46. package/lib/api-schemas/project-configuration.d.ts.map +1 -1
  47. package/lib/api-schemas/project-configuration.js +5 -3
  48. package/lib/api-schemas/project-configuration.js.map +1 -1
  49. package/lib/api-schemas/project.d.ts +1233 -435
  50. package/lib/api-schemas/project.d.ts.map +1 -1
  51. package/lib/api-schemas/prompt.d.ts +1 -0
  52. package/lib/api-schemas/prompt.d.ts.map +1 -1
  53. package/lib/api-schemas/prompt.js +1 -0
  54. package/lib/api-schemas/prompt.js.map +1 -1
  55. package/lib/api-schemas/registry.d.ts +12758 -4412
  56. package/lib/api-schemas/registry.d.ts.map +1 -1
  57. package/lib/api-schemas/registry.js +52 -34
  58. package/lib/api-schemas/registry.js.map +1 -1
  59. package/lib/api-schemas/store.d.ts +4130 -1480
  60. package/lib/api-schemas/store.d.ts.map +1 -1
  61. package/lib/api-schemas/store.js +3 -0
  62. package/lib/api-schemas/store.js.map +1 -1
  63. package/lib/api-schemas/user.d.ts +28 -12
  64. package/lib/api-schemas/user.d.ts.map +1 -1
  65. package/lib/api-schemas/user.js +23 -17
  66. package/lib/api-schemas/user.js.map +1 -1
  67. package/lib/api-schemas/view-execution.d.ts +2 -0
  68. package/lib/api-schemas/view-execution.d.ts.map +1 -1
  69. package/lib/api-schemas/views.d.ts +7 -0
  70. package/lib/api-schemas/views.d.ts.map +1 -1
  71. package/lib/api-schemas/workflow-runs.d.ts +164 -58
  72. package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
  73. package/lib/apps.d.ts +6 -0
  74. package/lib/apps.d.ts.map +1 -1
  75. package/lib/embeddings.d.ts +18 -1
  76. package/lib/embeddings.d.ts.map +1 -1
  77. package/lib/index.d.ts +2 -1
  78. package/lib/index.d.ts.map +1 -1
  79. package/lib/index.js +1 -0
  80. package/lib/index.js.map +1 -1
  81. package/lib/interaction.d.ts +2 -7
  82. package/lib/interaction.d.ts.map +1 -1
  83. package/lib/interaction.js.map +1 -1
  84. package/lib/principal-context.d.ts +21 -12
  85. package/lib/principal-context.d.ts.map +1 -1
  86. package/lib/project-values.d.ts +1 -0
  87. package/lib/project-values.d.ts.map +1 -1
  88. package/lib/project-values.js +1 -0
  89. package/lib/project-values.js.map +1 -1
  90. package/lib/project.d.ts.map +1 -1
  91. package/lib/project.js +10 -0
  92. package/lib/project.js.map +1 -1
  93. package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
  94. package/lib/store/intake-policy-schema.generated.js +104 -31
  95. package/lib/store/intake-policy-schema.generated.js.map +1 -1
  96. package/lib/store/rendering.d.ts +1 -0
  97. package/lib/store/rendering.d.ts.map +1 -1
  98. package/lib/store/rendering.js +4 -0
  99. package/lib/store/rendering.js.map +1 -1
  100. package/lib/user.d.ts +2 -1
  101. package/lib/user.d.ts.map +1 -1
  102. package/lib/user.js.map +1 -1
  103. package/lib/vertesia-common.js +2 -2
  104. package/lib/vertesia-common.js.map +1 -1
  105. package/package.json +4 -4
  106. package/src/api-contract/components.generated.json +929 -378
  107. package/src/api-schemas/account.ts +8 -0
  108. package/src/api-schemas/apikey.ts +11 -1
  109. package/src/api-schemas/app-runtime.ts +7 -0
  110. package/src/api-schemas/apps.ts +6 -3
  111. package/src/api-schemas/content.ts +4 -0
  112. package/src/api-schemas/data-store.contract.test.ts +6 -0
  113. package/src/api-schemas/data-store.ts +8 -0
  114. package/src/api-schemas/embeddings.ts +184 -0
  115. package/src/api-schemas/files.ts +1 -0
  116. package/src/api-schemas/indexing.contract.test.ts +40 -1
  117. package/src/api-schemas/interaction.ts +2 -0
  118. package/src/api-schemas/llumiverse.contract.test.ts +70 -39
  119. package/src/api-schemas/mcp-api-key.contract.test.ts +39 -0
  120. package/src/api-schemas/project-configuration.ts +5 -3
  121. package/src/api-schemas/project.contract.test.ts +30 -0
  122. package/src/api-schemas/prompt.ts +1 -0
  123. package/src/api-schemas/registry.ts +76 -35
  124. package/src/api-schemas/store.contract.test.ts +25 -25
  125. package/src/api-schemas/store.ts +4 -0
  126. package/src/api-schemas/user.contract.test.ts +24 -18
  127. package/src/api-schemas/user.ts +24 -18
  128. package/src/api-schemas/views.contract.test.ts +3 -10
  129. package/src/apps.ts +6 -0
  130. package/src/embeddings.ts +34 -0
  131. package/src/index.ts +2 -1
  132. package/src/interaction.ts +2 -6
  133. package/src/principal-context.ts +22 -12
  134. package/src/project-values.ts +1 -0
  135. package/src/project.ts +10 -0
  136. package/src/roles.test.ts +1 -0
  137. package/src/store/intake-policy-schema.generated.ts +109 -31
  138. package/src/store/rendering.ts +9 -0
  139. package/src/user.ts +8 -1
@@ -1,4 +1,18 @@
1
1
  {
2
+ "AccountApiVersionPolicy": {
3
+ "type": "object",
4
+ "properties": {
5
+ "default_api_version": {
6
+ "type": "number",
7
+ "enum": [
8
+ 20250925,
9
+ 20260210,
10
+ 20260319,
11
+ 20260803
12
+ ]
13
+ }
14
+ }
15
+ },
2
16
  "AccountType": {
3
17
  "type": "string",
4
18
  "enum": [
@@ -538,6 +552,16 @@
538
552
  "PrincipalIdentity": {
539
553
  "type": "object",
540
554
  "properties": {
555
+ "kind": {
556
+ "type": "string",
557
+ "enum": [
558
+ "user",
559
+ "apikey"
560
+ ]
561
+ },
562
+ "id": {
563
+ "type": "string"
564
+ },
541
565
  "clearance": {
542
566
  "type": "number"
543
567
  },
@@ -559,20 +583,18 @@
559
583
  "properties": {
560
584
  "type": "object",
561
585
  "additionalProperties": true
562
- },
563
- "id": {
564
- "type": "string"
565
586
  }
566
587
  },
567
588
  "required": [
589
+ "kind",
590
+ "id",
568
591
  "clearance",
569
592
  "compartments",
570
593
  "tags",
571
- "properties",
572
- "id"
594
+ "properties"
573
595
  ],
574
596
  "additionalProperties": false,
575
- "description": "Response shape of the `/iam/users/identity` endpoint: the current principal's {@link PrincipalContext } plus its id. Distinct from `PrincipalContext` itself because the id is identity metadata, not a merged BLP field — adding it to `PrincipalContext` would unintentionally expose `$principal.id` to PrincipalSet rule evaluation."
597
+ "description": "Response shape of the `/iam/users/identity` endpoint: the current principal's full ABAC context — its `kind` (always `user` here), `id`, and the merged BLP attributes a rule can reference through `$principal.*`."
576
598
  },
577
599
  "SignupData": {
578
600
  "type": "object",
@@ -1225,6 +1247,7 @@
1225
1247
  "enum": [
1226
1248
  "owner",
1227
1249
  "admin",
1250
+ "app_admin",
1228
1251
  "manager",
1229
1252
  "developer",
1230
1253
  "application",
@@ -1271,6 +1294,10 @@
1271
1294
  "enabled": {
1272
1295
  "type": "boolean"
1273
1296
  },
1297
+ "scim_provisioning": {
1298
+ "type": "boolean",
1299
+ "description": "Organization-wide SCIM provisioning credential. Only account administrators may create or manage these keys. May be enabled by account administrators on existing keys; disable or delete to revoke access."
1300
+ },
1274
1301
  "created_by": {
1275
1302
  "type": "string"
1276
1303
  },
@@ -1357,6 +1384,10 @@
1357
1384
  "enabled": {
1358
1385
  "type": "boolean"
1359
1386
  },
1387
+ "scim_provisioning": {
1388
+ "type": "boolean",
1389
+ "description": "Organization-wide SCIM provisioning credential. Only account administrators may create or manage these keys. May be enabled by account administrators on existing keys; disable or delete to revoke access."
1390
+ },
1360
1391
  "created_by": {
1361
1392
  "type": "string"
1362
1393
  },
@@ -1441,6 +1472,10 @@
1441
1472
  "enabled": {
1442
1473
  "type": "boolean"
1443
1474
  },
1475
+ "scim_provisioning": {
1476
+ "type": "boolean",
1477
+ "description": "Organization-wide SCIM provisioning credential. Only account administrators may create or manage these keys. May be enabled by account administrators on existing keys; disable or delete to revoke access."
1478
+ },
1444
1479
  "created_by": {
1445
1480
  "type": "string"
1446
1481
  },
@@ -1519,6 +1554,10 @@
1519
1554
  "type": "string",
1520
1555
  "format": "date-time"
1521
1556
  },
1557
+ "scim_provisioning": {
1558
+ "type": "boolean",
1559
+ "description": "Organization-wide SCIM provisioning credential. Only account administrators may create or manage these keys. May be enabled by account administrators on existing keys; disable or delete to revoke access."
1560
+ },
1522
1561
  "properties": {
1523
1562
  "type": "object",
1524
1563
  "additionalProperties": true,
@@ -1554,6 +1593,10 @@
1554
1593
  "enabled": {
1555
1594
  "type": "boolean"
1556
1595
  },
1596
+ "scim_provisioning": {
1597
+ "type": "boolean",
1598
+ "description": "Organization-wide SCIM provisioning credential. Only account administrators may create or manage these keys. May be enabled by account administrators on existing keys; disable or delete to revoke access."
1599
+ },
1557
1600
  "properties": {
1558
1601
  "type": "object",
1559
1602
  "additionalProperties": true,
@@ -2178,7 +2221,7 @@
2178
2221
  "type"
2179
2222
  ],
2180
2223
  "additionalProperties": false,
2181
- "description": "Explicit search mapping for one content-object property.\n\nChanging a mapping requires a full reindex. Existing Elasticsearch fields cannot change type in place."
2224
+ "description": "Explicit search mapping for one content-object property.\n\nChanging a mapping requires a full reindex. Existing Elasticsearch fields cannot change type in place. A `nested` mapping accepts no scalar options; declare its searchable child fields as separate mappings below its path."
2182
2225
  },
2183
2226
  "ProjectSearchPropertyType": {
2184
2227
  "type": "string",
@@ -2189,9 +2232,10 @@
2189
2232
  "long",
2190
2233
  "double",
2191
2234
  "date",
2192
- "geo_point"
2235
+ "geo_point",
2236
+ "nested"
2193
2237
  ],
2194
- "description": "Elasticsearch field types that may be explicitly assigned to content-object properties. Paths are relative to the object's `properties` field."
2238
+ "description": "Elasticsearch field types that may be explicitly assigned to content-object properties. Declare nested object-array paths with type `nested` and their children as separate dotted paths. Paths are relative to the object's `properties` field."
2195
2239
  },
2196
2240
  "ProjectIndexingConfiguration": {
2197
2241
  "type": "object",
@@ -2397,9 +2441,6 @@
2397
2441
  "type": "boolean"
2398
2442
  }
2399
2443
  },
2400
- "required": [
2401
- "_option_id"
2402
- ],
2403
2444
  "additionalProperties": false
2404
2445
  },
2405
2446
  "AzureFoundryChatOptions": {
@@ -2445,9 +2486,6 @@
2445
2486
  "type": "boolean"
2446
2487
  }
2447
2488
  },
2448
- "required": [
2449
- "_option_id"
2450
- ],
2451
2489
  "additionalProperties": false
2452
2490
  },
2453
2491
  "ImagenOptions": {
@@ -2468,7 +2506,8 @@
2468
2506
  "enum": [
2469
2507
  "dont_allow",
2470
2508
  "allow_adults",
2471
- "allow_all"
2509
+ "allow_all",
2510
+ "allow_adult"
2472
2511
  ]
2473
2512
  },
2474
2513
  "safety_setting": {
@@ -2548,9 +2587,6 @@
2548
2587
  ]
2549
2588
  }
2550
2589
  },
2551
- "required": [
2552
- "_option_id"
2553
- ],
2554
2590
  "additionalProperties": false
2555
2591
  },
2556
2592
  "ImagenTaskType": {
@@ -2611,6 +2647,14 @@
2611
2647
  "max"
2612
2648
  ]
2613
2649
  },
2650
+ "thinking_mode": {
2651
+ "type": "string",
2652
+ "enum": [
2653
+ "adaptive",
2654
+ "between_tools"
2655
+ ],
2656
+ "description": "Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved."
2657
+ },
2614
2658
  "thinking_budget_tokens": {
2615
2659
  "type": "number"
2616
2660
  },
@@ -2628,9 +2672,6 @@
2628
2672
  ]
2629
2673
  }
2630
2674
  },
2631
- "required": [
2632
- "_option_id"
2633
- ],
2634
2675
  "additionalProperties": false
2635
2676
  },
2636
2677
  "VertexAIGeminiOptions": {
@@ -2744,9 +2785,6 @@
2744
2785
  "type": "number"
2745
2786
  }
2746
2787
  },
2747
- "required": [
2748
- "_option_id"
2749
- ],
2750
2788
  "additionalProperties": false
2751
2789
  },
2752
2790
  "ThinkingLevel": {
@@ -2798,9 +2836,6 @@
2798
2836
  ]
2799
2837
  }
2800
2838
  },
2801
- "required": [
2802
- "_option_id"
2803
- ],
2804
2839
  "additionalProperties": false
2805
2840
  },
2806
2841
  "VertexAIGrokOptions": {
@@ -2826,9 +2861,6 @@
2826
2861
  }
2827
2862
  }
2828
2863
  },
2829
- "required": [
2830
- "_option_id"
2831
- ],
2832
2864
  "additionalProperties": false
2833
2865
  },
2834
2866
  "NovaCanvasOptions": {
@@ -2900,7 +2932,6 @@
2900
2932
  }
2901
2933
  },
2902
2934
  "required": [
2903
- "_option_id",
2904
2935
  "taskType"
2905
2936
  ],
2906
2937
  "additionalProperties": false
@@ -2936,9 +2967,6 @@
2936
2967
  "description": "Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility."
2937
2968
  }
2938
2969
  },
2939
- "required": [
2940
- "_option_id"
2941
- ],
2942
2970
  "additionalProperties": false
2943
2971
  },
2944
2972
  "BedrockNovaOptions": {
@@ -2957,6 +2985,9 @@
2957
2985
  "top_p": {
2958
2986
  "type": "number"
2959
2987
  },
2988
+ "top_k": {
2989
+ "type": "number"
2990
+ },
2960
2991
  "stop_sequence": {
2961
2992
  "type": "array",
2962
2993
  "items": {
@@ -2972,9 +3003,6 @@
2972
3003
  "description": "Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility."
2973
3004
  }
2974
3005
  },
2975
- "required": [
2976
- "_option_id"
2977
- ],
2978
3006
  "additionalProperties": false
2979
3007
  },
2980
3008
  "BedrockMistralOptions": {
@@ -2993,6 +3021,9 @@
2993
3021
  "top_p": {
2994
3022
  "type": "number"
2995
3023
  },
3024
+ "top_k": {
3025
+ "type": "number"
3026
+ },
2996
3027
  "stop_sequence": {
2997
3028
  "type": "array",
2998
3029
  "items": {
@@ -3008,9 +3039,6 @@
3008
3039
  "description": "Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility."
3009
3040
  }
3010
3041
  },
3011
- "required": [
3012
- "_option_id"
3013
- ],
3014
3042
  "additionalProperties": false
3015
3043
  },
3016
3044
  "BedrockAI21Options": {
@@ -3029,6 +3057,12 @@
3029
3057
  "top_p": {
3030
3058
  "type": "number"
3031
3059
  },
3060
+ "presence_penalty": {
3061
+ "type": "number"
3062
+ },
3063
+ "frequency_penalty": {
3064
+ "type": "number"
3065
+ },
3032
3066
  "stop_sequence": {
3033
3067
  "type": "array",
3034
3068
  "items": {
@@ -3044,9 +3078,6 @@
3044
3078
  "description": "Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility."
3045
3079
  }
3046
3080
  },
3047
- "required": [
3048
- "_option_id"
3049
- ],
3050
3081
  "additionalProperties": false
3051
3082
  },
3052
3083
  "BedrockCohereCommandOptions": {
@@ -3065,6 +3096,15 @@
3065
3096
  "top_p": {
3066
3097
  "type": "number"
3067
3098
  },
3099
+ "top_k": {
3100
+ "type": "number"
3101
+ },
3102
+ "presence_penalty": {
3103
+ "type": "number"
3104
+ },
3105
+ "frequency_penalty": {
3106
+ "type": "number"
3107
+ },
3068
3108
  "stop_sequence": {
3069
3109
  "type": "array",
3070
3110
  "items": {
@@ -3080,9 +3120,6 @@
3080
3120
  "description": "Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility."
3081
3121
  }
3082
3122
  },
3083
- "required": [
3084
- "_option_id"
3085
- ],
3086
3123
  "additionalProperties": false
3087
3124
  },
3088
3125
  "BedrockClaudeOptions": {
@@ -3110,6 +3147,14 @@
3110
3147
  "top_k": {
3111
3148
  "type": "number"
3112
3149
  },
3150
+ "thinking_mode": {
3151
+ "type": "string",
3152
+ "enum": [
3153
+ "adaptive",
3154
+ "between_tools"
3155
+ ],
3156
+ "description": "Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved."
3157
+ },
3113
3158
  "thinking_budget_tokens": {
3114
3159
  "type": "number"
3115
3160
  },
@@ -3142,9 +3187,6 @@
3142
3187
  "description": "Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility."
3143
3188
  }
3144
3189
  },
3145
- "required": [
3146
- "_option_id"
3147
- ],
3148
3190
  "additionalProperties": false
3149
3191
  },
3150
3192
  "BedrockPalmyraOptions": {
@@ -3187,9 +3229,6 @@
3187
3229
  "description": "Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility."
3188
3230
  }
3189
3231
  },
3190
- "required": [
3191
- "_option_id"
3192
- ],
3193
3232
  "additionalProperties": false
3194
3233
  },
3195
3234
  "BedrockGptOssOptions": {
@@ -3234,9 +3273,6 @@
3234
3273
  "description": "Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility."
3235
3274
  }
3236
3275
  },
3237
- "required": [
3238
- "_option_id"
3239
- ],
3240
3276
  "additionalProperties": false
3241
3277
  },
3242
3278
  "TwelvelabsPegasusOptions": {
@@ -3258,9 +3294,6 @@
3258
3294
  "description": "Provider-defined processing tier. Unknown non-empty values are preserved for forward compatibility."
3259
3295
  }
3260
3296
  },
3261
- "required": [
3262
- "_option_id"
3263
- ],
3264
3297
  "additionalProperties": false
3265
3298
  },
3266
3299
  "BedrockMantleResponsesOptions": {
@@ -3286,7 +3319,8 @@
3286
3319
  "low",
3287
3320
  "medium",
3288
3321
  "high",
3289
- "xhigh"
3322
+ "xhigh",
3323
+ "max"
3290
3324
  ]
3291
3325
  },
3292
3326
  "reasoning_effort": {
@@ -3296,7 +3330,8 @@
3296
3330
  "low",
3297
3331
  "medium",
3298
3332
  "high",
3299
- "xhigh"
3333
+ "xhigh",
3334
+ "max"
3300
3335
  ]
3301
3336
  },
3302
3337
  "verbosity": {
@@ -3319,9 +3354,6 @@
3319
3354
  "type": "boolean"
3320
3355
  }
3321
3356
  },
3322
- "required": [
3323
- "_option_id"
3324
- ],
3325
3357
  "additionalProperties": false
3326
3358
  },
3327
3359
  "BedrockMantleChatCompletionsOptions": {
@@ -3366,9 +3398,6 @@
3366
3398
  "type": "boolean"
3367
3399
  }
3368
3400
  },
3369
- "required": [
3370
- "_option_id"
3371
- ],
3372
3401
  "additionalProperties": false
3373
3402
  },
3374
3403
  "BedrockMantleClaudeOptions": {
@@ -3406,6 +3435,14 @@
3406
3435
  "max"
3407
3436
  ]
3408
3437
  },
3438
+ "thinking_mode": {
3439
+ "type": "string",
3440
+ "enum": [
3441
+ "adaptive",
3442
+ "between_tools"
3443
+ ],
3444
+ "description": "Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved."
3445
+ },
3409
3446
  "thinking_budget_tokens": {
3410
3447
  "type": "number"
3411
3448
  },
@@ -3423,9 +3460,6 @@
3423
3460
  ]
3424
3461
  }
3425
3462
  },
3426
- "required": [
3427
- "_option_id"
3428
- ],
3429
3463
  "additionalProperties": false
3430
3464
  },
3431
3465
  "OpenAiThinkingOptions": {
@@ -3450,6 +3484,14 @@
3450
3484
  "reasoning_effort": {
3451
3485
  "$ref": "#/components/schemas/ReasoningEffort"
3452
3486
  },
3487
+ "reasoning_context": {
3488
+ "type": "string",
3489
+ "enum": [
3490
+ "auto",
3491
+ "current_turn",
3492
+ "all_turns"
3493
+ ]
3494
+ },
3453
3495
  "image_detail": {
3454
3496
  "type": "string",
3455
3497
  "enum": [
@@ -3472,9 +3514,6 @@
3472
3514
  "description": "Additional provider-specific fields merged into the OpenAI-compatible request body."
3473
3515
  }
3474
3516
  },
3475
- "required": [
3476
- "_option_id"
3477
- ],
3478
3517
  "additionalProperties": false
3479
3518
  },
3480
3519
  "ReasoningEffort": {
@@ -3545,9 +3584,6 @@
3545
3584
  "description": "Additional provider-specific fields merged into the OpenAI-compatible request body."
3546
3585
  }
3547
3586
  },
3548
- "required": [
3549
- "_option_id"
3550
- ],
3551
3587
  "additionalProperties": false
3552
3588
  },
3553
3589
  "OpenAiDalleOptions": {
@@ -3592,9 +3628,6 @@
3592
3628
  "type": "number"
3593
3629
  }
3594
3630
  },
3595
- "required": [
3596
- "_option_id"
3597
- ],
3598
3631
  "additionalProperties": false
3599
3632
  },
3600
3633
  "OpenAiGptImageOptions": {
@@ -3639,9 +3672,6 @@
3639
3672
  ]
3640
3673
  }
3641
3674
  },
3642
- "required": [
3643
- "_option_id"
3644
- ],
3645
3675
  "additionalProperties": false
3646
3676
  },
3647
3677
  "XAIGrokImageOptions": {
@@ -3697,9 +3727,6 @@
3697
3727
  "maximum": 10
3698
3728
  }
3699
3729
  },
3700
- "required": [
3701
- "_option_id"
3702
- ],
3703
3730
  "additionalProperties": false
3704
3731
  },
3705
3732
  "GroqOptions": {
@@ -3740,7 +3767,6 @@
3740
3767
  }
3741
3768
  },
3742
3769
  "required": [
3743
- "_option_id",
3744
3770
  "reasoning_format"
3745
3771
  ],
3746
3772
  "additionalProperties": false
@@ -3808,13 +3834,72 @@
3808
3834
  "type": "boolean"
3809
3835
  }
3810
3836
  },
3811
- "required": [
3812
- "_option_id"
3813
- ],
3837
+ "additionalProperties": false
3838
+ },
3839
+ "AnthropicClaudeOptions": {
3840
+ "type": "object",
3841
+ "properties": {
3842
+ "_option_id": {
3843
+ "type": "string",
3844
+ "const": "anthropic-claude"
3845
+ },
3846
+ "max_tokens": {
3847
+ "type": "number"
3848
+ },
3849
+ "temperature": {
3850
+ "type": "number"
3851
+ },
3852
+ "top_p": {
3853
+ "type": "number"
3854
+ },
3855
+ "top_k": {
3856
+ "type": "number"
3857
+ },
3858
+ "stop_sequence": {
3859
+ "type": "array",
3860
+ "items": {
3861
+ "type": "string"
3862
+ }
3863
+ },
3864
+ "effort": {
3865
+ "type": "string",
3866
+ "enum": [
3867
+ "low",
3868
+ "medium",
3869
+ "high",
3870
+ "xhigh",
3871
+ "max"
3872
+ ]
3873
+ },
3874
+ "thinking_mode": {
3875
+ "type": "string",
3876
+ "enum": [
3877
+ "adaptive",
3878
+ "between_tools"
3879
+ ],
3880
+ "description": "Thinking mode override. Sonnet 5.5 supports between_tools at low, medium, or high effort. It omits display and budget fields; keep effort fixed during the conversation. When unset, existing model-specific thinking behavior is preserved."
3881
+ },
3882
+ "thinking_budget_tokens": {
3883
+ "type": "number"
3884
+ },
3885
+ "include_thoughts": {
3886
+ "type": "boolean"
3887
+ },
3888
+ "cache_enabled": {
3889
+ "type": "boolean"
3890
+ },
3891
+ "cache_ttl": {
3892
+ "type": "string",
3893
+ "enum": [
3894
+ "5m",
3895
+ "1h"
3896
+ ]
3897
+ }
3898
+ },
3814
3899
  "additionalProperties": false
3815
3900
  },
3816
3901
  "ModelOptions": {
3817
- "oneOf": [
3902
+ "anyOf": [
3818
3903
  {
3819
3904
  "$ref": "#/components/schemas/TextFallbackOptions"
3820
3905
  },
@@ -3895,44 +3980,12 @@
3895
3980
  },
3896
3981
  {
3897
3982
  "$ref": "#/components/schemas/MistralTextOptions"
3983
+ },
3984
+ {
3985
+ "$ref": "#/components/schemas/AnthropicClaudeOptions"
3898
3986
  }
3899
3987
  ],
3900
- "discriminator": {
3901
- "propertyName": "_option_id",
3902
- "mapping": {
3903
- "text-fallback": "#/components/schemas/TextFallbackOptions",
3904
- "azure-foundry-chat": "#/components/schemas/AzureFoundryChatOptions",
3905
- "vertexai-imagen": "#/components/schemas/ImagenOptions",
3906
- "vertexai-claude": "#/components/schemas/VertexAIClaudeOptions",
3907
- "vertexai-gemini": "#/components/schemas/VertexAIGeminiOptions",
3908
- "vertexai-gemini-omni-video": "#/components/schemas/VertexAIGeminiOmniVideoOptions",
3909
- "vertexai-grok": "#/components/schemas/VertexAIGrokOptions",
3910
- "bedrock-nova-canvas": "#/components/schemas/NovaCanvasOptions",
3911
- "bedrock-converse": "#/components/schemas/BedrockConverseOptions",
3912
- "bedrock-nova": "#/components/schemas/BedrockNovaOptions",
3913
- "bedrock-mistral": "#/components/schemas/BedrockMistralOptions",
3914
- "bedrock-ai21": "#/components/schemas/BedrockAI21Options",
3915
- "bedrock-cohere-command": "#/components/schemas/BedrockCohereCommandOptions",
3916
- "bedrock-claude": "#/components/schemas/BedrockClaudeOptions",
3917
- "bedrock-palmyra": "#/components/schemas/BedrockPalmyraOptions",
3918
- "bedrock-gpt-oss": "#/components/schemas/BedrockGptOssOptions",
3919
- "bedrock-twelvelabs-pegasus": "#/components/schemas/TwelvelabsPegasusOptions",
3920
- "bedrock-mantle-responses": "#/components/schemas/BedrockMantleResponsesOptions",
3921
- "bedrock-mantle-chat-completions": "#/components/schemas/BedrockMantleChatCompletionsOptions",
3922
- "bedrock-mantle-claude": "#/components/schemas/BedrockMantleClaudeOptions",
3923
- "openai-thinking": "#/components/schemas/OpenAiThinkingOptions",
3924
- "openai-text": "#/components/schemas/OpenAiTextOptions",
3925
- "openai-dalle": "#/components/schemas/OpenAiDalleOptions",
3926
- "openai-gpt-image": "#/components/schemas/OpenAiGptImageOptions",
3927
- "xai-grok-image": "#/components/schemas/XAIGrokImageOptions",
3928
- "groq-deepseek-thinking": "#/components/schemas/GroqOptions",
3929
- "mistral-text": "#/components/schemas/MistralTextOptions"
3930
- }
3931
- },
3932
- "type": "object",
3933
- "required": [
3934
- "_option_id"
3935
- ]
3988
+ "type": "object"
3936
3989
  },
3937
3990
  "HttpTimeoutOptions": {
3938
3991
  "type": "object",
@@ -3991,6 +4044,10 @@
3991
4044
  "model": {
3992
4045
  "type": "string"
3993
4046
  },
4047
+ "inherit_model_config": {
4048
+ "type": "boolean",
4049
+ "description": "Treat environment and model as inherited fallbacks after interaction settings, before project defaults."
4050
+ },
3994
4051
  "do_validate": {
3995
4052
  "type": "boolean"
3996
4053
  },
@@ -4623,13 +4680,9 @@
4623
4680
  "description": "Project defaults and caps for browser_use agent workstreams."
4624
4681
  },
4625
4682
  "pdf_template_object_id": {
4626
- "anyOf": [
4627
- {
4628
- "type": "string"
4629
- },
4630
- {
4631
- "type": "null"
4632
- }
4683
+ "type": [
4684
+ "string",
4685
+ "null"
4633
4686
  ],
4634
4687
  "description": "Object ID of a content object containing a custom LaTeX template (.latex file) to use as the branded PDF template. When set, \"Export as Branded PDF\" uses this template instead of the built-in Vertesia default template. `null` clears it."
4635
4688
  }
@@ -4814,13 +4867,9 @@
4814
4867
  "description": "Project defaults and caps for browser_use agent workstreams."
4815
4868
  },
4816
4869
  "pdf_template_object_id": {
4817
- "anyOf": [
4818
- {
4819
- "type": "string"
4820
- },
4821
- {
4822
- "type": "null"
4823
- }
4870
+ "type": [
4871
+ "string",
4872
+ "null"
4824
4873
  ],
4825
4874
  "description": "Object ID of a content object containing a custom LaTeX template (.latex file) to use as the branded PDF template. When set, \"Export as Branded PDF\" uses this template instead of the built-in Vertesia default template. `null` clears it."
4826
4875
  }
@@ -4896,11 +4945,12 @@
4896
4945
  "ToolCollectionAuthType": {
4897
4946
  "type": "string",
4898
4947
  "enum": [
4948
+ "none",
4899
4949
  "oauth",
4900
4950
  "api_key",
4901
4951
  "other"
4902
4952
  ],
4903
- "description": "Authentication type for tool collections.\n- 'oauth': the runtime resolves a per-user or per-project OAuth access token\n- 'api_key': a static key held in the project's secret store is sent as the RFC 6750 bearer token (`Authorization: Bearer <key>`)"
4953
+ "description": "Authentication type for tool collections.\n- 'none': connect directly without credentials for MCP collections; does not disable authentication for Vertesia SDK collections\n- 'oauth': the runtime resolves a per-user or per-project OAuth access token\n- 'api_key': a static key held in the project's secret store is sent as the RFC 6750 bearer token (`Authorization: Bearer <key>`)\n- 'other' or omitted: use the legacy provider connection-details flow for MCP collections"
4904
4954
  },
4905
4955
  "MCPOAuthConfig": {
4906
4956
  "type": "object",
@@ -9199,6 +9249,9 @@
9199
9249
  "InteractionForkPayload": {
9200
9250
  "type": "object",
9201
9251
  "properties": {
9252
+ "newName": {
9253
+ "type": "string"
9254
+ },
9202
9255
  "keepTags": {
9203
9256
  "type": "boolean"
9204
9257
  },
@@ -9308,6 +9361,10 @@
9308
9361
  "model": {
9309
9362
  "type": "string"
9310
9363
  },
9364
+ "inherit_model_config": {
9365
+ "type": "boolean",
9366
+ "description": "Treat environment and model as inherited fallbacks after interaction settings, before project defaults."
9367
+ },
9311
9368
  "hasImage": {
9312
9369
  "type": "boolean"
9313
9370
  },
@@ -13196,13 +13253,9 @@
13196
13253
  "type": "object",
13197
13254
  "properties": {
13198
13255
  "_id": {
13199
- "anyOf": [
13200
- {
13201
- "type": "string"
13202
- },
13203
- {
13204
- "type": "null"
13205
- }
13256
+ "type": [
13257
+ "string",
13258
+ "null"
13206
13259
  ]
13207
13260
  },
13208
13261
  "count": {
@@ -13231,13 +13284,9 @@
13231
13284
  "type": "object",
13232
13285
  "properties": {
13233
13286
  "_id": {
13234
- "anyOf": [
13235
- {
13236
- "type": "string"
13237
- },
13238
- {
13239
- "type": "null"
13240
- }
13287
+ "type": [
13288
+ "string",
13289
+ "null"
13241
13290
  ]
13242
13291
  },
13243
13292
  "count": {
@@ -13266,13 +13315,9 @@
13266
13315
  "type": "object",
13267
13316
  "properties": {
13268
13317
  "_id": {
13269
- "anyOf": [
13270
- {
13271
- "type": "string"
13272
- },
13273
- {
13274
- "type": "null"
13275
- }
13318
+ "type": [
13319
+ "string",
13320
+ "null"
13276
13321
  ]
13277
13322
  },
13278
13323
  "count": {
@@ -13301,13 +13346,9 @@
13301
13346
  "type": "object",
13302
13347
  "properties": {
13303
13348
  "_id": {
13304
- "anyOf": [
13305
- {
13306
- "type": "string"
13307
- },
13308
- {
13309
- "type": "null"
13310
- }
13349
+ "type": [
13350
+ "string",
13351
+ "null"
13311
13352
  ]
13312
13353
  },
13313
13354
  "count": {
@@ -13336,13 +13377,9 @@
13336
13377
  "type": "object",
13337
13378
  "properties": {
13338
13379
  "_id": {
13339
- "anyOf": [
13340
- {
13341
- "type": "string"
13342
- },
13343
- {
13344
- "type": "null"
13345
- }
13380
+ "type": [
13381
+ "string",
13382
+ "null"
13346
13383
  ]
13347
13384
  },
13348
13385
  "count": {
@@ -13661,6 +13698,9 @@
13661
13698
  "PromptTemplateForkPayload": {
13662
13699
  "type": "object",
13663
13700
  "properties": {
13701
+ "newName": {
13702
+ "type": "string"
13703
+ },
13664
13704
  "keepTags": {
13665
13705
  "type": "boolean"
13666
13706
  },
@@ -14264,13 +14304,9 @@
14264
14304
  "description": "Whether a key is stored for this collection."
14265
14305
  },
14266
14306
  "hint": {
14267
- "anyOf": [
14268
- {
14269
- "type": "string"
14270
- },
14271
- {
14272
- "type": "null"
14273
- }
14307
+ "type": [
14308
+ "string",
14309
+ "null"
14274
14310
  ],
14275
14311
  "description": "Last few characters of the stored key, for display only. Null when unset."
14276
14312
  }
@@ -14340,113 +14376,69 @@
14340
14376
  "type": "object",
14341
14377
  "properties": {
14342
14378
  "time": {
14343
- "anyOf": [
14344
- {
14345
- "type": "string"
14346
- },
14347
- {
14348
- "type": "null"
14349
- }
14379
+ "type": [
14380
+ "string",
14381
+ "null"
14350
14382
  ]
14351
14383
  },
14352
14384
  "action": {
14353
- "anyOf": [
14354
- {
14355
- "type": "string"
14356
- },
14357
- {
14358
- "type": "null"
14359
- }
14385
+ "type": [
14386
+ "string",
14387
+ "null"
14360
14388
  ]
14361
14389
  },
14362
14390
  "resource_type": {
14363
- "anyOf": [
14364
- {
14365
- "type": "string"
14366
- },
14367
- {
14368
- "type": "null"
14369
- }
14391
+ "type": [
14392
+ "string",
14393
+ "null"
14370
14394
  ]
14371
14395
  },
14372
14396
  "event_category": {
14373
- "anyOf": [
14374
- {
14375
- "type": "string"
14376
- },
14377
- {
14378
- "type": "null"
14379
- }
14397
+ "type": [
14398
+ "string",
14399
+ "null"
14380
14400
  ]
14381
14401
  },
14382
14402
  "provider": {
14383
- "anyOf": [
14384
- {
14385
- "type": "string"
14386
- },
14387
- {
14388
- "type": "null"
14389
- }
14403
+ "type": [
14404
+ "string",
14405
+ "null"
14390
14406
  ]
14391
14407
  },
14392
14408
  "project_id": {
14393
- "anyOf": [
14394
- {
14395
- "type": "string"
14396
- },
14397
- {
14398
- "type": "null"
14399
- }
14409
+ "type": [
14410
+ "string",
14411
+ "null"
14400
14412
  ]
14401
14413
  },
14402
14414
  "details.pipeline": {
14403
- "anyOf": [
14404
- {
14405
- "type": "string"
14406
- },
14407
- {
14408
- "type": "null"
14409
- }
14415
+ "type": [
14416
+ "string",
14417
+ "null"
14410
14418
  ]
14411
14419
  },
14412
14420
  "details.verdict": {
14413
- "anyOf": [
14414
- {
14415
- "type": "string"
14416
- },
14417
- {
14418
- "type": "null"
14419
- }
14421
+ "type": [
14422
+ "string",
14423
+ "null"
14420
14424
  ]
14421
14425
  },
14422
14426
  "details.workflow_type": {
14423
- "anyOf": [
14424
- {
14425
- "type": "string"
14426
- },
14427
- {
14428
- "type": "null"
14429
- }
14427
+ "type": [
14428
+ "string",
14429
+ "null"
14430
14430
  ]
14431
14431
  },
14432
14432
  "details.rule_id": {
14433
- "anyOf": [
14434
- {
14435
- "type": "string"
14436
- },
14437
- {
14438
- "type": "null"
14439
- }
14433
+ "type": [
14434
+ "string",
14435
+ "null"
14440
14436
  ]
14441
14437
  },
14442
14438
  "model": {
14443
- "anyOf": [
14444
- {
14445
- "type": "string"
14446
- },
14447
- {
14448
- "type": "null"
14449
- }
14439
+ "type": [
14440
+ "string",
14441
+ "null"
14450
14442
  ]
14451
14443
  }
14452
14444
  },
@@ -14606,13 +14598,9 @@
14606
14598
  "$ref": "#/components/schemas/EventCategory"
14607
14599
  },
14608
14600
  "source": {
14609
- "anyOf": [
14610
- {
14611
- "type": "string"
14612
- },
14613
- {
14614
- "type": "null"
14615
- }
14601
+ "type": [
14602
+ "string",
14603
+ "null"
14616
14604
  ]
14617
14605
  },
14618
14606
  "root_event_id": {
@@ -14658,33 +14646,21 @@
14658
14646
  "type": "boolean"
14659
14647
  },
14660
14648
  "principal_id": {
14661
- "anyOf": [
14662
- {
14663
- "type": "string"
14664
- },
14665
- {
14666
- "type": "null"
14667
- }
14649
+ "type": [
14650
+ "string",
14651
+ "null"
14668
14652
  ]
14669
14653
  },
14670
14654
  "principal_type": {
14671
- "anyOf": [
14672
- {
14673
- "type": "string"
14674
- },
14675
- {
14676
- "type": "null"
14677
- }
14655
+ "type": [
14656
+ "string",
14657
+ "null"
14678
14658
  ]
14679
14659
  },
14680
14660
  "effective_principal_id": {
14681
- "anyOf": [
14682
- {
14683
- "type": "string"
14684
- },
14685
- {
14686
- "type": "null"
14687
- }
14661
+ "type": [
14662
+ "string",
14663
+ "null"
14688
14664
  ]
14689
14665
  },
14690
14666
  "roles": {
@@ -14694,63 +14670,39 @@
14694
14670
  }
14695
14671
  },
14696
14672
  "account_id": {
14697
- "anyOf": [
14698
- {
14699
- "type": "string"
14700
- },
14701
- {
14702
- "type": "null"
14703
- }
14673
+ "type": [
14674
+ "string",
14675
+ "null"
14704
14676
  ]
14705
14677
  },
14706
14678
  "project_id": {
14707
- "anyOf": [
14708
- {
14709
- "type": "string"
14710
- },
14711
- {
14712
- "type": "null"
14713
- }
14679
+ "type": [
14680
+ "string",
14681
+ "null"
14714
14682
  ]
14715
14683
  },
14716
14684
  "tenant_id": {
14717
- "anyOf": [
14718
- {
14719
- "type": "string"
14720
- },
14721
- {
14722
- "type": "null"
14723
- }
14685
+ "type": [
14686
+ "string",
14687
+ "null"
14724
14688
  ]
14725
14689
  },
14726
14690
  "account_name": {
14727
- "anyOf": [
14728
- {
14729
- "type": "string"
14730
- },
14731
- {
14732
- "type": "null"
14733
- }
14691
+ "type": [
14692
+ "string",
14693
+ "null"
14734
14694
  ]
14735
14695
  },
14736
14696
  "project_name": {
14737
- "anyOf": [
14738
- {
14739
- "type": "string"
14740
- },
14741
- {
14742
- "type": "null"
14743
- }
14697
+ "type": [
14698
+ "string",
14699
+ "null"
14744
14700
  ]
14745
14701
  },
14746
14702
  "provider": {
14747
- "anyOf": [
14748
- {
14749
- "type": "string"
14750
- },
14751
- {
14752
- "type": "null"
14753
- }
14703
+ "type": [
14704
+ "string",
14705
+ "null"
14754
14706
  ],
14755
14707
  "description": "Provider type for billable/provider-backed events, e.g. vertexai, bedrock."
14756
14708
  },
@@ -15140,6 +15092,10 @@
15140
15092
  "model": {
15141
15093
  "type": "string"
15142
15094
  },
15095
+ "inherit_model_config": {
15096
+ "type": "boolean",
15097
+ "description": "Treat environment and model as inherited fallbacks after interaction settings, before project defaults."
15098
+ },
15143
15099
  "do_validate": {
15144
15100
  "type": "boolean"
15145
15101
  },
@@ -16876,33 +16832,21 @@
16876
16832
  "type": "string"
16877
16833
  },
16878
16834
  "account_id": {
16879
- "anyOf": [
16880
- {
16881
- "type": "string"
16882
- },
16883
- {
16884
- "type": "null"
16885
- }
16835
+ "type": [
16836
+ "string",
16837
+ "null"
16886
16838
  ]
16887
16839
  },
16888
16840
  "project_id": {
16889
- "anyOf": [
16890
- {
16891
- "type": "string"
16892
- },
16893
- {
16894
- "type": "null"
16895
- }
16841
+ "type": [
16842
+ "string",
16843
+ "null"
16896
16844
  ]
16897
16845
  },
16898
16846
  "tenant_id": {
16899
- "anyOf": [
16900
- {
16901
- "type": "string"
16902
- },
16903
- {
16904
- "type": "null"
16905
- }
16847
+ "type": [
16848
+ "string",
16849
+ "null"
16906
16850
  ]
16907
16851
  }
16908
16852
  },
@@ -20123,6 +20067,10 @@
20123
20067
  "type": "boolean",
20124
20068
  "description": "When true, this item is excluded from the Composite App dashboard cards"
20125
20069
  },
20070
+ "openInAppPortal": {
20071
+ "type": "boolean",
20072
+ "description": "When true, this item navigates to the App Portal form of the URL (`/apps/<appName><route>`) instead of the Composite App form (`/app/<appName><route>`), so the app is opened standalone rather than inside the Composite App shell."
20073
+ },
20126
20074
  "permissions": {
20127
20075
  "$ref": "#/components/schemas/CompositeAppNavItemPermissions",
20128
20076
  "description": "Optional access control settings for this nav item"
@@ -23578,6 +23526,9 @@
23578
23526
  "properties": {
23579
23527
  "bucket": {
23580
23528
  "type": "string"
23529
+ },
23530
+ "location": {
23531
+ "type": "string"
23581
23532
  }
23582
23533
  },
23583
23534
  "required": [
@@ -24073,13 +24024,9 @@
24073
24024
  "$ref": "#/components/schemas/DurableTaskStatus"
24074
24025
  },
24075
24026
  "assignee": {
24076
- "anyOf": [
24077
- {
24078
- "type": "string"
24079
- },
24080
- {
24081
- "type": "null"
24082
- }
24027
+ "type": [
24028
+ "string",
24029
+ "null"
24083
24030
  ]
24084
24031
  },
24085
24032
  "fields": {
@@ -27247,13 +27194,9 @@
27247
27194
  "$ref": "#/components/schemas/StringArrayMap"
27248
27195
  },
27249
27196
  "sensitivity": {
27250
- "anyOf": [
27251
- {
27252
- "type": "number"
27253
- },
27254
- {
27255
- "type": "null"
27256
- }
27197
+ "type": [
27198
+ "number",
27199
+ "null"
27257
27200
  ]
27258
27201
  },
27259
27202
  "compartments": {
@@ -31679,6 +31622,10 @@
31679
31622
  "type": "string"
31680
31623
  },
31681
31624
  "description": "List of property names from the collection's properties that should be shared with (injected into) member objects. These properties will be propagated to all members of this collection and merged as arrays."
31625
+ },
31626
+ "user_permissions": {
31627
+ "$ref": "#/components/schemas/ContentObjectUserPermissions",
31628
+ "description": "Computed per-request permissions for the current user on this collection. Not stored — computed on the fly from the collection's security field (same semantics as a content object's user_permissions)."
31682
31629
  }
31683
31630
  },
31684
31631
  "required": [
@@ -35367,19 +35314,11 @@
35367
35314
  ]
35368
35315
  },
35369
35316
  "value": {
35370
- "anyOf": [
35371
- {
35372
- "type": "string"
35373
- },
35374
- {
35375
- "type": "boolean"
35376
- },
35377
- {
35378
- "type": "number"
35379
- },
35380
- {
35381
- "type": "null"
35382
- }
35317
+ "type": [
35318
+ "string",
35319
+ "boolean",
35320
+ "number",
35321
+ "null"
35383
35322
  ]
35384
35323
  },
35385
35324
  "members": {
@@ -38284,6 +38223,11 @@
38284
38223
  "ImportDataPayload": {
38285
38224
  "type": "object",
38286
38225
  "properties": {
38226
+ "import_id": {
38227
+ "type": "string",
38228
+ "pattern": "^[0-9a-f]{24}$",
38229
+ "description": "Optional client-generated Mongo ObjectId for idempotent retries. Generate once before submitting, then reuse with identical input. New IDs must be less than 24 hours old; existing jobs are returned without executing again. Poll GET /data/:storeId/import/:importId after a timeout."
38230
+ },
38287
38231
  "tables": {
38288
38232
  "$ref": "#/components/schemas/ImportTableDataMap",
38289
38233
  "description": "Map of table name to data specification"
@@ -40478,6 +40422,71 @@
40478
40422
  ],
40479
40423
  "additionalProperties": false
40480
40424
  },
40425
+ "EmbeddingBatchRunSummary": {
40426
+ "type": "object",
40427
+ "properties": {
40428
+ "id": {
40429
+ "type": "string"
40430
+ },
40431
+ "state": {
40432
+ "type": "string",
40433
+ "enum": [
40434
+ "preparing",
40435
+ "submitted",
40436
+ "running",
40437
+ "applying",
40438
+ "completed",
40439
+ "completed_with_errors",
40440
+ "cancelled",
40441
+ "stale",
40442
+ "failed"
40443
+ ]
40444
+ },
40445
+ "model": {
40446
+ "type": "string"
40447
+ },
40448
+ "created_at": {
40449
+ "type": "string",
40450
+ "format": "date-time"
40451
+ },
40452
+ "completed_at": {
40453
+ "type": "string",
40454
+ "format": "date-time"
40455
+ },
40456
+ "applied": {
40457
+ "type": "integer",
40458
+ "minimum": 0,
40459
+ "maximum": 9007199254740991
40460
+ },
40461
+ "skipped": {
40462
+ "type": "integer",
40463
+ "minimum": 0,
40464
+ "maximum": 9007199254740991
40465
+ },
40466
+ "failed": {
40467
+ "type": "integer",
40468
+ "minimum": 0,
40469
+ "maximum": 9007199254740991
40470
+ },
40471
+ "stale": {
40472
+ "type": "integer",
40473
+ "minimum": 0,
40474
+ "maximum": 9007199254740991
40475
+ }
40476
+ },
40477
+ "required": [
40478
+ "id",
40479
+ "state",
40480
+ "model",
40481
+ "created_at",
40482
+ "applied",
40483
+ "skipped",
40484
+ "failed",
40485
+ "stale"
40486
+ ],
40487
+ "additionalProperties": false,
40488
+ "description": "Latest batch run for this embedding type, without provider payloads or input content."
40489
+ },
40481
40490
  "EmbeddingsStatusResponse": {
40482
40491
  "type": "object",
40483
40492
  "properties": {
@@ -40487,6 +40496,9 @@
40487
40496
  "embeddingRunsInProgress": {
40488
40497
  "type": "number"
40489
40498
  },
40499
+ "latestBatchRun": {
40500
+ "$ref": "#/components/schemas/EmbeddingBatchRunSummary"
40501
+ },
40490
40502
  "totalIndexableObjects": {
40491
40503
  "type": "number"
40492
40504
  },
@@ -40530,6 +40542,21 @@
40530
40542
  ],
40531
40543
  "additionalProperties": false
40532
40544
  },
40545
+ "RecalculateEmbeddingsQuery": {
40546
+ "type": "object",
40547
+ "properties": {
40548
+ "mode": {
40549
+ "type": "string",
40550
+ "const": "sync",
40551
+ "description": "Force synchronous per-object recalculation. When omitted, batch inference is used when supported."
40552
+ },
40553
+ "force": {
40554
+ "type": "boolean",
40555
+ "description": "Recalculate all eligible objects, including current embeddings. Token limits still apply; existing renditions are reused."
40556
+ }
40557
+ },
40558
+ "additionalProperties": false
40559
+ },
40533
40560
  "ProjectConfigurationEmbeddingEnablePayload": {
40534
40561
  "type": "object",
40535
40562
  "properties": {
@@ -40548,6 +40575,530 @@
40548
40575
  ],
40549
40576
  "additionalProperties": false
40550
40577
  },
40578
+ "EmbeddingBatchProviderState": {
40579
+ "type": "string",
40580
+ "enum": [
40581
+ "pending",
40582
+ "running",
40583
+ "succeeded",
40584
+ "failed",
40585
+ "cancelled",
40586
+ "paused"
40587
+ ]
40588
+ },
40589
+ "EmbeddingBatchCapabilityRequest": {
40590
+ "type": "object",
40591
+ "properties": {
40592
+ "embedding_type": {
40593
+ "$ref": "#/components/schemas/SupportedEmbeddingTypes"
40594
+ }
40595
+ },
40596
+ "required": [
40597
+ "embedding_type"
40598
+ ]
40599
+ },
40600
+ "EmbeddingBatchCapabilityResponse": {
40601
+ "type": "object",
40602
+ "properties": {
40603
+ "eligible": {
40604
+ "type": "boolean"
40605
+ },
40606
+ "reason": {
40607
+ "type": "string"
40608
+ },
40609
+ "environment": {
40610
+ "type": "string"
40611
+ },
40612
+ "provider": {
40613
+ "type": "string"
40614
+ },
40615
+ "model": {
40616
+ "type": "string"
40617
+ },
40618
+ "dimensions": {
40619
+ "type": "integer",
40620
+ "exclusiveMinimum": 0,
40621
+ "maximum": 9007199254740991
40622
+ },
40623
+ "max_tokens": {
40624
+ "type": "integer",
40625
+ "exclusiveMinimum": 0,
40626
+ "maximum": 9007199254740991
40627
+ },
40628
+ "location": {
40629
+ "type": "string"
40630
+ },
40631
+ "input_format": {
40632
+ "type": "string"
40633
+ },
40634
+ "max_rows": {
40635
+ "type": "integer",
40636
+ "exclusiveMinimum": 0,
40637
+ "maximum": 9007199254740991
40638
+ },
40639
+ "artifact_uri": {
40640
+ "type": "string"
40641
+ }
40642
+ },
40643
+ "required": [
40644
+ "eligible"
40645
+ ]
40646
+ },
40647
+ "EmbeddingBatchCreateRequest": {
40648
+ "type": "object",
40649
+ "properties": {
40650
+ "embedding_type": {
40651
+ "$ref": "#/components/schemas/SupportedEmbeddingTypes"
40652
+ },
40653
+ "model": {
40654
+ "type": "string"
40655
+ },
40656
+ "dimensions": {
40657
+ "type": "integer",
40658
+ "exclusiveMinimum": 0,
40659
+ "maximum": 9007199254740991
40660
+ },
40661
+ "display_name": {
40662
+ "type": "string"
40663
+ },
40664
+ "input_uri": {
40665
+ "type": "string"
40666
+ },
40667
+ "output_uri": {
40668
+ "type": "string"
40669
+ }
40670
+ },
40671
+ "required": [
40672
+ "embedding_type",
40673
+ "model",
40674
+ "dimensions",
40675
+ "display_name",
40676
+ "input_uri",
40677
+ "output_uri"
40678
+ ]
40679
+ },
40680
+ "EmbeddingBatchJobRequest": {
40681
+ "type": "object",
40682
+ "properties": {
40683
+ "embedding_type": {
40684
+ "$ref": "#/components/schemas/SupportedEmbeddingTypes"
40685
+ },
40686
+ "model": {
40687
+ "type": "string"
40688
+ },
40689
+ "name": {
40690
+ "type": "string"
40691
+ },
40692
+ "include_output_artifacts": {
40693
+ "type": "boolean",
40694
+ "description": "On get, resolve terminal result artifacts for application. Omit for lightweight status polling."
40695
+ }
40696
+ },
40697
+ "required": [
40698
+ "embedding_type",
40699
+ "model",
40700
+ "name"
40701
+ ]
40702
+ },
40703
+ "EmbeddingBatchJobResponse": {
40704
+ "type": "object",
40705
+ "properties": {
40706
+ "name": {
40707
+ "type": "string"
40708
+ },
40709
+ "display_name": {
40710
+ "type": "string"
40711
+ },
40712
+ "state": {
40713
+ "type": "string",
40714
+ "enum": [
40715
+ "pending",
40716
+ "running",
40717
+ "succeeded",
40718
+ "failed",
40719
+ "cancelled",
40720
+ "paused"
40721
+ ]
40722
+ },
40723
+ "model": {
40724
+ "type": "string"
40725
+ },
40726
+ "input_uri": {
40727
+ "type": "string"
40728
+ },
40729
+ "output_uri": {
40730
+ "type": "string"
40731
+ },
40732
+ "output_artifacts": {
40733
+ "type": "array",
40734
+ "items": {
40735
+ "type": "string"
40736
+ },
40737
+ "description": "Terminal job result artifacts in application storage, including partial results. Never provider file IDs."
40738
+ },
40739
+ "error_message": {
40740
+ "type": "string"
40741
+ }
40742
+ },
40743
+ "required": [
40744
+ "name",
40745
+ "state"
40746
+ ]
40747
+ },
40748
+ "EmbeddingBatchRunState": {
40749
+ "type": "string",
40750
+ "enum": [
40751
+ "preparing",
40752
+ "submitted",
40753
+ "running",
40754
+ "applying",
40755
+ "completed",
40756
+ "completed_with_errors",
40757
+ "cancelled",
40758
+ "stale",
40759
+ "failed"
40760
+ ]
40761
+ },
40762
+ "EmbeddingBatchSubjob": {
40763
+ "type": "object",
40764
+ "properties": {
40765
+ "index": {
40766
+ "type": "integer",
40767
+ "minimum": 0,
40768
+ "maximum": 9007199254740991
40769
+ },
40770
+ "display_name": {
40771
+ "type": "string"
40772
+ },
40773
+ "input_uri": {
40774
+ "type": "string"
40775
+ },
40776
+ "output_uri": {
40777
+ "type": "string"
40778
+ },
40779
+ "row_count": {
40780
+ "type": "integer",
40781
+ "minimum": 0,
40782
+ "maximum": 9007199254740991
40783
+ },
40784
+ "provider_name": {
40785
+ "type": "string"
40786
+ },
40787
+ "state": {
40788
+ "type": "string",
40789
+ "enum": [
40790
+ "pending",
40791
+ "running",
40792
+ "succeeded",
40793
+ "failed",
40794
+ "cancelled",
40795
+ "paused"
40796
+ ]
40797
+ }
40798
+ },
40799
+ "required": [
40800
+ "index",
40801
+ "display_name",
40802
+ "input_uri",
40803
+ "output_uri",
40804
+ "row_count"
40805
+ ]
40806
+ },
40807
+ "EmbeddingBatchPrepareRequest": {
40808
+ "type": "object",
40809
+ "properties": {
40810
+ "run_id": {
40811
+ "type": "string"
40812
+ },
40813
+ "embedding_type": {
40814
+ "$ref": "#/components/schemas/SupportedEmbeddingTypes"
40815
+ },
40816
+ "capability": {
40817
+ "$ref": "#/components/schemas/EmbeddingBatchCapabilityResponse"
40818
+ }
40819
+ },
40820
+ "required": [
40821
+ "run_id",
40822
+ "embedding_type",
40823
+ "capability"
40824
+ ]
40825
+ },
40826
+ "EmbeddingBatchPrepareResponse": {
40827
+ "type": "object",
40828
+ "properties": {
40829
+ "run_id": {
40830
+ "type": "string"
40831
+ },
40832
+ "row_count": {
40833
+ "type": "integer",
40834
+ "minimum": 0,
40835
+ "maximum": 9007199254740991
40836
+ },
40837
+ "subjobs": {
40838
+ "type": "array",
40839
+ "items": {
40840
+ "type": "object",
40841
+ "properties": {
40842
+ "index": {
40843
+ "type": "integer",
40844
+ "minimum": 0,
40845
+ "maximum": 9007199254740991
40846
+ },
40847
+ "display_name": {
40848
+ "type": "string"
40849
+ },
40850
+ "input_uri": {
40851
+ "type": "string"
40852
+ },
40853
+ "output_uri": {
40854
+ "type": "string"
40855
+ },
40856
+ "row_count": {
40857
+ "type": "integer",
40858
+ "minimum": 0,
40859
+ "maximum": 9007199254740991
40860
+ },
40861
+ "provider_name": {
40862
+ "type": "string"
40863
+ },
40864
+ "state": {
40865
+ "type": "string",
40866
+ "enum": [
40867
+ "pending",
40868
+ "running",
40869
+ "succeeded",
40870
+ "failed",
40871
+ "cancelled",
40872
+ "paused"
40873
+ ]
40874
+ }
40875
+ },
40876
+ "required": [
40877
+ "index",
40878
+ "display_name",
40879
+ "input_uri",
40880
+ "output_uri",
40881
+ "row_count"
40882
+ ],
40883
+ "additionalProperties": false
40884
+ }
40885
+ }
40886
+ },
40887
+ "required": [
40888
+ "run_id",
40889
+ "row_count",
40890
+ "subjobs"
40891
+ ]
40892
+ },
40893
+ "EmbeddingBatchRenditionPageRequest": {
40894
+ "type": "object",
40895
+ "properties": {
40896
+ "run_id": {
40897
+ "type": "string"
40898
+ }
40899
+ },
40900
+ "required": [
40901
+ "run_id"
40902
+ ]
40903
+ },
40904
+ "EmbeddingBatchRenditionPageResponse": {
40905
+ "type": "object",
40906
+ "properties": {
40907
+ "status": {
40908
+ "type": "string",
40909
+ "enum": [
40910
+ "running",
40911
+ "page_completed",
40912
+ "completed"
40913
+ ]
40914
+ },
40915
+ "page_index": {
40916
+ "type": "integer",
40917
+ "minimum": 0,
40918
+ "maximum": 9007199254740991
40919
+ },
40920
+ "page_scanned": {
40921
+ "type": "integer",
40922
+ "minimum": 0,
40923
+ "maximum": 9007199254740991
40924
+ },
40925
+ "page_ready": {
40926
+ "type": "integer",
40927
+ "minimum": 0,
40928
+ "maximum": 9007199254740991
40929
+ },
40930
+ "page_generated": {
40931
+ "type": "integer",
40932
+ "minimum": 0,
40933
+ "maximum": 9007199254740991
40934
+ },
40935
+ "page_failed": {
40936
+ "type": "integer",
40937
+ "minimum": 0,
40938
+ "maximum": 9007199254740991
40939
+ },
40940
+ "running": {
40941
+ "type": "integer",
40942
+ "minimum": 0,
40943
+ "maximum": 9007199254740991
40944
+ }
40945
+ },
40946
+ "required": [
40947
+ "status",
40948
+ "page_index",
40949
+ "page_scanned",
40950
+ "page_ready",
40951
+ "page_generated",
40952
+ "page_failed",
40953
+ "running"
40954
+ ]
40955
+ },
40956
+ "EmbeddingBatchUpdateRequest": {
40957
+ "type": "object",
40958
+ "properties": {
40959
+ "run_id": {
40960
+ "type": "string"
40961
+ },
40962
+ "state": {
40963
+ "type": "string",
40964
+ "enum": [
40965
+ "preparing",
40966
+ "submitted",
40967
+ "running",
40968
+ "applying",
40969
+ "completed",
40970
+ "completed_with_errors",
40971
+ "cancelled",
40972
+ "stale",
40973
+ "failed"
40974
+ ]
40975
+ },
40976
+ "subjobs": {
40977
+ "type": "array",
40978
+ "items": {
40979
+ "type": "object",
40980
+ "properties": {
40981
+ "index": {
40982
+ "type": "integer",
40983
+ "minimum": 0,
40984
+ "maximum": 9007199254740991
40985
+ },
40986
+ "display_name": {
40987
+ "type": "string"
40988
+ },
40989
+ "input_uri": {
40990
+ "type": "string"
40991
+ },
40992
+ "output_uri": {
40993
+ "type": "string"
40994
+ },
40995
+ "row_count": {
40996
+ "type": "integer",
40997
+ "minimum": 0,
40998
+ "maximum": 9007199254740991
40999
+ },
41000
+ "provider_name": {
41001
+ "type": "string"
41002
+ },
41003
+ "state": {
41004
+ "type": "string",
41005
+ "enum": [
41006
+ "pending",
41007
+ "running",
41008
+ "succeeded",
41009
+ "failed",
41010
+ "cancelled",
41011
+ "paused"
41012
+ ]
41013
+ }
41014
+ },
41015
+ "required": [
41016
+ "index",
41017
+ "display_name",
41018
+ "input_uri",
41019
+ "output_uri",
41020
+ "row_count"
41021
+ ],
41022
+ "additionalProperties": false
41023
+ }
41024
+ },
41025
+ "error_code": {
41026
+ "type": "string"
41027
+ },
41028
+ "error_message": {
41029
+ "type": "string"
41030
+ }
41031
+ },
41032
+ "required": [
41033
+ "run_id",
41034
+ "state"
41035
+ ]
41036
+ },
41037
+ "EmbeddingBatchApplyRequest": {
41038
+ "type": "object",
41039
+ "properties": {
41040
+ "run_id": {
41041
+ "type": "string"
41042
+ }
41043
+ },
41044
+ "required": [
41045
+ "run_id"
41046
+ ]
41047
+ },
41048
+ "EmbeddingBatchApplyResponse": {
41049
+ "type": "object",
41050
+ "properties": {
41051
+ "state": {
41052
+ "type": "string",
41053
+ "enum": [
41054
+ "preparing",
41055
+ "submitted",
41056
+ "running",
41057
+ "applying",
41058
+ "completed",
41059
+ "completed_with_errors",
41060
+ "cancelled",
41061
+ "stale",
41062
+ "failed"
41063
+ ]
41064
+ },
41065
+ "succeeded": {
41066
+ "type": "integer",
41067
+ "minimum": 0,
41068
+ "maximum": 9007199254740991
41069
+ },
41070
+ "failed": {
41071
+ "type": "integer",
41072
+ "minimum": 0,
41073
+ "maximum": 9007199254740991
41074
+ },
41075
+ "stale": {
41076
+ "type": "integer",
41077
+ "minimum": 0,
41078
+ "maximum": 9007199254740991
41079
+ },
41080
+ "applied": {
41081
+ "type": "integer",
41082
+ "minimum": 0,
41083
+ "maximum": 9007199254740991
41084
+ },
41085
+ "failure_counts": {
41086
+ "type": "object",
41087
+ "additionalProperties": {
41088
+ "type": "integer",
41089
+ "minimum": 0,
41090
+ "maximum": 9007199254740991
41091
+ }
41092
+ }
41093
+ },
41094
+ "required": [
41095
+ "state",
41096
+ "succeeded",
41097
+ "failed",
41098
+ "stale",
41099
+ "applied"
41100
+ ]
41101
+ },
40551
41102
  "GenericCommandResponse": {
40552
41103
  "type": "object",
40553
41104
  "properties": {