latestOpenAPI 3.1.02026-08-226994571.1 MB
1e929292ddd5
tag management
New Tag
Create a new tag.
Parameters:
- name: str - The name of the tag
- description: Optional[str] - Description of what this tag represents
- models: List[str] - List of either 'model_id' or 'model_name' allowed for this tag
- budget_id: Optional[str] - The id for a budget (tpm/rpm/max budget) for the tag
IF NO BUDGET ID - CREATE ONE WITH THESE 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/new
Request body
Response
Successful Response
{"stackTrail":"paths:/tag/new:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}