ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Endpoint to fetch the logs of a session. Logs are cached for up to 1 hour of their creation: accessing the logs after an hour will result in an empty data.
This is intentional and made to avoid cases where logs bloat our in-memory db.
Accessible to tenant admins and students.
Url Args: org (str): The organization's platform key. user_id (str): The username identifier of the individual. session_id (str): The session id.
Returns:
200: a SessionBrowserScreenshot object
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/browser-screenshot/
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/browser-screenshot/
- 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}/browser-screenshot/' \
-H 'Authorization: YOUR_API_KEY_HERE'
[ { "type": "screenshot", "session_id": "937d3d46-3048-4f9d-aa5c-ce7c51d85332", "format": "png", "ext": "png", "url": "https://example.com/screenshots/123.png", "time": "2023-01-01T12:00:00Z" } ]
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/download-session
https://base.manager.iblai.app/api/ai-mentor/orgs/{org}/users/{user_id}/sessions/{session_id}/download-session
- 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}/download-session' \
-H 'Authorization: YOUR_API_KEY_HERE'
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 server
https://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" }