API for iblai
- ai_analytics_orgs_users_chat_history_retrieve
ibl-data-manager (4.84.1-ai-plus)
Request
Retrieve filter options for chat message history.
This endpoint returns data on available filter options for the chat message history endpoint, including topics, date ranges (weekly or monthly), sentiments, and users who have chat history.
Args: request: The HTTP request containing query parameters. org: Organization key identifier.
Returns: Response: Available filter options for chat message history.
Raises: NotFound: If the specified organization does not exist.
Query Parameters: monthly_range (bool): Whether to return monthly or weekly date ranges. mentor_id (str): Filter users by those who have chatted with a specific mentor.
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/orgs/{org}/users/{user_id}/chat-history-filter/
- https://base.manager.iblai.app/api/ai-analytics/orgs/{org}/users/{user_id}/chat-history-filter/
- 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-analytics/orgs/{org}/users/{user_id}/chat-history-filter/?end_date=2019-08-24&mentor_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&monthly_range=false&start_date=2019-08-24' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "topics": [ { … }, { … } ], "date_ranges": [ { … }, { … } ], "setiment": [ "positive", "negative", "neutral" ], "users": [ { … }, { … } ] }
Request
API viewset for retrieving and filtering chat message history.
This viewset provides endpoints for retrieving chat message history within an organization, with extensive filtering options by date range, user, topic, mentor, and sentiment.
Permissions: - Restricted to platform administrators only
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/orgs/{org}/users/{user_id}/chat-history/{id}/
- https://base.manager.iblai.app/api/ai-analytics/orgs/{org}/users/{user_id}/chat-history/{id}/
- 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-analytics/orgs/{org}/users/{user_id}/chat-history/{id}/?end_date=2019-08-24&filter_user_id=string&mentor=497f6eca-6276-4993-bfeb-53cbbbba6f08&sentiment=string&start_date=2019-08-24&topics=string' \
-H 'Authorization: YOUR_API_KEY_HERE'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "messages": "string", "topics": [ { … } ], "sentiment": "string", "mentor": "ecbf8dc6-e97d-4602-939f-cda86082faa0", "student": "string", "email": "string", "model": "string", "rating": 0, "platform": "string", "lti_email": "string", "lti_username": "string", "inserted_at": "2019-08-24T14:15:22Z", "has_document": true, "memory_tracked": true, "enable_artifacts": true, "llm_name": "string", "llm_provider": "string", "metadata": null, "is_conversation": true, "tools": [ 0 ] }
Request
API viewset for retrieving and filtering chat message history.
This viewset provides endpoints for retrieving chat message history within an organization, with extensive filtering options by date range, user, topic, mentor, and sentiment.
Permissions: - Restricted to platform administrators only
- application/json
- application/scim+json
- application/x-www-form-urlencoded
- multipart/form-data
- */*
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/orgs/{org}/users/{user_id}/chat-history/{id}/
- https://base.manager.iblai.app/api/ai-analytics/orgs/{org}/users/{user_id}/chat-history/{id}/
- 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-analytics/orgs/{org}/users/{user_id}/chat-history/{id}/?end_date=2019-08-24&filter_user_id=string&mentor=497f6eca-6276-4993-bfeb-53cbbbba6f08&sentiment=string&start_date=2019-08-24&topics=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"topics": [
{
"name": "string"
}
],
"mentor": "ecbf8dc6-e97d-4602-939f-cda86082faa0",
"model": "string",
"platform": "string",
"has_document": true,
"memory_tracked": true,
"enable_artifacts": true,
"llm_name": "string",
"llm_provider": "string",
"metadata": null,
"is_conversation": true,
"tools": [
0
]
}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "messages": "string", "topics": [ { … } ], "sentiment": "string", "mentor": "ecbf8dc6-e97d-4602-939f-cda86082faa0", "student": "string", "email": "string", "model": "string", "rating": 0, "platform": "string", "lti_email": "string", "lti_username": "string", "inserted_at": "2019-08-24T14:15:22Z", "has_document": true, "memory_tracked": true, "enable_artifacts": true, "llm_name": "string", "llm_provider": "string", "metadata": null, "is_conversation": true, "tools": [ 0 ] }