List Partner Hosted Models
Overview
List hosted models for the authenticated Implementation Partner. Optionally filter by service provider.
Endpoint
GET /api/integration/partner/models/all
Use the service origin described in Getting started. The path above already includes /api.
Authentication
Send the access token obtained from Get Access Token in the Authorization header. Access is limited by the authenticated account’s permissions.
Request headers
Accept: application/json
Authorization: Bearer ACCESS_TOKEN
Query parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
serviceProviderName | string | Optional | Filter by service provider name, such as Meta. |
Request example
The following example uses cURL in a POSIX shell. Replace example credentials and IDs before running it.
curl --request GET \
--url 'https://accounts.onintellibuddies.com/api/integration/partner/models/all' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN'
Response
Successful status: 200 OK.
The following is an illustrative response with synthetic contact and credential values. Arrays are shortened to one representative item.
[
{
"serviceProviderName": "Meta",
"modelName": "Llama-2-70b-chat",
"hostingPlatform": "Azure",
"maxTokenSize": 4096,
"isEnabled": true
}
]
Response fields
The response is an array. The table describes fields in an item. Types reflect the example; this is not an exhaustive schema or nullability contract.
| Field | Example type | Description |
|---|---|---|
serviceProviderName | string | Name of the model provider. |
modelName | string | Hosted model identifier. |
hostingPlatform | string | Platform hosting the model. |
maxTokenSize | integer | Token limit reported for the model. |
isEnabled | boolean | Whether the resource is enabled. |
Errors
Documented error statuses are listed below. Exact response bodies and validation details are not documented.
| 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. |