Enable or disable agent
Control whether an AI agent can respond to users.
PUT
/v1/ai-agents/{agentId}/enabledPath parameters
ParameterTypeDescription
agentIdstringRequired
Identifier of the AI agent. Example: "agent_01".
Body parameters
application/jsonParameterTypeDescription
enabledbooleanRequired
Set to true to enable the agent or false to disable it. Example: true.
Responses
{
"data": {
"id": "agent_01",
"enabled": true
}
}