-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Hi, we tried to create keys via API request and it returns error which says Enterprise key is required. Sales team told that this is unattended behavior and asked to create issue on github.
POST /key/generate
Request
{
"provider": "litellm.main_1_llm_tier-1",
"models": [
"LLM Tier 1"
],
"max_budget": 100.0,
"user_id" : "39",
"team_id": "foobar",
"max_parallel_requests": 2,
"metadata" : {
"resource_id": "65"
},
"tpm_limit": 1000,
"rpm_limit": 60,
"key_alias": "prod-key-1",
"permissions": {
"can_create_keys": "false"
},
"guardrails": [
"content_filter",
"token_limit"
],
"blocked": false,
"duration": "P0D",
"budget_duration": "P0D"
}
Response
{
"error": {
"message": "{'error': 'This feature is only available for LiteLLM Enterprise users. You must be a LiteLLM Enterprise user to use this feature. If you have a license please set `LITELLM_LICENSE` in your env. Get a 7 day trial key here: https://www.litellm.ai/#trial. \\nPricing: https://www.litellm.ai/#pricing'}",
"type": "internal_server_error",
"param": "None",
"code": "403"
}
}
Relevant log output
Are you a ML Ops Team?
No
What LiteLLM version are you on ?
Docker litellm/litellm-database:v1.69.0-stable
Twitter / LinkedIn details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working