Skip to content

ibl-data-manager (3.59.0-ai-plus)

API for iblai

Download OpenAPI description
Languages
Servers
Mock server

https://docs.ibl.ai/_mock/apis/ibl/

https://base.manager.iblai.app/

ai-account

Operations

ai-analytics

Operations

ai_analytics_orgs_users_costs_peruser_retrieve

Request

Retrieve LLM usage costs aggregated by user.

This endpoint returns data on the total cost of LLM usage for each user within a specified date range, with pagination support. The costs are calculated by summing the costs of all observations associated with traces from the user's sessions.

Args: request: The HTTP request containing filter query parameters. org: Organization key identifier.

Returns: Response: Paginated list of users with their total LLM usage costs.

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. limit (int): Number of results per page - default: 10. offset (int): Offset for pagination - default: 0.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
user_idstringrequired
Query
end_datestring(date-time)required
start_datestring(date-time)required
curl -i -X GET \
  'https://docs.ibl.ai/_mock/apis/ibl/api/ai-analytics/orgs/{org}/users/{user_id}/costs/peruser/?end_date=2019-08-24T14%3A15%3A22Z&start_date=2019-08-24T14%3A15%3A22Z' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
idstringrequired
namestringrequired
datestring(date-time)required
Response
application/json
{ "count": 25, "next": "https://api.example.com/analytics/llm-traces/cost/users/?limit=10&offset=10", "previous": null, "results": [ {}, {} ] }

ai_analytics_orgs_users_mentor_detail_retrieve

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.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
user_idstringrequired
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'

Responses

Bodyapplication/json
total_mentorsintegerrequired
active_mentorsintegerrequired
total_questions_answeredintegerrequired
total_ratingsintegerrequired
Response
application/json
{ "total_mentors": 25, "active_mentors": 18, "total_questions_answered": 0, "total_ratings": 0 }

ai_analytics_orgs_users_mentor_summary_retrieve

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.

Security
PlatformApiKeyAuthentication
Path
orgstringrequired
user_idstringrequired
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'

Responses

Bodyapplication/json
total_mentorsintegerrequired
active_mentorsintegerrequired
total_questions_answeredintegerrequired
total_ratingsintegerrequired
Response
application/json
{ "total_mentors": 25, "active_mentors": 18, "total_questions_answered": 0, "total_ratings": 0 }

ai-bot

Operations

ai-finetuning

Operations

ai-index

Operations

ai-marketing

Operations

ai-media

Operations

ai-mentor

Operations

ai-prompt

Operations

career

Operations

catalog

Operations

core

Operations

credentials

Operations

features

Operations

media

Operations

notifications

Operations

scim

Operations

commerce

Operations

recommendations

Operations

reports

Operations

skills

Operations