API Reference
cURL
curl --request POST \ --url https://api.example.com/api/models/register \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model_id": "<string>", "model_provider": "<string>", "model_name": "<string>", "api_key": "<string>", "category": "llm", "base_url": "<string>", "temperature": 123, "dimension": 123, "abilities": [ "<string>" ], "description": "<string>", "share_with_users": false } '
{ "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 }
Create a new model configuration
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Model creation request schema
Successful Response
Model response with user access information