Skip to main content
PATCH
/
api
/
agents
/
{agentId}
/
config
cURL
curl --request PATCH \
  --url http://localhost:8080/api/agents/{agentId}/config \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-API-SECRET: <api-key>' \
  --data '
{
  "llm_config": {
    "model": "gpt-4",
    "temperature": 0.8
  },
  "tts_config": {
    "voice_speed": 1.2
  }
}
'
{
  "message": "Agent configuration updated successfully",
  "status": "success",
  "error": null,
  "data": {
    "agent_id": "agent_123",
    "organization_id": "org_456",
    "agent_name": "Updated Agent"
  }
}

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Path Parameters

agentId
string
required

Body

application/json
llm_config
object
tts_config
object

Response

200 - application/json

OK

message
string
status
string
error
string
data
object