API for iblai
- ai_mentor_orgs_users_sessions_memory_retrieve
ibl-data-manager (4.84.1-ai-plus)
- application/json
- application/scim+json
- application/x-www-form-urlencoded
- multipart/form-data
- */*
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/memories/{memory_unique_id}/set-attached/
- https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/memories/{memory_unique_id}/set-attached/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/memories/{memory_unique_id}/set-attached/' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"attached": true
}'Request
Retrieve memory data for a specific session.
This endpoint returns the memory components (knowledge gaps, lessons learned, help requests) that were generated during the specified chat session.
Args: org: The organization/tenant identifier. user_id: The ID of the user who owns the session. session_id: The ID of the session to retrieve memory for.
Returns: Response: The memory data associated with the session.
Raises: NotFound: If the session does not exist or does not belong to the user.
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/memory/
- https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/memory/
- 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}/sessions/{session_id}/memory/' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "memory": { "data": [ … ] }, "session_id": "session-uuid-4bfa-8b50-a9bb3ab33e71", "updated_at": "2024-01-15T10:30:00Z" }
Request
Retrieve shell logs for a specific session.
Args: request: The HTTP request. org: The organization/tenant identifier. user_id: The ID of the user who owns the session. session_id: The ID of the session to retrieve logs for.
Returns: Response: The shell logs for the specified session.
Raises: NotFound: If the specified session does not exist.
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shell-logs/
- https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/shell-logs/
- 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}/sessions/{session_id}/shell-logs/' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "logs": "$ ls -la\ntotal 24\ndrwxr-xr-x 2 user user 4096 Jan 1 12:00 .\ndrwxr-xr-x 10 user user 4096 Jan 1 12:00 ..\n-rw-r--r-- 1 user user 123 Jan 1 12:00 file.txt" }