Memos

List A I Provider Models

ListAIProviderModels lists the models a configured provider reports. Errors carry the AI failure reasons of InstanceService.UpdateInstanceSetting. The caller must be an administrator.

GET
/api/ai/providers/{providerId}/models

Path Parameters

providerId*string

Required. The ID of a provider in the instance's AI setting.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/ai/providers/string/models"
{  "models": [    "string"  ]}