Skip to content

ibl-data-manager (3.59.0-ai-plus)

API for iblai

Download OpenAPI description
Languages
Servers
Mock server

https://docs.ibl.ai/_mock/apis/ibl/

https://base.manager.iblai.app/

ai-account

Operations

ai-analytics

Operations

ai-bot

Operations

ai-finetuning

Operations

ai-index

Operations

ai-marketing

Operations

ai-media

Operations

ai-mentor

Operations

Retrieve Mentor Settings

Request

Fetch the settings of a mentor within an organization. Only accessible to tenant admins.

Security
PlatformApiKeyAuthentication
Path
mentorstringrequired
orgstringrequired
user_idstringrequired
Query
department_idinteger

Department to authorize users by

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'

Responses

Bodyapplication/json
idintegerread-onlyrequired
display_namestring or null<= 255 characters
profile_imagestring or null
initial_messagestring or null
suggested_messagestring or null
themestring(ThemeEnum)
  • dark - Dark
  • light - Light
Enum"dark""light"
user_message_colorstring<= 7 characters
mentor_bubble_colorstring<= 7 characters
align_mentor_bubblestring(AlignMentorBubbleEnum)
  • left - Left
  • right - Right
Enum"left""right"
mentorstringread-onlyrequired
mentor_slugstringread-onlyrequired
mentor_unique_idstringread-onlyrequired
metadataanyread-onlyrequired
mentor_visibility(MentorVisibilityEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null))
One of:
  • viewable_by_tenant_admins - Viewable By Tenant Admins
  • viewable_by_tenant_students - Viewable By Tenant Students
  • viewable_by_anyone - Viewable By Anyone
string or null(MentorVisibilityEnum)
  • viewable_by_tenant_admins - Viewable By Tenant Admins
  • viewable_by_tenant_students - Viewable By Tenant Students
  • viewable_by_anyone - Viewable By Anyone
Enum"viewable_by_tenant_admins""viewable_by_tenant_students""viewable_by_anyone"
enable_image_generationboolean or null
enable_web_browsingboolean or null
enable_code_interpreterboolean or null
custom_cssstring or null
allow_anonymousbooleanread-onlyrequired
mentor_descriptionstringread-onlyrequired
suggested_promptsanyread-onlyrequired
proactive_responsestringread-onlyrequired
greeting_methodstringread-onlyrequired
mentor_toolsanyread-onlyrequired
can_use_toolsbooleanread-onlyrequired
llm_namestringread-onlyrequired
proactive_promptstringread-onlyrequired
enable_memory_componentbooleanread-onlyrequired
enable_email_chatbooleanread-onlyrequired
enable_spaced_repetitionbooleanread-onlyrequired
enable_instruction_modebooleanread-onlyrequired
enable_socratic_modebooleanread-onlyrequired
is_guided_mentorbooleanread-onlyrequired
enable_guided_promptsbooleanread-onlyrequired
enable_moderationbooleanread-onlyrequired
enable_post_processing_systembooleanread-onlyrequired
enable_safety_systembooleanread-onlyrequired
forkablebooleanread-onlyrequired
forkable_with_training_databooleanread-onlyrequired
Response
application/json
{ "mentor": "mentor_123", "display_name": "John Doe", "profile_image": "https://example.com/image.jpg", "theme": "dark", "enable_image_generation": true }

Update Mentor Settings

Request

Update various mentor settings including system prompts, tool permissions, and UI configurations.

Security
PlatformApiKeyAuthentication
Path
mentorstringrequired
orgstringrequired
user_idstringrequired
Query
department_idinteger

Department to authorize users by

Body
mentor_namestring
template_namestring
display_namestring
profile_imagestring(uri)
initial_messagestring or null
suggested_messagestring or null
themestring
user_message_colorstring
mentor_bubble_colorstring
align_mentor_bubblestring
system_promptstring
llm_providerstring
llm_namestring
featuredboolean
disable_chathistoryboolean
metadataany or null
custom_cssstring or null
department_idinteger or null

Department to authorize users by

mentor_visibilitystring
enable_image_generationboolean
enable_web_browsingboolean
enable_code_interpreterboolean
allow_anonymousboolean
forkableboolean
forkable_with_training_databoolean
mentor_descriptionstring
uploaded_profile_imagestring(uri)
proactive_responsestring
greeting_methodstring(GreetingMethodEnum)
  • proactive_prompt - Proactive Prompt
  • proactive_response - Proactive Response
Enum"proactive_prompt""proactive_response"
can_use_toolsboolean
tool_slugsArray of strings
llm_temperaturenumber(double)[ 0 .. 1 ]
proactive_promptstring
moderation_system_promptstring
post_processing_promptstring
moderation_responsestring
enable_moderationboolean
enable_post_processing_systemboolean
enable_openai_assistantboolean
enable_total_groundingboolean
enable_suggested_promptsboolean or null
enable_guided_promptsboolean or null
mcp_serversArray of integers or null
google_voiceinteger
openai_voiceinteger
guided_prompt_instructionsstring or null
safety_system_promptstring
safety_responsestring
enable_safety_systemboolean
enable_memory_componentboolean
Default false
enable_spaced_repetitionboolean
Default false
enable_instruction_modeboolean
Default false
enable_socratic_modeboolean
Default false
is_guided_mentorboolean
Default false
enable_email_chatboolean
Default false
categoriesArray of integers
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'

Responses

Bodyapplication/json
idintegerread-onlyrequired
display_namestring or null<= 255 characters
profile_imagestring or null
initial_messagestring or null
suggested_messagestring or null
themestring(ThemeEnum)
  • dark - Dark
  • light - Light
