@iblai/iblai-api 2025.11.14-teams-bot-renovation-3-ai → 2025.11.18-teams-bot-renovation-ai

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 (35) hide show
  1. package/dist/index.cjs.js +502 -146
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +502 -146
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +502 -146
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +7 -0
  8. package/dist/types/models/Artifact.d.ts +8 -0
  9. package/dist/types/models/ArtifactVersion.d.ts +36 -0
  10. package/dist/types/models/ArtifactVersionList.d.ts +35 -0
  11. package/dist/types/models/CredentialProviderConfig.d.ts +29 -0
  12. package/dist/types/models/ExternalCredentialMapping.d.ts +39 -0
  13. package/dist/types/models/PaginatedArtifactVersionListList.d.ts +7 -0
  14. package/dist/types/models/PatchedArtifact.d.ts +8 -0
  15. package/dist/types/models/SetCurrentVersionRequest.d.ts +3 -0
  16. package/dist/types/models/TenantSetting.d.ts +5 -0
  17. package/dist/types/services/AiAccountService.d.ts +30 -1
  18. package/dist/types/services/AiMentorService.d.ts +74 -0
  19. package/dist/types/services/CredentialsService.d.ts +236 -69
  20. package/package.json +1 -1
  21. package/sdk_schema.yml +932 -91
  22. package/src/core/OpenAPI.ts +1 -1
  23. package/src/index.ts +7 -0
  24. package/src/models/Artifact.ts +8 -0
  25. package/src/models/ArtifactVersion.ts +41 -0
  26. package/src/models/ArtifactVersionList.ts +40 -0
  27. package/src/models/CredentialProviderConfig.ts +34 -0
  28. package/src/models/ExternalCredentialMapping.ts +44 -0
  29. package/src/models/PaginatedArtifactVersionListList.ts +12 -0
  30. package/src/models/PatchedArtifact.ts +8 -0
  31. package/src/models/SetCurrentVersionRequest.ts +8 -0
  32. package/src/models/TenantSetting.ts +10 -0
  33. package/src/services/AiAccountService.ts +58 -0
  34. package/src/services/AiMentorService.ts +184 -5
  35. package/src/services/CredentialsService.ts +961 -756
package/sdk_schema.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ibl-data-manager
4
- version: 4.90.4-ai-plus
4
+ version: 4.92.1-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/ai-account/connected-services/callback/:
@@ -1292,6 +1292,87 @@ paths:
1292
1292
  is_in_free_trial: true
1293
1293
  summary: Free trial status example
1294
1294
  description: ''
1295
+ /api/ai-account/orgs/{org}/users/{user_id}/tenant-settings/:
1296
+ get:
1297
+ operationId: ai_account_orgs_users_tenant_settings_retrieve
1298
+ description: |-
1299
+ Get a platform's settings
1300
+
1301
+ Example response:
1302
+ ```
1303
+ {"teams_bot_mentor": "f2116cf2-95c7-4c1f-b19e-666ad529439f"}
1304
+
1305
+ ```
1306
+ parameters:
1307
+ - in: path
1308
+ name: org
1309
+ schema:
1310
+ type: string
1311
+ required: true
1312
+ - in: path
1313
+ name: user_id
1314
+ schema:
1315
+ type: string
1316
+ required: true
1317
+ tags:
1318
+ - ai-account
1319
+ security:
1320
+ - PlatformApiKeyAuthentication: []
1321
+ responses:
1322
+ '200':
1323
+ content:
1324
+ application/json:
1325
+ schema:
1326
+ $ref: '#/components/schemas/TenantSetting'
1327
+ description: ''
1328
+ post:
1329
+ operationId: ai_account_orgs_users_tenant_settings_create
1330
+ description: |-
1331
+ Example Request:
1332
+
1333
+ ```
1334
+ {"teams_bot_mentor": "f2116cf2-95c7-4c1f-b19e-666ad529439f"}
1335
+ ```
1336
+ The value here is the mentor's unique id
1337
+ parameters:
1338
+ - in: path
1339
+ name: org
1340
+ schema:
1341
+ type: string
1342
+ required: true
1343
+ - in: path
1344
+ name: user_id
1345
+ schema:
1346
+ type: string
1347
+ required: true
1348
+ tags:
1349
+ - ai-account
1350
+ requestBody:
1351
+ content:
1352
+ application/json:
1353
+ schema:
1354
+ $ref: '#/components/schemas/TenantSetting'
1355
+ application/scim+json:
1356
+ schema:
1357
+ $ref: '#/components/schemas/TenantSetting'
1358
+ application/x-www-form-urlencoded:
1359
+ schema:
1360
+ $ref: '#/components/schemas/TenantSetting'
1361
+ multipart/form-data:
1362
+ schema:
1363
+ $ref: '#/components/schemas/TenantSetting'
1364
+ '*/*':
1365
+ schema:
1366
+ $ref: '#/components/schemas/TenantSetting'
1367
+ security:
1368
+ - PlatformApiKeyAuthentication: []
1369
+ responses:
1370
+ '200':
1371
+ content:
1372
+ application/json:
1373
+ schema:
1374
+ $ref: '#/components/schemas/TenantSetting'
1375
+ description: ''
1295
1376
  /api/ai-analytics/audience/orgs/{org}/active-users/over-time:
1296
1377
  get:
1297
1378
  operationId: ai_analytics_audience_orgs_active_users_over_time_retrieve
@@ -15511,19 +15592,12 @@ paths:
15511
15592
  description: Authentication required
15512
15593
  '403':
15513
15594
  description: Permission denied
15514
- /api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/:
15515
- get:
15516
- operationId: ai_mentor_orgs_users_artifacts_retrieve
15595
+ post:
15596
+ operationId: ai_mentor_orgs_users_artifacts_create
15517
15597
  description: Get detailed information about a specific artifact including its
15518
15598
  full content.
15519
15599
  summary: Retrieve an artifact
15520
15600
  parameters:
15521
- - in: path
15522
- name: id
15523
- schema:
15524
- type: integer
15525
- description: A unique integer value identifying this artifact.
15526
- required: true
15527
15601
  - in: path
15528
15602
  name: org
15529
15603
  schema:
@@ -15536,6 +15610,24 @@ paths:
15536
15610
  required: true
15537
15611
  tags:
15538
15612
  - ai-mentor
15613
+ requestBody:
15614
+ content:
15615
+ application/json:
15616
+ schema:
15617
+ $ref: '#/components/schemas/Artifact'
15618
+ application/scim+json:
15619
+ schema:
15620
+ $ref: '#/components/schemas/Artifact'
15621
+ application/x-www-form-urlencoded:
15622
+ schema:
15623
+ $ref: '#/components/schemas/Artifact'
15624
+ multipart/form-data:
15625
+ schema:
15626
+ $ref: '#/components/schemas/Artifact'
15627
+ '*/*':
15628
+ schema:
15629
+ $ref: '#/components/schemas/Artifact'
15630
+ required: true
15539
15631
  security:
