Check Voice Assistant Limit

Check if the organization has reached its voice assistant limit.

Parameters: request (Request): The FastAPI request object. db (AsyncSession): The database session (injected). organization_id (Optional[int]): The organization ID from the API key or request.

Returns: Dict containing: - limit_reached: Whether the limit has been reached - current_count: Current number of voice assistants - max_count: Maximum allowed voice assistants

Raises: HTTPException: - 400: If organization ID is missing - 500: If an unexpected error occurs during the check

Language
Credentials
Header
Click Try It! to start a request and see the response here!