ibl-data-manager (3.59.0-ai-plus)
API for iblai
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/
- 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}/mentors/{mentor}/settings/?department_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE'
viewable_by_tenant_admins
- Viewable By Tenant Adminsviewable_by_tenant_students
- Viewable By Tenant Studentsviewable_by_anyone
- Viewable By Anyone
viewable_by_tenant_admins
- Viewable By Tenant Adminsviewable_by_tenant_students
- Viewable By Tenant Studentsviewable_by_anyone
- Viewable By Anyone
{ "mentor": "mentor_123", "display_name": "John Doe", "profile_image": "https://example.com/image.jpg", "theme": "dark", "enable_image_generation": true }
- multipart/form-data
- application/x-www-form-urlencoded
- application/json
proactive_prompt
- Proactive Promptproactive_response
- Proactive Response
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/settings/?department_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: multipart/form-data' \
-F mentor_name=string \
-F template_name=string \
-F display_name=string \
-F profile_image=http://example.com \
-F initial_message=string \
-F suggested_message=string \
-F theme=string \
-F user_message_color=string \
-F mentor_bubble_color=string \
-F align_mentor_bubble=string \
-F system_prompt=string \
-F llm_provider=string \
-F llm_name=string \
-F featured=true \
-F disable_chathistory=true \
-F metadata=null \
-F custom_css=string \
-F department_id=0 \
-F mentor_visibility=string \
-F enable_image_generation=true \
-F enable_web_browsing=true \
-F enable_code_interpreter=true \
-F allow_anonymous=true \
-F forkable=true \
-F forkable_with_training_data=true \
-F mentor_description=string \
-F uploaded_profile_image=http://example.com \
-F proactive_response=string \
-F greeting_method=proactive_prompt \
-F can_use_tools=true \
-F tool_slugs=string \
-F llm_temperature=1 \
-F proactive_prompt=string \
-F moderation_system_prompt=string \
-F post_processing_prompt=string \
-F moderation_response=string \
-F enable_moderation=true \
-F enable_post_processing_system=true \
-F enable_openai_assistant=true \
-F enable_total_grounding=true \
-F enable_suggested_prompts=true \
-F enable_guided_prompts=true \
-F 'mcp_servers[0]=0' \
-F google_voice=0 \
-F openai_voice=0 \
-F guided_prompt_instructions=string \
-F safety_system_prompt=string \
-F safety_response=string \
-F enable_safety_system=true \
-F enable_memory_component=false \
-F enable_spaced_repetition=false \
-F enable_instruction_mode=false \
-F enable_socratic_mode=false \
-F is_guided_mentor=false \
-F enable_email_chat=false \
-F 'categories[0]=0'
viewable_by_tenant_admins
- Viewable By Tenant Adminsviewable_by_tenant_students
- Viewable By Tenant Studentsviewable_by_anyone
- Viewable By Anyone
viewable_by_tenant_admins
- Viewable By Tenant Adminsviewable_by_tenant_students
- Viewable By Tenant Studentsviewable_by_anyone
- Viewable By Anyone
realtime
- Realtimeinference
- Inference
openai
- Openaigoogle
- Googleelevenlabs
- Elevenlabs
openai
- Openaigoogle
- Googledeepgram
- Deepgramcartesia
- Cartesia
openai
- Openaigoogle
- Google
Whether to use function calls in the agent or force RAG calls before LLM generation
Whether to enable video for the call. (applicable only for realtime mode)
{ "id": 0, "display_name": "string", "profile_image": "string", "initial_message": "string", "suggested_message": "string", "theme": "dark", "user_message_color": "string", "mentor_bubble_color": "string", "align_mentor_bubble": "left", "mentor": "string", "mentor_slug": "string", "mentor_unique_id": "string", "metadata": null, "mentor_visibility": "viewable_by_tenant_admins", "enable_image_generation": true, "enable_web_browsing": true, "enable_code_interpreter": true, "custom_css": "string", "allow_anonymous": true, "mentor_description": "string", "suggested_prompts": null, "proactive_response": "string", "greeting_method": "string", "mentor_tools": null, "can_use_tools": true, "llm_name": "string", "proactive_prompt": "string", "enable_memory_component": true, "enable_email_chat": true, "enable_spaced_repetition": true, "enable_instruction_mode": true, "enable_socratic_mode": true, "is_guided_mentor": true, "enable_guided_prompts": true, "enable_moderation": true, "enable_post_processing_system": true, "enable_safety_system": true, "forkable": true, "forkable_with_training_data": true, "system_prompt": "string", "llm_provider": "string", "llm_temperature": 0.1, "safety_system_prompt": "string", "safety_response": "string", "moderation_system_prompt": "string", "post_processing_prompt": "string", "moderation_response": "string", "mcp_servers": [ { … } ], "department": "string", "disable_chathistory": "string", "call_configuration": { "id": 0, "mentor": 0, "mode": "realtime", "tts_provider": "openai", "stt_provider": "openai", "llm_provider": "openai", "use_function_calling_for_rag": true, "google_voice": { … }, "openai_voice": { … }, "openai_voice_id": 0, "google_voice_id": 0, "enable_video": true, "platform_key": "string" } }
Request
Retrieve spaced repetition question statistics.
Args: request: The HTTP request. org: The organization/tenant identifier. user_id: The ID of the user to retrieve statistics for. mentor: The unique identifier of the mentor.
Returns: Response: Statistics about the user's performance on spaced repetition questions.
Raises: NotFound: If the mentor or student does not exist.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/spaced-repetition-question-stats/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/mentors/{mentor}/spaced-repetition-question-stats/
- 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}/mentors/{mentor}/spaced-repetition-question-stats/' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "total_questions": 25, "success_rate": 0.8, "reviewed_questions": 20 }