15540
15632
  - PlatformApiKeyAuthentication: []
15541
15633
  responses:
@@ -15571,6 +15663,38 @@ paths:
15571
15663
  description: Permission denied
15572
15664
  '404':
15573
15665
  description: Artifact not found
15666
+ /api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/:
15667
+ get:
15668
+ operationId: ai_mentor_orgs_users_artifacts_retrieve
15669
+ description: Retrieve a specific artifact.
15670
+ parameters:
15671
+ - in: path
15672
+ name: id
15673
+ schema:
15674
+ type: integer
15675
+ description: A unique integer value identifying this artifact.
15676
+ required: true
15677
+ - in: path
15678
+ name: org
15679
+ schema:
15680
+ type: string
15681
+ required: true
15682
+ - in: path
15683
+ name: user_id
15684
+ schema:
15685
+ type: string
15686
+ required: true
15687
+ tags:
15688
+ - ai-mentor
15689
+ security:
15690
+ - PlatformApiKeyAuthentication: []
15691
+ responses:
15692
+ '200':
15693
+ content:
15694
+ application/json:
15695
+ schema:
15696
+ $ref: '#/components/schemas/Artifact'
15697
+ description: ''
15574
15698
  put:
15575
15699
  operationId: ai_mentor_orgs_users_artifacts_update
15576
15700
  description: Update all fields of an artifact (excluding chat_message reference).
@@ -15720,6 +15844,192 @@ paths:
15720
15844
  description: Permission denied
15721
15845
  '404':
15722
15846
  description: Artifact not found
15847
+ /api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/versions/:
15848
+ get:
15849
+ operationId: ai_mentor_orgs_users_artifacts_versions_list
15850
+ description: Retrieve all versions for a specific artifact.
15851
+ summary: List artifact versions
15852
+ parameters:
15853
+ - in: query
15854
+ name: chat_message_id
15855
+ schema:
15856
+ type: string
15857
+ format: uuid
15858
+ - in: query
15859
+ name: file_extension
15860
+ schema:
15861
+ type: string
15862
+ - in: path
15863
+ name: id
15864
+ schema:
15865
+ type: integer
15866
+ description: A unique integer value identifying this artifact.
15867
+ required: true
15868
+ - in: query
15869
+ name: llm_name
15870
+ schema:
15871
+ type: string
15872
+ - in: query
15873
+ name: llm_provider
15874
+ schema:
15875
+ type: string
15876
+ - in: query
15877
+ name: mentor_id
15878
+ schema:
15879
+ type: string
15880
+ format: uuid
15881
+ - name: ordering
15882
+ required: false
15883
+ in: query
15884
+ description: Which field to use when ordering the results.
15885
+ schema:
15886
+ type: string
15887
+ - in: path
15888
+ name: org
15889
+ schema:
15890
+ type: string
15891
+ required: true
15892
+ - name: page
15893
+ required: false
15894
+ in: query
15895
+ description: A page number within the paginated result set.
15896
+ schema:
15897
+ type: integer
15898
+ - name: page_size
15899
+ required: false
15900
+ in: query
15901
+ description: Number of results to return per page.
15902
+ schema:
15903
+ type: integer
15904
+ - name: search
15905
+ required: false
15906
+ in: query
15907
+ description: A search term.
15908
+ schema:
15909
+ type: string
15910
+ - in: query
15911
+ name: session_id
15912
+ schema:
15913
+ type: string
15914
+ format: uuid
15915
+ - in: path
15916
+ name: user_id
15917
+ schema:
15918
+ type: string
15919
+ required: true
15920
+ - in: query
15921
+ name: username
15922
+ schema:
15923
+ type: string
15924
+ tags:
15925
+ - ai-mentor
15926
+ security:
15927
+ - PlatformApiKeyAuthentication: []
15928
+ responses:
15929
+ '200':
15930
+ content:
15931
+ application/json:
15932
+ schema:
15933
+ $ref: '#/components/schemas/PaginatedArtifactVersionListList'
15934
+ description: ''
15935
+ '404':
15936
+ description: Artifact not found
15937
+ /api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/versions/{version_id}/:
15938
+ get:
15939
+ operationId: ai_mentor_orgs_users_artifacts_versions_retrieve
15940
+ description: Retrieve a specific version of an artifact by version ID.
15941
+ summary: Get specific artifact version
15942
+ parameters:
15943
+ - in: path
15944
+ name: id
15945
+ schema:
15946
+ type: integer
15947
+ description: A unique integer value identifying this artifact.
15948
+ required: true
15949
+ - in: path
15950
+ name: org
15951
+ schema:
15952
+ type: string
15953
+ required: true
15954
+ - in: path
15955
+ name: user_id
15956
+ schema:
15957
+ type: string
15958
+ required: true
15959
+ - in: path
15960
+ name: version_id
15961
+ schema:
15962
+ type: integer
15963
+ description: ID of the version to retrieve
15964
+ required: true
15965
+ tags:
15966
+ - ai-mentor
15967
+ security:
15968
+ - PlatformApiKeyAuthentication: []
15969
+ responses:
15970
+ '200':
15971
+ content:
15972
+ application/json:
15973
+ schema:
15974
+ $ref: '#/components/schemas/ArtifactVersion'
15975
+ description: ''
15976
+ '404':
15977
+ description: Version not found
15978
+ /api/ai-mentor/orgs/{org}/users/{user_id}/artifacts/{id}/versions/set-current/:
15979
+ post:
15980
+ operationId: ai_mentor_orgs_users_artifacts_versions_set_current_create
15981
+ description: Mark a specific version as the current/active version for an artifact.
15982
+ summary: Set artifact version as current
15983
+ parameters:
15984
+ - in: path
15985
+ name: id
15986
+ schema:
15987
+ type: integer
15988
+ description: A unique integer value identifying this artifact.
15989
+ required: true
15990
+ - in: path
15991
+ name: org
15992
+ schema:
15993
+ type: string
15994
+ required: true
15995
+ - in: path
15996
+ name: user_id
15997
+ schema:
15998
+ type: string
15999
+ required: true
16000
+ tags:
16001
+ - ai-mentor
16002
+ requestBody:
16003
+ content:
16004
+ application/json:
16005
+ schema:
16006
+ $ref: '#/components/schemas/SetCurrentVersionRequest'
16007
+ application/scim+json:
16008
+ schema:
16009
+ $ref: '#/components/schemas/SetCurrentVersionRequest'
16010
+ application/x-www-form-urlencoded:
16011
+ schema:
16012
+ $ref: '#/components/schemas/SetCurrentVersionRequest'
16013
+ multipart/form-data:
16014
+ schema:
16015
+ $ref: '#/components/schemas/SetCurrentVersionRequest'
16016
+ '*/*':
16017
+ schema:
16018
+ $ref: '#/components/schemas/SetCurrentVersionRequest'
16019
+ required: true
16020
+ security:
16021
+ - PlatformApiKeyAuthentication: []
16022
+ responses:
16023
+ '200':
16024
+ content:
16025
+ application/json:
16026
+ schema:
16027
+ $ref: '#/components/schemas/ArtifactVersion'
16028
+ description: ''
16029
+ '400':
16030
+ description: Invalid request
16031
+ '404':
16032
+ description: Version not found
15723
16033
  /api/ai-mentor/orgs/{org}/users/{user_id}/assumed-knowledge/:
