latestOpenAPI 3.1.02026-08-197104501.1 MB

8fbaab4fc7c5

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

Request body

team_idstring required
modelsstring[] required

Response

Successful Response

{"stackTrail":"paths:/team/model/add:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}