Get List Partner Hosted Models
Overview
Retrieves list of Partner Hosted Models. This endpoint returns a list of hosted models for the currently authenticated partner.
Endpoint Details
URL:
/api/integration/partner/models/all
Method :
GET
Request
Header
{'Content-Type': 'application/json; charset=utf-8'}
Query Parameter
Name | In | Description |
---|---|---|
serviceProviderName | query | Optionally, the service provider name used to filter results. |
Response:
HTTP Status Codes
- Success Response
Status | Description |
---|---|
200 | The list of partner hosted models are retrieved successfully. |
- Error Responses
Status | Description |
---|---|
400 | Bad Request – The partner ID or user ID is invalid. |
401 | Unauthorized – Authentication is required to access this resource. |
403 | Forbidden – The user lacks IntelliAppZ access or is not authenticated as a partner. |
404 | Not Found – No partner record is associated with the authenticated user. |
500 | Internal Server Error – An unexpected error occurred during request processing. |
Response Body
Default without serviceProviderName
https://accounts.onintellibuddies.com/api/integration/partner/models/all
[
{
"serviceProviderName": "Meta",
"modelName": "Llama-2-70b-chat",
"hostingPlatform": "Azure",
"maxTokenSize": 4096,
"isEnabled": true
},
{
"serviceProviderName": "Meta",
"modelName": "llama3.2:latest",
"hostingPlatform": "Ollama",
"maxTokenSize": 131072,
"isEnabled": true
}
]
With serviceProviderName=meta
https://accounts.onintellibuddies.com/api/integration/partner/models/all?serviceProviderName=meta
[
{
"serviceProviderName": "Meta",
"modelName": "Llama-2-70b-chat",
"hostingPlatform": "Azure",
"maxTokenSize": 4096,
"isEnabled": true
},
{
"serviceProviderName": "Meta",
"modelName": "llama3.2:latest",
"hostingPlatform": "Ollama",
"maxTokenSize": 131072,
"isEnabled": true
}
]