15724
16034
  get:
15725
16035
  operationId: ai_mentor_orgs_users_assumed_knowledge_retrieve
@@ -54270,7 +54580,7 @@ paths:
54270
54580
  responses:
54271
54581
  '200':
54272
54582
  description: No response body
54273
- /api/credentials/orgs/{org}/users/{user_id}/:
54583
+ /api/credentials/orgs/{platform_key}/users/{username}/:
54274
54584
  get:
54275
54585
  operationId: credentials_orgs_users_retrieve
54276
54586
  description: |-
@@ -54285,12 +54595,12 @@ paths:
54285
54595
  - program: Program ID to filter credentials
54286
54596
  parameters:
54287
54597
  - in: path
54288
- name: org
54598
+ name: platform_key
54289
54599
  schema:
54290
54600
  type: string
54291
54601
  required: true
54292
54602
  - in: path
54293
- name: user_id
54603
+ name: username
54294
54604
  schema:
54295
54605
  type: string
54296
54606
  required: true
@@ -54386,12 +54696,12 @@ paths:
54386
54696
  - Only public credentials are returned by default
54387
54697
  parameters:
54388
54698
  - in: path
54389
- name: org
54699
+ name: platform_key
54390
54700
  schema:
54391
54701
  type: string
54392
54702
  required: true
54393
54703
  - in: path
54394
- name: user_id
54704
+ name: username
54395
54705
  schema:
54396
54706
  type: string
54397
54707
  required: true
@@ -54424,7 +54734,7 @@ paths:
54424
54734
  schema:
54425
54735
  $ref: '#/components/schemas/Credential'
54426
54736
  description: ''
54427
- /api/credentials/orgs/{org}/users/{user_id}/{entity_id}:
54737
+ /api/credentials/orgs/{platform_key}/users/{username}/{entity_id}:
54428
54738
  get:
54429
54739
  operationId: credentials_orgs_users_retrieve_2
54430
54740
  description: |-
@@ -54489,12 +54799,12 @@ paths:
54489
54799
  type: string
54490
54800
  required: true
54491
54801
  - in: path
54492
- name: org
54802
+ name: platform_key
54493
54803
  schema:
54494
54804
  type: string
54495
54805
  required: true
54496
54806
  - in: path
54497
- name: user_id
54807
+ name: username
54498
54808
  schema:
54499
54809
  type: string
54500
54810
  required: true
@@ -54573,12 +54883,12 @@ paths:
54573
54883
  type: string
54574
54884
  required: true
54575
54885
  - in: path
54576
- name: org
54886
+ name: platform_key
54577
54887
  schema:
54578
54888
  type: string
54579
54889
  required: true
54580
54890
  - in: path
54581
- name: user_id
54891
+ name: username
54582
54892
  schema:
54583
54893
  type: string
54584
54894
  required: true
@@ -54675,12 +54985,12 @@ paths:
54675
54985
  type: string
54676
54986
  required: true
54677
54987
  - in: path
54678
- name: org
54988
+ name: platform_key
54679
54989
  schema:
54680
54990
  type: string
54681
54991
  required: true
54682
54992
  - in: path
54683
- name: user_id
54993
+ name: username
54684
54994
  schema:
54685
54995
  type: string
54686
54996
  required: true
@@ -54691,7 +55001,7 @@ paths:
54691
55001
  responses:
54692
55002
  '204':
54693
55003
  description: No response body
54694
- /api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/:
55004
+ /api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/:
54695
55005
  get:
54696
55006
  operationId: credentials_orgs_users_assertions_retrieve_3
54697
55007
  description: |-
@@ -54730,12 +55040,12 @@ paths:
54730
55040
  type: string
54731
55041
  required: true
54732
55042
  - in: path
54733
- name: org
55043
+ name: platform_key
54734
55044
  schema:
54735
55045
  type: string
54736
55046
  required: true
54737
55047
  - in: path
54738
- name: user_id
55048
+ name: username
54739
55049
  schema:
54740
55050
  type: string
54741
55051
  required: true
@@ -54788,12 +55098,12 @@ paths:
54788
55098
  type: string
54789
55099
  required: true
54790
55100
  - in: path
54791
- name: org
55101
+ name: platform_key
54792
55102
  schema:
54793
55103
  type: string
54794
55104
  required: true
54795
55105
  - in: path
54796
- name: user_id
55106
+ name: username
54797
55107
  schema:
54798
55108
  type: string
54799
55109
  required: true
@@ -54826,7 +55136,7 @@ paths:
54826
55136
  schema:
54827
55137
  $ref: '#/components/schemas/Assertion'
54828
55138
  description: ''
54829
- /api/credentials/orgs/{org}/users/{user_id}/{entity_id}/assertions/bulk/:
55139
+ /api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/bulk/:
54830
55140
  post:
54831
55141
  operationId: credentials_orgs_users_assertions_bulk_create
54832
55142
  description: |-
@@ -54864,12 +55174,12 @@ paths:
54864
55174
  type: string
54865
55175
  required: true
54866
55176
  - in: path
54867
- name: org
55177
+ name: platform_key
54868
55178
  schema:
54869
55179
  type: string
54870
55180
  required: true
54871
55181
  - in: path
54872
- name: user_id
55182
+ name: username
54873
55183
  schema:
54874
55184
  type: string
54875
55185
  required: true
@@ -54902,7 +55212,7 @@ paths:
54902
55212
  schema:
54903
55213
  $ref: '#/components/schemas/BulkCreateAssertion'
54904
55214
  description: ''
54905
- /api/credentials/orgs/{org}/users/{user_id}/assertions/:
55215
+ /api/credentials/orgs/{platform_key}/users/{username}/assertions/:
54906
55216
  get:
54907
55217
  operationId: credentials_orgs_users_assertions_retrieve
54908
55218
  description: |-
@@ -54947,11 +55257,6 @@ paths:
54947
55257
  name: include_revoked
54948
55258
  schema:
54949
55259
  type: boolean
54950
- - in: path
54951
- name: org
54952
- schema:
54953
- type: string
54954
- required: true
54955
55260
  - in: query
54956
55261
  name: page
54957
55262
  schema:
@@ -54964,7 +55269,12 @@ paths:
54964
55269
  maximum: 1000
54965
55270
  minimum: 1
54966
55271
  - in: path
54967
- name: user_id
55272
+ name: platform_key
55273
+ schema:
55274
+ type: string
55275
+ required: true
55276
+ - in: path
55277
+ name: username
54968
55278
  schema:
54969
55279
  type: string
54970
55280
  required: true
