Loading...
Loading...
Create a new user on a live LiteLLM proxy. Asks for email, role, and optional budget/model limits, then calls POST /user/new and shows the result.
npx skill4agent add berriai/litellm-skills add-userLITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin keyproxy_adminproxy_admin_viewerinternal_userinternal_user_viewer10.00gpt-4o, claude-3-5-sonnetcurl -s -X POST "$BASE/user/new" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"user_email": "<email>",
"user_role": "<role>",
"max_budget": <budget_or_null>,
"models": [<models_or_empty>]
}'user_idkeyuser_rolemax_budgetdetail