Run an agent in your workflow

Runs an agent and returns the agent session output to this workflow.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

request body
terminationCallbackSignatureobjectOptional
IAP cog hook to invoke when the session reaches a terminal state. The IAP task stays running until the session completes, fails, or is canceled.
agentstringOptional
An agent to be executed
inputsobjectOptional

Key-value pairs to pass as inputs to the agent session. Must match the agent’s input schema.

Response

result
statusstring
Current session status
sessionIdstring
The session ID assigned by AEE
lastMessagestring
Last message from the session

Errors

500
Internal Server Error