cURL
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 an existing AI agent
Show properties