$npx -y skills add BerriAI/litellm-skills --skill add-orgCreate a new organization on a live LiteLLM proxy. Asks for org name, budget, and allowed models, then calls POST /organization/new.
| 1 | # Add Organization |
| 2 | |
| 3 | Create a new organization on a live LiteLLM proxy. |
| 4 | |
| 5 | ## Setup |
| 6 | |
| 7 | Ask for these if not already known: |
| 8 | ``` |
| 9 | LITELLM_BASE_URL — e.g. https://my-proxy.example.com |
| 10 | LITELLM_API_KEY — proxy admin key |
| 11 | ``` |
| 12 | |
| 13 | API reference: https://litellm.vercel.app/docs/proxy/org_based_routing |
| 14 | |
| 15 | ## Ask the user |
| 16 | |
| 17 | 1. **Org name** (required, becomes `organization_alias`) |
| 18 | 2. **Allowed models** (required, e.g. `gpt-4o, claude-3-5-sonnet`) |
| 19 | 3. **Max budget** (optional, e.g. `500.00`) |
| 20 | 4. **TPM / RPM limits** (optional) |
| 21 | |
| 22 | ## Run |
| 23 | |
| 24 | ```bash |
| 25 | curl -s -X POST "$BASE/organization/new" \ |
| 26 | -H "Authorization: Bearer $KEY" \ |
| 27 | -H "Content-Type: application/json" \ |
| 28 | -d '{ |
| 29 | "organization_alias": "<name>", |
| 30 | "models": [<models>], |
| 31 | "max_budget": <budget_or_null>, |
| 32 | "tpm_limit": <tpm_or_null>, |
| 33 | "rpm_limit": <rpm_or_null> |
| 34 | }' |
| 35 | ``` |
| 36 | |
| 37 | ## Output |
| 38 | |
| 39 | Show the user: |
| 40 | - `organization_id` — needed for assigning teams/users to this org |
| 41 | - `organization_alias`, `max_budget`, `models` |
| 42 | |
| 43 | On error show `detail` and the likely fix. |