Update Task Agent
Update Task Agent metadata, create a new revision, or activate an existing revision.
Modifiable fields:
- Root metadata: name and run visibility
- Revision configuration: description, instruction, LLM models, execution mode,
memory settings, task tools, MCP servers, integrations, and skills
- Activation: `active_revision_id`
Updating revision configuration creates a new inactive revision. Activate it with a
separate request that only includes `active_revision_id`.
To update task tools, pass a `task_tools` array. This performs a full replacement:
- Omit the field to leave task tools unchanged
- Pass an empty array to remove all task tools
- Pass a new array to replace all task tools (array order = execution order)
Authentication
AuthorizationBearer
Bearer token authentication using JWT tokens from Ory Kratos/Hydra
Path parameters
org_id
The organization ID
project_id
The project ID
task_agent_id
The task agent ID
Request
This endpoint expects an object.
name
description
instruction
mode
Execution mode for TaskAgent.
llm_model_id
fallback_llm_model_id
task_tools
Full replacement of task tools. Omit field to leave task tools unchanged. Pass empty list to remove all task tools.
mcp_servers
Full replacement of MCP servers. Omit field to leave unchanged. Pass empty list to remove all.
integrations
Full replacement of integrations. Omit field to leave unchanged. Pass empty list to remove all.
skills
Full replacement of declarative skills. Omit field to leave unchanged. Pass empty list to remove all.
memory_strategy
memory_config
max_turns
task_agent_run_visibility
Controls who can see all TaskAgent runs for this agent.
active_revision_id
Existing TaskAgent revision to activate. Omit to leave the active revision unchanged.
Response
Task Agent updated
id
name
task_agent_run_visibility
is_deleted
created
modified
active_revision
Summary of the active TaskAgent revision.
revisions
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
