Schema Registry
PipelineStatsResponse

PipelineStatsResponse

PipelineStatsResponse data model

Properties

PropertyTypeRequiredDescription
total_leaguesintegerβœ… Yes-
total_pipeline_entriesintegerβœ… Yes-
active_entriesintegerβœ… Yes-
stage_distributionobjectβœ… Yes-
priority_distributionobjectβœ… Yes-
recent_activity_countintegerβœ… Yes-

Example

{
  "total_leagues": 0,
  "total_pipeline_entries": 0,
  "active_entries": 0,
  "stage_distribution": {},
  "priority_distribution": {},
  "recent_activity_count": 0
}

Used In

Code Examples

TypeScript

interface PipelineStatsResponse {
  total_leagues: number;
  total_pipeline_entries: number;
  active_entries: number;
  stage_distribution: Record<string, any>;
  priority_distribution: Record<string, any>;
  recent_activity_count: number;
}
 
// Usage example
const data: PipelineStatsResponse = {
  "total_leagues": 0,
  "total_pipeline_entries": 0,
  "active_entries": 0,
  "stage_distribution": {},
  "priority_distribution": {},
  "recent_activity_count": 0
};

Python

from data_layer.schemas import PipelineStatsResponse
 
# Create instance
data = PipelineStatsResponse(
    # Add your field values here
)

cURL

curl -X POST "https://altsportsleagues-backend-2qcdjegnaa-uc.a.run.app/api/endpoint" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{   "total_leagues": 0,   "total_pipeline_entries": 0,   "active_entries": 0,   "stage_distribution": {},   "priority_distribution": {},   "recent_activity_count": 0 }'

Validation Rules

Required Fields: total_leagues, total_pipeline_entries, active_entries, stage_distribution, priority_distribution, recent_activity_count

Additional Information

  • Type: object
  • Source: Generated from Pydantic models in data_layer/schemas/
  • Auto-validated: All fields are validated by FastAPI

This documentation is auto-generated from the OpenAPI specification.

Platform

Documentation

Community

Support

partnership@altsportsdata.comdev@altsportsleagues.ai

2025 Β© AltSportsLeagues.ai. Powered by AI-driven sports business intelligence.

πŸ€– AI-Enhancedβ€’πŸ“Š Data-Drivenβ€’βš‘ Real-Time