ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Delete a specific chat memory entry.
Args: request: The HTTP request. org: The organization/tenant identifier. user_id: The ID of the user who owns the memory. memory_id: The ID of the specific memory entry to delete.
Returns: Response: A success message if the memory was deleted.
Raises: NotFound: If the specified memory entry does not exist.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{memory_id}/
https://base.manager.iblai.app/api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{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-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{memory_id}/' \
-H 'Authorization: YOUR_API_KEY_HERE'
Request
Retrieve the chat memory status for a specific user.
Args: request: The HTTP request. org: The organization/tenant identifier. user_id: The ID of the user to retrieve memory status for.
Returns: Response: The user's chat memory status.
Raises: NotFound: If no memory status exists for the user.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/
https://base.manager.iblai.app/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/
- 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-prompt/orgs/{org}/users/{user_id}/chat-memory-status/' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "id": 1, "username": "johndoe", "platform_key": "main", "enabled": true }
Request
Update the chat memory status for a specific user.
Args: request: The HTTP request containing the updated status. org: The organization/tenant identifier. user_id: The ID of the user to update memory status for.
Returns: Response: The updated chat memory status.
Raises: BadRequest: If the provided data is invalid.
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/
https://base.manager.iblai.app/api/ai-prompt/orgs/{org}/users/{user_id}/chat-memory-status/
- 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-prompt/orgs/{org}/users/{user_id}/chat-memory-status/' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"enabled": false
}'
{ "id": 1, "username": "johndoe", "platform_key": "main", "enabled": false }