@iblai/iblai-api 2025.11.20-memory-pagination-fix-test-2-ai → 2025.12.3-webhook-tool-dev-test-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 (74) hide show
  1. package/dist/index.cjs.js +321 -28
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +322 -29
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +321 -28
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +8 -3
  8. package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +2 -2
  9. package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +2 -2
  10. package/dist/types/models/Artifact.d.ts +3 -7
  11. package/dist/types/models/ArtifactList.d.ts +1 -4
  12. package/dist/types/models/ArtifactVersion.d.ts +13 -2
  13. package/dist/types/models/CallConfiguration.d.ts +4 -0
  14. package/dist/types/models/ChatHistory.d.ts +2 -0
  15. package/dist/types/models/ChatSessionResponse.d.ts +2 -0
  16. package/dist/types/models/Conversations.d.ts +9 -0
  17. package/dist/types/models/GoogleAgentDetail.d.ts +17 -0
  18. package/dist/types/models/LlmProviderEnum.d.ts +3 -1
  19. package/dist/types/models/MessageView.d.ts +1 -0
  20. package/dist/types/models/MessageViewRequest.d.ts +1 -0
  21. package/dist/types/models/PaginatedArtifactVersionList.d.ts +7 -0
  22. package/dist/types/models/PaginatedGoogleAgentDetailList.d.ts +7 -0
  23. package/dist/types/models/PaginatedUserGroupList.d.ts +7 -0
  24. package/dist/types/models/PatchedArtifact.d.ts +3 -7
  25. package/dist/types/models/PatchedCallConfiguration.d.ts +4 -0
  26. package/dist/types/models/PatchedConversations.d.ts +9 -0
  27. package/dist/types/models/PatchedGoogleAgentDetail.d.ts +17 -0
  28. package/dist/types/models/PatchedUserGroup.d.ts +26 -0
  29. package/dist/types/models/SttProviderEnum.d.ts +3 -1
  30. package/dist/types/models/TtsProviderEnum.d.ts +3 -1
  31. package/dist/types/models/UserGroup.d.ts +26 -0
  32. package/dist/types/models/UserMemory.d.ts +1 -0
  33. package/dist/types/models/Voice.d.ts +2 -2
  34. package/dist/types/models/{Provider637Enum.d.ts → VoiceProviderEnum.d.ts} +1 -1
  35. package/dist/types/services/AiMentorService.d.ts +85 -11
  36. package/dist/types/services/AiSearchService.d.ts +21 -5
  37. package/dist/types/services/CoreService.d.ts +97 -3
  38. package/package.json +1 -1
  39. package/sdk_schema.yml +1031 -252
  40. package/src/core/OpenAPI.ts +1 -1
  41. package/src/index.ts +8 -3
  42. package/src/models/AccessibleMentorsByEmailRequest.ts +2 -2
  43. package/src/models/AccessibleMentorsByEmailResponse.ts +2 -2
  44. package/src/models/Artifact.ts +3 -7
  45. package/src/models/ArtifactList.ts +1 -4
  46. package/src/models/ArtifactVersion.ts +13 -2
  47. package/src/models/CallConfiguration.ts +4 -0
  48. package/src/models/ChatHistory.ts +2 -0
  49. package/src/models/ChatSessionResponse.ts +2 -0
  50. package/src/models/Conversations.ts +9 -0
  51. package/src/models/GoogleAgentDetail.ts +22 -0
  52. package/src/models/LlmProviderEnum.ts +2 -0
  53. package/src/models/MessageView.ts +1 -0
  54. package/src/models/MessageViewRequest.ts +1 -0
  55. package/src/models/{PaginatedArtifactVersionListList.ts → PaginatedArtifactVersionList.ts} +3 -3
  56. package/src/models/PaginatedGoogleAgentDetailList.ts +12 -0
  57. package/src/models/PaginatedUserGroupList.ts +12 -0
  58. package/src/models/PatchedArtifact.ts +3 -7
  59. package/src/models/PatchedCallConfiguration.ts +4 -0
  60. package/src/models/PatchedConversations.ts +9 -0
  61. package/src/models/PatchedGoogleAgentDetail.ts +22 -0
  62. package/src/models/PatchedUserGroup.ts +31 -0
  63. package/src/models/SttProviderEnum.ts +2 -0
  64. package/src/models/TtsProviderEnum.ts +2 -0
  65. package/src/models/UserGroup.ts +31 -0
  66. package/src/models/UserMemory.ts +1 -0
  67. package/src/models/Voice.ts +2 -2
  68. package/src/models/{Provider637Enum.ts → VoiceProviderEnum.ts} +1 -1
  69. package/src/services/AiMentorService.ts +6051 -5882
  70. package/src/services/AiSearchService.ts +29 -5
  71. package/src/services/CoreService.ts +195 -3
  72. package/dist/types/models/ArtifactVersionList.d.ts +0 -35
  73. package/dist/types/models/PaginatedArtifactVersionListList.d.ts +0 -7
  74. package/src/models/ArtifactVersionList.ts +0 -40
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.95.2-ai-plus
4
+ version: 4.102.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /api/ai-account/connected-services/callback/:
@@ -4037,7 +4037,7 @@ paths:
4037
4037
  end_date: '2023-06-30'
4038
4038
  - start_date: '2023-07-01'
4039
4039
  end_date: '2023-07-31'
4040
- setiment:
4040
+ sentiment:
4041
4041
  - positive
4042
4042
  - negative
4043
4043
  - neutral
@@ -13811,7 +13811,6 @@ paths:
13811
13811
  '*/*':
13812
13812
  schema:
13813
13813
  $ref: '#/components/schemas/AccessibleMentorsByEmailRequest'
13814
- required: true
13815
13814
  responses:
13816
13815
  '200':
13817
13816
  content:
@@ -15487,12 +15486,6 @@ paths:
15487
15486
  filtering and search.
15488
15487
  summary: List artifacts
15489
15488
  parameters:
15490
- - in: query
15491
- name: chat_message_id
15492
- schema:
15493
- type: string
15494
- format: uuid
15495
- description: Filter by specific chat message UUID
15496
15489
  - in: query
15497
15490
  name: file_extension
15498
15491
  schema:
@@ -15647,7 +15640,6 @@ paths:
15647
15640
  return a + b
