prompts

Get Supported Llm Configs

Get supported LLM configs.

Each config's status is resolved against the current date. Retired models are omitted unless they match selected_model, so a saved config still referencing a retired model can render it as a locked field.

get/api/v1/prompts/llms/supported

Query parameters

selected_modelstring nullable

Response

Successful Response

provider'anthropic' | 'azure_openai' | 'google' | 'openai'

LLM API provider.

modelstring

Name of the model. Must match the deployment name in Azure AI Studio.

display_namestring required

Display name of the model. This is used for display purposes in the Console UI.

versionstring nullable

Deprecated model version retained for backward compatibility.

api_versionstring nullable

Version of the provider's API.

deprecatedboolean required

Whether the model is in the deprecation warning window.

sunset_datestring date nullable

Date the model becomes retired and can no longer be saved or selected.

removedboolean

Whether the model is force-retired regardless of sunset_date.

fallbackstring nullable

Model substituted at runtime for critical features once this one is retired.

status'active' | 'deprecated' | 'retired'

Effective deprecation state of a model, resolved against a reference date.

Example response

[
  {
    "model": "gpt-4o",
    "display_name": "GPT-4o",
    "version": "2024-05-13",
    "api_version": "2024-06-01"
  }
]

Changes

Changed in 4 of the 97 revisions of this API.514

    • added the new optional query request parameter selected_model

      new-optional-request-parameter

    • added the non-success response with the status 422

      response-non-success-status-added

    • added the optional property items/fallback to the response with the 200 status

      response-optional-property-added

    • added the optional property items/removed to the response with the 200 status

      response-optional-property-added

    • added the optional property items/status to the response with the 200 status

      response-optional-property-added

    • added the optional property items/sunset_date to the response with the 200 status

      response-optional-property-added

  • cfeaccd3279851See the full diff
    • deleted the query request parameter selected_model

      request-parameter-removed

    • removed the optional property items/fallback from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/removed from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/status from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/sunset_date from the response with the 200 status

      response-optional-property-removed

    • removed the non-success response with the status 422

      response-non-success-status-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional query request parameter selected_model

      new-optional-request-parameter

    • added the non-success response with the status 422

      response-non-success-status-added

    • added the optional property items/fallback to the response with the 200 status

      response-optional-property-added

    • added the optional property items/removed to the response with the 200 status

      response-optional-property-added

    • added the optional property items/status to the response with the 200 status

      response-optional-property-added

    • added the optional property items/sunset_date to the response with the 200 status

      response-optional-property-added

    • response property items/version deprecated

      response-property-deprecated

Of the 97 revisions, 1 has no diff computed.