Update a forged agent
PUT
/api/v1/forge/agents/{agent_id}
const url = 'https://api.ultimateteam.ai/api/v1/forge/agents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PUT', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"isolation_mode":"example","template":{"allowed_tools":["example"],"credit_cost_per_call":5,"default_model":"workhorse","description":"","max_reflection_rounds":2,"max_tool_calls":5,"name":"example","system_prompt":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.ultimateteam.ai/api/v1/forge/agents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "isolation_mode": "example", "template": { "allowed_tools": [ "example" ], "credit_cost_per_call": 5, "default_model": "workhorse", "description": "", "max_reflection_rounds": 2, "max_tool_calls": 5, "name": "example", "system_prompt": "example" } }'Replace the template; snapshot the prior version for audit.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”agent_id
required
Agent Id
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
ForgedAgentUpdateRequest
PUT body – full template replacement.
object
template
required
ForgedAgentTemplateIn
Tenant-supplied template payload for create / update.
object
allowed_tools
Allowed Tools
Array<string>
credit_cost_per_call
Credit Cost Per Call
integer
default_model
Default Model
string
description
Description
string
max_reflection_rounds
Max Reflection Rounds
integer
max_tool_calls
Max Tool Calls
integer
name
required
Name
string
system_prompt
required
System Prompt
string
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
ForgedAgentResponse
Wire shape for read / list endpoints.
object
created_at
required
Created At
string format: date-time
id
required
Id
string format: uuid
isolation_mode
required
Isolation Mode
string
status
required
Status
string
template
required
Template
object
key
additional properties
any
tenant_id
required
Tenant Id
string format: uuid
updated_at
required
Updated At
string format: date-time
version
required
Version
integer
Examplegenerated
{ "created_at": "2026-04-15T12:00:00Z", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "isolation_mode": "example", "status": "example", "template": {}, "tenant_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "updated_at": "2026-04-15T12:00:00Z", "version": 1}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}