Update an agent configuration
Documentation Index
Fetch the complete documentation index at: https://developers.datagrid.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the agent to update
Deprecated, use corpus instead. Array of Knowledge IDs the agent should use during the converse. When omitted, all knowledge is used.
Array of corpus items the agent should use during the converse. When omitted, all knowledge is used.
Directs your AI Agent's operational behavior.
Use custom prompt to instruct the style and formatting of the agent's response
Define the planning strategy your AI Agent should use when breaking down tasks and solving problems
Array of the agent tools to enable. If not provided, or null is provided - default tools of the agent are used. If empty list provided - none of the tools are used. When connection_id is set for a tool, it will use that specific connection instead of the default one.
Structured outputs (Converse): All agent_model values support JSON Schema constrained responses via text.format on the Converse request.
Tool availability by agent model (aligned with in-app Execute / Extended / direct LLM; see Converse chat_mode for Ask vs agent_model):
magpie-2.0, magpie-2.5, magpie-1.1): All tools below are available.magpie-1.1-flash): Only semantic_search is supported. Requests specifying other tools will be rejected with a 400 error.llm-only): No tools are executed. Requests specifying tools will be rejected with a 400 error.Knowledge management tools:
Actions:
Data processing tools:
Enhanced response tools:
Web tools:
The unique identifier for a tool.
Array of the agent tools to disable. Disabling is performed after the 'agent_tools' rules are applied. For example, agent_tools: null and disabled_tools: [data_analysis] will enable everything but the data_analysis tool. If nothing or [] is provided, nothing is disabled and therefore only the agent_tools setting is relevant.
The unique identifier for a tool.
The LLM used to generate responses.
gemini-3-pro-preview, gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-pro-preview-05-06, gemini-2.5-flash, gemini-2.5-flash-preview-04-17, gemini-2.5-flash-native-audio-preview-12-2025, gemini-2.5-flash-lite, gpt-5, gpt-5.1, gemini-2.0-flash-001, gemini-2.0-flash, gemini-1.5-pro-001, gemini-1.5-pro-002, gemini-1.5-flash-002, gemini-1.5-flash-001, chatgpt-4o-latest, gpt-4o, gpt-4, gpt-4-turbo, gpt-4o-mini Sampling temperature for model output. Lower values are more deterministic; higher values are more diverse.
0 <= x <= 1The agent model determines the processing mode for Converse requests. The Datagrid web app exposes Ask, Extended, and Execute as Converse chat_mode (llm_router, light_agent, full_agent). The values below set config.agent_model (model tier and tool limits)—use both fields when mirroring in-app behavior.
Execute (full tool use, planning, and multi-step reasoning; aligns with Execute in the web app / full_agent):
magpie-2.0 — Default. Full agent model with proactive planning and reasoning.magpie-2.5 — Beta. Latest full-agent model — faster, more adaptable, and built to handle a broader range of real-world tasks.magpie-1.1 — Previous-generation full agent model.Extended (search-focused; aligns with Extended in the web app / light_agent; not Ask):
magpie-1.1-flash — Fast model optimized for RAG use cases. Only supports the semantic_search tool. A 400 error will be returned if other tools are specified.Direct LLM (no tool execution; agent_model only—Ask in the web app is chat_mode: llm_router, not magpie-1.1-flash):
llm-only — Runs a direct LLM conversation with no planning or tool calls. A 400 error will be returned if tools are specified.Can also accept any custom string value for future model versions.
magpie-1.1, magpie-1.1-flash, magpie-2.0, magpie-2.5, magpie-2.5-flash, llm-only Registered MCP servers to enable for this agent.
The name of the agent
255The emoji of the agent
255The description of the agent
1000Updated agent
The object type, always 'agent'
agent Unique identifier for the agent
The name of the agent
The emoji of the agent
The description of the agent
The ISO string for when the agent was created
Deprecated, use corpus instead. Array of Knowledge IDs the agent should use during the converse. When omitted, all knowledge is used.
Array of corpus items the agent should use during the converse. When omitted, all knowledge is used.
Directs your AI Agent's operational behavior.
Use custom prompt to instruct the style and formatting of the agent's response
Define the planning strategy your AI Agent should use when breaking down tasks and solving problems
The agent model determines the processing mode for Converse requests. The Datagrid web app exposes Ask, Extended, and Execute as Converse chat_mode (llm_router, light_agent, full_agent). The values below set config.agent_model (model tier and tool limits)—use both fields when mirroring in-app behavior.
Execute (full tool use, planning, and multi-step reasoning; aligns with Execute in the web app / full_agent):
magpie-2.0 — Default. Full agent model with proactive planning and reasoning.magpie-2.5 — Beta. Latest full-agent model — faster, more adaptable, and built to handle a broader range of real-world tasks.magpie-1.1 — Previous-generation full agent model.Extended (search-focused; aligns with Extended in the web app / light_agent; not Ask):
magpie-1.1-flash — Fast model optimized for RAG use cases. Only supports the semantic_search tool. A 400 error will be returned if other tools are specified.Direct LLM (no tool execution; agent_model only—Ask in the web app is chat_mode: llm_router, not magpie-1.1-flash):
llm-only — Runs a direct LLM conversation with no planning or tool calls. A 400 error will be returned if tools are specified.Can also accept any custom string value for future model versions.
magpie-1.1, magpie-1.1-flash, magpie-2.0, magpie-2.5, magpie-2.5-flash, llm-only The LLM used to generate responses.
gemini-3-pro-preview, gemini-3.1-pro-preview, gemini-3-flash-preview, gemini-2.5-pro, gemini-2.5-pro-preview-05-06, gemini-2.5-flash, gemini-2.5-flash-preview-04-17, gemini-2.5-flash-native-audio-preview-12-2025, gemini-2.5-flash-lite, gpt-5, gpt-5.1, gemini-2.0-flash-001, gemini-2.0-flash, gemini-1.5-pro-001, gemini-1.5-pro-002, gemini-1.5-flash-002, gemini-1.5-flash-001, chatgpt-4o-latest, gpt-4o, gpt-4, gpt-4-turbo, gpt-4o-mini Tools that this agent can use.
Registered MCP servers enabled for this agent.