Skip to main content
Version: Current

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​

ParameterTypeRequirementDescription
serviceProviderNamestringOptionalFilter 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.

FieldExample typeDescription
serviceProviderNamestringName of the model provider.
modelNamestringHosted model identifier.
hostingPlatformstringPlatform hosting the model.
maxTokenSizeintegerToken limit reported for the model.
isEnabledbooleanWhether the resource is enabled.

Errors​

Documented error statuses are listed below. Exact response bodies and validation details are not documented.

StatusDescription
400Bad Request – The partner ID or user ID is invalid.
401Unauthorized – Authentication is required to access this resource.
403Forbidden – The user lacks IntelliAppZ access or is not authenticated as a partner.
404Not Found – No partner record is associated with the authenticated user.
500Internal Server Error – An unexpected error occurred during request processing.