@@ -54979,7 +55289,7 @@ paths:
54979
55289
  schema:
54980
55290
  $ref: '#/components/schemas/PaginatedAssertionsResponse'
54981
55291
  description: ''
54982
- /api/credentials/orgs/{org}/users/{user_id}/assertions-over-time/:
55292
+ /api/credentials/orgs/{platform_key}/users/{username}/assertions-over-time/:
54983
55293
  get:
54984
55294
  operationId: credentials_orgs_users_assertions_over_time_retrieve
54985
55295
  description: Get all credentials of a given tenant
@@ -55015,7 +55325,7 @@ paths:
55015
55325
  default: true
55016
55326
  description: Include main platform data
55017
55327
  - in: path
55018
- name: org
55328
+ name: platform_key
55019
55329
  schema:
55020
55330
  type: string
55021
55331
  required: true
@@ -55026,7 +55336,7 @@ paths:
55026
55336
  minLength: 1
55027
55337
  description: start date. ISO 8601
55028
55338
  - in: path
55029
- name: user_id
55339
+ name: username
55030
55340
  schema:
55031
55341
  type: string
55032
55342
  required: true
@@ -55041,7 +55351,7 @@ paths:
55041
55351
  schema:
55042
55352
  $ref: '#/components/schemas/OvertimeWithChangeInfo'
55043
55353
  description: ''
55044
- /api/credentials/orgs/{org}/users/{user_id}/assertions/{entity_id}:
55354
+ /api/credentials/orgs/{platform_key}/users/{username}/assertions/{entity_id}:
55045
55355
  get:
55046
55356
  operationId: credentials_orgs_users_assertions_retrieve_2
55047
55357
  description: |-
@@ -55081,12 +55391,12 @@ paths:
55081
55391
  type: string
55082
55392
  required: true
55083
55393
  - in: path
55084
- name: org
55394
+ name: platform_key
55085
55395
  schema:
55086
55396
  type: string
55087
55397
  required: true
55088
55398
  - in: path
55089
- name: user_id
55399
+ name: username
55090
55400
  schema:
55091
55401
  type: string
55092
55402
  required: true
@@ -55140,12 +55450,12 @@ paths:
55140
55450
  type: string
55141
55451
  required: true
55142
55452
  - in: path
55143
- name: org
55453
+ name: platform_key
55144
55454
  schema:
55145
55455
  type: string
55146
55456
  required: true
55147
55457
  - in: path
55148
- name: user_id
55458
+ name: username
55149
55459
  schema:
55150
55460
  type: string
55151
55461
  required: true
@@ -55178,7 +55488,7 @@ paths:
55178
55488
  schema:
55179
55489
  $ref: '#/components/schemas/Assertion'
55180
55490
  description: ''
55181
- /api/credentials/orgs/{org}/users/{user_id}/assignments/{assignment_id}:
55491
+ /api/credentials/orgs/{platform_key}/users/{username}/assignments/{assignment_id}:
55182
55492
  delete:
55183
55493
  operationId: credentials_orgs_users_assignments_destroy
55184
55494
  description: |-
@@ -55191,12 +55501,12 @@ paths:
55191
55501
  type: string
55192
55502
  required: true
55193
55503
  - in: path
55194
- name: org
55504
+ name: platform_key
55195
55505
  schema:
55196
55506
  type: string
55197
55507
  required: true
55198
55508
  - in: path
55199
- name: user_id
55509
+ name: username
55200
55510
  schema:
55201
55511
  type: string
55202
55512
  required: true
@@ -55207,18 +55517,18 @@ paths:
55207
55517
  responses:
55208
55518
  '204':
55209
55519
  description: No response body
55210
- /api/credentials/orgs/{org}/users/{user_id}/assignments/groups/:
55520
+ /api/credentials/orgs/{platform_key}/users/{username}/assignments/groups/:
55211
55521
  get:
55212
55522
  operationId: credentials_orgs_users_assignments_groups_retrieve
55213
55523
  description: Get group assignments with department-aware filtering
55214
55524
  parameters:
55215
55525
  - in: path
55216
- name: org
55526
+ name: platform_key
55217
55527
  schema:
55218
55528
  type: string
55219
55529
  required: true
55220
55530
  - in: path
55221
- name: user_id
55531
+ name: username
55222
55532
  schema:
55223
55533
  type: string
55224
55534
  required: true
@@ -55234,12 +55544,12 @@ paths:
55234
55544
  description: Create group assignment with department access validation
55235
55545
  parameters:
55236
55546
  - in: path
55237
- name: org
55547
+ name: platform_key
55238
55548
  schema:
55239
55549
  type: string
55240
55550
  required: true
55241
55551
  - in: path
55242
- name: user_id
55552
+ name: username
55243
55553
  schema:
55244
55554
  type: string
55245
55555
  required: true
@@ -55250,7 +55560,7 @@ paths:
55250
55560
  responses:
55251
55561
  '200':
55252
55562
  description: No response body
55253
- /api/credentials/orgs/{org}/users/{user_id}/assignments/users/:
55563
+ /api/credentials/orgs/{platform_key}/users/{username}/assignments/users/:
55254
55564
  get:
55255
55565
  operationId: credentials_orgs_users_assignments_users_retrieve
55256
55566
  description: |-
@@ -55260,12 +55570,12 @@ paths:
55260
55570
  - Department admins: get assignments for users in their department groups
55261
55571
  parameters:
55262
55572
  - in: path
55263
- name: org
55573
+ name: platform_key
55264
55574
  schema:
55265
55575
  type: string
55266
55576
  required: true
55267
55577
  - in: path
55268
- name: user_id
55578
+ name: username
55269
55579
  schema:
55270
55580
  type: string
55271
55581
  required: true
@@ -55281,12 +55591,12 @@ paths:
55281
55591
  description: Create assignments with department access validation
55282
55592
  parameters:
55283
55593
  - in: path
55284
- name: org
55594
+ name: platform_key
55285
55595
  schema:
55286
55596
  type: string
55287
55597
  required: true
55288
55598
  - in: path
55289
- name: user_id
55599
+ name: username
55290
55600
  schema:
55291
55601
  type: string
55292
55602
  required: true
@@ -55297,7 +55607,7 @@ paths:
55297
55607
  responses:
55298
55608
  '200':
55299
55609
  description: No response body
55300
- /api/credentials/orgs/{org}/users/{user_id}/course-assertions-over-time/:
55610
+ /api/credentials/orgs/{platform_key}/users/{username}/course-assertions-over-time/:
55301
55611
  get:
55302
55612
  operationId: credentials_orgs_users_course_assertions_over_time_retrieve
55303
55613
  description: Get all credentials of a given tenant
@@ -55333,7 +55643,7 @@ paths:
55333
55643
  default: true
55334
55644
  description: Include main platform data
55335
55645
  - in: path
55336
- name: org
55646
+ name: platform_key
55337
55647
  schema:
55338
55648
  type: string
55339
55649
  required: true
