Mix LogoMix

Get available providers

Retrieve list of available AI providers and their supported models

Retrieve list of available AI providers and their supported models

GET
/api/preferences/providers

Response Body

from mix_python_sdk import Mixwith Mix() as mix:    res = mix.preferences.get_available_providers()    # Handle response    print(res)
{
  "property1": {
    "display_name": "string",
    "models": [
      "string"
    ]
  },
  "property2": {
    "display_name": "string",
    "models": [
      "string"
    ]
  }
}
{
  "error": {
    "code": 0,
    "message": "string",
    "type": "bad_request"
  }
}