v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Large Language Models

Update a large language model

Updates a large language model.

patch/v2.0/largelanguagemodels/{largeLanguageModelId}

Path parameters

largeLanguageModelIdstring required

The unique identifier for the large language model.

Headers

Accept'application/json' | 'application/hal+json' | 'application/xml' | 'text/xml' | 'text/csv'

The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.

Request body

namestring

The display name of the large language model.

descriptionstring

A meaningful description of the large language model.

provider'azureOpenAI' | 'openAI' | 'anthropic' | 'googleVertexAI' | 'googleGemini' | 'googleGenAI' | 'alephAlpha' | 'awsBedrock' | 'mistral'
connectionIdstring uuid

The identifier for the large language model connection.

isDefaultboolean

If set to true, the large language model is used as the default large language model when no other large language model is set.

Example request

{
  "name": "My large language model",
  "description": "Large language model to be used for customer-facing AI Agents."
}

Response

Successfully updated large language model.