Skip to main content
GET
/
api
/
v1
/
prompts
/
llms
/
supported
Typescript (SDK)
import { SyllableSDK } from "syllable-sdk";

const syllableSDK = new SyllableSDK({
  apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});

async function run() {
  const result = await syllableSDK.prompts.promptGetSupportedLlms();

  console.log(result);
}

run();
[
  {
    "display_name": "<string>",
    "deprecated": true,
    "provider": "azure_openai",
    "model": "gpt-4o",
    "version": "2024-05-13",
    "api_version": "2024-06-01"
  }
]

Authorizations

Syllable-API-Key
string
header
required

Response

200 - application/json

Successful Response

display_name
string
required

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

Example:

"GPT-4o"

deprecated
boolean
required

Whether the LLM config is deprecated and should not be used.

Example:

false

provider
enum<string>
default:azure_openai

Provider of the LLM model.

Available options:
azure_openai,
google,
openai
Example:

"azure_openai"

model
string
default:gpt-4o

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

Example:

"gpt-4o"

version
string | null

Model version.

Example:

"2024-05-13"

api_version
string | null

Version of the provider's API.

Example:

"2024-06-01"