@@ -55344,7 +55654,7 @@ paths:
55344
55654
  minLength: 1
55345
55655
  description: start date. ISO 8601
55346
55656
  - in: path
55347
- name: user_id
55657
+ name: username
55348
55658
  schema:
55349
55659
  type: string
55350
55660
  required: true
@@ -55359,7 +55669,7 @@ paths:
55359
55669
  schema:
55360
55670
  $ref: '#/components/schemas/OverTime'
55361
55671
  description: ''
55362
- /api/credentials/orgs/{org}/users/{user_id}/course-credentials/:
55672
+ /api/credentials/orgs/{platform_key}/users/{username}/course-credentials/:
55363
55673
  get:
55364
55674
  operationId: credentials_orgs_users_course_credentials_list
55365
55675
  description: |-
@@ -55385,11 +55695,6 @@ paths:
55385
55695
  404 Not Found: If the organization doesn't exist
55386
55696
  500 Internal Server Error: If an unexpected error occurs
55387
55697
  parameters:
55388
- - in: path
55389
- name: org
55390
- schema:
55391
- type: string
55392
- required: true
55393
55698
  - name: page
55394
55699
  required: false
55395
55700
  in: query
@@ -55403,7 +55708,12 @@ paths:
55403
55708
  schema:
55404
55709
  type: integer
55405
55710
  - in: path
55406
- name: user_id
55711
+ name: platform_key
55712
+ schema:
55713
+ type: string
55714
+ required: true
55715
+ - in: path
55716
+ name: username
55407
55717
  schema:
55408
55718
  type: string
55409
55719
  required: true
@@ -55414,7 +55724,7 @@ paths:
55414
55724
  responses:
55415
55725
  '200':
55416
55726
  description: No response body
55417
- /api/credentials/orgs/{org}/users/{user_id}/credentials-over-time/:
55727
+ /api/credentials/orgs/{platform_key}/users/{username}/credentials-over-time/:
55418
55728
  get:
55419
55729
  operationId: credentials_orgs_users_credentials_over_time_retrieve
55420
55730
  description: Get all credentials of a given tenant
@@ -55450,7 +55760,7 @@ paths:
55450
55760
  default: true
55451
55761
  description: Include main platform data
55452
55762
  - in: path
55453
- name: org
55763
+ name: platform_key
55454
55764
  schema:
55455
55765
  type: string
55456
55766
  required: true
@@ -55461,7 +55771,7 @@ paths:
55461
55771
  minLength: 1
55462
55772
  description: start date. ISO 8601
55463
55773
  - in: path
55464
- name: user_id
55774
+ name: username
55465
55775
  schema:
55466
55776
  type: string
55467
55777
  required: true
@@ -55476,7 +55786,132 @@ paths:
55476
55786
  schema:
55477
55787
  $ref: '#/components/schemas/OverTime'
55478
55788
  description: ''
55479
- /api/credentials/orgs/{org}/users/{user_id}/images/:
55789
+ /api/credentials/orgs/{platform_key}/users/{username}/external-mapping/:
55790
+ get:
55791
+ operationId: credentials_orgs_users_external_mapping_retrieve
55792
+ description: |-
55793
+ Retrieve external credential mappings for the platform.
55794
+
55795
+ Query Parameters:
55796
+ credential_id (str, optional): Filter by credential entity_id
55797
+ provider_name (str, optional): Filter by provider name
55798
+ page (int, optional): Page number
55799
+ page_size (int, optional): Items per page
55800
+
55801
+ Returns all mappings for the platform if the user is an admin.
55802
+ parameters:
55803
+ - in: path
55804
+ name: platform_key
55805
+ schema:
55806
+ type: string
55807
+ required: true
55808
+ - in: path
55809
+ name: username
55810
+ schema:
55811
+ type: string
55812
+ required: true
55813
+ tags:
55814
+ - credentials
55815
+ security:
55816
+ - PlatformApiKeyAuthentication: []
55817
+ responses:
55818
+ '200':
55819
+ content:
55820
+ application/json:
55821
+ schema:
55822
+ $ref: '#/components/schemas/ExternalCredentialMapping'
55823
+ description: ''
55824
+ post:
55825
+ operationId: credentials_orgs_users_external_mapping_create
55826
+ description: |-
55827
+ Create or update an external credential mapping.
55828
+
55829
+ If a mapping doesn't exist for the credential + platform + provider combination,
55830
+ it will be created. If it exists, it will be updated.
55831
+
55832
+ Request Body:
55833
+ {
55834
+ "credential_id": "credential-entity-id", // Required
55835
+ "provider_name": "accredible", // Required
55836
+ "external_template_id": "123456", // Optional
55837
+ "metadata": {} // Optional
55838
+ }
55839
+
55840
+ Returns:
55841
+ - 201 Created: When creating a new mapping
55842
+ - 200 OK: When updating an existing mapping
55843
+ parameters:
55844
+ - in: path
55845
+ name: platform_key
55846
+ schema:
55847
+ type: string
55848
+ required: true
55849
+ - in: path
55850
+ name: username
55851
+ schema:
55852
+ type: string
55853
+ required: true
55854
+ tags:
55855
+ - credentials
55856
+ requestBody:
55857
+ content:
55858
+ application/json:
55859
+ schema:
55860
+ $ref: '#/components/schemas/ExternalCredentialMapping'
55861
+ application/scim+json:
55862
+ schema:
55863
+ $ref: '#/components/schemas/ExternalCredentialMapping'
55864
+ application/x-www-form-urlencoded:
55865
+ schema:
55866
+ $ref: '#/components/schemas/ExternalCredentialMapping'
55867
+ multipart/form-data:
55868
+ schema:
55869
+ $ref: '#/components/schemas/ExternalCredentialMapping'
55870
+ '*/*':
55871
+ schema:
55872
+ $ref: '#/components/schemas/ExternalCredentialMapping'
55873
+ required: true
55874
+ security:
55875
+ - PlatformApiKeyAuthentication: []
55876
+ responses:
55877
+ '200':
55878
+ content:
55879
+ application/json:
55880
+ schema:
55881
+ $ref: '#/components/schemas/ExternalCredentialMapping'
55882
+ description: ''
55883
+ delete:
55884
+ operationId: credentials_orgs_users_external_mapping_destroy
55885
+ description: |-
55886
+ Delete an external credential mapping.
55887
+
55888
+ Request Body:
55889
+ {
55890
+ "credential_id": "credential-entity-id", // Required
55891
+ "provider_name": "accredible" // Required
55892
+ }
55893
+
55894
+ Returns:
55895
+ A JSON response confirming deletion
55896
+ parameters:
55897
+ - in: path
55898
+ name: platform_key
55899
+ schema:
55900
+ type: string
55901
+ required: true
55902
+ - in: path
55903
+ name: username
55904
+ schema:
55905
+ type: string
55906
+ required: true
55907
+ tags:
55908
+ - credentials
55909
+ security:
55910
+ - PlatformApiKeyAuthentication: []
55911
+ responses:
55912
+ '204':
55913
+ description: No response body
55914
+ /api/credentials/orgs/{platform_key}/users/{username}/images/:
55480
55915
  get:
