Get App Insights
Interaction
Get App Insights
Get comprehensive insights and analytics for a specific application (agent).
This endpoint analyzes all interactions for the given app_name and provides:
- Performance metrics (avg, median, P95, P99 durations)
- Cache effectiveness metrics
- Success/error rate analysis
- Usage patterns and trends
- User engagement metrics
- Response size analysis
- Time-based insights (peak hours, growth trends)
- Health score and recommendations
Parameters:
- app_name: Name of the application/agent to analyze
- current_user: Current user for authentication
- tenant: Tenant database instance
Returns:
- AppInsightsResponse with comprehensive analytics
Raises:
- HTTPException(404): If no interactions found for the app_name
- HTTPException(401): If the user is not authorized
GET
Get App Insights
Authorizations
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Path Parameters
Response
Successful Response
