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

ai-prompt

Operations

ai_prompt_orgs_users_all_chats_memory_create

Request

Create a new chat memory entry for a user.

Args: request: The HTTP request containing the chat memory data. org: The organization/tenant identifier. user_id: The ID of the user to create chat memory for.

Returns: Response: The created chat memory entry.

Raises: BadRequest: If the provided data is invalid.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
user_idstringrequired
Bodyrequired
usernamestring<= 500 charactersrequired
platform_keystring<= 500 charactersrequired
contentstring or null
session_idstring or null(uuid)
curl -i -X POST \
  'https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "username": "johndoe",
    "platform_key": "main",
    "content": "Previous conversation context about machine learning concepts.",
    "session_id": "937d3d46-3048-4f9d-aa5c-ce7c51d85332"
  }'

Responses

Bodyapplication/json
idintegerread-onlyrequired
usernamestring<= 500 charactersrequired
platform_keystring<= 500 charactersrequired
contentstring or null
session_idstring or null(uuid)
Response
application/json
{ "id": 1, "username": "johndoe", "platform_key": "main", "content": "Previous conversation context about machine learning concepts.", "session_id": "937d3d46-3048-4f9d-aa5c-ce7c51d85332" }

ai_prompt_orgs_users_all_chats_memory_update

Request

Update chat memory for a specific user.

Args: request: The HTTP request containing the updated chat memory data. org: The organization/tenant identifier. user_id: The ID of the user to update chat memory for.

Returns: Response: A confirmation of the scheduled update task.

Raises: BadRequest: If the provided data is invalid. NotFound: If no chat memory exists for the user.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
user_idstringrequired
Bodyrequired
usernamestring<= 500 charactersrequired
platform_keystring<= 500 charactersrequired
contentstring or null
session_idstring or null(uuid)
curl -i -X PUT \
  'https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "username": "string",
    "platform_key": "string",
    "content": "string",
    "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82"
  }'

Responses

Bodyapplication/json
task_idstringrequired

Id of the schedled task

messagestringrequired

Message about the scheduled task

Response
application/json
{ "task_id": "task-123", "message": "Memory update scheduled successfully" }

ai_prompt_orgs_users_all_chats_memory_destroy

Request

Delete all chat memory for a specific user.

Args: request: The HTTP request. org: The organization/tenant identifier. user_id: The ID of the user to delete chat memory for.

Returns: Response: A success message if the memory was deleted.

Raises: NotFound: If no chat memory exists for the user.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
user_idstringrequired
curl -i -X DELETE \
  'https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Memory successfully deleted

career

Operations

catalog

Operations

core

Operations

credentials

Operations

features

Operations

media

Operations

notifications

Operations

scim

Operations

commerce

Operations

recommendations

Operations

reports

Operations

skills

Operations