55481
55916
  operationId: credentials_orgs_users_images_retrieve
55482
55917
  description: |-
@@ -55535,12 +55970,12 @@ paths:
55535
55970
  - Only authenticated users with appropriate permissions can upload and retrieve images
55536
55971
  parameters:
55537
55972
  - in: path
55538
- name: org
55973
+ name: platform_key
55539
55974
  schema:
55540
55975
  type: string
55541
55976
  required: true
55542
55977
  - in: path
55543
- name: user_id
55978
+ name: username
55544
55979
  schema:
55545
55980
  type: string
55546
55981
  required: true
@@ -55613,12 +56048,12 @@ paths:
55613
56048
  - Only authenticated users with appropriate permissions can upload and retrieve images
55614
56049
  parameters:
55615
56050
  - in: path
55616
- name: org
56051
+ name: platform_key
55617
56052
  schema:
55618
56053
  type: string
55619
56054
  required: true
55620
56055
  - in: path
55621
- name: user_id
56056
+ name: username
55622
56057
  schema:
55623
56058
  type: string
55624
56059
  required: true
@@ -55650,7 +56085,7 @@ paths:
55650
56085
  schema:
55651
56086
  $ref: '#/components/schemas/UploadedImage'
55652
56087
  description: ''
55653
- /api/credentials/orgs/{org}/users/{user_id}/issuers/:
56088
+ /api/credentials/orgs/{platform_key}/users/{username}/issuers/:
55654
56089
  get:
55655
56090
  operationId: credentials_orgs_users_issuers_retrieve
55656
56091
  description: |-
@@ -55717,7 +56152,7 @@ paths:
55717
56152
  - Only authenticated users with appropriate permissions can manage issuers
55718
56153
  parameters:
55719
56154
  - in: path
55720
- name: org
56155
+ name: platform_key
55721
56156
  schema:
55722
56157
  type: string
55723
56158
  required: true
@@ -55728,7 +56163,7 @@ paths:
55728
56163
  minLength: 1
55729
56164
  required: true
55730
56165
  - in: path
55731
- name: user_id
56166
+ name: username
55732
56167
  schema:
55733
56168
  type: string
55734
56169
  required: true
@@ -55809,7 +56244,7 @@ paths:
55809
56244
  - Only authenticated users with appropriate permissions can manage issuers
55810
56245
  parameters:
55811
56246
  - in: path
55812
- name: org
56247
+ name: platform_key
55813
56248
  schema:
55814
56249
  type: string
55815
56250
  required: true
@@ -55820,7 +56255,7 @@ paths:
55820
56255
  minLength: 1
55821
56256
  required: true
55822
56257
  - in: path
55823
- name: user_id
56258
+ name: username
55824
56259
  schema:
55825
56260
  type: string
55826
56261
  required: true
@@ -55853,7 +56288,7 @@ paths:
55853
56288
  schema:
55854
56289
  $ref: '#/components/schemas/Issuer'
55855
56290
  description: ''
55856
- /api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}:
56291
+ /api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}:
55857
56292
  get:
55858
56293
  operationId: credentials_orgs_users_issuers_retrieve_2
55859
56294
  description: |-
@@ -55929,12 +56364,12 @@ paths:
55929
56364
  type: string
55930
56365
  required: true
55931
56366
  - in: path
55932
- name: org
56367
+ name: platform_key
55933
56368
  schema:
55934
56369
  type: string
55935
56370
  required: true
55936
56371
  - in: path
55937
- name: user_id
56372
+ name: username
55938
56373
  schema:
55939
56374
  type: string
55940
56375
  required: true
@@ -56024,12 +56459,12 @@ paths:
56024
56459
  type: string
56025
56460
  required: true
56026
56461
  - in: path
56027
- name: org
56462
+ name: platform_key
56028
56463
  schema:
56029
56464
  type: string
56030
56465
  required: true
56031
56466
  - in: path
56032
- name: user_id
56467
+ name: username
56033
56468
  schema:
56034
56469
  type: string
56035
56470
  required: true
@@ -56137,12 +56572,12 @@ paths:
56137
56572
  type: string
56138
56573
  required: true
56139
56574
  - in: path
56140
- name: org
56575
+ name: platform_key
56141
56576
  schema:
56142
56577
  type: string
56143
56578
  required: true
56144
56579
  - in: path
56145
- name: user_id
56580
+ name: username
56146
56581
  schema:
56147
56582
  type: string
56148
56583
  required: true
@@ -56153,7 +56588,7 @@ paths:
56153
56588
  responses:
56154
56589
  '204':
56155
56590
  description: No response body
56156
- /api/credentials/orgs/{org}/users/{user_id}/issuers/authority/:
56591
+ /api/credentials/orgs/{platform_key}/users/{username}/issuers/authority/:
56157
56592
  post:
56158
56593
  operationId: credentials_orgs_users_issuers_authority_create
56159
56594
  description: |-
@@ -56200,12 +56635,12 @@ paths:
56200
56635
  - Only authenticated users with appropriate permissions can manage authorities
56201
56636
  parameters:
56202
56637
  - in: path
56203
- name: org
56638
+ name: platform_key
56204
56639
  schema:
56205
56640
  type: string
56206
56641
  required: true
56207
56642
  - in: path
56208
- name: user_id
56643
+ name: username
56209
56644
  schema:
56210
56645
  type: string
56211
56646
  required: true
@@ -56238,6 +56673,136 @@ paths:
56238
56673
  schema:
56239
56674
  $ref: '#/components/schemas/IssuerAuthority'
56240
56675
  description: ''
