Auditing Black-Box LLM APIs with a Rank-Based Uniformity Test