@breign/client 1.0.172 → 1.0.174

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 (54) hide show
  1. package/dist/apis/AdminApi.d.ts +110 -1
  2. package/dist/apis/AdminApi.js +263 -0
  3. package/dist/apis/AiGatewayApi.d.ts +41 -5
  4. package/dist/apis/AiGatewayApi.js +80 -7
  5. package/dist/apis/ExecutionNodesApi.d.ts +83 -1
  6. package/dist/apis/ExecutionNodesApi.js +186 -0
  7. package/dist/models/AiGatewayInternalSettingsSummaryUio.d.ts +63 -0
  8. package/dist/models/AiGatewayInternalSettingsSummaryUio.js +69 -0
  9. package/dist/models/AiGatewayUsageCostUio.d.ts +60 -0
  10. package/dist/models/AiGatewayUsageCostUio.js +62 -0
  11. package/dist/models/AiGatewayUsageUio.d.ts +7 -0
  12. package/dist/models/AiGatewayUsageUio.js +3 -0
  13. package/dist/models/AllowPlatformEnginesUio.d.ts +32 -0
  14. package/dist/models/AllowPlatformEnginesUio.js +50 -0
  15. package/dist/models/DefaultEngineRequestUio.d.ts +6 -0
  16. package/dist/models/DefaultEngineRequestUio.js +2 -0
  17. package/dist/models/DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio.d.ts +44 -0
  18. package/dist/models/DeletePlatformEngineResponseKnowledgeBasesAffectedInnerUio.js +58 -0
  19. package/dist/models/DeletePlatformEngineResponseUio.d.ts +45 -0
  20. package/dist/models/DeletePlatformEngineResponseUio.js +59 -0
  21. package/dist/models/ExecutionNodeDetailUio.d.ts +7 -0
  22. package/dist/models/ExecutionNodeDetailUio.js +5 -0
  23. package/dist/models/ExecutionNodeOrganizationUio.d.ts +44 -0
  24. package/dist/models/ExecutionNodeOrganizationUio.js +58 -0
  25. package/dist/models/ExecutionNodeSettingsUio.d.ts +33 -0
  26. package/dist/models/ExecutionNodeSettingsUio.js +51 -0
  27. package/dist/models/ExecutionNodeUio.d.ts +7 -0
  28. package/dist/models/ExecutionNodeUio.js +5 -0
  29. package/dist/models/ModelDefinitionUio.d.ts +33 -0
  30. package/dist/models/ModelDefinitionUio.js +17 -0
  31. package/dist/models/NodeAssociationPolicyUio.d.ts +26 -0
  32. package/dist/models/NodeAssociationPolicyUio.js +52 -0
  33. package/dist/models/NodeSessionDetailUio.d.ts +1 -1
  34. package/dist/models/NodeSessionUio.d.ts +1 -1
  35. package/dist/models/OrganisationPlatformEngineUsageUio.d.ts +44 -0
  36. package/dist/models/OrganisationPlatformEngineUsageUio.js +58 -0
  37. package/dist/models/OrganizationExecutionNodeAgentUio.d.ts +52 -0
  38. package/dist/models/OrganizationExecutionNodeAgentUio.js +66 -0
  39. package/dist/models/OrganizationExecutionNodeUio.d.ts +97 -0
  40. package/dist/models/OrganizationExecutionNodeUio.js +97 -0
  41. package/dist/models/OrganizationExecutionNodeUserUio.d.ts +38 -0
  42. package/dist/models/OrganizationExecutionNodeUserUio.js +54 -0
  43. package/dist/models/OrganizationUio.d.ts +6 -0
  44. package/dist/models/OrganizationUio.js +2 -0
  45. package/dist/models/PlatformEngineUsageUio.d.ts +48 -0
  46. package/dist/models/PlatformEngineUsageUio.js +58 -0
  47. package/dist/models/ProviderCreateRequestUio.d.ts +12 -0
  48. package/dist/models/ProviderCreateRequestUio.js +4 -0
  49. package/dist/models/ProviderUio.d.ts +12 -0
  50. package/dist/models/ProviderUio.js +4 -0
  51. package/dist/models/index.d.ts +13 -0
  52. package/dist/models/index.js +13 -0
  53. package/dist/openapi.json +970 -33
  54. package/package.json +1 -1
package/dist/openapi.json CHANGED
@@ -7148,6 +7148,296 @@
7148
7148
  "tags" : [ "engine" ]
7149
7149
  }
7150
7150
  },
