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"
}
}Updates agent configuration (current behavior).
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"
}
}API Key for MCP server and external service authentication
API Secret for MCP server and external service authentication