@lumoauth/api-client 1.3.0 → 1.5.0

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 (237) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/README.md +19 -5
  3. package/api/admin-agents-api.ts +166 -10
  4. package/api/admin-mcp-api.ts +5 -5
  5. package/api/admin-oauth-clients-api.ts +5 -5
  6. package/api/admin-sandbox-api.ts +5 -5
  7. package/api/admin-users-api.ts +27 -26
  8. package/api/admin-webhooks-api.ts +25 -25
  9. package/api/agents-api.ts +118 -0
  10. package/api/oauth-api.ts +111 -0
  11. package/dist/api/admin-agents-api.d.ts +94 -4
  12. package/dist/api/admin-agents-api.js +100 -10
  13. package/dist/api/admin-mcp-api.d.ts +5 -5
  14. package/dist/api/admin-mcp-api.js +4 -4
  15. package/dist/api/admin-oauth-clients-api.d.ts +5 -5
  16. package/dist/api/admin-oauth-clients-api.js +4 -4
  17. package/dist/api/admin-sandbox-api.d.ts +5 -5
  18. package/dist/api/admin-sandbox-api.js +4 -4
  19. package/dist/api/admin-users-api.d.ts +27 -26
  20. package/dist/api/admin-users-api.js +21 -20
  21. package/dist/api/admin-webhooks-api.d.ts +25 -25
  22. package/dist/api/admin-webhooks-api.js +20 -20
  23. package/dist/api/agents-api.d.ts +65 -0
  24. package/dist/api/agents-api.js +77 -0
  25. package/dist/api/oauth-api.d.ts +65 -0
  26. package/dist/api/oauth-api.js +72 -0
  27. package/dist/esm/api/admin-agents-api.d.ts +94 -4
  28. package/dist/esm/api/admin-agents-api.js +100 -10
  29. package/dist/esm/api/admin-mcp-api.d.ts +5 -5
  30. package/dist/esm/api/admin-mcp-api.js +4 -4
  31. package/dist/esm/api/admin-oauth-clients-api.d.ts +5 -5
  32. package/dist/esm/api/admin-oauth-clients-api.js +4 -4
  33. package/dist/esm/api/admin-sandbox-api.d.ts +5 -5
  34. package/dist/esm/api/admin-sandbox-api.js +4 -4
  35. package/dist/esm/api/admin-users-api.d.ts +27 -26
  36. package/dist/esm/api/admin-users-api.js +21 -20
  37. package/dist/esm/api/admin-webhooks-api.d.ts +25 -25
  38. package/dist/esm/api/admin-webhooks-api.js +20 -20
  39. package/dist/esm/api/agents-api.d.ts +65 -0
  40. package/dist/esm/api/agents-api.js +77 -0
  41. package/dist/esm/api/oauth-api.d.ts +65 -0
  42. package/dist/esm/api/oauth-api.js +73 -1
  43. package/dist/esm/models/abac-attribute-definition.d.ts +1 -1
  44. package/dist/esm/models/abac-resource-attribute.d.ts +1 -1
  45. package/dist/esm/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  46. package/dist/esm/models/admin-agents-agents-rotate-key-request.js +14 -0
  47. package/dist/esm/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  48. package/dist/esm/models/admin-agents-create-request.d.ts +8 -0
  49. package/dist/esm/models/admin-agents-report-usage-request.d.ts +30 -0
  50. package/dist/esm/models/admin-agents-report-usage-request.js +14 -0
  51. package/dist/esm/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
  52. package/dist/esm/models/admin-agents-report-usage-response-data-recorded.js +14 -0
  53. package/dist/esm/models/admin-agents-report-usage-response-data.d.ts +33 -0
  54. package/dist/esm/models/admin-agents-report-usage-response-data.js +14 -0
  55. package/dist/esm/models/admin-agents-report-usage-response.d.ts +25 -0
  56. package/dist/esm/models/admin-agents-report-usage-response.js +14 -0
  57. package/dist/esm/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  58. package/dist/esm/models/admin-identities-link-request.d.ts +8 -1
  59. package/dist/esm/models/admin-identities-link-request.js +1 -0
  60. package/dist/esm/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  61. package/dist/esm/models/admin-identities-list-response-data-bindings-item.js +1 -0
  62. package/dist/esm/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  63. package/dist/esm/models/admin-sandbox-spawn-response-data.js +14 -0
  64. package/dist/esm/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  65. package/dist/esm/models/admin-sandbox-spawn-response-data1.js +14 -0
  66. package/dist/esm/models/admin-sandbox-spawn-response.d.ts +3 -3
  67. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  68. package/dist/esm/models/admin-webhooks-delivery-replay-response-data.js +14 -0
  69. package/dist/esm/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  70. package/dist/esm/models/admin-webhooks-test-response.d.ts +6 -0
  71. package/dist/esm/models/attest-response-identity.d.ts +1 -1
  72. package/dist/esm/models/audit-log-entry.d.ts +1 -1
  73. package/dist/esm/models/authentication-settings-password-policy.d.ts +25 -1
  74. package/dist/esm/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  75. package/dist/esm/models/authentication-settings.d.ts +13 -15
  76. package/dist/esm/models/authentication-settings.js +11 -0
  77. package/dist/esm/models/get-approval-status-response-approved-by.d.ts +2 -2
  78. package/dist/esm/models/index.d.ts +11 -0
  79. package/dist/esm/models/index.js +11 -0
  80. package/dist/esm/models/list-permissions-response-permissions-item.d.ts +1 -1
  81. package/dist/esm/models/oauth-client-secret-issued.d.ts +1 -1
  82. package/dist/esm/models/oauth-client.d.ts +6 -0
  83. package/dist/esm/models/push-enrollment-started.d.ts +1 -1
  84. package/dist/esm/models/put-admin-agents-update-request.d.ts +8 -0
  85. package/dist/esm/models/report-agent-usage-response.d.ts +33 -0
  86. package/dist/esm/models/report-agent-usage-response.js +14 -0
  87. package/dist/esm/models/request-magic-link-request.d.ts +42 -0
  88. package/dist/esm/models/request-magic-link-request.js +14 -0
  89. package/dist/esm/models/request-magic-link-response.d.ts +31 -0
  90. package/dist/esm/models/request-magic-link-response.js +21 -0
  91. package/dist/esm/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  92. package/dist/esm/models/scim-settings-inbound.d.ts +0 -8
  93. package/dist/esm/models/scim-settings-outbound.d.ts +2 -10
  94. package/dist/esm/models/set-user-attribute-response-data.d.ts +1 -1
  95. package/dist/esm/models/userinfo-response.d.ts +8 -0
  96. package/dist/models/abac-attribute-definition.d.ts +1 -1
  97. package/dist/models/abac-resource-attribute.d.ts +1 -1
  98. package/dist/models/admin-agents-agents-rotate-key-request.d.ts +30 -0
  99. package/dist/models/admin-agents-agents-rotate-key-request.js +15 -0
  100. package/dist/models/admin-agents-agents-rotate-key-response.d.ts +6 -0
  101. package/dist/models/admin-agents-create-request.d.ts +8 -0
  102. package/dist/models/admin-agents-report-usage-request.d.ts +30 -0
  103. package/dist/models/admin-agents-report-usage-request.js +15 -0
  104. package/dist/models/admin-agents-report-usage-response-data-recorded.d.ts +30 -0
  105. package/dist/models/admin-agents-report-usage-response-data-recorded.js +15 -0
  106. package/dist/models/admin-agents-report-usage-response-data.d.ts +33 -0
  107. package/dist/models/admin-agents-report-usage-response-data.js +15 -0
  108. package/dist/models/admin-agents-report-usage-response.d.ts +25 -0
  109. package/dist/models/admin-agents-report-usage-response.js +15 -0
  110. package/dist/models/admin-audit-logs-retention-response-data.d.ts +21 -3
  111. package/dist/models/admin-identities-link-request.d.ts +8 -1
  112. package/dist/models/admin-identities-link-request.js +1 -0
  113. package/dist/models/admin-identities-list-response-data-bindings-item.d.ts +7 -0
  114. package/dist/models/admin-identities-list-response-data-bindings-item.js +1 -0
  115. package/dist/models/admin-sandbox-spawn-response-data.d.ts +18 -0
  116. package/dist/models/admin-sandbox-spawn-response-data.js +15 -0
  117. package/dist/models/admin-sandbox-spawn-response-data1.d.ts +24 -0
  118. package/dist/models/admin-sandbox-spawn-response-data1.js +15 -0
  119. package/dist/models/admin-sandbox-spawn-response.d.ts +3 -3
  120. package/dist/models/admin-webhooks-delivery-replay-response-data.d.ts +48 -0
  121. package/dist/models/admin-webhooks-delivery-replay-response-data.js +15 -0
  122. package/dist/models/admin-webhooks-delivery-replay-response.d.ts +3 -3
  123. package/dist/models/admin-webhooks-test-response.d.ts +6 -0
  124. package/dist/models/attest-response-identity.d.ts +1 -1
  125. package/dist/models/audit-log-entry.d.ts +1 -1
  126. package/dist/models/authentication-settings-password-policy.d.ts +25 -1
  127. package/dist/models/authentication-settings-password-rotation-policy.d.ts +1 -13
  128. package/dist/models/authentication-settings.d.ts +13 -15
  129. package/dist/models/authentication-settings.js +12 -1
  130. package/dist/models/get-approval-status-response-approved-by.d.ts +2 -2
  131. package/dist/models/index.d.ts +11 -0
  132. package/dist/models/index.js +11 -0
  133. package/dist/models/list-permissions-response-permissions-item.d.ts +1 -1
  134. package/dist/models/oauth-client-secret-issued.d.ts +1 -1
  135. package/dist/models/oauth-client.d.ts +6 -0
  136. package/dist/models/push-enrollment-started.d.ts +1 -1
  137. package/dist/models/put-admin-agents-update-request.d.ts +8 -0
  138. package/dist/models/report-agent-usage-response.d.ts +33 -0
  139. package/dist/models/report-agent-usage-response.js +15 -0
  140. package/dist/models/request-magic-link-request.d.ts +42 -0
  141. package/dist/models/request-magic-link-request.js +15 -0
  142. package/dist/models/request-magic-link-response.d.ts +31 -0
  143. package/dist/models/request-magic-link-response.js +24 -0
  144. package/dist/models/scim-settings-inbound-protected-attributes.d.ts +2 -9
  145. package/dist/models/scim-settings-inbound.d.ts +0 -8
  146. package/dist/models/scim-settings-outbound.d.ts +2 -10
  147. package/dist/models/set-user-attribute-response-data.d.ts +1 -1
  148. package/dist/models/userinfo-response.d.ts +8 -0
  149. package/docs/AAuthApi.md +1 -1
  150. package/docs/AdminAbacApi.md +1 -1
  151. package/docs/AdminAgentsAgentsRotateKeyRequest.md +22 -0
  152. package/docs/AdminAgentsAgentsRotateKeyResponse.md +2 -0
  153. package/docs/AdminAgentsApi.md +83 -8
  154. package/docs/AdminAgentsCreateRequest.md +2 -0
  155. package/docs/AdminAgentsReportUsageRequest.md +22 -0
  156. package/docs/AdminAgentsReportUsageResponse.md +20 -0
  157. package/docs/AdminAgentsReportUsageResponseData.md +22 -0
  158. package/docs/AdminAgentsReportUsageResponseDataRecorded.md +22 -0
  159. package/docs/AdminAuditLogsRetentionResponseData.md +9 -3
  160. package/docs/AdminIdentitiesLinkRequest.md +3 -1
  161. package/docs/AdminIdentitiesListResponseDataBindingsItem.md +2 -0
  162. package/docs/AdminMcpApi.md +2 -1
  163. package/docs/AdminOAuthClientsApi.md +2 -2
  164. package/docs/AdminSandboxApi.md +3 -1
  165. package/docs/AdminSandboxSpawnResponse.md +1 -1
  166. package/docs/AdminSandboxSpawnResponseData.md +32 -0
  167. package/docs/AdminSandboxSpawnResponseData1.md +20 -0
  168. package/docs/AdminUsersApi.md +8 -8
  169. package/docs/AdminWebhooksApi.md +7 -5
  170. package/docs/AdminWebhooksDeliveryReplayResponse.md +1 -1
  171. package/docs/AdminWebhooksDeliveryReplayResponseData.md +28 -0
  172. package/docs/AdminWebhooksTestResponse.md +2 -0
  173. package/docs/AgentsApi.md +64 -2
  174. package/docs/AttestResponseIdentity.md +1 -1
  175. package/docs/AuditLogEntry.md +1 -1
  176. package/docs/AuthenticationSettings.md +2 -6
  177. package/docs/AuthenticationSettingsPasswordPolicy.md +9 -0
  178. package/docs/AuthenticationSettingsPasswordRotationPolicy.md +1 -4
  179. package/docs/AuthorizationApi.md +1 -1
  180. package/docs/CreateClientResponseData.md +3 -1
  181. package/docs/EnrollAuthenticator201Response.md +1 -1
  182. package/docs/GetApprovalStatusResponseApprovedBy.md +1 -1
  183. package/docs/JitApi.md +3 -3
  184. package/docs/ListPermissionsResponsePermissionsItem.md +1 -1
  185. package/docs/OAuthApi.md +63 -2
  186. package/docs/OAuthClient.md +2 -0
  187. package/docs/OAuthClientSecretIssued.md +1 -1
  188. package/docs/OIDCApi.md +2 -2
  189. package/docs/PushEnrollmentStarted.md +1 -1
  190. package/docs/PutAdminAgentsUpdateRequest.md +2 -0
  191. package/docs/ReportAgentUsageResponse.md +22 -0
  192. package/docs/RequestMagicLinkRequest.md +26 -0
  193. package/docs/RequestMagicLinkResponse.md +20 -0
  194. package/docs/ScimSettingsInbound.md +0 -2
  195. package/docs/ScimSettingsInboundProtectedAttributes.md +3 -5
  196. package/docs/ScimSettingsOutbound.md +2 -4
  197. package/docs/TokenVaultApi.md +2 -2
  198. package/docs/UserinfoResponse.md +2 -0
  199. package/models/abac-attribute-definition.ts +1 -1
  200. package/models/abac-resource-attribute.ts +1 -1
  201. package/models/admin-agents-agents-rotate-key-request.ts +36 -0
  202. package/models/admin-agents-agents-rotate-key-response.ts +6 -0
  203. package/models/admin-agents-create-request.ts +6 -0
  204. package/models/admin-agents-report-usage-request.ts +36 -0
  205. package/models/admin-agents-report-usage-response-data-recorded.ts +36 -0
  206. package/models/admin-agents-report-usage-response-data.ts +39 -0
  207. package/models/admin-agents-report-usage-response.ts +33 -0
  208. package/models/admin-audit-logs-retention-response-data.ts +21 -3
  209. package/models/admin-identities-link-request.ts +8 -1
  210. package/models/admin-identities-list-response-data-bindings-item.ts +7 -0
  211. package/models/admin-sandbox-spawn-response-data.ts +29 -0
  212. package/models/admin-sandbox-spawn-response-data1.ts +30 -0
  213. package/models/admin-sandbox-spawn-response.ts +3 -3
  214. package/models/admin-webhooks-delivery-replay-response-data.ts +54 -0
  215. package/models/admin-webhooks-delivery-replay-response.ts +3 -3
  216. package/models/admin-webhooks-test-response.ts +6 -0
  217. package/models/attest-response-identity.ts +1 -1
  218. package/models/audit-log-entry.ts +1 -1
  219. package/models/authentication-settings-password-policy.ts +25 -1
  220. package/models/authentication-settings-password-rotation-policy.ts +1 -13
  221. package/models/authentication-settings.ts +13 -15
  222. package/models/get-approval-status-response-approved-by.ts +2 -2
  223. package/models/index.ts +11 -0
  224. package/models/list-permissions-response-permissions-item.ts +1 -1
  225. package/models/oauth-client-secret-issued.ts +1 -1
  226. package/models/oauth-client.ts +6 -0
  227. package/models/push-enrollment-started.ts +1 -1
  228. package/models/put-admin-agents-update-request.ts +6 -0
  229. package/models/report-agent-usage-response.ts +39 -0
  230. package/models/request-magic-link-request.ts +48 -0
  231. package/models/request-magic-link-response.ts +39 -0
  232. package/models/scim-settings-inbound-protected-attributes.ts +2 -10
  233. package/models/scim-settings-inbound.ts +0 -6
  234. package/models/scim-settings-outbound.ts +2 -8
  235. package/models/set-user-attribute-response-data.ts +1 -1
  236. package/models/userinfo-response.ts +6 -0
  237. package/package.json +1 -1