15648
15641
  ```
15649
15642
  file_extension: py
15650
- chat_message: 550e8400-e29b-41d4-a716-446655440001
15651
15643
  llm_name: gpt-4
15652
15644
  llm_provider: openai
15653
15645
  date_created: '2024-01-15T10:30:00Z'
@@ -15655,6 +15647,8 @@ paths:
15655
15647
  metadata: {}
15656
15648
  username: johndoe
15657
15649
  session_id: 550e8400-e29b-41d4-a716-446655440000
15650
+ current_version_number: 2
15651
+ version_count: 3
15658
15652
  summary: Artifact Detail Response
15659
15653
  description: ''
15660
15654
  '401':
@@ -15697,7 +15691,7 @@ paths:
15697
15691
  description: ''
15698
15692
  put:
15699
15693
  operationId: ai_mentor_orgs_users_artifacts_update
15700
- description: Update all fields of an artifact (excluding chat_message reference).
15694
+ description: Update all fields of an artifact (excluding session reference).
15701
15695
  summary: Update an artifact
15702
15696
  parameters:
15703
15697
  - in: path
@@ -15850,11 +15844,6 @@ paths:
15850
15844
  description: Retrieve all versions for a specific artifact.
15851
15845
  summary: List artifact versions
15852
15846
  parameters:
15853
- - in: query
15854
- name: chat_message_id
15855
- schema:
15856
- type: string
15857
- format: uuid
15858
15847
  - in: query
15859
15848
  name: file_extension
15860
15849
  schema:
@@ -15930,7 +15919,47 @@ paths:
15930
15919
  content:
15931
15920
  application/json:
15932
15921
  schema:
15933
- $ref: '#/components/schemas/PaginatedArtifactVersionListList'
15922
+ $ref: '#/components/schemas/PaginatedArtifactVersionList'
15923
+ examples:
15924
+ ArtifactVersionsListResponse:
15925
+ value:
15926
+ count: 123
15927
+ next: http://api.example.org/accounts/?page=4
15928
+ previous: http://api.example.org/accounts/?page=2
15929
+ results:
15930
+ - - id: 3
15931
+ artifact:
15932
+ id: 1
15933
+ title: Python Calculator
15934
+ content: |-
15935
+ def add(a, b):
15936
+ return a + b
15937
+ file_extension: py
15938
+ llm_name: gpt-4
15939
+ llm_provider: openai
15940
+ date_created: '2024-01-15T10:30:00Z'
15941
+ date_updated: '2024-01-15T11:00:00Z'
15942
+ metadata: {}
15943
+ username: johndoe
15944
+ session_id: 550e8400-e29b-41d4-a716-446655440000
15945
+ current_version_number: 2
15946
+ version_count: 2
15947
+ title: Python Calculator
15948
+ content: |-
15949
+ def add(a, b):
15950
+ return a + b
15951
+
15952
+ def subtract(a, b):
15953
+ return a - b
15954
+ session_id: 550e8400-e29b-41d4-a716-446655440000
15955
+ content_length: 68
15956
+ is_current: true
15957
+ chat_message: null
15958
+ version_number: 2
15959
+ date_created: '2024-01-15T11:00:00Z'
15960
+ created_by: llm
15961
+ change_summary: Added subtract function
15962
+ summary: Artifact Versions List Response
15934
15963
  description: ''
15935
15964
  '404':
15936
15965
  description: Artifact not found
@@ -15972,6 +16001,42 @@ paths:
15972
16001
  application/json:
15973
16002
  schema:
15974
16003
  $ref: '#/components/schemas/ArtifactVersion'
16004
+ examples:
16005
+ ArtifactVersionDetailResponse:
16006
+ value:
16007
+ id: 3
16008
+ artifact:
16009
+ id: 1
16010
+ title: Python Calculator
16011
+ content: |-
16012
+ def add(a, b):
16013
+ return a + b
16014
+ file_extension: py
16015
+ llm_name: gpt-4
16016
+ llm_provider: openai
16017
+ date_created: '2024-01-15T10:30:00Z'
16018
+ date_updated: '2024-01-15T11:00:00Z'
16019
+ metadata: {}
16020
+ username: johndoe
16021
+ session_id: 550e8400-e29b-41d4-a716-446655440000
16022
+ current_version_number: 2
16023
+ version_count: 2
16024
+ title: Python Calculator
16025
+ content: |-
16026
+ def add(a, b):
16027
+ return a + b
16028
+
16029
+ def subtract(a, b):
16030
+ return a - b
16031
+ session_id: 550e8400-e29b-41d4-a716-446655440000
16032
+ content_length: 68
16033
+ is_current: true
16034
+ chat_message: null
16035
+ version_number: 2
16036
+ date_created: '2024-01-15T11:00:00Z'
16037
+ created_by: llm
16038
+ change_summary: Added subtract function
16039
+ summary: Artifact Version Detail Response
15975
16040
  description: ''
15976
16041
  '404':
15977
16042
  description: Version not found
@@ -21907,6 +21972,207 @@ paths:
21907
21972
  description: ''
21908
21973
  '404':
21909
21974
  description: User not found
21975
+ /api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/:
21976
+ get:
21977
+ operationId: ai_mentor_orgs_users_google_agents_list
21978
+ description: Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
21979
+ parameters:
21980
+ - in: path
21981
+ name: org
21982
+ schema:
21983
+ type: string
21984
+ required: true
21985
+ - name: page
21986
+ required: false
21987
+ in: query
21988
+ description: A page number within the paginated result set.
21989
+ schema:
21990
+ type: integer
21991
+ - name: page_size
21992
+ required: false
21993
+ in: query
21994
+ description: Number of results to return per page.
21995
+ schema:
21996
+ type: integer
21997
+ - in: path
21998
+ name: user_id
21999
+ schema:
22000
+ type: string
22001
+ required: true
22002
+ tags:
22003
+ - ai-mentor
22004
+ security:
22005
+ - PlatformApiKeyAuthentication: []
22006
+ responses:
22007
+ '200':
22008
+ content:
22009
+ application/json:
22010
+ schema:
22011
+ $ref: '#/components/schemas/PaginatedGoogleAgentDetailList'
22012
+ description: ''
22013
+ post:
22014
+ operationId: ai_mentor_orgs_users_google_agents_create
22015
+ description: |-
22016
+ Sample Request
22017
+ ```
22018
+ {"name": "my agent", "instruction": "you are a helpful agent",}
22019
+ ```
22020
+ parameters:
22021
+ - in: path
22022
+ name: org
22023
+ schema:
22024
+ type: string
22025
+ required: true
22026
+ - in: path
22027
+ name: user_id
22028
+ schema:
22029
+ type: string
22030
+ required: true
22031
+ tags:
22032
+ - ai-mentor
22033
+ requestBody:
22034
+ content:
22035
+ application/json:
22036
+ schema:
22037
+ $ref: '#/components/schemas/GoogleAgentDetail'
22038
+ application/scim+json:
22039
+ schema:
22040
+ $ref: '#/components/schemas/GoogleAgentDetail'
22041
+ application/x-www-form-urlencoded:
22042
+ schema:
22043
+ $ref: '#/components/schemas/GoogleAgentDetail'
22044
+ multipart/form-data:
22045
+ schema:
22046
+ $ref: '#/components/schemas/GoogleAgentDetail'
22047
+ '*/*':
22048
+ schema:
22049
+ $ref: '#/components/schemas/GoogleAgentDetail'
22050
+ required: true
22051
+ security:
22052
+ - PlatformApiKeyAuthentication: []
22053
+ responses:
22054
+ '200':
22055
+ content:
22056
+ application/json:
22057
+ schema:
22058
+ $ref: '#/components/schemas/GoogleAgentDetail'
22059
+ description: ''
22060
+ /api/ai-mentor/orgs/{org}/users/{user_id}/google-agents/{unique_id}/:
22061
+ get:
22062
+ operationId: ai_mentor_orgs_users_google_agents_retrieve
22063
+ description: Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
22064
+ parameters:
22065
+ - in: path
22066
+ name: org
22067
+ schema:
22068
+ type: string
22069
+ required: true
22070
+ - in: path
22071
+ name: unique_id
22072
+ schema:
22073
+ type: string
22074
+ required: true
22075
+ - in: path
22076
+ name: user_id
22077
+ schema:
22078
+ type: string
22079
+ required: true
22080
+ tags:
22081
+ - ai-mentor
22082
+ security:
22083
+ - PlatformApiKeyAuthentication: []
22084
+ responses:
22085
+ '200':
22086
+ content:
22087
+ application/json:
22088
+ schema:
22089
+ $ref: '#/components/schemas/GoogleAgentDetail'
22090
+ description: ''
22091
+ patch:
22092
+ operationId: ai_mentor_orgs_users_google_agents_partial_update
22093
+ description: |-
22094
+ Mainly used to update the sub agent list.
22095
+
22096
+ Sample request:
22097
+ ```
22098
+ {
22099
+ "sub_agents": [
22100
+ "adc4bf84-c174-47e1-b11c-7713ef2dcd89",
22101
+ "3fb5806d-3be1-4bfd-bcb0-a48558465644",
22102
+ "339e44cd-6084-4530-be70-ac2a83759fb6"
22103
+ ]
22104
+ }
22105
+ ```
22106
+ parameters:
22107
+ - in: path
22108
+ name: org
22109
+ schema:
22110
+ type: string
22111
+ required: true
22112
+ - in: path
22113
+ name: unique_id
22114
+ schema:
22115
+ type: string
22116
+ required: true
22117
+ - in: path
22118
+ name: user_id
22119
+ schema:
22120
+ type: string
22121
+ required: true
22122
+ tags:
22123
+ - ai-mentor
22124
+ requestBody:
22125
+ content:
22126
+ application/json:
22127
+ schema:
22128
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22129
+ application/scim+json:
22130
+ schema:
22131
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22132
+ application/x-www-form-urlencoded:
22133
+ schema:
22134
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22135
+ multipart/form-data:
22136
+ schema:
22137
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22138
+ '*/*':
22139
+ schema:
22140
+ $ref: '#/components/schemas/PatchedGoogleAgentDetail'
22141
+ security:
22142
+ - PlatformApiKeyAuthentication: []
22143
+ responses:
22144
+ '200':
22145
+ content:
22146
+ application/json:
22147
+ schema:
22148
+ $ref: '#/components/schemas/GoogleAgentDetail'
22149
+ description: ''
22150
+ delete:
22151
+ operationId: ai_mentor_orgs_users_google_agents_destroy
22152
+ description: Mixin that includes the StudentTokenAuthentication and IsPlatformAdmin
22153
+ parameters:
22154
+ - in: path
22155
+ name: org
22156
+ schema:
22157
+ type: string
22158
+ required: true
22159
+ - in: path
22160
+ name: unique_id
22161
+ schema:
22162
+ type: string
22163
+ required: true
22164
+ - in: path
22165
+ name: user_id
22166
+ schema:
22167
+ type: string
22168
+ required: true
22169
+ tags:
22170
+ - ai-mentor
22171
+ security:
22172
+ - PlatformApiKeyAuthentication: []
22173
+ responses:
22174
+ '204':
22175
+ description: No response body
21910
22176
  /api/ai-mentor/orgs/{org}/users/{user_id}/mcp-server-connections/:
21911
22177
  get:
21912
22178
  operationId: ai_mentor_orgs_users_mcp_server_connections_list
@@ -29268,23 +29534,11 @@ paths:
29268
29534
  description: ''
29269
29535
  '404':
29270
29536
  description: Session not found or does not belong to user
29271
- /api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shell-logs/:
29537
+ /api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shared/:
29272
29538
  get:
29273
- operationId: ai_mentor_orgs_users_sessions_shell_logs_retrieve
29274
- description: |-
29275
- Retrieve shell logs for a specific session.
29276
-
29277
- Args:
29278
- request: The HTTP request.
29279
- org: The organization/tenant identifier.
29280
- user_id: The ID of the user who owns the session.
29281
- session_id: The ID of the session to retrieve logs for.
29282
-
29283
- Returns:
29284
- Response: The shell logs for the specified session.
29285
-
29286
- Raises:
29287
- NotFound: If the specified session does not exist.
29539
+ operationId: ai_mentor_orgs_users_sessions_shared_retrieve
29540
+ description: Fetches shared chat messages for a specific session.
29541
+ summary: Retrieve Shared Messages
29288
29542
  parameters:
29289
29543
  - in: path
29290
29544
  name: org
@@ -29304,37 +29558,80 @@ paths:
29304
29558
  required: true
29305
29559
  tags:
29306
29560
  - ai-mentor
29307
- security:
29308
- - PlatformApiKeyAuthentication: []
29309
29561
  responses:
29310
29562
  '200':
29311
29563
  content:
29312
29564
  application/json:
29313
29565
  schema:
29314
- $ref: '#/components/schemas/ShellLogs'
29315
- examples:
29316
- ShellLogsResponseExample:
29317
- value:
29318
- logs: |-
29319
- $ ls -la
29320
- total 24
29321
- drwxr-xr-x 2 user user 4096 Jan 1 12:00 .
29322
- drwxr-xr-x 10 user user 4096 Jan 1 12:00 ..
29323
- -rw-r--r-- 1 user user 123 Jan 1 12:00 file.txt
29324
- summary: Shell Logs Response Example
29566
+ $ref: '#/components/schemas/MessageView'
29325
29567
  description: ''
29326
- '404':
29327
- description: Session not found
29328
- /api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/suggestion:
29568
+ /api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shell-logs/:
29329
29569
  get:
29330
- operationId: ai_mentor_orgs_users_sessions_suggestion_list
29331
- description: Retrieve a list of related questions based on a chat session.
29570
+ operationId: ai_mentor_orgs_users_sessions_shell_logs_retrieve
29571
+ description: |-
29572
+ Retrieve shell logs for a specific session.
29573
+
29574
+ Args:
29575
+ request: The HTTP request.
29576
+ org: The organization/tenant identifier.
29577
+ user_id: The ID of the user who owns the session.
29578
+ session_id: The ID of the session to retrieve logs for.
29579
+
29580
+ Returns:
29581
+ Response: The shell logs for the specified session.
29582
+
29583
+ Raises:
29584
+ NotFound: If the specified session does not exist.
29332
29585
  parameters:
29333
- - in: query
29334
- name: num_questions
29335
- schema:
29336
- type: integer
29337
- default: 3
29586
+ - in: path
29587
+ name: org
29588
+ schema:
29589
+ type: string
29590
+ required: true
29591
+ - in: path
29592
+ name: session_id
29593
+ schema:
29594
+ type: string
29595
+ format: uuid
29596
+ required: true
29597
+ - in: path
29598
+ name: user_id
29599
+ schema:
29600
+ type: string
29601
+ required: true
29602
+ tags:
29603
+ - ai-mentor
29604
+ security:
29605
+ - PlatformApiKeyAuthentication: []
29606
+ responses:
29607
+ '200':
29608
+ content:
29609
+ application/json:
29610
+ schema:
29611
+ $ref: '#/components/schemas/ShellLogs'
29612
+ examples:
29613
+ ShellLogsResponseExample:
29614
+ value:
29615
+ logs: |-
29616
+ $ ls -la
29617
+ total 24
29618
+ drwxr-xr-x 2 user user 4096 Jan 1 12:00 .
29619
+ drwxr-xr-x 10 user user 4096 Jan 1 12:00 ..
29620
+ -rw-r--r-- 1 user user 123 Jan 1 12:00 file.txt
29621
+ summary: Shell Logs Response Example
29622
+ description: ''
29623
+ '404':
29624
+ description: Session not found
29625
+ /api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/suggestion:
29626
+ get:
29627
+ operationId: ai_mentor_orgs_users_sessions_suggestion_list
29628
+ description: Retrieve a list of related questions based on a chat session.
29629
+ parameters:
29630
+ - in: query
29631
+ name: num_questions
29632
+ schema:
29633
+ type: integer
29634
+ default: 3
29338
29635
  - in: path
29339
29636
  name: org
29340
29637
  schema:
@@ -33619,6 +33916,12 @@ paths:
33619
33916
  type: string
33620
33917
  minLength: 1
33621
33918
  description: Filter mentors created by specific user (for personalized search)
33919
+ - in: query
33920
+ name: featured
33921
+ schema:
33922
+ type: boolean
33923
+ nullable: true
33924
+ description: Filter by featured status (true/false)
33622
33925
  - in: query
33623
33926
  name: include_main_public_mentors
33624
33927
  schema:
@@ -33658,6 +33961,13 @@ paths:
33658
33961
  type: string
33659
33962
  minLength: 1
33660
33963
  description: Search query for mentors
33964
+ - in: query
33965
+ name: starred
33966
+ schema:
33967
+ type: boolean
33968
+ nullable: true
33969
+ description: Filter by starred status (true/false) - only for authenticated
33970
+ users
33661
33971
  - in: query
33662
33972
  name: subjects
33663
33973
  schema:
@@ -33670,7 +33980,7 @@ paths:
33670
33980
  type: string
33671
33981
  minLength: 1
33672
33982
  description: Tenant key(s) (CSV). Can be used as a filter for multiple tenants,
33673
- or as an alias for 'platform_key' in authenticated requests (backward compatibility).
33983
+ or as an alias for 'platform_key' (backward compatibility).
33674
33984
  - in: query
33675
33985
  name: types
33676
33986
  schema:
@@ -33889,18 +34199,23 @@ paths:
33889
34199
  type: string
33890
34200
  minLength: 1
33891
34201
  description: Mentor category filter
34202
+ - in: query
34203
+ name: featured
34204
+ schema:
34205
+ type: boolean
34206
+ nullable: true
34207
+ description: Filter by featured status (true/false)
33892
34208
  - in: query
33893
34209
  name: limit
33894
34210
  schema:
33895
34211
  type: integer
33896
34212
  description: Number of results per page
33897
34213
  - in: query
33898
- name: llm_providers
34214
+ name: llm
33899
34215
  schema:
33900
- type: array
33901
- items:
33902
- type: string
33903
- description: Filter by LLM provider
34216
+ type: string
34217
+ minLength: 1
34218
+ description: LLM provider filter (frontend uses 'llm', backend maps to 'llm_provider')
33904
34219
  - in: query
33905
34220
  name: offset
33906
34221
  schema:
@@ -33943,6 +34258,12 @@ paths:
33943
34258
  schema:
33944
34259
  type: boolean
33945
34260
  description: Include facet data in response
34261
+ - in: query
34262
+ name: starred
34263
+ schema:
34264
+ type: boolean
34265
+ nullable: true
34266
+ description: Filter by starred status (true/false)
33946
34267
  - in: query
33947
34268
  name: tags
33948
34269
  schema:
@@ -53984,9 +54305,242 @@ paths:
53984
54305
  responses:
53985
54306
  '200':
53986
54307
  description: No response body
53987
- /api/core/user_groups/:
54308
+ /api/core/user-groups/:
54309
+ get:
54310
+ operationId: core_user_groups_list
54311
+ description: Retrieve a list of UserGroups. Can be filtered by platform_key,
54312
+ name, and include_users.
54313
+ summary: List UserGroups
54314
+ parameters:
54315
+ - in: query
54316
+ name: include_users
54317
+ schema:
54318
+ type: boolean
54319
+ default: false
54320
+ description: 'Include user information in response (default: false for performance)'
54321
+ - in: query
54322
+ name: name
54323
+ schema:
54324
+ type: string
54325
+ minLength: 1
54326
+ description: Fuzzy search by group name
54327
+ - name: page
54328
+ required: false
54329
+ in: query
54330
+ description: A page number within the paginated result set.
54331
+ schema:
54332
+ type: integer
54333
+ - name: page_size
54334
+ required: false
54335
+ in: query
54336
+ description: Number of results to return per page.
54337
+ schema:
54338
+ type: integer
54339
+ - in: query
54340
+ name: platform_key
54341
+ schema:
54342
+ type: string
54343
+ minLength: 1
54344
+ description: Filter groups by platform key
54345
+ - in: query
54346
+ name: with_permissions
54347
+ schema:
54348
+ type: boolean
54349
+ default: false
54350
+ description: Include object-level permissions in response
54351
+ tags:
54352
+ - core
54353
+ security:
54354
+ - PlatformApiKeyAuthentication: []
54355
+ responses:
54356
+ '200':
54357
+ content:
54358
+ application/json:
54359
+ schema:
54360
+ $ref: '#/components/schemas/PaginatedUserGroupList'
54361
+ description: ''
54362
+ post:
54363
+ operationId: core_user_groups_create
54364
+ description: Create a new UserGroup for a platform. Users can be assigned during
54365
+ creation.
54366
+ summary: Create UserGroup
54367
+ tags:
54368
+ - core
54369
+ requestBody:
54370
+ content:
54371
+ application/json:
54372
+ schema:
54373
+ $ref: '#/components/schemas/UserGroup'
54374
+ application/scim+json:
54375
+ schema:
54376
+ $ref: '#/components/schemas/UserGroup'
54377
+ application/x-www-form-urlencoded:
54378
+ schema:
54379
+ $ref: '#/components/schemas/UserGroup'
54380
+ multipart/form-data:
54381
+ schema:
54382
+ $ref: '#/components/schemas/UserGroup'
54383
+ '*/*':
54384
+ schema:
54385
+ $ref: '#/components/schemas/UserGroup'
54386
+ required: true
54387
+ security:
54388
+ - PlatformApiKeyAuthentication: []
54389
+ responses:
54390
+ '201':
54391
+ content:
54392
+ application/json:
54393
+ schema:
54394
+ $ref: '#/components/schemas/UserGroup'
54395
+ description: ''
54396
+ '400':
54397
+ description: |-
54398
+ Invalid input data. Common errors include:
54399
+ - Users do not belong to the specified platform
54400
+ - Invalid user IDs provided
54401
+ /api/core/user-groups/{id}/:
53988
54402
  get:
53989
54403
  operationId: core_user_groups_retrieve
54404
+ description: Retrieve details of a specific UserGroup including assigned users.
54405
+ summary: Retrieve UserGroup
54406
+ parameters:
54407
+ - in: path
54408
+ name: id
54409
+ schema:
54410
+ type: integer
54411
+ description: A unique integer value identifying this User Group.
54412
+ required: true
54413
+ tags:
54414
+ - core
54415
+ security:
54416
+ - PlatformApiKeyAuthentication: []
54417
+ responses:
54418
+ '200':
54419
+ content:
54420
+ application/json:
54421
+ schema:
54422
+ $ref: '#/components/schemas/UserGroup'
54423
+ description: ''
54424
+ '404':
54425
+ description: UserGroup not found
54426
+ put:
54427
+ operationId: core_user_groups_update
54428
+ description: Update an existing UserGroup. Platform validation applies for user
54429
+ assignments.
54430
+ summary: Update UserGroup
54431
+ parameters:
54432
+ - in: path
54433
+ name: id
54434
+ schema:
54435
+ type: integer
54436
+ description: A unique integer value identifying this User Group.
54437
+ required: true
54438
+ tags:
54439
+ - core
54440
+ requestBody:
54441
+ content:
54442
+ application/json:
54443
+ schema:
54444
+ $ref: '#/components/schemas/UserGroup'
54445
+ application/scim+json:
54446
+ schema:
54447
+ $ref: '#/components/schemas/UserGroup'
54448
+ application/x-www-form-urlencoded:
54449
+ schema:
54450
+ $ref: '#/components/schemas/UserGroup'
54451
+ multipart/form-data:
54452
+ schema:
54453
+ $ref: '#/components/schemas/UserGroup'
54454
+ '*/*':
54455
+ schema:
54456
+ $ref: '#/components/schemas/UserGroup'
54457
+ required: true
54458
+ security:
54459
+ - PlatformApiKeyAuthentication: []
54460
+ responses:
54461
+ '200':
54462
+ content:
54463
+ application/json:
54464
+ schema:
54465
+ $ref: '#/components/schemas/UserGroup'
54466
+ description: ''
54467
+ '400':
54468
+ description: |-
54469
+ Invalid input data. Common errors include:
54470
+ - Users do not belong to the specified platform
54471
+ - Invalid user IDs provided
54472
+ '404':
54473
+ description: UserGroup not found
54474
+ patch:
54475
+ operationId: core_user_groups_partial_update
54476
+ description: Partially update an existing UserGroup. Platform validation applies
54477
+ for user assignments.
54478
+ summary: Partially update UserGroup
54479
+ parameters:
54480
+ - in: path
54481
+ name: id
54482
+ schema:
54483
+ type: integer
54484
+ description: A unique integer value identifying this User Group.
54485
+ required: true
54486
+ tags:
54487
+ - core
54488
+ requestBody:
54489
+ content:
54490
+ application/json:
54491
+ schema:
54492
+ $ref: '#/components/schemas/PatchedUserGroup'
54493
+ application/scim+json:
54494
+ schema:
54495
+ $ref: '#/components/schemas/PatchedUserGroup'
54496
+ application/x-www-form-urlencoded:
54497
+ schema:
54498
+ $ref: '#/components/schemas/PatchedUserGroup'
54499
+ multipart/form-data:
54500
+ schema:
54501
+ $ref: '#/components/schemas/PatchedUserGroup'
54502
+ '*/*':
54503
+ schema:
54504
+ $ref: '#/components/schemas/PatchedUserGroup'
54505
+ security:
54506
+ - PlatformApiKeyAuthentication: []
54507
+ responses:
54508
+ '200':
54509
+ content:
54510
+ application/json:
54511
+ schema:
54512
+ $ref: '#/components/schemas/UserGroup'
54513
+ description: ''
54514
+ '400':
54515
+ description: |-
54516
+ Invalid input data. Common errors include:
54517
+ - Users do not belong to the specified platform
54518
+ - Invalid user IDs provided
54519
+ '404':
54520
+ description: UserGroup not found
54521
+ delete:
54522
+ operationId: core_user_groups_destroy
54523
+ description: Delete a UserGroup and all associated user group links.
54524
+ summary: Delete UserGroup
54525
+ parameters:
54526
+ - in: path
54527
+ name: id
54528
+ schema:
54529
+ type: integer
54530
+ description: A unique integer value identifying this User Group.
54531
+ required: true
54532
+ tags:
54533
+ - core
54534
+ security:
54535
+ - PlatformApiKeyAuthentication: []
54536
+ responses:
54537
+ '204':
54538
+ description: UserGroup deleted successfully
54539
+ '404':
54540
+ description: UserGroup not found
54541
+ /api/core/user_groups/:
54542
+ get:
54543
+ operationId: core_user_groups_retrieve_2
53990
54544
  description: Show (active) user groups associated with a platform
53991
54545
  tags:
53992
54546
  - core
@@ -53996,7 +54550,7 @@ paths:
53996
54550
  '200':
53997
54551
  description: No response body
53998
54552
  post:
53999
- operationId: core_user_groups_create
54553
+ operationId: core_user_groups_create_2
54000
54554
  description: Create/update a user group
54001
54555
  tags:
54002
54556
  - core
@@ -54006,7 +54560,7 @@ paths:
54006
54560
  '200':
54007
54561
  description: No response body
54008
54562
  delete:
54009
- operationId: core_user_groups_destroy
54563
+ operationId: core_user_groups_destroy_2
54010
54564
  description: Delete user group
54011
54565
  tags:
54012
54566
  - core
@@ -69125,10 +69679,9 @@ components:
69125
69679
  all_mentors:
69126
69680
  type: boolean
69127
69681
  default: false
69128
- description: If true, return all mentors in the platform. If false (default),
69129
- return only mentors owned by the user's email.
69130
- required:
69131
- - email
69682
+ description: If true, return all mentors in the platform (ignoring email
69683
+ if present). If false (default), return only mentors owned by the user's
69684
+ email.
69132
69685
  AccessibleMentorsByEmailResponse:
69133
69686
  type: object
69134
69687
  description: Response serializer for accessible mentors by email.
@@ -69143,7 +69696,8 @@ components:
69143
69696
  user_id:
69144
69697
  type: integer
69145
69698
  readOnly: true
69146
- description: The user ID that mentors belong to
69699
+ nullable: true
69700
+ description: The user ID that mentors belong to when all_mentors is False
69147
69701
  required:
69148
69702
  - mentors
69149
69703
  - user_id
@@ -69446,15 +70000,13 @@ components:
69446
70000
  maxLength: 255
69447
70001
  content:
69448
70002
  type: string
69449
- description: The markdown-styled content of the artifact
70003
+ description: Content of the artifact
70004
+ readOnly: true
69450
70005
  file_extension:
69451
70006
  type: string
69452
70007
  readOnly: true
69453
70008
  description: The extension of the file for the artifact. eg. `py`, `md`,
69454
70009
  `html`, `json`, `csv`, etc
69455
- chat_message:
69456
- type: integer
69457
- readOnly: true
69458
70010
  llm_name:
69459
70011
  type: string
69460
70012
  readOnly: true
@@ -69478,7 +70030,7 @@ components:
69478
70030
  session_id:
69479
70031
  type: string
69480
70032
  format: uuid
69481
- description: UUID of the session that generated this artifact
70033
+ nullable: true
69482
70034
  readOnly: true
69483
70035
  current_version_number:
69484
70036
  type: integer
@@ -69489,7 +70041,6 @@ components:
69489
70041
  description: Total number of versions for this artifact
69490
70042
  readOnly: true
69491
70043
  required:
69492
- - chat_message
69493
70044
  - content
69494
70045
  - current_version_number
69495
70046
  - date_created
@@ -69555,7 +70106,7 @@ components:
69555
70106
  session_id:
69556
70107
  type: string
69557
70108
  format: uuid
69558
- description: UUID of the session that generated this artifact
70109
+ nullable: true
69559
70110
  readOnly: true
69560
70111
  content_length:
69561
70112
  type: integer
@@ -69583,58 +70134,31 @@ components:
69583
70134
  type: integer
69584
70135
  readOnly: true
69585
70136
  artifact:
69586
- type: integer
70137
+ $ref: '#/components/schemas/Artifact'
70138
+ title:
70139
+ type: string
70140
+ description: Get the title of the artifact version.
69587
70141
  readOnly: true
69588
- description: The artifact this version belongs to
69589
70142
  content:
69590
70143
  type: string
69591
70144
  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:
70145
+ session_id:
69611
70146
  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
70147
+ format: uuid
70148
+ description: UUID of the session that generated this artifact version
69629
70149
  readOnly: true
69630
- artifact:
70150
+ content_length:
69631
70151
  type: integer
70152
+ description: Length of the version content in characters
69632
70153
  readOnly: true
69633
- description: The artifact this version belongs to
69634
70154
  is_current:
69635
70155
  type: boolean
69636
70156
  readOnly: true
69637
70157
  description: Whether this version is the current/active version
70158
+ chat_message:
70159
+ type: integer
70160
+ readOnly: true
70161
+ nullable: true
69638
70162
  version_number:
69639
70163
  type: integer
69640
70164
  readOnly: true
@@ -69647,24 +70171,22 @@ components:
69647
70171
  description: When this version was created
69648
70172
  created_by:
69649
70173
  type: string
69650
- readOnly: true
69651
70174
  description: Identifier for who created this version (e.g., 'llm', 'user:username')
70175
+ maxLength: 100
69652
70176
  change_summary:
69653
70177
  type: string
69654
- readOnly: true
69655
70178
  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
70179
+ maxLength: 500
69660
70180
  required:
69661
70181
  - artifact
69662
- - change_summary
70182
+ - chat_message
70183
+ - content
69663
70184
  - content_length
69664
- - created_by
69665
70185
  - date_created
69666
70186
  - id
69667
70187
  - is_current
70188
+ - session_id
70189
+ - title
69668
70190
  - version_number
69669
70191
  Assertion:
69670
70192
  type: object
@@ -70315,6 +70837,11 @@ components:
70315
70837
  $ref: '#/components/schemas/SttProviderEnum'
70316
70838
  llm_provider:
70317
70839
  $ref: '#/components/schemas/LlmProviderEnum'
70840
+ language:
70841
+ type: string
70842
+ description: Language code for TTS, STT, and LLM (e.g., 'en', 'en-US', 'es',
70843
+ 'fr'). Defaults to 'en' (English).
70844
+ maxLength: 10
70318
70845
  use_function_calling_for_rag:
70319
70846
  type: boolean
70320
70847
  description: Whether to use function calls in the agent or force RAG calls
@@ -70465,7 +70992,12 @@ components:
70465
70992
  nullable: true
70466
70993
  files:
70467
70994
  readOnly: true
70995
+ artifact_versions:
70996
+ type: array
70997
+ items:
70998
+ $ref: '#/components/schemas/ArtifactVersion'
70468
70999
  required:
71000
+ - artifact_versions
70469
71001
  - feedback
70470
71002
  - files
70471
71003
  - id
@@ -70562,7 +71094,12 @@ components:
70562
71094
  $ref: '#/components/schemas/ToolResponse'
70563
71095
  enable_artifacts:
70564
71096
  type: boolean
71097
+ artifacts:
71098
+ type: array
71099
+ items:
71100
+ $ref: '#/components/schemas/Artifact'
70565
71101
  required:
71102
+ - artifacts
70566
71103
  - session_id
70567
71104
  - tools
70568
71105
  CheckDocumentTrainingStatus:
@@ -71478,6 +72015,8 @@ components:
71478
72015
  type: boolean
71479
72016
  enable_artifacts:
71480
72017
  type: boolean
72018
+ is_shared:
72019
+ type: boolean
71481
72020
  llm_name:
71482
72021
  type: string
71483
72022
  nullable: true
@@ -71491,6 +72030,12 @@ components:
71491
72030
  is_conversation:
71492
72031
  type: boolean
71493
72032
  description: True if the session has both user and AI messages
72033
+ message_count_human:
72034
+ type: integer
72035
+ description: Count of human messages in this session
72036
+ message_count_ai:
72037
+ type: integer
72038
+ description: Count of AI messages in this session
71494
72039
  tools:
71495
72040
  type: array
71496
72041
  items:
@@ -74544,6 +75089,54 @@ components:
74544
75089
  - previous
74545
75090
  - results
74546
75091
  - total_pages
75092
+ GoogleAgentDetail:
75093
+ type: object
75094
+ properties:
75095
+ id:
75096
+ type: integer
75097
+ readOnly: true
75098
+ sub_agents:
75099
+ type: string
75100
+ readOnly: true
75101
+ platform:
75102
+ type: string
75103
+ readOnly: true
75104
+ unique_id:
75105
+ type: string
75106
+ format: uuid
75107
+ model:
75108
+ type: string
75109
+ name:
75110
+ type: string
75111
+ description:
75112
+ type: string
75113
+ instruction:
75114
+ type: string
75115
+ output_key:
75116
+ type: string
75117
+ nullable: true
75118
+ inserted_at:
75119
+ type: string
75120
+ format: date-time
75121
+ readOnly: true
75122
+ updated_at:
75123
+ type: string
75124
+ format: date-time
75125
+ readOnly: true
75126
+ created_by:
75127
+ type: integer
75128
+ description: edX user ID
75129
+ nullable: true
75130
+ required:
75131
+ - description
75132
+ - id
75133
+ - inserted_at
75134
+ - instruction
75135
+ - model
75136
+ - name
75137
+ - platform
75138
+ - sub_agents
75139
+ - updated_at
74547
75140
  GooglePayAccountResponse:
74548
75141
  type: object
74549
75142
  properties:
@@ -75721,10 +76314,12 @@ components:
75721
76314
  enum:
75722
76315
  - openai
75723
76316
  - google
76317
+ - azure_openai
75724
76318
  type: string
75725
76319
  description: |-
75726
76320
  * `openai` - Openai
75727
76321
  * `google` - Google
76322
+ * `azure_openai` - Azure Openai
75728
76323
  LtiKey:
75729
76324
  type: object
75730
76325
  properties:
@@ -78303,6 +78898,8 @@ components:
78303
78898
  type: integer
78304
78899
  title:
78305
78900
  type: string
78901
+ is_shared:
78902
+ type: boolean
78306
78903
  proactive_prompt:
78307
78904
  type: string
78308
78905
  mentor_unique_id:
@@ -78318,6 +78915,7 @@ components:
78318
78915
  items: {}
78319
78916
  required:
78320
78917
  - count
78918
+ - is_shared
78321
78919
  - mentor_unique_id
78322
78920
  - next
78323
78921
  - platform_key
@@ -78339,6 +78937,8 @@ components:
78339
78937
  description: List of tools slugs to use
78340
78938
  enable_artifacts:
78341
78939
  type: boolean
78940
+ is_shared:
78941
+ type: boolean
78342
78942
  MessageViewUpdatResponse:
78343
78943
  type: object
78344
78944
  properties:
@@ -79361,7 +79961,7 @@ components:
79361
79961
  type: array
79362
79962
  items:
79363
79963
  $ref: '#/components/schemas/ArtifactList'
79364
- PaginatedArtifactVersionListList:
79964
+ PaginatedArtifactVersionList:
79365
79965
  type: object
79366
79966
  required:
79367
79967
  - count
@@ -79383,7 +79983,7 @@ components:
79383
79983
  results:
79384
79984
  type: array
79385
79985
  items:
79386
- $ref: '#/components/schemas/ArtifactVersionList'
79986
+ $ref: '#/components/schemas/ArtifactVersion'
79387
79987
  PaginatedAssertionsResponse:
79388
79988
  type: object
79389
79989
  description: |-
@@ -79795,6 +80395,29 @@ components:
79795
80395
  type: array
79796
80396
  items:
79797
80397
  $ref: '#/components/schemas/EmailPromptList'
80398
+ PaginatedGoogleAgentDetailList:
80399
+ type: object
80400
+ required:
80401
+ - count
80402
+ - results
80403
+ properties:
80404
+ count:
80405
+ type: integer
80406
+ example: 123
80407
+ next:
80408
+ type: string
80409
+ nullable: true
80410
+ format: uri
80411
+ example: http://api.example.org/accounts/?page=4
80412
+ previous:
80413
+ type: string
80414
+ nullable: true
80415
+ format: uri
80416
+ example: http://api.example.org/accounts/?page=2
80417
+ results:
80418
+ type: array
80419
+ items:
80420
+ $ref: '#/components/schemas/GoogleAgentDetail'
79798
80421
  PaginatedHeygenMarketingVideoListList:
79799
80422
  type: object
79800
80423
  required:
@@ -80462,74 +81085,142 @@ components:
80462
81085
  results:
80463
81086
  type: array
80464
81087
  items:
80465
- $ref: '#/components/schemas/RbacRole'
80466
- PaginatedRetrieverDocumentEmbeddingList:
81088
+ $ref: '#/components/schemas/RbacRole'
81089
+ PaginatedRetrieverDocumentEmbeddingList:
81090
+ type: object
81091
+ required:
81092
+ - count
81093
+ - results
81094
+ properties:
81095
+ count:
81096
+ type: integer
81097
+ example: 123
81098
+ next:
81099
+ type: string
81100
+ nullable: true
81101
+ format: uri
81102
+ example: http://api.example.org/accounts/?offset=400&limit=100
81103
+ previous:
81104
+ type: string
81105
+ nullable: true
81106
+ format: uri
81107
+ example: http://api.example.org/accounts/?offset=200&limit=100
81108
+ results:
81109
+ type: array
81110
+ items:
81111
+ $ref: '#/components/schemas/RetrieverDocumentEmbedding'
81112
+ PaginatedSectionList:
81113
+ type: object
81114
+ required:
81115
+ - count
81116
+ - results
81117
+ properties:
81118
+ count:
81119
+ type: integer
81120
+ example: 123
81121
+ next:
81122
+ type: string
81123
+ nullable: true
81124
+ format: uri
81125
+ example: http://api.example.org/accounts/?page=4
81126
+ previous:
81127
+ type: string
81128
+ nullable: true
81129
+ format: uri
81130
+ example: http://api.example.org/accounts/?page=2
81131
+ results:
81132
+ type: array
81133
+ items:
81134
+ $ref: '#/components/schemas/Section'
81135
+ PaginatedSkill:
81136
+ type: object
81137
+ properties:
81138
+ next_page:
81139
+ type: string
81140
+ previous_page:
81141
+ type: string
81142
+ results:
81143
+ type: array
81144
+ items:
81145
+ $ref: '#/components/schemas/Skill'
81146
+ readOnly: true
81147
+ count:
81148
+ type: integer
81149
+ readOnly: true
81150
+ required:
81151
+ - count
81152
+ - next_page
81153
+ - previous_page
81154
+ - results
81155
+ PaginatedSubSectionList:
81156
+ type: object
81157
+ required:
81158
+ - count
81159
+ - results
81160
+ properties:
81161
+ count:
81162
+ type: integer
81163
+ example: 123
81164
+ next:
81165
+ type: string
81166
+ nullable: true
81167
+ format: uri
81168
+ example: http://api.example.org/accounts/?page=4
81169
+ previous:
81170
+ type: string
81171
+ nullable: true
81172
+ format: uri
81173
+ example: http://api.example.org/accounts/?page=2
81174
+ results:
81175
+ type: array
81176
+ items:
81177
+ $ref: '#/components/schemas/SubSection'
81178
+ PaginatedTicketMessageList:
81179
+ type: object
81180
+ required:
81181
+ - count
81182
+ - results
81183
+ properties:
81184
+ count:
81185
+ type: integer
81186
+ example: 123
81187
+ next:
81188
+ type: string
81189
+ nullable: true
81190
+ format: uri
81191
+ example: http://api.example.org/accounts/?page=4
81192
+ previous:
81193
+ type: string
81194
+ nullable: true
81195
+ format: uri
81196
+ example: http://api.example.org/accounts/?page=2
81197
+ results:
81198
+ type: array
81199
+ items:
81200
+ $ref: '#/components/schemas/TicketMessage'
81201
+ PaginatedTopicStatisticsResponse:
80467
81202
  type: object
80468
- required:
80469
- - count
80470
- - results
80471
81203
  properties:
80472
81204
  count:
80473
81205
  type: integer
80474
- example: 123
80475
81206
  next:
80476
81207
  type: string
80477
- nullable: true
80478
81208
  format: uri
80479
- example: http://api.example.org/accounts/?offset=400&limit=100
80480
- previous:
80481
- type: string
80482
81209
  nullable: true
80483
- format: uri
80484
- example: http://api.example.org/accounts/?offset=200&limit=100
80485
- results:
80486
- type: array
80487
- items:
80488
- $ref: '#/components/schemas/RetrieverDocumentEmbedding'
80489
- PaginatedSectionList:
80490
- type: object
80491
- required:
80492
- - count
80493
- - results
80494
- properties:
80495
- count:
80496
- type: integer
80497
- example: 123
80498
- next:
80499
- type: string
80500
- nullable: true
80501
- format: uri
80502
- example: http://api.example.org/accounts/?page=4
80503
81210
  previous:
80504
81211
  type: string
80505
- nullable: true
80506
81212
  format: uri
80507
- example: http://api.example.org/accounts/?page=2
80508
- results:
80509
- type: array
80510
- items:
80511
- $ref: '#/components/schemas/Section'
80512
- PaginatedSkill:
80513
- type: object
80514
- properties:
80515
- next_page:
80516
- type: string
80517
- previous_page:
80518
- type: string
81213
+ nullable: true
80519
81214
  results:
80520
81215
  type: array
80521
81216
  items:
80522
- $ref: '#/components/schemas/Skill'
80523
- readOnly: true
80524
- count:
80525
- type: integer
80526
- readOnly: true
81217
+ $ref: '#/components/schemas/TopicStatistics'
80527
81218
  required:
80528
81219
  - count
80529
- - next_page
80530
- - previous_page
81220
+ - next
81221
+ - previous
80531
81222
  - results
80532
- PaginatedSubSectionList:
81223
+ PaginatedTraceList:
80533
81224
  type: object
80534
81225
  required:
80535
81226
  - count
@@ -80542,17 +81233,17 @@ components:
80542
81233
  type: string
80543
81234
  nullable: true
80544
81235
  format: uri
80545
- example: http://api.example.org/accounts/?page=4
81236
+ example: http://api.example.org/accounts/?offset=400&limit=100
80546
81237
  previous:
80547
81238
  type: string
80548
81239
  nullable: true
80549
81240
  format: uri
80550
- example: http://api.example.org/accounts/?page=2
81241
+ example: http://api.example.org/accounts/?offset=200&limit=100
80551
81242
  results:
80552
81243
  type: array
80553
81244
  items:
80554
- $ref: '#/components/schemas/SubSection'
80555
- PaginatedTicketMessageList:
81245
+ $ref: '#/components/schemas/Trace'
81246
+ PaginatedTrainingList:
80556
81247
  type: object
80557
81248
  required:
80558
81249
  - count
@@ -80574,53 +81265,8 @@ components:
80574
81265
  results:
80575
81266
  type: array
80576
81267
  items:
80577
- $ref: '#/components/schemas/TicketMessage'
80578
- PaginatedTopicStatisticsResponse:
80579
- type: object
80580
- properties:
80581
- count:
80582
- type: integer
80583
- next:
80584
- type: string
80585
- format: uri
80586
- nullable: true
80587
- previous:
80588
- type: string
80589
- format: uri
80590
- nullable: true
80591
- results:
80592
- type: array
80593
- items:
80594
- $ref: '#/components/schemas/TopicStatistics'
80595
- required:
80596
- - count
80597
- - next
80598
- - previous
80599
- - results
80600
- PaginatedTraceList:
80601
- type: object
80602
- required:
80603
- - count
80604
- - results
80605
- properties:
80606
- count:
80607
- type: integer
80608
- example: 123
80609
- next:
80610
- type: string
80611
- nullable: true
80612
- format: uri
80613
- example: http://api.example.org/accounts/?offset=400&limit=100
80614
- previous:
80615
- type: string
80616
- nullable: true
80617
- format: uri
80618
- example: http://api.example.org/accounts/?offset=200&limit=100
80619
- results:
80620
- type: array
80621
- items:
80622
- $ref: '#/components/schemas/Trace'
80623
- PaginatedTrainingList:
81268
+ $ref: '#/components/schemas/Training'
81269
+ PaginatedUnitList:
80624
81270
  type: object
80625
81271
  required:
80626
81272
  - count
@@ -80642,8 +81288,8 @@ components:
80642
81288
  results:
80643
81289
  type: array
80644
81290
  items:
80645
- $ref: '#/components/schemas/Training'
80646
- PaginatedUnitList:
81291
+ $ref: '#/components/schemas/Unit'
81292
+ PaginatedUserAppList:
80647
81293
  type: object
80648
81294
  required:
80649
81295
  - count
@@ -80665,8 +81311,8 @@ components:
80665
81311
  results:
80666
81312
  type: array
80667
81313
  items:
80668
- $ref: '#/components/schemas/Unit'
80669
- PaginatedUserAppList:
81314
+ $ref: '#/components/schemas/UserApp'
81315
+ PaginatedUserEdxMemoryList:
80670
81316
  type: object
80671
81317
  required:
80672
81318
  - count
@@ -80688,8 +81334,8 @@ components:
80688
81334
  results:
80689
81335
  type: array
80690
81336
  items:
80691
- $ref: '#/components/schemas/UserApp'
80692
- PaginatedUserEdxMemoryList:
81337
+ $ref: '#/components/schemas/UserEdxMemory'
81338
+ PaginatedUserGroupList:
80693
81339
  type: object
80694
81340
  required:
80695
81341
  - count
@@ -80711,7 +81357,7 @@ components:
80711
81357
  results:
80712
81358
  type: array
80713
81359
  items:
80714
- $ref: '#/components/schemas/UserEdxMemory'
81360
+ $ref: '#/components/schemas/UserGroup'
80715
81361
  PaginatedUserLicense:
80716
81362
  type: object
80717
81363
  description: Response serializer for paginated user license list
@@ -80918,15 +81564,13 @@ components:
80918
81564
  maxLength: 255
80919
81565
  content:
80920
81566
  type: string
80921
- description: The markdown-styled content of the artifact
81567
+ description: Content of the artifact
81568
+ readOnly: true
80922
81569
  file_extension:
80923
81570
  type: string
80924
81571
  readOnly: true
80925
81572
  description: The extension of the file for the artifact. eg. `py`, `md`,
80926
81573
  `html`, `json`, `csv`, etc
80927
- chat_message:
80928
- type: integer
80929
- readOnly: true
80930
81574
  llm_name:
80931
81575
  type: string
80932
81576
  readOnly: true
@@ -80950,7 +81594,7 @@ components:
80950
81594
  session_id:
80951
81595
  type: string
80952
81596
  format: uuid
80953
- description: UUID of the session that generated this artifact
81597
+ nullable: true
80954
81598
  readOnly: true
80955
81599
  current_version_number:
80956
81600
  type: integer
@@ -81019,6 +81663,11 @@ components:
81019
81663
  $ref: '#/components/schemas/SttProviderEnum'
81020
81664
  llm_provider:
81021
81665
  $ref: '#/components/schemas/LlmProviderEnum'
81666
+ language:
81667
+ type: string
81668
+ description: Language code for TTS, STT, and LLM (e.g., 'en', 'en-US', 'es',
81669
+ 'fr'). Defaults to 'en' (English).
81670
+ maxLength: 10
81022
81671
  use_function_calling_for_rag:
81023
81672
  type: boolean
81024
81673
  description: Whether to use function calls in the agent or force RAG calls
@@ -81091,6 +81740,8 @@ components:
81091
81740
  type: boolean
81092
81741
  enable_artifacts:
81093
81742
  type: boolean
81743
+ is_shared:
81744
+ type: boolean
81094
81745
  llm_name:
81095
81746
  type: string
81096
81747
  nullable: true
@@ -81104,6 +81755,12 @@ components:
81104
81755
  is_conversation:
81105
81756
  type: boolean
81106
81757
  description: True if the session has both user and AI messages
81758
+ message_count_human:
81759
+ type: integer
81760
+ description: Count of human messages in this session
81761
+ message_count_ai:
81762
+ type: integer
81763
+ description: Count of AI messages in this session
81107
81764
  tools:
81108
81765
  type: array
81109
81766
  items:
@@ -81273,6 +81930,44 @@ components:
81273
81930
  type: string
81274
81931
  format: date-time
81275
81932
  readOnly: true
81933
+ PatchedGoogleAgentDetail:
81934
+ type: object
81935
+ properties:
81936
+ id:
81937
+ type: integer
81938
+ readOnly: true
81939
+ sub_agents:
81940
+ type: string
81941
+ readOnly: true
81942
+ platform:
81943
+ type: string
81944
+ readOnly: true
81945
+ unique_id:
81946
+ type: string
81947
+ format: uuid
81948
+ model:
81949
+ type: string
81950
+ name:
81951
+ type: string
81952
+ description:
81953
+ type: string
81954
+ instruction:
81955
+ type: string
81956
+ output_key:
81957
+ type: string
81958
+ nullable: true
81959
+ inserted_at:
81960
+ type: string
81961
+ format: date-time
81962
+ readOnly: true
81963
+ updated_at:
81964
+ type: string
81965
+ format: date-time
81966
+ readOnly: true
81967
+ created_by:
81968
+ type: integer
81969
+ description: edX user ID
81970
+ nullable: true
81276
81971
  PatchedHumanSupportTicket:
81277
81972
  type: object
81278
81973
  description: |-
@@ -82686,6 +83381,41 @@ components:
82686
83381
  type: string
82687
83382
  format: date-time
82688
83383
  readOnly: true
83384
+ PatchedUserGroup:
83385
+ type: object
83386
+ description: Serializer for UserGroups.
83387
+ properties:
83388
+ id:
83389
+ type: integer
83390
+ readOnly: true
83391
+ name:
83392
+ type: string
83393
+ nullable: true
83394
+ description: Group display name
83395
+ maxLength: 255
83396
+ platform:
83397
+ allOf:
83398
+ - $ref: '#/components/schemas/RbacPlatform'
83399
+ readOnly: true
83400
+ platform_key:
83401
+ type: string
83402
+ description: The platform key
83403
+ writeOnly: true
83404
+ description:
83405
+ type: string
83406
+ nullable: true
83407
+ description: Group description
83408
+ owner:
83409
+ allOf:
83410
+ - $ref: '#/components/schemas/RbacUser'
83411
+ readOnly: true
83412
+ users_to_set:
83413
+ type: array
83414
+ items:
83415
+ type: integer
83416
+ writeOnly: true
83417
+ description: List of user IDs to set in this group (replaces all existing
83418
+ users)
82689
83419
  PatchedWebexConfig:
82690
83420
  type: object
82691
83421
  properties:
@@ -86662,16 +87392,6 @@ components:
86662
87392
  * `whatsapp` - Whatsapp
86663
87393
  * `discord` - Discord
86664
87394
  * `teams` - Teams
86665
- Provider637Enum:
86666
- enum:
86667
- - openai
86668
- - google
86669
- - elevenlabs
86670
- type: string
86671
- description: |-
86672
- * `openai` - Openai
86673
- * `google` - Google
86674
- * `elevenlabs` - Elevenlabs
86675
87395
  Provider63aEnum:
86676
87396
  enum:
86677
87397
  - openai
@@ -89246,12 +89966,14 @@ components:
89246
89966
  - google
89247
89967
  - deepgram
89248
89968
  - cartesia
89969
+ - azure_openai
89249
89970
  type: string
89250
89971
  description: |-
89251
89972
  * `openai` - Openai
89252
89973
  * `google` - Google
89253
89974
  * `deepgram` - Deepgram
89254
89975
  * `cartesia` - Cartesia
89976
+ * `azure_openai` - Azure Openai
89255
89977
  StudentChatMessage:
89256
89978
  type: object
89257
89979
  properties:
@@ -90768,11 +91490,13 @@ components:
90768
91490
  - openai
90769
91491
  - google
90770
91492
  - elevenlabs
91493
+ - azure_openai
90771
91494
  type: string
90772
91495
  description: |-
90773
91496
  * `openai` - Openai
90774
91497
  * `google` - Google
90775
91498
  * `elevenlabs` - Elevenlabs
91499
+ * `azure_openai` - Azure Openai
90776
91500
  Type2a5Enum:
90777
91501
  enum:
90778
91502
  - DEFAULT_TEMPLATE
@@ -91197,6 +91921,47 @@ components:
91197
91921
  - last_modified
91198
91922
  - student
91199
91923
  - username
91924
+ UserGroup:
91925
+ type: object
91926
+ description: Serializer for UserGroups.
91927
+ properties:
91928
+ id:
91929
+ type: integer
91930
+ readOnly: true
91931
+ name:
91932
+ type: string
91933
+ nullable: true
91934
+ description: Group display name
91935
+ maxLength: 255
91936
+ platform:
91937
+ allOf:
91938
+ - $ref: '#/components/schemas/RbacPlatform'
91939
+ readOnly: true
91940
+ platform_key:
91941
+ type: string
91942
+ description: The platform key
91943
+ writeOnly: true
91944
+ description:
91945
+ type: string
91946
+ nullable: true
91947
+ description: Group description
91948
+ owner:
91949
+ allOf:
91950
+ - $ref: '#/components/schemas/RbacUser'
91951
+ readOnly: true
91952
+ users_to_set:
91953
+ type: array
91954
+ items:
91955
+ type: integer
91956
+ writeOnly: true
91957
+ description: List of user IDs to set in this group (replaces all existing
91958
+ users)
91959
+ required:
91960
+ - id
91961
+ - name
91962
+ - owner
91963
+ - platform
91964
+ - platform_key
91200
91965
  UserGroupAccess:
91201
91966
  type: object
91202
91967
  description: ModelSerializer for user group access policies
@@ -91630,6 +92395,9 @@ components:
91630
92395
  UserMemory:
91631
92396
  type: object
91632
92397
  properties:
92398
+ id:
92399
+ type: integer
92400
+ readOnly: true
91633
92401
  mode:
91634
92402
  type: string
91635
92403
  readOnly: true
@@ -91686,6 +92454,7 @@ components:
91686
92454
  - catalog_item_type
91687
92455
  - email
91688
92456
  - entries
92457
+ - id
91689
92458
  - inserted_at
91690
92459
  - mentor
91691
92460
  - mode
@@ -92742,7 +93511,7 @@ components:
92742
93511
  type: string
92743
93512
  maxLength: 255
92744
93513
  provider:
92745
- $ref: '#/components/schemas/Provider637Enum'
93514
+ $ref: '#/components/schemas/VoiceProviderEnum'
92746
93515
  language:
92747
93516
  type: string
92748
93517
  maxLength: 255
@@ -92756,6 +93525,16 @@ components:
92756
93525
  - id
92757
93526
  - name
92758
93527
  - provider
93528
+ VoiceProviderEnum:
93529
+ enum:
93530
+ - openai
93531
+ - google
93532
+ - elevenlabs
93533
+ type: string
93534
+ description: |-
93535
+ * `openai` - Openai
93536
+ * `google` - Google
93537
+ * `elevenlabs` - Elevenlabs
92759
93538
  WatchedVideosPerCourse:
92760
93539
  type: object
92761
93540
  properties: