ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Endpoints to fetch and delete Edx stored Memory information stored for a user and a corresponding edx course they have interracted with. This information is passed to the corresponding mentor so the mentor has context information about the course and unit that the user last interracted with.
There can be only one UserEdxMemory instance per student and course_id.
Url Args: org (str): The organization's platform key. user_id (str): The username identifier of the individual.
Returns:
200: A paginated list of UserEdxMemory objects
Examples:
List all memories GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/
Request: None Response: { "count": 0, "next": null, "previous": null, "results": [{ "student": 1, "course_id": "course-v1:main+CARBON+2024_Fall", "data": {}, "date_created": "2024-06-25T15:30:26.257140", "last_modified": "2024-06-25T15:30:26.257140" }] }
Get a single UserEdxMemory object GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/1/
Request: None Response: { "student": 1, "course_id": "course-v1:main+CARBON+2024_Fall", "data": {}, "date_created": "2024-06-25T15:30:26.257140", "last_modified": "2024-06-25T15:30:26.257140" }
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/edx-memory/{id}/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/edx-memory/{id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/edx-memory/{id}/' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "id": 0, "username": "string", "student": 2147483647, "course_id": "string", "data": null, "date_created": "2019-08-24T14:15:22Z", "last_modified": "2019-08-24T14:15:22Z" }
Request
Endpoints to fetch and delete Edx stored Memory information stored for a user and a corresponding edx course they have interracted with. This information is passed to the corresponding mentor so the mentor has context information about the course and unit that the user last interracted with.
There can be only one UserEdxMemory instance per student and course_id.
Url Args: org (str): The organization's platform key. user_id (str): The username identifier of the individual.
Returns:
200: A paginated list of UserEdxMemory objects
Examples:
List all memories GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/
Request: None Response: { "count": 0, "next": null, "previous": null, "results": [{ "student": 1, "course_id": "course-v1:main+CARBON+2024_Fall", "data": {}, "date_created": "2024-06-25T15:30:26.257140", "last_modified": "2024-06-25T15:30:26.257140" }] }
Get a single UserEdxMemory object GET: /api/ai-mentor/orgs/main/users/johndoe/edx-memory/1/
Request: None Response: { "student": 1, "course_id": "course-v1:main+CARBON+2024_Fall", "data": {}, "date_created": "2024-06-25T15:30:26.257140", "last_modified": "2024-06-25T15:30:26.257140" }
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/edx-memory/{id}/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/edx-memory/{id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/edx-memory/{id}/' \
-H 'Authorization: YOUR_API_KEY_HERE'
Request
Retrieve a list of Elevenlabs voices available to a user.
This endpoint returns both custom voices created by the user and premade voices available to all users.
Args: request: The HTTP request. org: The organization/tenant identifier. user_id: The ID of the user to retrieve voices for.
Returns: Response: A list of available Elevenlabs voices.
Raises: NotFound: If the specified user does not exist.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/elevenlabs-voice/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/elevenlabs-voice/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/elevenlabs-voice/' \
-H 'Authorization: YOUR_API_KEY_HERE'
[ [ { … }, { … }, { … } ] ]