@@ -52,6 +52,7 @@ docs/AdminAbacApi.md
52
52
  docs/AdminAgentsActivateResponse.md
53
53
  docs/AdminAgentsAgentsDisableResponse.md
54
54
  docs/AdminAgentsAgentsEnableResponse.md
55
+ docs/AdminAgentsAgentsRotateKeyRequest.md
55
56
  docs/AdminAgentsAgentsRotateKeyResponse.md
56
57
  docs/AdminAgentsApi.md
57
58
  docs/AdminAgentsCreateRequest.md
@@ -64,6 +65,10 @@ docs/AdminAgentsGenerateTokenResponseData.md
64
65
  docs/AdminAgentsGetResponse.md
65
66
  docs/AdminAgentsGetScopesResponse.md
66
67
  docs/AdminAgentsListResponse.md
68
+ docs/AdminAgentsReportUsageRequest.md
69
+ docs/AdminAgentsReportUsageResponse.md
70
+ docs/AdminAgentsReportUsageResponseData.md
71
+ docs/AdminAgentsReportUsageResponseDataRecorded.md
67
72
  docs/AdminAgentsRevokeKeyResponse.md
68
73
  docs/AdminAgentsRotateCredentialsResponse.md
69
74
  docs/AdminAgentsSetScopesRequest.md
