Belake.ai icon

Belake.ai

Belake.ai API operations

Language Model → Update Language Model

AI-generated

Summary

Updates a Belake.ai language model by ID using a PATCH request. Select the model’s platform, then add only the fields to change; the selected platform also determines which provider-specific fields are sent.

Inputs

  • Language Model ID (required) — Identifier of the language model to update.
  • Platform (required) — Provider hosting the model: OpenAI, AWS Bedrock, Azure Foundry, Azure OpenAI, Gemini (Vertex), or Anthropic. This is always included in the request, along with the corresponding provider tool name and isActive: true.
  • Update Fields — Optional fields to include in the update: name, description, type, default status, and API model identifier. API key is accepted for non-Bedrock platforms; endpoint and API version for Azure OpenAI or Azure Foundry; model name for Azure OpenAI; max tokens for Azure OpenAI, Azure Foundry, Bedrock, or Anthropic; and region, access key, secret key, or bearer token for Bedrock.

Output shape

A single item containing the API response for the updated language model.

The node makes a PATCH request to /v1/languagemodels/{languageModelId} for each input item. Only added update fields are included, subject to the selected platform; on Bedrock, an API key is ignored. Errors stop execution unless Continue On Fail is enabled, in which case the item contains an error field.

Links

Discussion