7151
+ "/admin/platform-engines" : {
7152
+ "get" : {
7153
+ "description" : "Superadmin. Moteurs IA dont la clé d'API appartient à Breign.",
7154
+ "operationId" : "listPlatformEngines",
7155
+ "responses" : {
7156
+ "200" : {
7157
+ "content" : {
7158
+ "application/json" : {
7159
+ "schema" : {
7160
+ "items" : {
7161
+ "$ref" : "#/components/schemas/Provider"
7162
+ },
7163
+ "type" : "array"
7164
+ }
7165
+ }
7166
+ },
7167
+ "description" : "Platform engines"
7168
+ }
7169
+ },
7170
+ "summary" : "List platform engines",
7171
+ "tags" : [ "admin" ]
7172
+ },
7173
+ "post" : {
7174
+ "description" : "Superadmin. Enregistre un moteur Breign, ses modèles, leurs capacités et leur prix au million de tokens.",
7175
+ "operationId" : "createPlatformEngine",
7176
+ "requestBody" : {
7177
+ "content" : {
7178
+ "application/json" : {
7179
+ "schema" : {
7180
+ "$ref" : "#/components/schemas/ProviderCreateRequest"
7181
+ }
7182
+ }
7183
+ },
7184
+ "required" : true
7185
+ },
7186
+ "responses" : {
7187
+ "201" : {
7188
+ "content" : {
7189
+ "application/json" : {
7190
+ "schema" : {
7191
+ "$ref" : "#/components/schemas/BodyWithMessage"
7192
+ }
7193
+ }
7194
+ },
7195
+ "description" : "Created"
7196
+ }
7197
+ },
7198
+ "summary" : "Create a platform engine",
7199
+ "tags" : [ "admin" ]
7200
+ }
7201
+ },
7202
+ "/admin/platform-engines/{id}" : {
7203
+ "delete" : {
7204
+ "operationId" : "deletePlatformEngine",
7205
+ "parameters" : [ {
7206
+ "in" : "path",
7207
+ "name" : "id",
7208
+ "required" : true,
7209
+ "schema" : {
7210
+ "type" : "string"
7211
+ }
7212
+ } ],
7213
+ "responses" : {
7214
+ "200" : {
7215
+ "content" : {
7216
+ "application/json" : {
7217
+ "schema" : {
7218
+ "$ref" : "#/components/schemas/DeletePlatformEngineResponse"
7219
+ }
7220
+ }
7221
+ },
7222
+ "description" : "Deleted"
7223
+ },
7224
+ "404" : {
7225
+ "description" : "Platform engine not found"
7226
+ }
7227
+ },
7228
+ "summary" : "Delete a platform engine",
7229
+ "tags" : [ "admin" ]
7230
+ },
7231
+ "put" : {
7232
+ "operationId" : "updatePlatformEngine",
7233
+ "parameters" : [ {
7234
+ "in" : "path",
7235
+ "name" : "id",
7236
+ "required" : true,
7237
+ "schema" : {
7238
+ "type" : "string"
7239
+ }
7240
+ } ],
7241
+ "requestBody" : {
7242
+ "content" : {
7243
+ "application/json" : {
7244
+ "schema" : {
7245
+ "$ref" : "#/components/schemas/ProviderCreateRequest"
7246
+ }
7247
+ }
7248
+ },
7249
+ "required" : true
7250
+ },
7251
+ "responses" : {
7252
+ "200" : {
7253
+ "content" : {
7254
+ "application/json" : {
7255
+ "schema" : {
7256
+ "$ref" : "#/components/schemas/BodyWithMessage"
7257
+ }
7258
+ }
7259
+ },
7260
+ "description" : "Updated"
7261
+ },
7262
+ "404" : {
7263
+ "description" : "Platform engine not found"
7264
+ }
7265
+ },
7266
+ "summary" : "Update a platform engine",
7267
+ "tags" : [ "admin" ]
7268
+ }
7269
+ },
7270
+ "/admin/platform-engines/{id}/usage" : {
7271
+ "get" : {
7272
+ "description" : "Superadmin. Ce qui casse si l'on supprime ce moteur ou l'un de ses modèles.",
7273
+ "operationId" : "getPlatformEngineUsage",
7274
+ "parameters" : [ {
7275
+ "in" : "path",
7276
+ "name" : "id",
7277
+ "required" : true,
7278
+ "schema" : {
7279
+ "type" : "string"
7280
+ }
7281
+ } ],
7282
+ "responses" : {
7283
+ "200" : {
7284
+ "content" : {
7285
+ "application/json" : {
7286
+ "schema" : {
7287
+ "$ref" : "#/components/schemas/PlatformEngineUsage"
7288
+ }
7289
+ }
7290
+ },
7291
+ "description" : "Usage of the platform engine"
7292
+ },
7293
+ "404" : {
7294
+ "content" : {
7295
+ "application/json" : {
7296
+ "schema" : {
7297
+ "$ref" : "#/components/schemas/BodyWithMessage"
7298
+ }
7299
+ }
7300
+ },
7301
+ "description" : "Platform engine not found"
7302
+ }
7303
+ },
7304
+ "summary" : "Get platform engine usage",
7305
+ "tags" : [ "admin" ]
7306
+ }
7307
+ },
7308
+ "/admin/platform-engines/{id}/available-models" : {
7309
+ "post" : {
7310
+ "description" : "Superadmin. Modèles exposés par la clé déjà enregistrée sur le moteur plateforme.",
7311
+ "operationId" : "listPlatformEngineAvailableModels",
7312
+ "parameters" : [ {
7313
+ "in" : "path",
7314
+ "name" : "id",
7315
+ "required" : true,
7316
+ "schema" : {
7317
+ "type" : "string"
7318
+ }
7319
+ } ],
7320
+ "responses" : {
7321
+ "200" : {
7322
+ "content" : {
7323
+ "application/json" : {
7324
+ "schema" : {
7325
+ "items" : {
7326
+ "$ref" : "#/components/schemas/Model"
7327
+ },
7328
+ "type" : "array"
7329
+ }
7330
+ }
7331
+ },
7332
+ "description" : "Models exposed by the stored API key"
7333
+ },
7334
+ "400" : {
7335
+ "content" : {
7336
+ "application/json" : {
7337
+ "schema" : {
7338
+ "$ref" : "#/components/schemas/BodyWithMessage"
7339
+ }
7340
+ }
7341
+ },
7342
+ "description" : "No API key stored for this engine"
7343
+ },
7344
+ "404" : {
7345
+ "content" : {
7346
+ "application/json" : {
7347
+ "schema" : {
7348
+ "$ref" : "#/components/schemas/BodyWithMessage"
7349
+ }
7350
+ }
7351
+ },
7352
+ "description" : "Platform engine not found"
7353
+ },
7354
+ "500" : {
7355
+ "content" : {
7356
+ "application/json" : {
7357
+ "schema" : {
7358
+ "$ref" : "#/components/schemas/BodyWithMessage"
7359
+ }
7360
+ }
7361
+ },
7362
+ "description" : "Stored API key cannot be decrypted or models cannot be fetched"
7363
+ }
7364
+ },
7365
+ "summary" : "List models available with a platform engine key",
7366
+ "tags" : [ "admin" ]
7367
+ }
7368
+ },
7369
+ "/admin/organisations/{orgId}/platform-engines" : {
7370
+ "patch" : {
7371
+ "description" : "Superadmin. Ouvre ou retire à l'organisation l'accès aux moteurs plateforme.",
7372
+ "operationId" : "setOrganisationAllowPlatformEngines",
7373
+ "parameters" : [ {
7374
+ "in" : "path",
7375
+ "name" : "orgId",
7376
+ "required" : true,
7377
+ "schema" : {
7378
+ "type" : "string"
7379
+ }
7380
+ } ],
7381
+ "requestBody" : {
7382
+ "content" : {
7383
+ "application/json" : {
7384
+ "schema" : {
7385
+ "$ref" : "#/components/schemas/AllowPlatformEngines"
7386
+ }
7387
+ }
7388
+ },
7389
+ "required" : true
7390
+ },
7391
+ "responses" : {
7392
+ "200" : {
7393
+ "content" : {
7394
+ "application/json" : {
7395
+ "schema" : {
7396
+ "$ref" : "#/components/schemas/AllowPlatformEngines"
7397
+ }
7398
+ }
7399
+ },
7400
+ "description" : "Updated access"
7401
+ },
7402
+ "400" : {
7403
+ "description" : "Invalid request"
7404
+ },
7405
+ "404" : {
7406
+ "description" : "Organisation not found"
7407
+ }
7408
+ },
7409
+ "summary" : "Allow or forbid platform engines for an organisation",
7410
+ "tags" : [ "admin" ]
7411
+ }
7412
+ },
7413
+ "/admin/organisations/{orgId}/platform-engines/usage" : {
7414
+ "get" : {
7415
+ "description" : "Superadmin. Ce que l'organisation perd si on lui retire les moteurs plateforme.",
7416
+ "operationId" : "getOrganisationPlatformEngineUsage",
7417
+ "parameters" : [ {
7418
+ "in" : "path",
7419
+ "name" : "orgId",
7420
+ "required" : true,
7421
+ "schema" : {
7422
+ "type" : "string"
7423
+ }
7424
+ } ],
7425
+ "responses" : {
7426
+ "200" : {
7427
+ "content" : {
7428
+ "application/json" : {
7429
+ "schema" : {
7430
+ "$ref" : "#/components/schemas/OrganisationPlatformEngineUsage"
7431
+ }
7432
+ }
7433
+ },
7434
+ "description" : "Usage of platform engines by the organisation"
7435
+ }
7436
+ },
7437
+ "summary" : "Get organisation platform engine usage",
7438
+ "tags" : [ "admin" ]
7439
+ }
7440
+ },
7151
7441
  "/files" : {
7152
7442
  "get" : {
7153
7443
  "description" : "Retrieves a list of all files (admin only)",
@@ -15711,6 +16001,14 @@
15711
16001
  "format" : "date-time",
15712
16002
  "type" : "string"
15713
16003
  }
16004
+ }, {
16005
+ "description" : "Périmètre des moteurs. EXTERNAL (défaut) = clés propres de l'organisation. INTERNAL = modèles Breign, réservé au superAdmin ; ignoré pour un admin d'organisation.",
16006
+ "in" : "query",
16007
+ "name" : "providerSource",
16008
+ "schema" : {
16009
+ "enum" : [ "INTERNAL", "EXTERNAL" ],
16010
+ "type" : "string"
16011
+ }
15714
16012
  }, {
15715
16013
  "description" : "Pas de regroupement de la série temporelle",
15716
16014
  "in" : "query",
@@ -15759,7 +16057,7 @@
15759
16057
  },