@@ -155,6 +160,8 @@ docs/AdminSandboxApi.md
155
160
  docs/AdminSandboxListResponse.md
156
161
  docs/AdminSandboxSpawnRequest.md
157
162
  docs/AdminSandboxSpawnResponse.md
163
+ docs/AdminSandboxSpawnResponseData.md
164
+ docs/AdminSandboxSpawnResponseData1.md
158
165
  docs/AdminScopesCreateResponse.md
159
166
  docs/AdminScopesListResponse.md
160
167
  docs/AdminScopesListResponseMeta.md
@@ -200,6 +207,7 @@ docs/AdminWebhooksCreateResponseData.md
200
207
  docs/AdminWebhooksDeliveriesListResponse.md
201
208
  docs/AdminWebhooksDeliveriesListResponseMeta.md
202
209
  docs/AdminWebhooksDeliveryReplayResponse.md
210
+ docs/AdminWebhooksDeliveryReplayResponseData.md
203
211
  docs/AdminWebhooksDeliveryShowResponse.md
204
212
  docs/AdminWebhooksDeliveryShowResponseData.md
205
213
  docs/AdminWebhooksDeliveryShowResponseData1AttemptsItem.md
@@ -405,6 +413,9 @@ docs/RegisteredClientMetadata.md
405
413
  docs/RemoveUserGroupResponse.md
406
414
  docs/RemoveUserPermissionResponse.md
407
415
  docs/RemoveUserRoleResponse.md
416
+ docs/ReportAgentUsageResponse.md
417
+ docs/RequestMagicLinkRequest.md
418
+ docs/RequestMagicLinkResponse.md
408
419
  docs/RequestPermissionRequest.md
409
420
  docs/RequestPermissionResponse.md
410
421
  docs/RevokeAgentTokenRequest.md
@@ -480,6 +491,7 @@ models/add-user-role-response.ts
480
491
  models/admin-agents-activate-response.ts
481
492
  models/admin-agents-agents-disable-response.ts
482
493
  models/admin-agents-agents-enable-response.ts
494
+ models/admin-agents-agents-rotate-key-request.ts
483
495
  models/admin-agents-agents-rotate-key-response.ts
484
496
  models/admin-agents-create-request.ts
485
497
  models/admin-agents-create-response.ts
@@ -491,6 +503,10 @@ models/admin-agents-generate-token-response.ts
491
503
  models/admin-agents-get-response.ts
492
504
  models/admin-agents-get-scopes-response.ts
493
505
  models/admin-agents-list-response.ts
506
+ models/admin-agents-report-usage-request.ts
507
+ models/admin-agents-report-usage-response-data-recorded.ts
508
+ models/admin-agents-report-usage-response-data.ts
509
+ models/admin-agents-report-usage-response.ts
494
510
  models/admin-agents-revoke-key-response.ts
495
511
  models/admin-agents-rotate-credentials-response.ts
496
512
  models/admin-agents-set-scopes-request.ts
@@ -570,6 +586,8 @@ models/admin-roles-get-users-response.ts
570
586
  models/admin-roles-list-response.ts
571
587
  models/admin-sandbox-list-response.ts
572
588
  models/admin-sandbox-spawn-request.ts
589
+ models/admin-sandbox-spawn-response-data.ts
590
+ models/admin-sandbox-spawn-response-data1.ts
573
591
  models/admin-sandbox-spawn-response.ts
574
592
  models/admin-scopes-create-response.ts
575
593
  models/admin-scopes-list-response-meta.ts
@@ -611,6 +629,7 @@ models/admin-webhooks-create-response-data.ts
611
629
  models/admin-webhooks-create-response.ts
612
630
  models/admin-webhooks-deliveries-list-response-meta.ts
613
631
  models/admin-webhooks-deliveries-list-response.ts
632
+ models/admin-webhooks-delivery-replay-response-data.ts
614
633
  models/admin-webhooks-delivery-replay-response.ts
615
634
  models/admin-webhooks-delivery-show-response-data.ts
616
635
  models/admin-webhooks-delivery-show-response-data1-attempts-item.ts
@@ -810,6 +829,9 @@ models/registered-client-metadata.ts
810
829
  models/remove-user-group-response.ts
811
830
  models/remove-user-permission-response.ts
812
831
  models/remove-user-role-response.ts
