team management

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 sk-1234'     --header 'Content-Type: application/json'     --data '{
    "team_id": "team-1234",
    "models": ["gpt-4", "claude-2"]
}'
post/team/model/add

Request

  • Base URL
    https://api.flock.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flock.io/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

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status