56676
+ /api/credentials/orgs/{platform_key}/users/{username}/provider-config/:
56677
+ get:
56678
+ operationId: credentials_orgs_users_provider_config_retrieve
56679
+ description: |-
56680
+ Retrieve provider configurations for the platform.
56681
+
56682
+ Query Parameters:
56683
+ provider_name (str, optional): Filter to a specific provider
56684
+ page (int, optional): Page number
56685
+ page_size (int, optional): Items per page
56686
+
56687
+ Returns all configurations for the platform if the user is an admin.
56688
+ parameters:
56689
+ - in: path
56690
+ name: platform_key
56691
+ schema:
56692
+ type: string
56693
+ required: true
56694
+ - in: path
56695
+ name: username
56696
+ schema:
56697
+ type: string
56698
+ required: true
56699
+ tags:
56700
+ - credentials
56701
+ security:
56702
+ - PlatformApiKeyAuthentication: []
56703
+ responses:
56704
+ '200':
56705
+ content:
56706
+ application/json:
56707
+ schema:
56708
+ $ref: '#/components/schemas/CredentialProviderConfig'
56709
+ description: ''
56710
+ post:
56711
+ operationId: credentials_orgs_users_provider_config_create
56712
+ description: |-
56713
+ Create or update a provider configuration.
56714
+
56715
+ If a configuration doesn't exist for the platform and provider, it will be created.
56716
+ If it exists, it will be updated.
56717
+
56718
+ Request Body:
56719
+ {
56720
+ "provider_name": "accredible", // Required
56721
+ "config": {...}, // Optional
56722
+ "enabled": true // Optional
56723
+ }
56724
+
56725
+ Returns:
56726
+ - 201 Created: When creating a new configuration
56727
+ - 200 OK: When updating an existing configuration
56728
+ parameters:
56729
+ - in: path
56730
+ name: platform_key
56731
+ schema:
56732
+ type: string
56733
+ required: true
56734
+ - in: path
56735
+ name: username
56736
+ schema:
56737
+ type: string
56738
+ required: true
56739
+ tags:
56740
+ - credentials
56741
+ requestBody:
56742
+ content:
56743
+ application/json:
56744
+ schema:
56745
+ $ref: '#/components/schemas/CredentialProviderConfig'
56746
+ application/scim+json:
56747
+ schema:
56748
+ $ref: '#/components/schemas/CredentialProviderConfig'
56749
+ application/x-www-form-urlencoded:
56750
+ schema:
56751
+ $ref: '#/components/schemas/CredentialProviderConfig'
56752
+ multipart/form-data:
56753
+ schema:
56754
+ $ref: '#/components/schemas/CredentialProviderConfig'
56755
+ '*/*':
56756
+ schema:
56757
+ $ref: '#/components/schemas/CredentialProviderConfig'
56758
+ required: true
56759
+ security:
56760
+ - PlatformApiKeyAuthentication: []
56761
+ responses:
56762
+ '200':
56763
+ content:
56764
+ application/json:
56765
+ schema:
56766
+ $ref: '#/components/schemas/CredentialProviderConfig'
56767
+ description: ''
56768
+ delete:
56769
+ operationId: credentials_orgs_users_provider_config_destroy
56770
+ description: |-
56771
+ Deactivate a provider configuration (sets enabled=False).
56772
+
56773
+ Request Body:
56774
+ {
56775
+ "provider_name": "accredible" // Required
56776
+ }
56777
+ parameters:
56778
+ - in: path
56779
+ name: platform_key
56780
+ schema:
56781
+ type: string
56782
+ required: true
56783
+ - in: path
56784
+ name: username
56785
+ schema:
56786
+ type: string
56787
+ required: true
56788
+ tags:
56789
+ - credentials
56790
+ security:
56791
+ - PlatformApiKeyAuthentication: []
56792
+ responses:
56793
+ '204':
56794
+ description: No response body
56795
+ /api/credentials/providers/:
56796
+ get:
56797
+ operationId: credentials_providers_retrieve
56798
+ description: Get list of enabled credential providers with pagination.
56799
+ tags:
56800
+ - credentials
56801
+ security:
56802
+ - PlatformApiKeyAuthentication: []
56803
+ responses:
56804
+ '200':
56805
+ description: No response body
56241
56806
  /api/credentials/public/assertions/{entity_id}/:
56242
56807
  get:
56243
56808
  operationId: credentials_public_assertions_retrieve
@@ -68915,9 +69480,18 @@ components:
68915
69480
  format: uuid
68916
69481
  description: UUID of the session that generated this artifact
68917
69482
  readOnly: true
69483
+ current_version_number:
69484
+ type: integer
69485
+ description: Version number of the current version
69486
+ readOnly: true
69487
+ version_count:
69488
+ type: integer
69489
+ description: Total number of versions for this artifact
69490
+ readOnly: true
68918
69491
  required:
68919
69492
  - chat_message
68920
69493
  - content
69494
+ - current_version_number
68921
69495
  - date_created
68922
69496
  - date_updated
68923
69497
  - file_extension
@@ -68927,6 +69501,7 @@ components:
68927
69501
  - session_id
68928
69502
  - title
68929
69503
  - username
69504
+ - version_count
68930
69505
  ArtifactList:
68931
69506
  type: object
68932
69507
  description: |-
@@ -68997,6 +69572,100 @@ components:
68997
69572
  - session_id
68998
69573
  - title
68999
69574
  - username
69575
+ ArtifactVersion:
69576
+ type: object
69577
+ description: |-
69578
+ Serializer for ArtifactVersion model.
69579
+
69580
+ Represents a single version of an artifact with its content and metadata.
69581
+ properties:
69582
+ id:
69583
+ type: integer
69584
+ readOnly: true
69585
+ artifact:
69586
+ type: integer
69587
+ readOnly: true
69588
+ description: The artifact this version belongs to
69589
+ content:
69590
+ type: string
69591
+ description: The markdown-styled content of this artifact version
69592
+ is_current:
69593
+ type: boolean
69594
+ readOnly: true
69595
+ description: Whether this version is the current/active version
69596
+ version_number:
69597
+ type: integer
69598
+ readOnly: true
69599
+ default: 1
69600
+ description: Sequential version number for display purposes
69601
+ date_created:
69602
+ type: string
69603
+ format: date-time
69604
+ readOnly: true
69605
+ description: When this version was created
69606
+ created_by:
69607
+ type: string
69608
+ description: Identifier for who created this version (e.g., 'llm', 'user:username')
69609
+ maxLength: 100
69610
+ change_summary:
69611
+ type: string
69612
+ description: Optional summary of what changed in this version
69613
+ maxLength: 500
69614
+ required:
69615
+ - artifact
69616
+ - content
69617
+ - date_created
69618
+ - id
69619
+ - is_current
69620
+ - version_number
69621
+ ArtifactVersionList:
69622
+ type: object
69623
+ description: |-
69624
+ Lightweight serializer for listing artifact versions.
69625
+ Excludes the potentially large content field.
69626
+ properties:
69627
+ id:
69628
+ type: integer
69629
+ readOnly: true
69630
+ artifact:
69631
+ type: integer
69632
+ readOnly: true
69633
+ description: The artifact this version belongs to
69634
+ is_current:
69635
+ type: boolean
69636
+ readOnly: true
69637
+ description: Whether this version is the current/active version
69638
+ version_number:
69639
+ type: integer
69640
+ readOnly: true
69641
+ default: 1
69642
+ description: Sequential version number for display purposes
69643
+ date_created:
69644
+ type: string
69645
+ format: date-time
69646
+ readOnly: true
69647
+ description: When this version was created
69648
+ created_by:
69649
+ type: string
69650
+ readOnly: true
69651
+ description: Identifier for who created this version (e.g., 'llm', 'user:username')
69652
+ change_summary:
69653
+ type: string
69654
+ readOnly: true
69655
+ description: Optional summary of what changed in this version
69656
+ content_length:
69657
+ type: integer
69658
+ description: Length of the version content in characters
69659
+ readOnly: true
69660
+ required:
69661
+ - artifact
69662
+ - change_summary
69663
+ - content_length
69664
+ - created_by
69665
+ - date_created
69666
+ - id
69667
+ - is_current
69668
+ - version_number
69000
69669
  Assertion:
