API Reference
cURL
curl --request PUT \ --url https://api.example.com/api/models/{model_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "category": "<string>", "model_provider": "<string>", "model_name": "<string>", "api_key": "<string>", "base_url": "<string>", "temperature": 123, "dimension": 123, "description": "<string>", "abilities": [ "<string>" ], "share_with_users": true } '
{ "id": 123, "model_id": "<string>", "category": "<string>", "model_provider": "<string>", "model_name": "<string>", "base_url": "<string>", "temperature": 123, "dimension": 123, "abilities": [ "<string>" ], "description": "<string>", "created_at": "<string>", "updated_at": "<string>", "is_active": true, "is_owner": true, "can_edit": true, "can_delete": true, "is_shared": true }
Update a model configuration
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Model update request schema
Successful Response
Model response with user access information