832
+ models/report-agent-usage-response.ts
833
+ models/request-magic-link-request.ts
834
+ models/request-magic-link-response.ts
813
835
  models/request-permission-request.ts
814
836
  models/request-permission-response.ts
815
837
  models/revoke-agent-token-request.ts
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  > `github.com/lumoauth/lumo-auth-go`), prefer it.
8
8
  > Do not edit by hand: changes are overwritten on the next regeneration.
9
9
 
10
- ## @lumoauth/api-client@1.3.0
10
+ ## @lumoauth/api-client@1.5.0
11
11
 
12
12
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
13
13
 
@@ -45,7 +45,7 @@ navigate to the folder of your consuming project and run one of the following co
45
45
  _published:_
46
46
 
47
47
  ```
48
- npm install @lumoauth/api-client@1.3.0 --save
48
+ npm install @lumoauth/api-client@1.5.0 --save
49
49
  ```
50
50
 
51
51
  _unPublished (not recommended):_
@@ -100,6 +100,7 @@ Class | Method | HTTP request | Description
100
100
  *AdminAgentsApi* | [**adminAgentsGet**](docs/AdminAgentsApi.md#adminagentsget) | **GET** /orgs/{orgId}/api/v1/admin/agents/{agentId} | Get a single agent by ID or agentId
101
101
  *AdminAgentsApi* | [**adminAgentsGetScopes**](docs/AdminAgentsApi.md#adminagentsgetscopes) | **GET** /orgs/{orgId}/api/v1/admin/agents/{agentId}/scopes | Get agent scopes/capabilities
102
102
  *AdminAgentsApi* | [**adminAgentsList**](docs/AdminAgentsApi.md#adminagentslist) | **GET** /orgs/{orgId}/api/v1/admin/agents | List all agents in the tenant
103
+ *AdminAgentsApi* | [**adminAgentsReportUsage**](docs/AdminAgentsApi.md#adminagentsreportusage) | **POST** /orgs/{orgId}/api/v1/admin/agents/{agentId}/usage | Report model tokens and cost for an agent
103
104
  *AdminAgentsApi* | [**adminAgentsRevokeKey**](docs/AdminAgentsApi.md#adminagentsrevokekey) | **POST** /orgs/{orgId}/api/v1/admin/agents/{agentId}/revoke-key | Revoke agent API key (nullify it so it can no longer authenticate)
104
105
  *AdminAgentsApi* | [**adminAgentsRotateCredentials**](docs/AdminAgentsApi.md#adminagentsrotatecredentials) | **POST** /orgs/{orgId}/api/v1/admin/agents/{agentId}/rotate-credentials | Rotate agent credentials
105
106
  *AdminAgentsApi* | [**adminAgentsSetScopes**](docs/AdminAgentsApi.md#adminagentssetscopes) | **PUT** /orgs/{orgId}/api/v1/admin/agents/{agentId}/scopes | Update agent scopes/capabilities
@@ -167,7 +168,7 @@ Class | Method | HTTP request | Description
167
168
  *AdminOAuthClientsApi* | [**putAdminClientsUpdateBranding**](docs/AdminOAuthClientsApi.md#putadminclientsupdatebranding) | **PUT** /orgs/{orgId}/api/v1/admin/clients/{clientId}/branding | Replace an OAuth client\'s login and/or consent page branding
168
169
  *AdminOAuthClientsApi* | [**rotateClientSecret**](docs/AdminOAuthClientsApi.md#rotateclientsecret) | **POST** /orgs/{orgId}/api/v1/admin/clients/{clientId}/rotate-secret | Rotate an OAuth client secret
169
170
  *AdminOAuthClientsApi* | [**setClientScopes**](docs/AdminOAuthClientsApi.md#setclientscopes) | **PUT** /orgs/{orgId}/api/v1/admin/clients/{clientId}/scopes | Replace the scopes granted to an OAuth client
170
- *AdminOAuthClientsApi* | [**updateClient**](docs/AdminOAuthClientsApi.md#updateclient) | **PUT** /orgs/{orgId}/api/v1/admin/clients/{clientId} | Replace an OAuth client
171
+ *AdminOAuthClientsApi* | [**updateClient**](docs/AdminOAuthClientsApi.md#updateclient) | **PUT** /orgs/{orgId}/api/v1/admin/clients/{clientId} | Update an OAuth client (same as PATCH: only the fields that are sent change)
171
172
  *AdminOrganizationsApi* | [**adminOrgInvitationsCreate**](docs/AdminOrganizationsApi.md#adminorginvitationscreate) | **POST** /orgs/{orgId}/api/v1/admin/organizations/{organizationId}/invitations | Invite a user to an organization
172
173
  *AdminOrganizationsApi* | [**adminOrgInvitationsList**](docs/AdminOrganizationsApi.md#adminorginvitationslist) | **GET** /orgs/{orgId}/api/v1/admin/organizations/{organizationId}/invitations | List organization invitations
173
174
  *AdminOrganizationsApi* | [**adminOrgInvitationsResend**](docs/AdminOrganizationsApi.md#adminorginvitationsresend) | **POST** /orgs/{orgId}/api/v1/admin/organizations/{organizationId}/invitations/{invId}/resend | Resend an invitation
@@ -263,9 +264,9 @@ Class | Method | HTTP request | Description
263
264
  *AdminUsersApi* | [**addUserRole**](docs/AdminUsersApi.md#adduserrole) | **POST** /orgs/{orgId}/api/v1/admin/users/{userId}/roles | Assign a role to a user
264
265
  *AdminUsersApi* | [**adminIdentitiesLegacySamlRelink**](docs/AdminUsersApi.md#adminidentitieslegacysamlrelink) | **POST** /orgs/{orgId}/api/v1/admin/identities/legacy-saml | Relink legacy SAML users to an IdP
265
266
  *AdminUsersApi* | [**adminIdentitiesLegacySamlReport**](docs/AdminUsersApi.md#adminidentitieslegacysamlreport) | **GET** /orgs/{orgId}/api/v1/admin/identities/legacy-saml | Legacy SAML bindings report
266
- *AdminUsersApi* | [**adminIdentitiesLink**](docs/AdminUsersApi.md#adminidentitieslink) | **POST** /orgs/{orgId}/api/v1/admin/users/{userId}/identities | Link a SAML or LDAP identity to a user
267
+ *AdminUsersApi* | [**adminIdentitiesLink**](docs/AdminUsersApi.md#adminidentitieslink) | **POST** /orgs/{orgId}/api/v1/admin/users/{userId}/identities | Link a SAML, OpenID Connect or LDAP identity to a user
267
268
  *AdminUsersApi* | [**adminIdentitiesList**](docs/AdminUsersApi.md#adminidentitieslist) | **GET** /orgs/{orgId}/api/v1/admin/users/{userId}/identities | List a user\'s federated identity links
268
- *AdminUsersApi* | [**adminIdentitiesUnlink**](docs/AdminUsersApi.md#adminidentitiesunlink) | **DELETE** /orgs/{orgId}/api/v1/admin/users/{userId}/identities/{type} | Unlink a user\'s SAML, LDAP or social identity
269
+ *AdminUsersApi* | [**adminIdentitiesUnlink**](docs/AdminUsersApi.md#adminidentitiesunlink) | **DELETE** /orgs/{orgId}/api/v1/admin/users/{userId}/identities/{type} | Unlink a user\'s SAML, OpenID Connect, LDAP or social identity
269
270
  *AdminUsersApi* | [**blockUser**](docs/AdminUsersApi.md#blockuser) | **POST** /orgs/{orgId}/api/v1/admin/users/{userId}/block | Block a user
270
271
  *AdminUsersApi* | [**createUser**](docs/AdminUsersApi.md#createuser) | **POST** /orgs/{orgId}/api/v1/admin/users | Create a user
271
272
  *AdminUsersApi* | [**deleteUser**](docs/AdminUsersApi.md#deleteuser) | **DELETE** /orgs/{orgId}/api/v1/admin/users/{userId} | Delete a user
@@ -313,6 +314,7 @@ Class | Method | HTTP request | Description
313
314
  *AgentsApi* | [**getApprovalStatus**](docs/AgentsApi.md#getapprovalstatus) | **GET** /orgs/{orgId}/api/v1/agents/me/approvals/{token}/status |
314
315
  *AgentsApi* | [**getCurrentAgent**](docs/AgentsApi.md#getcurrentagent) | **GET** /orgs/{orgId}/api/v1/agents/me | Get details about the currently authenticated agent
315
316
  *AgentsApi* | [**registerAgent**](docs/AgentsApi.md#registeragent) | **POST** /orgs/{orgId}/api/v1/agents/register | Register (or re-register) an agent
317
+ *AgentsApi* | [**reportAgentUsage**](docs/AgentsApi.md#reportagentusage) | **POST** /orgs/{orgId}/api/v1/agents/me/usage | Report the model tokens and cost that the agent used
316
318
  *AgentsApi* | [**verifyAgentCard**](docs/AgentsApi.md#verifyagentcard) | **POST** /orgs/{orgId}/api/v1/agents/agent-card/verify | Verify a signed A2A agent card
317
319
  *AuthorizationApi* | [**checkAbac**](docs/AuthorizationApi.md#checkabac) | **POST** /orgs/{orgId}/api/v1/abac/check | Evaluate an ABAC policy decision for the caller
318
320
  *AuthorizationApi* | [**checkAbacBulk**](docs/AuthorizationApi.md#checkabacbulk) | **POST** /orgs/{orgId}/api/v1/abac/check-bulk | Evaluate up to 100 ABAC checks for the caller in one call
@@ -370,6 +372,7 @@ Class | Method | HTTP request | Description
370
372
  *OAuthApi* | [**introspect**](docs/OAuthApi.md#introspect) | **POST** /orgs/{orgId}/api/v1/oauth/introspect | Token introspection (RFC 7662)
371
373
  *OAuthApi* | [**par**](docs/OAuthApi.md#par) | **POST** /orgs/{orgId}/api/v1/oauth/par | Pushed authorization request (RFC 9126)
372
374
  *OAuthApi* | [**registerClient**](docs/OAuthApi.md#registerclient) | **POST** /orgs/{orgId}/api/v1/connect/register | Dynamic client registration (RFC 7591 / OIDC DCR)
375
+ *OAuthApi* | [**requestMagicLink**](docs/OAuthApi.md#requestmagiclink) | **POST** /orgs/{orgId}/api/v1/oauth/magic-link | Request a sign-in link by email
373
376
  *OAuthApi* | [**revoke**](docs/OAuthApi.md#revoke) | **POST** /orgs/{orgId}/api/v1/oauth/revoke | Token revocation (RFC 7009)
374
377
  *OAuthApi* | [**socialCallback**](docs/OAuthApi.md#socialcallback) | **GET** /orgs/{orgId}/api/v1/oauth/social/{provider}/callback | Social / enterprise identity-provider callback
375
378
  *OAuthApi* | [**socialCallbackPost**](docs/OAuthApi.md#socialcallbackpost) | **POST** /orgs/{orgId}/api/v1/oauth/social/{provider}/callback | Social / enterprise identity-provider callback (form_post)
@@ -414,6 +417,7 @@ Class | Method | HTTP request | Description
414
417
  - [AdminAgentsActivateResponse](docs/AdminAgentsActivateResponse.md)
415
418
  - [AdminAgentsAgentsDisableResponse](docs/AdminAgentsAgentsDisableResponse.md)
416
419
  - [AdminAgentsAgentsEnableResponse](docs/AdminAgentsAgentsEnableResponse.md)
420
+ - [AdminAgentsAgentsRotateKeyRequest](docs/AdminAgentsAgentsRotateKeyRequest.md)
417
421
  - [AdminAgentsAgentsRotateKeyResponse](docs/AdminAgentsAgentsRotateKeyResponse.md)
418
422
  - [AdminAgentsCreateRequest](docs/AdminAgentsCreateRequest.md)
419
423
  - [AdminAgentsCreateResponse](docs/AdminAgentsCreateResponse.md)
@@ -425,6 +429,10 @@ Class | Method | HTTP request | Description
425
429
  - [AdminAgentsGetResponse](docs/AdminAgentsGetResponse.md)
426
430
  - [AdminAgentsGetScopesResponse](docs/AdminAgentsGetScopesResponse.md)
427
431
  - [AdminAgentsListResponse](docs/AdminAgentsListResponse.md)
432
+ - [AdminAgentsReportUsageRequest](docs/AdminAgentsReportUsageRequest.md)
433
+ - [AdminAgentsReportUsageResponse](docs/AdminAgentsReportUsageResponse.md)
434
+ - [AdminAgentsReportUsageResponseData](docs/AdminAgentsReportUsageResponseData.md)
435
+ - [AdminAgentsReportUsageResponseDataRecorded](docs/AdminAgentsReportUsageResponseDataRecorded.md)
428
436
  - [AdminAgentsRevokeKeyResponse](docs/AdminAgentsRevokeKeyResponse.md)
429
437
  - [AdminAgentsRotateCredentialsResponse](docs/AdminAgentsRotateCredentialsResponse.md)
430
438
  - [AdminAgentsSetScopesRequest](docs/AdminAgentsSetScopesRequest.md)
@@ -505,6 +513,8 @@ Class | Method | HTTP request | Description
505
513
  - [AdminSandboxListResponse](docs/AdminSandboxListResponse.md)
506
514
  - [AdminSandboxSpawnRequest](docs/AdminSandboxSpawnRequest.md)
507
515
  - [AdminSandboxSpawnResponse](docs/AdminSandboxSpawnResponse.md)
516
+ - [AdminSandboxSpawnResponseData](docs/AdminSandboxSpawnResponseData.md)
517
+ - [AdminSandboxSpawnResponseData1](docs/AdminSandboxSpawnResponseData1.md)
508
518
  - [AdminScopesCreateResponse](docs/AdminScopesCreateResponse.md)
509
519
  - [AdminScopesListResponse](docs/AdminScopesListResponse.md)
510
520
  - [AdminScopesListResponseMeta](docs/AdminScopesListResponseMeta.md)
@@ -546,6 +556,7 @@ Class | Method | HTTP request | Description
546
556
  - [AdminWebhooksDeliveriesListResponse](docs/AdminWebhooksDeliveriesListResponse.md)
547
557
  - [AdminWebhooksDeliveriesListResponseMeta](docs/AdminWebhooksDeliveriesListResponseMeta.md)
548
558
  - [AdminWebhooksDeliveryReplayResponse](docs/AdminWebhooksDeliveryReplayResponse.md)
559
+ - [AdminWebhooksDeliveryReplayResponseData](docs/AdminWebhooksDeliveryReplayResponseData.md)
549
560
  - [AdminWebhooksDeliveryShowResponse](docs/AdminWebhooksDeliveryShowResponse.md)
550
561
  - [AdminWebhooksDeliveryShowResponseData](docs/AdminWebhooksDeliveryShowResponseData.md)
551
562
  - [AdminWebhooksDeliveryShowResponseData1AttemptsItem](docs/AdminWebhooksDeliveryShowResponseData1AttemptsItem.md)
@@ -743,6 +754,9 @@ Class | Method | HTTP request | Description
743
754
  - [RemoveUserGroupResponse](docs/RemoveUserGroupResponse.md)
744
755
  - [RemoveUserPermissionResponse](docs/RemoveUserPermissionResponse.md)
745
756
  - [RemoveUserRoleResponse](docs/RemoveUserRoleResponse.md)
757
+ - [ReportAgentUsageResponse](docs/ReportAgentUsageResponse.md)
758
+ - [RequestMagicLinkRequest](docs/RequestMagicLinkRequest.md)
759
+ - [RequestMagicLinkResponse](docs/RequestMagicLinkResponse.md)
746
760
  - [RequestPermissionRequest](docs/RequestPermissionRequest.md)
747
761
  - [RequestPermissionResponse](docs/RequestPermissionResponse.md)
748
762
  - [RevokeAgentTokenRequest](docs/RevokeAgentTokenRequest.md)
@@ -28,6 +28,8 @@ import type { AdminAgentsAgentsDisableResponse } from '../models';
28
28
  // @ts-ignore
29
29
  import type { AdminAgentsAgentsEnableResponse } from '../models';
30
30
  // @ts-ignore
31
+ import type { AdminAgentsAgentsRotateKeyRequest } from '../models';
32
+ // @ts-ignore
31
33
  import type { AdminAgentsAgentsRotateKeyResponse } from '../models';
32
34
  // @ts-ignore
33
35
  import type { AdminAgentsCreateRequest } from '../models';
@@ -48,6 +50,10 @@ import type { AdminAgentsGetScopesResponse } from '../models';
48
50
  // @ts-ignore
49
51
  import type { AdminAgentsListResponse } from '../models';
50
52
  // @ts-ignore
53
+ import type { AdminAgentsReportUsageRequest } from '../models';
54
+ // @ts-ignore
55
+ import type { AdminAgentsReportUsageResponse } from '../models';
56
+ // @ts-ignore
51
57
  import type { AdminAgentsRevokeKeyResponse } from '../models';
52
58
  // @ts-ignore
53
59
  import type { AdminAgentsRotateCredentialsResponse } from '../models';
@@ -205,10 +211,11 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
205
211
  * @summary Rotate agent API key
206
212
  * @param {string} orgId
207
213
  * @param {string} agentId
214
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
208
215
  * @param {*} [options] Override http request option.
209
216
  * @throws {RequiredError}
210
217
  */
211
- adminAgentsAgentsRotateKey: async (orgId: string, agentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
218
+ adminAgentsAgentsRotateKey: async (orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
212
219
  // verify required parameter 'orgId' is not null or undefined
213
220
  assertParamExists('adminAgentsAgentsRotateKey', 'orgId', orgId)
214
221
  // verify required parameter 'agentId' is not null or undefined
@@ -236,9 +243,12 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
236
243
 
237
244
 
238
245
 
246
+ localVarHeaderParameter['Content-Type'] = 'application/json';
247
+
239
248
  setSearchParams(localVarUrlObj, localVarQueryParameter);
240
249
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
241
250
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
251
+ localVarRequestOptions.data = serializeDataIfNeeded(adminAgentsAgentsRotateKeyRequest, localVarRequestOptions, configuration)
242
252
 
243
253
  return {
244
254
  url: toPathString(localVarUrlObj),
@@ -562,6 +572,57 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
562
572
  options: localVarRequestOptions,
563
573
  };
564
574
  },
575
+ /**
576
+ * For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
577
+ * @summary Report model tokens and cost for an agent
578
+ * @param {string} orgId
579
+ * @param {string} agentId
580
+ * @param {AdminAgentsReportUsageRequest} adminAgentsReportUsageRequest
581
+ * @param {*} [options] Override http request option.
582
+ * @throws {RequiredError}
583
+ */
584
+ adminAgentsReportUsage: async (orgId: string, agentId: string, adminAgentsReportUsageRequest: AdminAgentsReportUsageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
585
+ // verify required parameter 'orgId' is not null or undefined
586
+ assertParamExists('adminAgentsReportUsage', 'orgId', orgId)
587
+ // verify required parameter 'agentId' is not null or undefined
588
+ assertParamExists('adminAgentsReportUsage', 'agentId', agentId)
589
+ // verify required parameter 'adminAgentsReportUsageRequest' is not null or undefined
590
+ assertParamExists('adminAgentsReportUsage', 'adminAgentsReportUsageRequest', adminAgentsReportUsageRequest)
591
+ const localVarPath = `/orgs/{orgId}/api/v1/admin/agents/{agentId}/usage`
592
+ .replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
593
+ .replace(`{${"agentId"}}`, encodeURIComponent(String(agentId)));
594
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
595
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
596
+ let baseOptions;
597
+ if (configuration) {
598
+ baseOptions = configuration.baseOptions;
599
+ }
600
+
601
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
602
+ const localVarHeaderParameter = {} as any;
603
+ const localVarQueryParameter = {} as any;
604
+
605
+ // authentication ApiKeyAuth required
606
+ await setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration)
607
+
608
+ // authentication BearerAuth required
609
+ // http bearer authentication required
610
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
611
+
612
+
613
+
614
+ localVarHeaderParameter['Content-Type'] = 'application/json';
615
+
616
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
617
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
618
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
619
+ localVarRequestOptions.data = serializeDataIfNeeded(adminAgentsReportUsageRequest, localVarRequestOptions, configuration)
620
+
621
+ return {
622
+ url: toPathString(localVarUrlObj),
623
+ options: localVarRequestOptions,
624
+ };
625
+ },
565
626
  /**
566
627
  *
567
628
  * @summary Revoke agent API key (nullify it so it can no longer authenticate)
@@ -612,10 +673,11 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
612
673
  * @summary Rotate agent credentials
613
674
  * @param {string} orgId
614
675
  * @param {string} agentId
676
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
615
677
  * @param {*} [options] Override http request option.
616
678
  * @throws {RequiredError}
617
679
  */
618
- adminAgentsRotateCredentials: async (orgId: string, agentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
680
+ adminAgentsRotateCredentials: async (orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
619
681
  // verify required parameter 'orgId' is not null or undefined
620
682
  assertParamExists('adminAgentsRotateCredentials', 'orgId', orgId)
621
683
  // verify required parameter 'agentId' is not null or undefined
@@ -643,9 +705,12 @@ export const AdminAgentsApiAxiosParamCreator = function (configuration?: Configu
643
705
 
644
706
 
645
707
 
708
+ localVarHeaderParameter['Content-Type'] = 'application/json';
709
+
646
710
  setSearchParams(localVarUrlObj, localVarQueryParameter);
647
711
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
648
712
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
713
+ localVarRequestOptions.data = serializeDataIfNeeded(adminAgentsAgentsRotateKeyRequest, localVarRequestOptions, configuration)
649
714
 
650
715
  return {
651
716
  url: toPathString(localVarUrlObj),
@@ -862,11 +927,12 @@ export const AdminAgentsApiFp = function(configuration?: Configuration) {
862
927
  * @summary Rotate agent API key
863
928
  * @param {string} orgId
864
929
  * @param {string} agentId
930
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
865
931
  * @param {*} [options] Override http request option.
866
932
  * @throws {RequiredError}
867
933
  */
868
- async adminAgentsAgentsRotateKey(orgId: string, agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsAgentsRotateKeyResponse>> {
869
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, options);
934
+ async adminAgentsAgentsRotateKey(orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsAgentsRotateKeyResponse>> {
935
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsAgentsRotateKey(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
870
936
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
871
937
  const localVarOperationServerBasePath = operationServerMap['AdminAgentsApi.adminAgentsAgentsRotateKey']?.[localVarOperationServerIndex]?.url;
872
938
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -969,6 +1035,21 @@ export const AdminAgentsApiFp = function(configuration?: Configuration) {
969
1035
  const localVarOperationServerBasePath = operationServerMap['AdminAgentsApi.adminAgentsList']?.[localVarOperationServerIndex]?.url;
970
1036
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
971
1037
  },
1038
+ /**
1039
+ * For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
1040
+ * @summary Report model tokens and cost for an agent
1041
+ * @param {string} orgId
1042
+ * @param {string} agentId
1043
+ * @param {AdminAgentsReportUsageRequest} adminAgentsReportUsageRequest
1044
+ * @param {*} [options] Override http request option.
1045
+ * @throws {RequiredError}
1046
+ */
1047
+ async adminAgentsReportUsage(orgId: string, agentId: string, adminAgentsReportUsageRequest: AdminAgentsReportUsageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsReportUsageResponse>> {
1048
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsReportUsage(orgId, agentId, adminAgentsReportUsageRequest, options);
1049
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1050
+ const localVarOperationServerBasePath = operationServerMap['AdminAgentsApi.adminAgentsReportUsage']?.[localVarOperationServerIndex]?.url;
1051
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1052
+ },
972
1053
  /**
973
1054
  *
974
1055
  * @summary Revoke agent API key (nullify it so it can no longer authenticate)
@@ -988,11 +1069,12 @@ export const AdminAgentsApiFp = function(configuration?: Configuration) {
988
1069
  * @summary Rotate agent credentials
989
1070
  * @param {string} orgId
990
1071
  * @param {string} agentId
1072
+ * @param {AdminAgentsAgentsRotateKeyRequest} [adminAgentsAgentsRotateKeyRequest] For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
991
1073
  * @param {*} [options] Override http request option.
992
1074
  * @throws {RequiredError}
993
1075
  */
994
- async adminAgentsRotateCredentials(orgId: string, agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsRotateCredentialsResponse>> {
995
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, options);
1076
+ async adminAgentsRotateCredentials(orgId: string, agentId: string, adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsRotateCredentialsResponse>> {
1077
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminAgentsRotateCredentials(orgId, agentId, adminAgentsAgentsRotateKeyRequest, options);
996
1078
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
997
1079
  const localVarOperationServerBasePath = operationServerMap['AdminAgentsApi.adminAgentsRotateCredentials']?.[localVarOperationServerIndex]?.url;
998
1080
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1090,7 +1172,7 @@ export const AdminAgentsApiFactory = function (configuration?: Configuration, ba
1090
1172
  * @throws {RequiredError}
1091
1173
  */
1092
1174
  adminAgentsAgentsRotateKey(requestParameters: AdminAgentsApiAdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsAgentsRotateKeyResponse> {
1093
- return localVarFp.adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(axios, basePath));
1175
+ return localVarFp.adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(axios, basePath));
1094
1176
  },
1095
1177
  /**
1096
1178
  *
@@ -1162,6 +1244,16 @@ export const AdminAgentsApiFactory = function (configuration?: Configuration, ba
1162
1244
  adminAgentsList(requestParameters: AdminAgentsApiAdminAgentsListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsListResponse> {
1163
1245
  return localVarFp.adminAgentsList(requestParameters.orgId, options).then((request) => request(axios, basePath));
1164
1246
  },
1247
+ /**
1248
+ * For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
1249
+ * @summary Report model tokens and cost for an agent
1250
+ * @param {AdminAgentsApiAdminAgentsReportUsageRequest} requestParameters Request parameters.
1251
+ * @param {*} [options] Override http request option.
1252
+ * @throws {RequiredError}
1253
+ */
1254
+ adminAgentsReportUsage(requestParameters: AdminAgentsApiAdminAgentsReportUsageRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsReportUsageResponse> {
1255
+ return localVarFp.adminAgentsReportUsage(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsReportUsageRequest, options).then((request) => request(axios, basePath));
1256
+ },
1165
1257
  /**
1166
1258
  *
1167
1259
  * @summary Revoke agent API key (nullify it so it can no longer authenticate)
@@ -1180,7 +1272,7 @@ export const AdminAgentsApiFactory = function (configuration?: Configuration, ba
1180
1272
  * @throws {RequiredError}
1181
1273
  */
1182
1274
  adminAgentsRotateCredentials(requestParameters: AdminAgentsApiAdminAgentsRotateCredentialsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsRotateCredentialsResponse> {
1183
- return localVarFp.adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(axios, basePath));
1275
+ return localVarFp.adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(axios, basePath));
1184
1276
  },
1185
1277
  /**
1186
1278
  *
@@ -1331,6 +1423,16 @@ export interface AdminAgentsApiInterface {
1331
1423
  */
1332
1424
  adminAgentsList(requestParameters: AdminAgentsApiAdminAgentsListRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsListResponse>;
1333
1425
 
1426
+ /**
1427
+ * For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
1428
+ * @summary Report model tokens and cost for an agent
1429
+ * @param {AdminAgentsApiAdminAgentsReportUsageRequest} requestParameters Request parameters.
1430
+ * @param {*} [options] Override http request option.
1431
+ * @throws {RequiredError}
1432
+ * @memberof AdminAgentsApiInterface
1433
+ */
1434
+ adminAgentsReportUsage(requestParameters: AdminAgentsApiAdminAgentsReportUsageRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAgentsReportUsageResponse>;
1435
+
1334
1436
  /**
1335
1437
  *
1336
1438
  * @summary Revoke agent API key (nullify it so it can no longer authenticate)
@@ -1465,6 +1567,13 @@ export interface AdminAgentsApiAdminAgentsAgentsRotateKeyRequest {
1465
1567
  * @memberof AdminAgentsApiAdminAgentsAgentsRotateKey
1466
1568
  */
1467
1569
  readonly agentId: string
1570
+
1571
+ /**
1572
+ * Optional lifetime of the new API key. Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
1573
+ * @type {AdminAgentsAgentsRotateKeyRequest}
1574
+ * @memberof AdminAgentsApiAdminAgentsAgentsRotateKey
1575
+ */
1576
+ readonly adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest
1468
1577
  }
1469
1578
 
1470
1579
  /**
@@ -1614,6 +1723,34 @@ export interface AdminAgentsApiAdminAgentsListRequest {
1614
1723
  readonly orgId: string
1615
1724
  }
1616
1725
 
1726
+ /**
1727
+ * Request parameters for adminAgentsReportUsage operation in AdminAgentsApi.
1728
+ * @export
1729
+ * @interface AdminAgentsApiAdminAgentsReportUsageRequest
1730
+ */
1731
+ export interface AdminAgentsApiAdminAgentsReportUsageRequest {
1732
+ /**
1733
+ *
1734
+ * @type {string}
1735
+ * @memberof AdminAgentsApiAdminAgentsReportUsage
1736
+ */
1737
+ readonly orgId: string
1738
+
1739
+ /**
1740
+ *
1741
+ * @type {string}
1742
+ * @memberof AdminAgentsApiAdminAgentsReportUsage
1743
+ */
1744
+ readonly agentId: string
1745
+
1746
+ /**
1747
+ *
1748
+ * @type {AdminAgentsReportUsageRequest}
1749
+ * @memberof AdminAgentsApiAdminAgentsReportUsage
1750
+ */
1751
+ readonly adminAgentsReportUsageRequest: AdminAgentsReportUsageRequest
1752
+ }
1753
+
1617
1754
  /**
1618
1755
  * Request parameters for adminAgentsRevokeKey operation in AdminAgentsApi.
1619
1756
  * @export
@@ -1654,6 +1791,13 @@ export interface AdminAgentsApiAdminAgentsRotateCredentialsRequest {
1654
1791
  * @memberof AdminAgentsApiAdminAgentsRotateCredentials
1655
1792
  */
1656
1793
  readonly agentId: string
1794
+
1795
+ /**
1796
+ * For an api_key agent, the optional lifetime of the new key (ignored for a client secret). Without either field the current expiry date is kept, unless it has already passed (then the new key gets 180 days).
1797
+ * @type {AdminAgentsAgentsRotateKeyRequest}
1798
+ * @memberof AdminAgentsApiAdminAgentsRotateCredentials
1799
+ */
1800
+ readonly adminAgentsAgentsRotateKeyRequest?: AdminAgentsAgentsRotateKeyRequest
1657
1801
  }
1658
1802
 
1659
1803
  /**
@@ -1792,7 +1936,7 @@ export class AdminAgentsApi extends BaseAPI implements AdminAgentsApiInterface {
1792
1936
  * @memberof AdminAgentsApi
1793
1937
  */
1794
1938
  public adminAgentsAgentsRotateKey(requestParameters: AdminAgentsApiAdminAgentsAgentsRotateKeyRequest, options?: RawAxiosRequestConfig) {
1795
- return AdminAgentsApiFp(this.configuration).adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(this.axios, this.basePath));
1939
+ return AdminAgentsApiFp(this.configuration).adminAgentsAgentsRotateKey(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(this.axios, this.basePath));
1796
1940
  }
1797
1941
 
1798
1942
  /**
@@ -1879,6 +2023,18 @@ export class AdminAgentsApi extends BaseAPI implements AdminAgentsApiInterface {
1879
2023
  return AdminAgentsApiFp(this.configuration).adminAgentsList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
1880
2024
  }
1881
2025
 
2026
+ /**
2027
+ * For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
2028
+ * @summary Report model tokens and cost for an agent
2029
+ * @param {AdminAgentsApiAdminAgentsReportUsageRequest} requestParameters Request parameters.
2030
+ * @param {*} [options] Override http request option.
2031
+ * @throws {RequiredError}
2032
+ * @memberof AdminAgentsApi
2033
+ */
2034
+ public adminAgentsReportUsage(requestParameters: AdminAgentsApiAdminAgentsReportUsageRequest, options?: RawAxiosRequestConfig) {
2035
+ return AdminAgentsApiFp(this.configuration).adminAgentsReportUsage(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsReportUsageRequest, options).then((request) => request(this.axios, this.basePath));
2036
+ }
2037
+
1882
2038
  /**
1883
2039
  *
1884
2040
  * @summary Revoke agent API key (nullify it so it can no longer authenticate)
@@ -1900,7 +2056,7 @@ export class AdminAgentsApi extends BaseAPI implements AdminAgentsApiInterface {
1900
2056
  * @memberof AdminAgentsApi
1901
2057
  */
1902
2058
  public adminAgentsRotateCredentials(requestParameters: AdminAgentsApiAdminAgentsRotateCredentialsRequest, options?: RawAxiosRequestConfig) {
1903
- return AdminAgentsApiFp(this.configuration).adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, options).then((request) => request(this.axios, this.basePath));
2059
+ return AdminAgentsApiFp(this.configuration).adminAgentsRotateCredentials(requestParameters.orgId, requestParameters.agentId, requestParameters.adminAgentsAgentsRotateKeyRequest, options).then((request) => request(this.axios, this.basePath));
1904
2060
  }
1905
2061
 
1906
2062
  /**
@@ -36,7 +36,7 @@ import type { MessageResponse } from '../models';
36
36
  export const AdminMcpApiAxiosParamCreator = function (configuration?: Configuration) {
37
37
  return {
38
38
  /**
39
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
39
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
40
40
  * @summary Register an MCP server
41
41
  * @param {string} orgId
42
42
  * @param {*} [options] Override http request option.
@@ -218,7 +218,7 @@ export const AdminMcpApiFp = function(configuration?: Configuration) {
218
218
  const localVarAxiosParamCreator = AdminMcpApiAxiosParamCreator(configuration)
219
219
  return {
220
220
  /**
221
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
221
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
222
222
  * @summary Register an MCP server
223
223
  * @param {string} orgId
224
224
  * @param {*} [options] Override http request option.
@@ -282,7 +282,7 @@ export const AdminMcpApiFactory = function (configuration?: Configuration, baseP
282
282
  const localVarFp = AdminMcpApiFp(configuration)
283
283
  return {
284
284
  /**
285
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
285
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
286
286
  * @summary Register an MCP server
287
287
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
288
288
  * @param {*} [options] Override http request option.
@@ -331,7 +331,7 @@ export const AdminMcpApiFactory = function (configuration?: Configuration, baseP
331
331
  */
332
332
  export interface AdminMcpApiInterface {
333
333
  /**
334
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
334
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
335
335
  * @summary Register an MCP server
336
336
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
337
337
  * @param {*} [options] Override http request option.
@@ -450,7 +450,7 @@ export interface AdminMcpApiAdminMcpServersListRequest {
450
450
  */
451
451
  export class AdminMcpApi extends BaseAPI implements AdminMcpApiInterface {
452
452
  /**
453
- * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only
453
+ * Body: name (required) — display name resource_uri (required) — RFC 8707 canonical URI: https:// (http:// only for loopback), no fragment, no user info, not a LumoAuth host, unique per organization after normalisation (same rules as the portal) endpoint_url (optional) — actual MCP endpoint description (optional) scopes_supported (optional) — array OR space/comma-separated string; omnibus scopes, offline_access and admin/scim scopes are refused (422) basic_scopes (optional) — subset of scopes_supported advertised in the 401 challenge and Protected Resource Metadata; no wildcards transport (optional) — defaults to \"http_streamable\" (\"http_sse\" is deprecated in MCP 2026-07-28) auth_mode (optional) — defaults to \"oauth\" token_lifetime (optional, default 3600) — 60..86400, else 422 tool_authorizer_client_ids (optional) — the MCP server\'s own OAuth clients that may call the per-tool authorization endpoint allowed_client_ids (optional) — array of this organization\'s OAuth client ids; unknown ids are a 422 (never persisted as policy) require_pkce (optional, default true) require_resource_param (optional, default true) require_dpop (optional, default false) — RFC 9449 sender-constrained tokens only scope_descriptions (optional) — object scope => text for scopes in scopes_supported (portal and consent page only), 200 characters each A server that is not OAuth-protected (auth_mode \"none\" or transport \"stdio\") is stored with the three require_* switches off. Fields that cannot be configured (include_scope_in_challenge, bearer_methods_supported) are refused with 400 so that a caller is never told a value was stored.
454
454
  * @summary Register an MCP server
455
455
  * @param {AdminMcpApiAdminMcpServersCreateRequest} requestParameters Request parameters.
456
456
  * @param {*} [options] Override http request option.