ibl-data-manager (3.59.0-ai-plus)
API for iblai
Request
Retrieve summary statistics about mentors.
This endpoint returns aggregated statistics about mentors within an organization, including total mentors, active mentors (mentors with at least one session), questions answered, and ratings.
Args: request: The HTTP request. org: Organization key identifier.
Returns: Response: Summary statistics about mentors.
Raises: NotFound: If the specified organization does not exist.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/orgs/{org}/users/{user_id}/mentor-detail/
https://base.manager.iblai.app/api/ai-analytics/orgs/{org}/users/{user_id}/mentor-detail/
- 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}/mentor-detail/' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "total_mentors": 25, "active_mentors": 18, "total_questions_answered": 0, "total_ratings": 0 }
Request
Retrieve summary statistics about mentors.
This endpoint returns aggregated statistics about mentors within an organization, including total mentors, active mentors (mentors with at least one session), questions answered, and ratings.
Args: request: The HTTP request. org: Organization key identifier.
Returns: Response: Summary statistics about mentors.
Raises: NotFound: If the specified organization does not exist.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/orgs/{org}/users/{user_id}/mentor-summary/
https://base.manager.iblai.app/api/ai-analytics/orgs/{org}/users/{user_id}/mentor-summary/
- 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}/mentor-summary/' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "total_mentors": 25, "active_mentors": 18, "total_questions_answered": 0, "total_ratings": 0 }
Request
Retrieve LLM usage costs for a specific mentor.
This endpoint returns data on the total cost of LLM usage for a specific mentor within a specified date range. The cost is calculated by summing the costs of all observations associated with traces from the tenant's sessions.
Args: request: The HTTP request containing filter query parameters. org: Organization key identifier. mentor_unique_id: User key identifier.
Returns: Response: Total LLM usage cost for the specified tenant.
Raises: NotFound: If the specified organization does not exist. BadRequest: If the provided parameters are invalid.
Query Parameters: start_date (str): Start date for filtering (YYYY-MM-DD) - required. end_date (str): End date for filtering (YYYY-MM-DD) - required.
- Mock server
https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/orgs/{org}/users/{user_id}/mentors/{mentor_unique_id}/cost/
https://base.manager.iblai.app/api/ai-analytics/orgs/{org}/users/{user_id}/mentors/{mentor_unique_id}/cost/
- 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}/mentors/{mentor_unique_id}/cost/?end_date=2019-08-24T14%3A15%3A22Z&start_date=2019-08-24T14%3A15%3A22Z' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "total_cost": 5.75 }