team management

Team Model Add

Add models to a team's allowed model list. Only proxy admin or team admin can add models.

Parameters:

  • team_id: str - Required. The team to add models to
  • models: List[str] - Required. List of models to add to the team

Example Request:

curl --location 'http://0.0.0.0:4000/team/model/add'     --header "Authorization: Bearer $LITELLM_MASTER_KEY"     --header 'Content-Type: application/json'     --data '{
    "team_id": "team-1234",
    "models": ["gpt-4", "claude-2"]
}'
post/team/model/add

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/team/model/add
  • Auth: API key in header x-litellm-api-key

Request body

team_idstring required
modelsstring[] required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.