69001
69670
  type: object
69002
69671
  properties:
@@ -72423,6 +73092,53 @@ components:
72423
73092
  - credential_url
72424
73093
  - name
72425
73094
  - revoked
73095
+ CredentialProviderConfig:
73096
+ type: object
73097
+ description: |-
73098
+ Serializer for CredentialProviderConfig model.
73099
+
73100
+ Serializes provider configuration including platform, provider name,
73101
+ config JSON, enabled status, and timestamps.
73102
+ properties:
73103
+ id:
73104
+ type: integer
73105
+ readOnly: true
73106
+ platform_key:
73107
+ type: string
73108
+ readOnly: true
73109
+ platform_name:
73110
+ type: string
73111
+ readOnly: true
73112
+ provider_name:
73113
+ type: string
73114
+ description: The credential provider name (references CredentialProvider.name)
73115
+ maxLength: 100
73116
+ provider_name_display:
73117
+ type: string
73118
+ description: Get display name from provider if available, otherwise use
73119
+ provider_name.
73120
+ readOnly: true
73121
+ config:
73122
+ description: Provider-specific configuration in JSON format
73123
+ enabled:
73124
+ type: boolean
73125
+ description: Whether this provider integration is enabled for the platform
73126
+ created:
73127
+ type: string
73128
+ format: date-time
73129
+ readOnly: true
73130
+ updated:
73131
+ type: string
73132
+ format: date-time
73133
+ readOnly: true
73134
+ required:
73135
+ - created
73136
+ - id
73137
+ - platform_key
73138
+ - platform_name
73139
+ - provider_name
73140
+ - provider_name_display
73141
+ - updated
72426
73142
  CredentialRequest:
72427
73143
  type: object
72428
73144
  properties:
@@ -73499,6 +74215,77 @@ components:
73499
74215
  - updated_at
73500
74216
  - user
73501
74217
  - user_info
74218
+ ExternalCredentialMapping:
74219
+ type: object
74220
+ description: |-
74221
+ Serializer for ExternalCredentialMapping model.
74222
+
74223
+ Serializes external credential mappings including credential, platform,
74224
+ provider, external_template_id, and metadata.
74225
+ properties:
74226
+ id:
74227
+ type: integer
74228
+ readOnly: true
74229
+ credential_id:
74230
+ type: string
74231
+ readOnly: true
74232
+ credential_name:
74233
+ type: string
74234
+ readOnly: true
74235
+ platform_key:
74236
+ type: string
74237
+ readOnly: true
74238
+ platform_name:
74239
+ type: string
74240
+ readOnly: true
74241
+ provider:
74242
+ type: integer
74243
+ readOnly: true
74244
+ nullable: true
74245
+ description: The credential provider
74246
+ provider_name:
74247
+ type: string
74248
+ description: The credential provider name (references CredentialProvider.name)
74249
+ maxLength: 100
74250
+ provider_name_display:
74251
+ type: string
74252
+ description: Get display name from provider if available, otherwise use
74253
+ provider_name.
74254
+ readOnly: true
74255
+ external_template_id:
74256
+ type: string
74257
+ nullable: true
74258
+ description: The template ID in the external system (e.g., Accredible template
74259
+ ID)
74260
+ maxLength: 255
74261
+ group_id:
74262
+ type: string
74263
+ nullable: true
74264
+ description: The group ID in the external system (e.g., Accredible group
74265
+ ID). If not set, will fall back to the provider config's group_id.
74266
+ maxLength: 255
74267
+ metadata:
74268
+ description: Additional metadata stored as JSON (for general mapping information,
74269
+ not sync status)
74270
+ created:
74271
+ type: string
74272
+ format: date-time
74273
+ readOnly: true
74274
+ updated:
74275
+ type: string
74276
+ format: date-time
74277
+ readOnly: true
74278
+ required:
74279
+ - created
74280
+ - credential_id
74281
+ - credential_name
74282
+ - id
74283
+ - platform_key
74284
+ - platform_name
74285
+ - provider
74286
+ - provider_name
74287
+ - provider_name_display
74288
+ - updated
73502
74289
  ExternalServiceInfo:
73503
74290
  type: object
73504
74291
  properties:
@@ -78544,6 +79331,29 @@ components:
78544
79331
  type: array
78545
79332
  items:
78546
79333
  $ref: '#/components/schemas/ArtifactList'
79334
+ PaginatedArtifactVersionListList:
79335
+ type: object
79336
+ required:
79337
+ - count
79338
+ - results
79339
+ properties:
79340
+ count:
79341
+ type: integer
79342
+ example: 123
79343
+ next:
79344
+ type: string
79345
+ nullable: true
79346
+ format: uri
79347
+ example: http://api.example.org/accounts/?page=4
79348
+ previous:
79349
+ type: string
79350
+ nullable: true
79351
+ format: uri
79352
+ example: http://api.example.org/accounts/?page=2
79353
+ results:
79354
+ type: array
79355
+ items:
79356
+ $ref: '#/components/schemas/ArtifactVersionList'
78547
79357
  PaginatedAssertionsResponse:
78548
79358
  type: object
78549
79359
  description: |-
@@ -80112,6 +80922,14 @@ components:
80112
80922
  format: uuid
80113
80923
  description: UUID of the session that generated this artifact
80114
80924
  readOnly: true
80925
+ current_version_number:
80926
+ type: integer
80927
+ description: Version number of the current version
80928
+ readOnly: true
80929
+ version_count:
80930
+ type: integer
80931
+ description: Total number of versions for this artifact
80932
+ readOnly: true
80115
80933
  PatchedBotCommand:
80116
80934
  type: object
80117
80935
  properties:
@@ -87718,6 +88536,13 @@ components:
87718
88536
  required:
87719
88537
  - metric
87720
88538
  - points
88539
+ SetCurrentVersionRequest:
88540
+ type: object
88541
+ properties:
88542
+ version_id:
88543
+ type: integer
88544
+ required:
88545
+ - version_id
87721
88546
  SetStudentLLMAccess:
87722
88547
  type: object
87723
88548
  description: Serializer for setting student LLM access permissions
@@ -88815,6 +89640,22 @@ components:
88815
89640
  - mentor_data
88816
89641
  - tenant
88817
89642
  - tenant_total_cost
89643
+ TenantSetting:
89644
+ type: object
89645
+ properties:
89646
+ id:
89647
+ type: integer
89648
+ readOnly: true
89649
+ tenant_platform:
89650
+ type: string
89651
+ readOnly: true
89652
+ teams_bot_mentor:
89653
+ type: string
89654
+ readOnly: true
89655
+ required:
89656
+ - id
89657
+ - teams_bot_mentor
89658
+ - tenant_platform
88818
89659
  TestSMTPCredentials:
88819
89660
  type: object
88820
89661
  description: Serializer for testing SMTP credentials