15760
16058
  "/organizations/{organizationId}/ai-gateway/settings" : {
15761
16059
  "get" : {
15762
- "description" : "Organization admin settings for gateway RPM and per-model token quotas.",
16060
+ "description" : "Limites des modèles dont l'organisation détient la clé API (providerSource EXTERNAL). Les modèles Breign se configurent via internal-settings.",
15763
16061
  "operationId" : "getAiGatewaySettings",
15764
16062
  "parameters" : [ {
15765
16063
  "description" : "ID of the organization",
@@ -15795,7 +16093,7 @@
15795
16093
  "tags" : [ "ai-gateway" ]
15796
16094
  },
15797
16095
  "put" : {
15798
- "description" : "Organization admin can set gateway RPM and per-model token quotas.",
16096
+ "description" : "L'admin d'organisation fixe le RPM et les quotas de ses modèles à clé propre. Un quota visant un modèle Breign est refusé.",
15799
16097
  "operationId" : "updateAiGatewaySettings",
15800
16098
  "parameters" : [ {
15801
16099
  "description" : "ID of the organization",
@@ -15844,10 +16142,10 @@
15844
16142
  "tags" : [ "ai-gateway" ]
15845
16143
  }
15846
16144
  },
15847
- "/organizations/{organizationId}/ai-gateway/v1/models" : {
16145
+ "/organizations/{organizationId}/ai-gateway/internal-settings" : {
15848
16146
  "get" : {
15849
- "description" : "Équivalent de `GET /v1/models` de l'AI Gateway Vercel, monté sous le préfixe organisation. Liste les modèles des providers configurés pour l'organisation.",
15850
- "operationId" : "listAiGatewayV1Models",
16147
+ "description" : "Limites des modèles Breign (providerSource INTERNAL) pour une organisation. Réservé au superAdmin. La forme de la réponse est la même que les settings d'organisation : gatewayRpm et modelTokenQuotas portent ici le périmètre Breign.",
16148
+ "operationId" : "getAiGatewayInternalSettings",
15851
16149
  "parameters" : [ {
15852
16150
  "description" : "ID of the organization",
15853
16151
  "in" : "path",
@@ -15862,11 +16160,127 @@
15862
16160
  "content" : {
15863
16161
  "application/json" : {
15864
16162
  "schema" : {
15865
- "$ref" : "#/components/schemas/AiGatewayV1ModelList"
16163
+ "$ref" : "#/components/schemas/AiGatewaySettings"
15866
16164
  }
15867
16165
  }
15868
16166
  },
15869
- "description" : "Model list"
16167
+ "description" : "Current Breign model limits"
16168
+ },
16169
+ "401" : {
16170
+ "description" : "Unauthorized"
16171
+ },
16172
+ "403" : {
16173
+ "description" : "Forbidden"
16174
+ },
16175
+ "500" : {
16176
+ "description" : "Server error"
16177
+ }
16178
+ },
16179
+ "summary" : "Get Breign model limit settings",
16180
+ "tags" : [ "ai-gateway" ]
16181
+ },
16182
+ "put" : {
16183
+ "description" : "Le superAdmin fixe le RPM et les quotas des modèles Breign. Un quota visant un modèle à clé propre est refusé. N'écrase pas les limites de l'admin.",
16184
+ "operationId" : "updateAiGatewayInternalSettings",
16185
+ "parameters" : [ {
16186
+ "description" : "ID of the organization",
16187
+ "in" : "path",
16188
+ "name" : "organizationId",
16189
+ "required" : true,
16190
+ "schema" : {
16191
+ "type" : "string"
16192
+ }
16193
+ } ],
16194
+ "requestBody" : {
16195
+ "content" : {
16196
+ "application/json" : {
16197
+ "schema" : {
16198
+ "$ref" : "#/components/schemas/AiGatewaySettingsUpdateRequest"
16199
+ }
16200
+ }
16201
+ },
16202
+ "required" : true
16203
+ },
16204
+ "responses" : {
16205
+ "200" : {
16206
+ "content" : {
16207
+ "application/json" : {
16208
+ "schema" : {
16209
+ "$ref" : "#/components/schemas/AiGatewaySettings"
16210
+ }
16211
+ }
16212
+ },
16213
+ "description" : "Updated Breign model limits"
16214
+ },
16215
+ "400" : {
16216
+ "description" : "Invalid request"
16217
+ },
16218
+ "401" : {
16219
+ "description" : "Unauthorized"
16220
+ },
16221
+ "403" : {
16222
+ "description" : "Forbidden"
16223
+ },
16224
+ "500" : {
16225
+ "description" : "Server error"
16226
+ }
16227
+ },
16228
+ "summary" : "Update Breign model limit settings",
16229
+ "tags" : [ "ai-gateway" ]
16230
+ }
16231
+ },
16232
+ "/admin/ai-gateway/internal-settings" : {
16233
+ "get" : {
16234
+ "description" : "Superadmin. Plafonds des modèles Breign de toutes les organisations, en une requête ; une organisation absente n'en a aucun. `maxQuotaRatio` est l'usage du quota le plus entamé sur sa période en cours (null sans quota).",
16235
+ "operationId" : "listAiGatewayInternalSettings",
16236
+ "responses" : {
16237
+ "200" : {
16238
+ "content" : {
16239
+ "application/json" : {
16240
+ "schema" : {
16241
+ "items" : {
16242
+ "$ref" : "#/components/schemas/AiGatewayInternalSettingsSummary"
16243
+ },
16244
+ "type" : "array"
16245
+ }
16246
+ }
16247
+ },
16248
+ "description" : "Breign model limits by organisation"
16249
+ },
16250
+ "401" : {
16251
+ "description" : "Unauthorized"
16252
+ },
16253
+ "403" : {
16254
+ "description" : "Forbidden"
16255
+ }
16256
+ },
16257
+ "summary" : "List Breign model limit settings of every organisation",
16258
+ "tags" : [ "admin" ]
16259
+ }
16260
+ },
16261
+ "/organizations/{organizationId}/ai-gateway/v1/models" : {
16262
+ "get" : {
16263
+ "description" : "Équivalent de `GET /v1/models` de l'AI Gateway Vercel, monté sous le préfixe organisation. Liste les modèles des providers configurés pour l'organisation.",
16264
+ "operationId" : "listAiGatewayV1Models",
16265
+ "parameters" : [ {
16266
+ "description" : "ID of the organization",
16267
+ "in" : "path",
16268
+ "name" : "organizationId",
16269
+ "required" : true,
16270
+ "schema" : {
16271
+ "type" : "string"
16272
+ }
16273
+ } ],
16274
+ "responses" : {
16275
+ "200" : {
16276
+ "content" : {
16277
+ "application/json" : {
16278
+ "schema" : {
16279
+ "$ref" : "#/components/schemas/AiGatewayV1ModelList"
16280
+ }
16281
+ }
16282
+ },
16283
+ "description" : "Model list"
15870
16284
  },
15871
16285
  "401" : {
15872
16286
  "content" : {
@@ -17768,21 +18182,252 @@
17768
18182
  "description" : "Unauthenticated"
17769
18183
  }
17770
18184
  },
17771
- "summary" : "List my Breign Mate execution nodes",
18185
+ "summary" : "List my Breign Mate execution nodes",
18186
+ "tags" : [ "execution-nodes" ]
18187
+ }
18188
+ },
18189
+ "/execution-nodes/{nodeId}" : {
18190
+ "get" : {
18191
+ "description" : "Le détail d'un nœud de l'utilisateur courant, ses agents et ses derniers tours.",
18192
+ "operationId" : "getExecutionNode",
18193
+ "parameters" : [ {
18194
+ "description" : "ID of the Breign Mate execution node",
18195
+ "in" : "path",
18196
+ "name" : "nodeId",
18197
+ "required" : true,
18198
+ "schema" : {
18199
+ "format" : "uuid",
18200
+ "type" : "string"
18201
+ }
18202
+ } ],
18203
+ "responses" : {
18204
+ "200" : {
18205
+ "content" : {
18206
+ "application/json" : {
18207
+ "schema" : {
18208
+ "$ref" : "#/components/schemas/ExecutionNodeDetail"
18209
+ }
18210
+ }
18211
+ },
18212
+ "description" : "OK"
18213
+ },
18214
+ "401" : {
18215
+ "description" : "Unauthenticated"
18216
+ },
18217
+ "404" : {
18218
+ "description" : "Not found — or not a node of the caller"
18219
+ }
18220
+ },
18221
+ "summary" : "Get one of my execution nodes",
18222
+ "tags" : [ "execution-nodes" ]
18223
+ }
18224
+ },
18225
+ "/execution-nodes/{nodeId}/revoke" : {
18226
+ "post" : {
18227
+ "description" : "Révoque le nœud (désappairage) : il est refusé à jamais, ses agents repassent sur le serveur Breign, ses tours ouverts sont interrompus. La clé API n'est pas révoquée.",
18228
+ "operationId" : "revokeExecutionNode",
18229
+ "parameters" : [ {
18230
+ "description" : "ID of the Breign Mate execution node",
18231
+ "in" : "path",
18232
+ "name" : "nodeId",
18233
+ "required" : true,
18234
+ "schema" : {
18235
+ "format" : "uuid",
18236
+ "type" : "string"
18237
+ }
18238
+ } ],
18239
+ "responses" : {
18240
+ "200" : {
18241
+ "content" : {
18242
+ "application/json" : {
18243
+ "schema" : {
18244
+ "$ref" : "#/components/schemas/ExecutionNode"
18245
+ }
18246
+ }
18247
+ },
18248
+ "description" : "OK"
18249
+ },
18250
+ "401" : {
18251
+ "description" : "Unauthenticated"
18252
+ },
18253
+ "404" : {
18254
+ "description" : "Not found — or not a node of the caller"
18255
+ }
18256
+ },
18257
+ "summary" : "Unpair an execution node",
18258
+ "tags" : [ "execution-nodes" ]
18259
+ }
18260
+ },
18261
+ "/execution-nodes/{nodeId}/organizations/{organizationId}" : {
18262
+ "delete" : {
18263
+ "description" : "Retire le nœud de l'organisation : les agents de l'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Les autres organisations du nœud ne sont pas touchées.",
18264
+ "operationId" : "dissociateExecutionNode",
18265
+ "parameters" : [ {
18266
+ "description" : "ID of the Breign Mate execution node",
18267
+ "in" : "path",
18268
+ "name" : "nodeId",
18269
+ "required" : true,
18270
+ "schema" : {
18271
+ "format" : "uuid",
18272
+ "type" : "string"
18273
+ }
18274
+ }, {
18275
+ "description" : "ID of the organization",
18276
+ "in" : "path",
18277
+ "name" : "organizationId",
18278
+ "required" : true,
18279
+ "schema" : {
18280
+ "type" : "string"
18281
+ }
18282
+ } ],
18283
+ "responses" : {
18284
+ "204" : {
18285
+ "description" : "Dissociated"
18286
+ },
18287
+ "401" : {
18288
+ "description" : "Unauthenticated"
18289
+ },
18290
+ "404" : {
18291
+ "description" : "Not found — or not a node of the caller"
18292
+ }
18293
+ },
18294
+ "summary" : "Dissociate my execution node from an organization",
18295
+ "tags" : [ "execution-nodes" ]
18296
+ },
18297
+ "put" : {
18298
+ "description" : "Associe le nœud à l'organisation, depuis Breign Mate : ses agents pourront y tourner. Réservé au propriétaire du nœud, membre de l'organisation — ou admin, selon le réglage de l'organisation. Sans effet sur une association déjà posée.",
18299
+ "operationId" : "associateExecutionNode",
18300
+ "parameters" : [ {
18301
+ "description" : "ID of the Breign Mate execution node",
18302
+ "in" : "path",
18303
+ "name" : "nodeId",
18304
+ "required" : true,
18305
+ "schema" : {
18306
+ "format" : "uuid",
18307
+ "type" : "string"
18308
+ }
18309
+ }, {
18310
+ "description" : "ID of the organization",
18311
+ "in" : "path",
18312
+ "name" : "organizationId",
18313
+ "required" : true,
18314
+ "schema" : {
18315
+ "type" : "string"
18316
+ }
18317
+ } ],
18318
+ "responses" : {
18319
+ "200" : {
18320
+ "content" : {
18321
+ "application/json" : {
18322
+ "schema" : {
18323
+ "$ref" : "#/components/schemas/ExecutionNodeOrganization"
18324
+ }
18325
+ }
18326
+ },
18327
+ "description" : "OK"
18328
+ },
18329
+ "401" : {
18330
+ "description" : "Unauthenticated"
18331
+ },
18332
+ "403" : {
18333
+ "description" : "Pas membre de l'organisation, ou réglage de l'organisation : NODE_ASSOCIATION_ADMINS_ONLY (réservé aux admins), NODE_ASSOCIATION_DISABLED (plus aucun nouveau nœud)."
18334
+ },
18335
+ "404" : {
18336
+ "description" : "Not found — or not a node of the caller"
18337
+ }
18338
+ },
18339
+ "summary" : "Associate my execution node with an organization",
18340
+ "tags" : [ "execution-nodes" ]
18341
+ }
18342
+ },
18343
+ "/organizations/{organizationId}/execution-nodes" : {
18344
+ "get" : {
18345
+ "description" : "Les nœuds Breign Mate associés à l'organisation, avec leur propriétaire, qui les a associés et les agents de l'organisation qui y tournent. Réservé aux admins de l'organisation.",
18346
+ "operationId" : "listOrganizationExecutionNodes",
18347
+ "parameters" : [ {
18348
+ "description" : "ID of the organization",
18349
+ "in" : "path",
18350
+ "name" : "organizationId",
18351
+ "required" : true,
18352
+ "schema" : {
18353
+ "type" : "string"
18354
+ }
18355
+ } ],
18356
+ "responses" : {
18357
+ "200" : {
18358
+ "content" : {
18359
+ "application/json" : {
18360
+ "schema" : {
18361
+ "items" : {
18362
+ "$ref" : "#/components/schemas/OrganizationExecutionNode"
18363
+ },
18364
+ "type" : "array"
18365
+ }
18366
+ }
18367
+ },
18368
+ "description" : "OK"
18369
+ },
18370
+ "401" : {
18371
+ "description" : "Unauthenticated"
18372
+ },
18373
+ "403" : {
18374
+ "description" : "Not an admin of the organization"
18375
+ }
18376
+ },
18377
+ "summary" : "List the execution nodes of an organization",
18378
+ "tags" : [ "execution-nodes" ]
18379
+ }
18380
+ },
18381
+ "/organizations/{organizationId}/execution-nodes/{nodeId}" : {
18382
+ "delete" : {
18383
+ "description" : "Retire le nœud de l'organisation : les agents de l'organisation qui y tournaient repassent sur le serveur Breign, et leurs tours ouverts sur ce nœud sont clos (`node_dissociated`) et annulés sur le poste. Le nœud reste associé à ses autres organisations. Réservé aux admins de l'organisation.",
18384
+ "operationId" : "removeOrganizationExecutionNode",
18385
+ "parameters" : [ {
18386
+ "description" : "ID of the organization",
18387
+ "in" : "path",
18388
+ "name" : "organizationId",
18389
+ "required" : true,
18390
+ "schema" : {
18391
+ "type" : "string"
18392
+ }
18393
+ }, {
18394
+ "description" : "ID of the Breign Mate execution node",
18395
+ "in" : "path",
18396
+ "name" : "nodeId",
18397
+ "required" : true,
18398
+ "schema" : {
18399
+ "format" : "uuid",
18400
+ "type" : "string"
18401
+ }
18402
+ } ],
18403
+ "responses" : {
18404
+ "204" : {
18405
+ "description" : "Removed"
18406
+ },
18407
+ "401" : {
18408
+ "description" : "Unauthenticated"
18409
+ },
18410
+ "403" : {
18411
+ "description" : "Not an admin of the organization"
18412
+ },
18413
+ "404" : {
18414
+ "description" : "Not associated with the organization"
18415
+ }
18416
+ },
18417
+ "summary" : "Remove an execution node from an organization",
17772
18418
  "tags" : [ "execution-nodes" ]
17773
18419
  }
17774
18420
  },
17775
- "/execution-nodes/{nodeId}" : {
18421
+ "/organizations/{organizationId}/execution-node-settings" : {
17776
18422
  "get" : {
17777
- "description" : "Le détail d'un nœud de l'utilisateur courant, ses agents et ses derniers tours.",
17778
- "operationId" : "getExecutionNode",
18423
+ "description" : "Qui peut associer un nœud à l'organisation. Réservé aux admins de l'organisation.",
18424
+ "operationId" : "getOrganizationExecutionNodeSettings",
17779
18425
  "parameters" : [ {
17780
- "description" : "ID of the Breign Mate execution node",
18426
+ "description" : "ID of the organization",
17781
18427
  "in" : "path",
17782
- "name" : "nodeId",
18428
+ "name" : "organizationId",
17783
18429
  "required" : true,
17784
18430
  "schema" : {
17785
- "format" : "uuid",
17786
18431
  "type" : "string"
17787
18432
  }
17788
18433
  } ],
@@ -17791,7 +18436,7 @@
17791
18436
  "content" : {
17792
18437
  "application/json" : {
17793
18438
  "schema" : {
17794
- "$ref" : "#/components/schemas/ExecutionNodeDetail"
18439
+ "$ref" : "#/components/schemas/ExecutionNodeSettings"
17795
18440
  }
17796
18441
  }
17797
18442
  },
@@ -17800,47 +18445,57 @@
17800
18445
  "401" : {
17801
18446
  "description" : "Unauthenticated"
17802
18447
  },
17803
- "404" : {
17804
- "description" : "Not found — or not a node of the caller"
18448
+ "403" : {
18449
+ "description" : "Not an admin of the organization"
17805
18450
  }
17806
18451
  },
17807
- "summary" : "Get one of my execution nodes",
18452
+ "summary" : "Get the execution node settings of an organization",
17808
18453
  "tags" : [ "execution-nodes" ]
17809
- }
17810
- },
17811
- "/execution-nodes/{nodeId}/revoke" : {
17812
- "post" : {
17813
- "description" : "Révoque le nœud (désappairage) : il est refusé à jamais, ses agents repassent sur le serveur Breign, ses tours ouverts sont interrompus. La clé API n'est pas révoquée.",
17814
- "operationId" : "revokeExecutionNode",
18454
+ },
18455
+ "put" : {
18456
+ "description" : "Change qui peut associer un nœud à l'organisation. Réservé aux admins de l'organisation.",
18457
+ "operationId" : "updateOrganizationExecutionNodeSettings",
17815
18458
  "parameters" : [ {
17816
- "description" : "ID of the Breign Mate execution node",
18459
+ "description" : "ID of the organization",
17817
18460
  "in" : "path",
17818
- "name" : "nodeId",
18461
+ "name" : "organizationId",
17819
18462
  "required" : true,
17820
18463
  "schema" : {
17821
- "format" : "uuid",
17822
18464
  "type" : "string"
17823
18465
  }
17824
18466
  } ],
18467
+ "requestBody" : {
18468
+ "content" : {
18469
+ "application/json" : {
18470
+ "schema" : {
18471
+ "$ref" : "#/components/schemas/ExecutionNodeSettings"
18472
+ }
18473
+ }
18474
+ },
18475
+ "required" : true
18476
+ },
17825
18477
  "responses" : {
17826
18478
  "200" : {
17827
18479
  "content" : {
17828
18480
  "application/json" : {
17829
18481
  "schema" : {
17830
- "$ref" : "#/components/schemas/ExecutionNode"
18482
+ "$ref" : "#/components/schemas/ExecutionNodeSettings"
17831
18483
  }
17832
18484
  }
17833
18485
  },
17834
18486
  "description" : "OK"
17835
18487
  },
18488
+ "400" : {
18489
+ "description" : "Unknown policy"
18490
+ },
17836
18491
  "401" : {
17837
18492
  "description" : "Unauthenticated"
17838
18493
  },
17839
- "404" : {
17840
- "description" : "Not found — or not a node of the caller"
18494
+ "403" : {
18495
+ "description" : "Not an admin of the organization"
17841
18496
  }
17842
18497
  },
17843
- "summary" : "Unpair an execution node",
18498
+ "summary" : "Update the execution node settings of an organization",
17844
18499
  "tags" : [ "execution-nodes" ]
17845
18500
  }
17846
18501
  },
@@ -24026,6 +24681,10 @@
24026
24681
  "model" : {
24027
24682
  "type" : "string"
24028
24683
  },
24684
+ "organizationId" : {
24685
+ "description" : "Requis quand le moteur est un moteur plateforme, pour savoir quelle organisation reçoit ce modèle par défaut.",
24686
+ "type" : "string"
24687
+ },
24029
24688
  "options" : {
24030
24689
  "additionalProperties" : true,
24031
24690
  "type" : "object"
@@ -24074,6 +24733,14 @@
24074
24733
  "providerSource" : {
24075
24734
  "enum" : [ "INTERNAL", "EXTERNAL" ],
24076
24735
  "type" : "string"
24736
+ },
24737
+ "isPlatform" : {
24738
+ "description" : "Moteur plateforme dont la clé d'API appartient à Breign. Il est proposé aux organisations autorisées et n'est pas modifiable par elles.",
24739
+ "type" : "boolean"
24740
+ },
24741
+ "organizationId" : {
24742
+ "nullable" : true,
24743
+ "type" : "string"
24077
24744
  }
24078
24745
  },
24079
24746
  "required" : [ "models", "name", "providerType" ],
@@ -24113,6 +24780,25 @@
24113
24780
  "minimum" : 1,
24114
24781
  "type" : "integer"
24115
24782
  },
24783
+ "inputTokenPrice" : {
24784
+ "description" : "Prix d'un million de tokens en entrée. Défini par le superadmin sur un moteur plateforme.",
24785
+ "minimum" : 0,
24786
+ "type" : "number"
24787
+ },
24788
+ "outputTokenPrice" : {
24789
+ "description" : "Prix d'un million de tokens en sortie. Les tokens de raisonnement suivent ce tarif.",
24790
+ "minimum" : 0,
24791
+ "type" : "number"
24792
+ },
24793
+ "currency" : {
24794
+ "description" : "Devise ISO du prix au token, par exemple EUR ou USD.",
24795
+ "type" : "string"
24796
+ },
24797
+ "priceSource" : {
24798
+ "description" : "Origine du prix au token. configuration = tarifs déjà enregistrés par Breign, catalog = catalogue public, manual = saisi à la main.",
24799
+ "enum" : [ "configuration", "catalog", "manual" ],
24800
+ "type" : "string"
24801
+ },
24116
24802
  "options" : {
24117
24803
  "additionalProperties" : true,
24118
24804
  "type" : "object"
@@ -24193,6 +24879,74 @@
24193
24879
  "required" : [ "label", "value" ],
24194
24880
  "type" : "object"
24195
24881
  },
24882
+ "DeletePlatformEngineResponse" : {
24883
+ "properties" : {
24884
+ "message" : {
24885
+ "type" : "string"
24886
+ },
24887
+ "agentsEngineUnsetCount" : {
24888
+ "type" : "integer"
24889
+ },
24890
+ "knowledgeBasesAffected" : {
24891
+ "items" : {
24892
+ "$ref" : "#/components/schemas/DeletePlatformEngineResponse_knowledgeBasesAffected_inner"
24893
+ },
24894
+ "type" : "array"
24895
+ }
24896
+ },
24897
+ "required" : [ "agentsEngineUnsetCount", "knowledgeBasesAffected", "message" ],
24898
+ "type" : "object"
24899
+ },
24900
+ "PlatformEngineUsage" : {
24901
+ "description" : "Ce qui dépend d'un moteur plateforme, toutes organisations confondues.",
24902
+ "properties" : {
24903
+ "agentsByModel" : {
24904
+ "additionalProperties" : {
24905
+ "type" : "integer"
24906
+ },
24907
+ "description" : "Agents branchés sur chaque modèle, par `modelId` du fournisseur.",
24908
+ "type" : "object"
24909
+ },
24910
+ "defaultEnginesByModel" : {
24911
+ "additionalProperties" : {
24912
+ "type" : "integer"
24913
+ },
24914
+ "description" : "Organisations dont c'est le moteur par défaut, par `modelId` du fournisseur.",
24915
+ "type" : "object"
24916
+ },
24917
+ "knowledgeBases" : {
24918
+ "description" : "Bases de connaissances indexées avec ses embeddings.",
24919
+ "type" : "integer"
24920
+ }
24921
+ },
24922
+ "required" : [ "agentsByModel", "defaultEnginesByModel", "knowledgeBases" ],
24923
+ "type" : "object"
24924
+ },
24925
+ "AllowPlatformEngines" : {
24926
+ "properties" : {
24927
+ "allowPlatformEngines" : {
24928
+ "type" : "boolean"
24929
+ }
24930
+ },
24931
+ "required" : [ "allowPlatformEngines" ],
24932
+ "type" : "object"
24933
+ },
24934
+ "OrganisationPlatformEngineUsage" : {
24935
+ "description" : "Ce qu'une organisation perd si on lui retire les moteurs plateforme.",
24936
+ "properties" : {
24937
+ "agents" : {
24938
+ "type" : "integer"
24939
+ },
24940
+ "defaultEngine" : {
24941
+ "type" : "boolean"
24942
+ },
24943
+ "knowledgeBases" : {
24944
+ "type" : "integer"
24945
+ }
24946
+ },
24947
+ "required" : [ "agents", "defaultEngine", "knowledgeBases" ],
24948
+ "type" : "object"
24949
+ },
24196
24950
  "FileWithDownloadUrl" : {
24197
24951
  "allOf" : [ {
24198
24952
  "$ref" : "#/components/schemas/File"
@@ -24659,6 +25413,10 @@
24659
25413
  "ocr" : {
24660
25414
  "$ref" : "#/components/schemas/OrganizationOcrConfig"
24661
25415
  },
25416
+ "allowPlatformEngines" : {
25417
+ "description" : "L'organisation peut choisir les moteurs plateforme Breign.",
25418
+ "type" : "boolean"
25419
+ },
24662
25420
  "users" : {
24663
25421
  "items" : {
24664
25422
  "$ref" : "#/components/schemas/OrganizationUser"
@@ -27723,6 +28481,9 @@
27723
28481
  "$ref" : "#/components/schemas/AiGatewayUsageBreakdownItem"
27724
28482
  },
27725
28483
  "type" : "array"
28484
+ },
28485
+ "cost" : {
28486
+ "$ref" : "#/components/schemas/AiGatewayUsageCost"
27726
28487
  }
27727
28488
  },
27728
28489
  "required" : [ "byModel", "byProvider", "byUser", "series", "total" ],
@@ -27801,6 +28562,39 @@
27801
28562
  "required" : [ "inputTokens", "key", "label", "outputTokens", "requests", "totalTokens" ],
27802
28563
  "type" : "object"
27803
28564
  },
28565
+ "AiGatewayUsageCost" : {
28566
+ "description" : "Coût estimé, joint seulement sur le périmètre des modèles Breign (réservé au superAdmin).",
28567
+ "properties" : {
28568
+ "total" : {
28569
+ "$ref" : "#/components/schemas/AiGatewayCostByCurrency"
28570
+ },
28571
+ "byModel" : {
28572
+ "additionalProperties" : {
28573
+ "$ref" : "#/components/schemas/AiGatewayCostByCurrency"
28574
+ },
28575
+ "type" : "object"
28576
+ },
28577
+ "byUser" : {
28578
+ "additionalProperties" : {
28579
+ "$ref" : "#/components/schemas/AiGatewayCostByCurrency"
28580
+ },
28581
+ "type" : "object"
28582
+ },
28583
+ "unpricedTokens" : {
28584
+ "description" : "Tokens sans prix connu ; le coût est alors une estimation partielle.",
28585
+ "type" : "integer"
28586
+ }
28587
+ },
28588
+ "required" : [ "byModel", "byUser", "total", "unpricedTokens" ],
28589
+ "type" : "object"
28590
+ },
28591
+ "AiGatewayCostByCurrency" : {
28592
+ "additionalProperties" : {
28593
+ "type" : "number"
28594
+ },
28595
+ "description" : "Montant par devise ISO ; deux devises ne s'additionnent pas.",
28596
+ "type" : "object"
28597
+ },
27804
28598
  "AiGatewaySettings" : {
27805
28599
  "properties" : {
27806
28600
  "organizationId" : {
@@ -27873,6 +28667,21 @@
27873
28667
  },
27874
28668
  "type" : "object"
27875
28669
  },
28670
+ "AiGatewayInternalSettingsSummary" : {
28671
+ "allOf" : [ {
28672
+ "$ref" : "#/components/schemas/AiGatewaySettings"
28673
+ }, {
28674
+ "properties" : {
28675
+ "maxQuotaRatio" : {
28676
+ "description" : "Usage du quota le plus entamé sur sa période en cours ; null sans quota.",
28677
+ "nullable" : true,
28678
+ "type" : "number"
28679
+ }
28680
+ },
28681
+ "required" : [ "maxQuotaRatio" ],
28682
+ "type" : "object"
28683
+ } ]
28684
+ },
27876
28685
  "AiGatewayV1ModelList" : {
27877
28686
  "properties" : {
27878
28687
  "object" : {
@@ -29215,6 +30024,13 @@
29215
30024
  "createdAt" : {
29216
30025
  "type" : "string"
29217
30026
  },
30027
+ "organizations" : {
30028
+ "description" : "Les organisations auxquelles le nœud est associé, par date d'association.",
30029
+ "items" : {
30030
+ "$ref" : "#/components/schemas/ExecutionNodeOrganization"
30031
+ },
30032
+ "type" : "array"
30033
+ },
29218
30034
  "agents" : {
29219
30035
  "items" : {
29220
30036
  "$ref" : "#/components/schemas/ExecutionNodeAgent"
@@ -29222,7 +30038,7 @@
29222
30038
  "type" : "array"
29223
30039
  }
29224
30040
  },
29225
- "required" : [ "appVersion", "connected", "createdAt", "id", "lastSeenAt", "name", "os", "revokedAt", "runtimes", "workspaces" ],
30041
+ "required" : [ "appVersion", "connected", "createdAt", "id", "lastSeenAt", "name", "organizations", "os", "revokedAt", "runtimes", "workspaces" ],
29226
30042
  "type" : "object"
29227
30043
  },
29228
30044
  "ExecutionNodeRuntime" : {
@@ -29251,6 +30067,24 @@
29251
30067
  "required" : [ "alias", "label" ],
29252
30068
  "type" : "object"
29253
30069
  },
30070
+ "ExecutionNodeOrganization" : {
30071
+ "description" : "Une organisation à laquelle le nœud est associé : seuls les agents de ces organisations peuvent y tourner. Le propriétaire associe son nœud depuis Breign Mate, organisation par organisation.",
30072
+ "properties" : {
30073
+ "organizationId" : {
30074
+ "type" : "string"
30075
+ },
30076
+ "organizationName" : {
30077
+ "description" : "Nom de l'organisation, résolu par l'API. Null pour une organisation supprimée.",
30078
+ "nullable" : true,
30079
+ "type" : "string"
30080
+ },
30081
+ "associatedAt" : {
30082
+ "type" : "string"
30083
+ }
30084
+ },
30085
+ "required" : [ "associatedAt", "organizationId", "organizationName" ],
30086
+ "type" : "object"
30087
+ },
29254
30088
  "ExecutionNodeAgent" : {
29255
30089
  "description" : "Un agent rattaché au nœud, avec le runtime et le dossier où il tourne.",
29256
30090
  "properties" : {
@@ -29333,7 +30167,7 @@
29333
30167
  "$ref" : "#/components/schemas/NodeSessionState"
29334
30168
  },
29335
30169
  "reason" : {
29336
- "description" : "Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node…",
30170
+ "description" : "Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node, node_dissociated (nœud retiré de l'organisation du tour)…",
29337
30171
  "nullable" : true,
29338
30172
  "type" : "string"
29339
30173
  },
@@ -29415,6 +30249,94 @@
29415
30249
  "required" : [ "label" ],
29416
30250
  "type" : "object"
29417
30251
  },
30252
+ "OrganizationExecutionNode" : {
30253
+ "description" : "Un nœud associé à l'organisation, vu par ses admins.",
30254
+ "properties" : {
30255
+ "id" : {
30256
+ "format" : "uuid",
30257
+ "type" : "string"
30258
+ },
30259
+ "name" : {
30260
+ "type" : "string"
30261
+ },
30262
+ "os" : {
30263
+ "enum" : [ "macos", "windows", "linux" ],
30264
+ "type" : "string"
30265
+ },
30266
+ "appVersion" : {
30267
+ "type" : "string"
30268
+ },
30269
+ "connected" : {
30270
+ "type" : "boolean"
30271
+ },
30272
+ "lastSeenAt" : {
30273
+ "nullable" : true,
30274
+ "type" : "string"
30275
+ },
30276
+ "owner" : {
30277
+ "$ref" : "#/components/schemas/OrganizationExecutionNodeUser"
30278
+ },
30279
+ "associatedBy" : {
30280
+ "$ref" : "#/components/schemas/OrganizationExecutionNodeUser"
30281
+ },
30282
+ "associatedAt" : {
30283
+ "type" : "string"
30284
+ },
30285
+ "agents" : {
30286
+ "description" : "Les agents de cette organisation rattachés au nœud ; ceux des autres n'y figurent pas.",
30287
+ "items" : {
30288
+ "$ref" : "#/components/schemas/OrganizationExecutionNodeAgent"
30289
+ },
30290
+ "type" : "array"
30291
+ }
30292
+ },
30293
+ "required" : [ "agents", "appVersion", "associatedAt", "associatedBy", "connected", "id", "lastSeenAt", "name", "os", "owner" ],
30294
+ "type" : "object"
30295
+ },
30296
+ "OrganizationExecutionNodeUser" : {
30297
+ "properties" : {
30298
+ "id" : {
30299
+ "type" : "string"
30300
+ },
30301
+ "email" : {
30302
+ "nullable" : true,
30303
+ "type" : "string"
30304
+ }
30305
+ },
30306
+ "required" : [ "email", "id" ],
30307
+ "type" : "object"
30308
+ },
30309
+ "OrganizationExecutionNodeAgent" : {
30310
+ "properties" : {
30311
+ "agentId" : {
30312
+ "type" : "string"
30313
+ },
30314
+ "agentName" : {
30315
+ "nullable" : true,
30316
+ "type" : "string"
30317
+ },
30318
+ "runtime" : {
30319
+ "enum" : [ "claude", "opencode" ],
30320
+ "type" : "string"
30321
+ }
30322
+ },
30323
+ "required" : [ "agentId", "agentName", "runtime" ],
30324
+ "type" : "object"
30325
+ },
30326
+ "ExecutionNodeSettings" : {
30327
+ "properties" : {
30328
+ "associationPolicy" : {
30329
+ "$ref" : "#/components/schemas/NodeAssociationPolicy"
30330
+ }
30331
+ },
30332
+ "required" : [ "associationPolicy" ],
30333
+ "type" : "object"
30334
+ },
30335
+ "NodeAssociationPolicy" : {
30336
+ "description" : "Qui peut associer un nœud à l'organisation : tous ses membres, ses admins seulement, ou personne. Les nœuds déjà associés ne sont pas touchés par un changement.",
30337
+ "enum" : [ "members", "admins", "none" ],
30338
+ "type" : "string"
30339
+ },
29418
30340
  "NodeSessionDetail" : {
29419
30341
  "allOf" : [ {
29420
30342
  "$ref" : "#/components/schemas/NodeSession"
@@ -31932,6 +32854,21 @@
31932
32854
  "required" : [ "id", "modelId", "name" ],
31933
32855
  "type" : "object"
31934
32856
  },
32857
+ "DeletePlatformEngineResponse_knowledgeBasesAffected_inner" : {
32858
+ "properties" : {
32859
+ "id" : {
32860
+ "type" : "string"
32861
+ },
32862
+ "name" : {
32863
+ "type" : "string"
32864
+ },
32865
+ "organizationId" : {
32866
+ "type" : "string"
32867
+ }
32868
+ },
32869
+ "required" : [ "id", "name", "organizationId" ],
32870
+ "type" : "object"
32871
+ },
31935
32872
  "MetricForAgent_identifier" : {
31936
32873
  "properties" : {
31937
32874
  "agentId" : {