Providers
Update Model
PATCH
/api/v1/providers/models/{model_id}Authorization
BearerAuth AuthorizationBearer <token>
In: header
Path Parameters
model_id*Model Id
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/api/v1/providers/models/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "name": "string", "model_type": "llm", "is_active": true, "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44", "tags": [ "string" ], "tag_metadata": { "general": [ { "key": "string", "label": "string", "color": "string", "priority": 0, "source": "string" } ], "price": { "label": "string", "color": "string", "value": "string", "source": "string", "status": "string", "currency": "string", "unit": "string" }, "latency": { "label": "string", "color": "string", "value": "string", "source": "string", "status": "string", "currency": "string", "unit": "string" } }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}