Belake.ai icon

Belake.ai

Belake.ai API operations

Agent → Update Agent

AI-generated

Summary

Updates an existing Belake.ai agent with the selected fields. Sends a PATCH request for the specified agent in the specified workspace; fields you omit are not included in the update.

Inputs

  • Agent ID (required) — Identifier of the agent to update.
  • Workspace ID (required) — Workspace containing the agent; sent as a query parameter.
  • Update Fields — Choose any fields to update: datasource ID, description, display mode, thinking and web search settings, group IDs, language model ID, name, prompt, or tools. Group IDs and tool IDs must be JSON arrays of strings; use [] to clear them. Thinking level is used when Enable Thinking is true; when false, the request sets thinkingLevel to null.

Output shape

A single item containing the API response as JSON for each input item.

The request also includes enableDeepAgent: false and thinkingBudgetTokens: null. Invalid JSON arrays for Group IDs or Tools cause an error; with Continue On Fail enabled, the node outputs an error object for that input item.

Links

Discussion