curl --request POST \
--url https://app.tryiris.dev/api/trpc/agent.update \
--header 'Content-Type: application/json' \
--header 'IRIS_ACCESS_TOKEN: <iris_access_token>' \
--data '{
"0": {
"json": {
"where": {
"id": "<string>"
},
"data": {
"name": "<string>",
"provider": "<string>",
"modelType": "<string>",
"configuration": {
"temperature": 123,
"maxTokens": 123,
"timeoutSeconds": 123
},
"capabilities": [
{}
]
}
}
}
}'
{
"id": "<string>",
"name": "<string>",
"provider": "<string>",
"modelType": "<string>",
"configuration": {
"temperature": 123,
"maxTokens": 123,
"timeoutSeconds": 123
},
"capabilities": [
{}
],
"createdAt": "<string>",
"updatedAt": "<string>"
}
Update Agent
Update an existing AI agent’s configuration.
Your Iris API access token
Body
The unique identifier of the agent to update
The new name for the agent
The AI provider to use (e.g. “anthropic”, “vertex-ai”, “bedrock”)
Model temperature (0.0 to 1.0)
Maximum tokens per response
Request timeout in seconds
List of enabled capabilities
Response
Unique identifier for the agent
The updated name of the agent
The AI provider being used
The type of model being used
Model temperature setting
Maximum tokens per response
Request timeout in seconds
List of enabled agent capabilities
Timestamp of when the agent was created
Timestamp of when the agent was last updated