Executar agente
Changed onDispara uma execução do agente: o prompt passa pelo motor de templates e a execução entra na fila de processamento. A resposta devolve o registro recém-criado, ainda sem resultado — o texto gerado, os tokens, os créditos consumidos e os passos aparecem depois no detalhe da execução. model e provider são opcionais e, quando enviados, substituem os padrões do agente apenas nesta execução.
Request
- Base URL: https://api.olie.ai
- URL: https://api.olie.ai/api/management/ai/agents/{agentId}/execute
- Auth: HTTP bearer
Request body
Response
Sucesso
Changes
- breaking
the request property
became not nullable - breaking
the request property
became not nullable
- breaking
- breaking
the request property
became required - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the
response's property type changed fromintegertonumberfor status - warning
added the new
anthropicenum value to the/response property for the response status - warning
added the new
disabledenum value to theresponse property for the response status - warning
added the new
failedenum value to theresponse property for the response status - warning
added the new
googleenum value to the/response property for the response status - warning
added the new
openaienum value to the/response property for the response status - warning
added the new
openrouterenum value to the/response property for the response status - info
added the new optional request property
- info
added the new optional request property
- breaking