latestOpenAPI 3.1.02026-08-197104501.1 MB

8fbaab4fc7c5

tag management

Update Tag

Update an existing tag.

Parameters:

  • name: str - The name of the tag to update
  • description: Optional[str] - Updated description
  • models: List[str] - Updated list of allowed LLM models
  • budget_id: Optional[str] - The id for a budget to associate with the tag

BUDGET UPDATE PARAMS

  • max_budget: Optional[float] - Max budget for tag
  • tpm_limit: Optional[int] - Max tpm limit for tag
  • rpm_limit: Optional[int] - Max rpm limit for tag
  • max_parallel_requests: Optional[int] - Max parallel requests for tag
  • soft_budget: Optional[float] - Get a slack alert when this soft budget is reached
  • model_max_budget: Optional[dict] - Max budget for a specific model
  • budget_duration: Optional[str] - Frequency of resetting tag budget
post/tag/update

Request body

namestring required
descriptionstring nullable
modelsstring[] nullable
model_infoobject nullable
budget_idstring nullable
max_budgetnumber nullable
soft_budgetnumber nullable
max_parallel_requestsinteger nullable
tpm_limitinteger nullable
rpm_limitinteger nullable
model_max_budgetobject nullable
budget_durationstring nullable

Response

Successful Response

{"stackTrail":"paths:/tag/update:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}