Updating an AI Agent
Modify an existing agent's settings. This is useful for refining an agent’s configuration without needing to recreate it.
Endpoint: PUT /agents/{agent_id}
Description: Update an agent's name, description, or operational parameters such as supported languages and text length.
Request:
PUT /agents/12345 HTTP/1.1
Host: api.supremaui.network
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"name": "Updated Agent",
"description": "Updated description for the agent",
"parameters": {
"language": ["en", "de"],
"max_text_length": 15000
}
}Response:
{
"agent_id": "12345",
"message": "AI Agent updated successfully",
"updated_at": "2025-01-04T15:00:00Z"
}Last updated