cURL
curl --request POST \ --url https://api.kaizenautomation.com/agents/execute \ --header 'Content-Type: application/json' \ --data ' { "agentId": "<string>", "content": [ { "type": "<string>", "text": "<string>" } ] } '
{ "executionId": "<string>", "status": "<string>" }
Executes an agent with optional content.
Request parameters for executing an agent
External ID of the agent to execute. Optional when useAgentSkills is enabled for the organization - the backend will automatically use the most recently created agent.
Optional content array. If provided, this will be used as the initial message.
Show child attributes
Agent execution started successfully
Response after starting agent execution
ID of the execution
Current status of the execution