Skip to main content

List models available from a LLM provider associated with a saved configuration in NetApp Console local deployment

GET /configs/{config_id}/providerModels

Returns a list of all models available from the Large Language Model (LLM) provider associated with the specified saved configuration.

This endpoint finds the configuration by using the config_id, retrieves the stored provider credentials (API key, base URL, provider type, and so on) and queries the provider's API directly to discover available models.

No request body is required — all credentials are resolved from the saved configuration record.

The response contains basic model information including name, provider, and model type.

Parameters

Name Type In Required Description

config_id

string

path

True

Unique identifier for the configuration instance.

Response

Status: 200, Successfully retrieved the list of models from the provider.
Name Type Required Description

count

integer

False

Number of items in the current response.

items

array[providerModel_1.0_get_response_body]

True

Array of provider model resources.

type

string

True

Media type of the resource collection. Defined values are:

  • "application/vnd.netapp.bxp.providerModels"

version

string

True

Version of the resource. Defined values are:

  • "1.0"

Example response
{
  "count": 3,
  "items": [
    {
      "modelType": "chat",
      "name": "gpt-4o",
      "provider": "openai",
      "supported": "true",
      "type": "application/vnd.netapp.bxp.providerModel",
      "version": "1.0"
    },
    {
      "modelType": "chat",
      "name": "gpt-4o-mini",
      "provider": "openai",
      "supported": "true",
      "type": "application/vnd.netapp.bxp.providerModel",
      "version": "1.0"
    },
    {
      "modelType": "embedding",
      "name": "text-embedding-3-large",
      "provider": "openai",
      "supported": "false",
      "type": "application/vnd.netapp.bxp.providerModel",
      "version": "1.0"
    }
  ],
  "type": "application/vnd.netapp.bxp.providerModels",
  "version": "1.0"
}

Response

Status: 401, Unauthorized - authentication required or invalid provider credentials.
Name Type Required Description

correlationId

string

False

Internal UUID representing the request or trace ID related.

detail

string

False

Details about the problem.

invalidParams

array[invalidParams]

False

List of invalid parameters.

status

string

True

HTTP error code related to the problem.

title

string

True

Title description of the problem.

type

string

True

Content-type of the object.

Response

Status: 403, Forbidden - insufficient permissions.
Name Type Required Description

correlationId

string

False

Internal UUID representing the request or trace ID related.

detail

string

False

Details about the problem.

invalidParams

array[invalidParams]

False

List of invalid parameters.

status

string

True

HTTP error code related to the problem.

title

string

True

Title description of the problem.

type

string

True

Content-type of the object.

Response

Status: 404, Not found - no configuration exists with the given config_id.
Name Type Required Description

correlationId

string

False

Internal UUID representing the request or trace ID related.

detail

string

False

Details about the problem.

invalidParams

array[invalidParams]

False

List of invalid parameters.

status

string

True

HTTP error code related to the problem.

title

string

True

Title description of the problem.

type

string

True

Content-type of the object.

Response

Status: 500, Internal server error.
Name Type Required Description

correlationId

string

False

Internal UUID representing the request or trace ID related.

detail

string

False

Details about the problem.

invalidParams

array[invalidParams]

False

List of invalid parameters.

status

string

True

HTTP error code related to the problem.

title

string

True

Title description of the problem.

type

string

True

Content-type of the object.

Response

Status: 502, Bad gateway - failed to connect to the provider's api.
Name Type Required Description

correlationId

string

False

Internal UUID representing the request or trace ID related.

detail

string

False

Details about the problem.

invalidParams

array[invalidParams]

False

List of invalid parameters.

status

string

True

HTTP error code related to the problem.

title

string

True

Title description of the problem.

type

string

True

Content-type of the object.

Error

Status: 400, Bad request - invalid config_id or configuration data.
Name Type Required Description

correlationId

string

False

Internal UUID representing the request or trace ID related.

detail

string

False

Details about the problem.

invalidParams

array[invalidParams]

False

List of invalid parameters.

status

string

True

HTTP error code related to the problem.

title

string

True

Title description of the problem.

type

string

True

Content-type of the object.

Definitions

See Definitions

providerModel_1.0_get_response_body

Name Type Required Description

modelType

string

False

Type or category of the model. Defined values are:

  • "chat" - Chat completion models

  • "completion" - Text completion models

  • "embedding" - Embedding models

  • "image" - Image generation models

  • "audio" - Audio transcription/generation models

  • "multimodal" - Models supporting multiple input/output types

name

string

True

Name or identifier of the model as returned by the provider's API.

provider

string

True

Name of the LLM provider. Defined values are:

  • "openai" - OpenAI API

  • "anthropic" - Anthropic Claude API

  • "commonOpenAI" - Generic OpenAI-compatible API

supported

string

False

JSON string that indicates if the model is supported by the Agentic Platform. Defined values are:

  • true

  • false

type

string

True

Media type of the resource. Defined values are:

  • "application/vnd.netapp.bxp.providerModel"

version

string

True

Version of the resource. Defined values are:

  • "1.0"

invalidParams

Name Type Required Description

name

string

True

Name of the invalid parameter.

reason

string

True

Reason why the parameter is invalid.