Skip to main content
PATCH
Update Agent Endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required

Body

application/json
agent_name
string | null

Name of the agent

Example:

"Customer Support Agent"

agent_description
string | null

Description of the agent

Example:

"An agent designed to handle customer support queries"

model
string | null

Base model identifier

Example:

"nugen-flash-instruct"

max_tokens
integer | null

Maximum number of tokens to generate in the response

Example:

1000

temperature
number | null

Temperature for model responses (0.0-2.0)

Required range: 0 <= x <= 2
Example:

0.7

instructions
string | null

System prompt for the agent

Example:

"You are a helpful customer support assistant."

demonstrations
Demonstrations · object[] | null

Training demonstrations

Response

Returns the updated details of the agent after applying the requested configuration changes

data
AgentInfo · object
required