Enum"dark""light"
user_message_colorstring<= 7 characters
mentor_bubble_colorstring<= 7 characters
align_mentor_bubblestring(AlignMentorBubbleEnum)
  • left - Left
  • right - Right
Enum"left""right"
mentorstringread-onlyrequired
mentor_slugstringread-onlyrequired
mentor_unique_idstringread-onlyrequired
metadataanyread-onlyrequired
mentor_visibility(MentorVisibilityEnum (string or null)) or (BlankEnum (any or null)) or (NullEnum (any or null))
One of:
  • viewable_by_tenant_admins - Viewable By Tenant Admins
  • viewable_by_tenant_students - Viewable By Tenant Students
  • viewable_by_anyone - Viewable By Anyone
string or null(MentorVisibilityEnum)
  • viewable_by_tenant_admins - Viewable By Tenant Admins
  • viewable_by_tenant_students - Viewable By Tenant Students
  • viewable_by_anyone - Viewable By Anyone
Enum"viewable_by_tenant_admins""viewable_by_tenant_students""viewable_by_anyone"
enable_image_generationboolean or null
enable_web_browsingboolean or null
enable_code_interpreterboolean or null
custom_cssstring or null
allow_anonymousbooleanread-onlyrequired
mentor_descriptionstringread-onlyrequired
suggested_promptsanyread-onlyrequired
proactive_responsestringread-onlyrequired
greeting_methodstringread-onlyrequired
mentor_toolsanyread-onlyrequired
can_use_toolsbooleanread-onlyrequired
llm_namestringread-onlyrequired
proactive_promptstringread-onlyrequired
enable_memory_componentbooleanread-onlyrequired
enable_email_chatbooleanread-onlyrequired
enable_spaced_repetitionbooleanread-onlyrequired
enable_instruction_modebooleanread-onlyrequired
enable_socratic_modebooleanread-onlyrequired
is_guided_mentorbooleanread-onlyrequired
enable_guided_promptsbooleanread-onlyrequired
enable_moderationbooleanread-onlyrequired
enable_post_processing_systembooleanread-onlyrequired
enable_safety_systembooleanread-onlyrequired
forkablebooleanread-onlyrequired
forkable_with_training_databooleanread-onlyrequired
system_promptstringread-onlyrequired
llm_providerstringread-onlyrequired
llm_temperaturenumber(double)read-onlyrequired
safety_system_promptstringread-onlyrequired
safety_responsestringread-onlyrequired
moderation_system_promptstringread-onlyrequired
post_processing_promptstringread-onlyrequired
moderation_responsestringread-onlyrequired
mcp_serversArray of objects(MCPServer)read-onlyrequired
mcp_servers[].​idintegerread-onlyrequired
mcp_servers[].​platformintegerread-onlyrequired
mcp_servers[].​namestring<= 255 charactersrequired
mcp_servers[].​urlstring(uri)<= 200 charactersrequired

The url of the MCP server.

mcp_servers[].​transportstring(TransportEnum)
  • sse - Sse
  • websocket - Websocket
Enum"sse""websocket"
mcp_servers[].​headersany

Headers to send to the MCP server. Useful for authentication,

mcp_servers[].​platform_keystringread-onlyrequired
mcp_servers[].​created_atstring(date-time)read-onlyrequired
mcp_servers[].​updated_atstring(date-time)read-onlyrequired
departmentstringread-onlyrequired
disable_chathistorystringread-onlyrequired
call_configurationobjectread-onlyrequired
call_configuration.​idintegerread-onlyrequired
call_configuration.​mentorintegerrequired
call_configuration.​modestring(CallConfigurationModeEnum)
  • realtime - Realtime
  • inference - Inference
Enum"realtime""inference"
call_configuration.​tts_providerstring(TtsProviderEnum)
  • openai - Openai
  • google - Google
  • elevenlabs - Elevenlabs
Enum"openai""google""elevenlabs"
call_configuration.​stt_providerstring(SttProviderEnum)
  • openai - Openai
  • google - Google
  • deepgram - Deepgram
  • cartesia - Cartesia
Enum"openai""google""deepgram""cartesia"
call_configuration.​llm_providerstring(LlmProviderEnum)
  • openai - Openai
  • google - Google
Enum"openai""google"
call_configuration.​use_function_calling_for_ragboolean

Whether to use function calls in the agent or force RAG calls before LLM generation

call_configuration.​google_voiceobject(Voice)
call_configuration.​openai_voiceobject(Voice)
call_configuration.​openai_voice_idinteger or nullrequired
call_configuration.​google_voice_idinteger or nullrequired
call_configuration.​enable_videoboolean

Whether to enable video for the call. (applicable only for realtime mode)

call_configuration.​platform_keystringread-onlyrequired
Response
application/json
{ "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" } }

ai_mentor_orgs_users_mentors_spaced_repetition_question_stats_retrieve

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.

Security
PlatformApiKeyAuthentication
Path
mentorstringrequired
orgstringrequired
user_idstringrequired
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'

Responses

Bodyapplication/json
total_questionsintegerread-onlyrequired
success_ratenumber(double)read-onlyrequired
reviewed_questionsintegerread-onlyrequired
Response
application/json
{ "total_questions": 25, "success_rate": 0.8, "reviewed_questions": 20 }

ai-prompt

Operations

career

Operations

catalog

Operations

core

Operations

credentials

Operations

features

Operations

media

Operations

notifications

Operations

scim

Operations

commerce

Operations

recommendations

Operations

reports

Operations

skills

Operations