BerriAI/litellm · error · HTTPException
/v1/rust_control_plane/logs is admin-only (proxy admin key r
Error message
/v1/rust_control_plane/logs is admin-only (proxy admin key required).
What it means
Error "/v1/rust_control_plane/logs is admin-only (proxy admin key required)." thrown in BerriAI/litellm.
Source
Thrown at litellm/proxy/logging_endpoints/callback_logs_endpoints.py:195
return CallbackLogsResponse(processed=processed, failed=len(failures), failures=failures)
@rust_control_plane_router.post(
"/logs",
dependencies=[Depends(user_api_key_auth)],
)
async def ingest_callback_logs(
body: CallbackLogsRequest,
user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),
) -> CallbackLogsResponse:
"""
Replay a batch of finished logging payloads through the callback fan-out.
Admin-only: the payloads write spend logs and trigger every callback, so this
is a trusted internal route, not a public surface.
"""
if user_api_key_dict.user_role != LitellmUserRoles.PROXY_ADMIN:
raise HTTPException(
status_code=403,
detail="/v1/rust_control_plane/logs is admin-only (proxy admin key required).",
)
return await CallbackLogsReplayer().replay_batch(body.records)
View on GitHub (pinned to 77b7c6c40c)
Solutions
- Authenticate with a proxy admin key to call this endpoint.
- Ask an admin to perform the operation or grant admin access.
When it happens
Trigger: Thrown at litellm/proxy/logging_endpoints/callback_logs_endpoints.py:195 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/ad55461254083482.
Report an issue: GitHub.