Authorizations
Body
application/json
Name of the saved model
Example:
"Test Model"
Custom identifier for the model
Example:
"v1"
Purpose of testing
Available options:
foundationModels
, chatbotsAndCopilots
, agents
, URL
Example:
"foundationModels"
Name of the model. Required for foundationModels
Example:
"mistralai/Mixtral-8x7B-Instruct-v0.1"
List of certifications
Example:
[
"GDPR",
"CCPA",
"HIPAA",
"SOC 2 Type II",
"SOC 3"
]
Response
200 - application/json
Successful Response
Example:
"Model details added successfully"
Example:
{
"created_at": "2024-10-15T17:22:47.872389+00:00",
"updated_at": "2024-10-15T17:22:47.872389+00:00",
"model_id": 1234567890,
"testing_for": "foundationModels",
"model_saved_name": "Test Model",
"model_version": "v1",
"model_provider": "together",
"model_name": "mistralai/Mixtral-8x7B-Instruct-v0.1",
"project_name": "default",
"hosting_type": "External",
"certifications": [],
"model_config": {
"model_provider": "together",
"hosting_type": "External",
"input_modalities": ["text"],
"output_modalities": ["text"],
"model_source": "https://together.ai",
"rate_per_min": 20,
"system_prompt": "",
"endpoint": {
"scheme": "https",
"host": "api.together.xyz",
"port": 443,
"base_path": "/v1"
},
"paths": {
"completions": "/completions",
"chat": "/chat/completions"
},
"auth_data": {
"header_name": "Authorization",
"header_prefix": "Bearer",
"space_after_prefix": true
},
"apikeys": ["xxxxx"],
"metadata": {},
"default_request_options": {}
}
}