Execute-Async Ai Agents Events

POST

Execute an AI agent input event asynchronously.

Request

This endpoint expects an object.
agentstringRequiredformat: "id"

The ID of the AI agent that will consume the event.

eventobjectRequired

An event to be processed by an AI agent.

session_objectstringRequiredformat: "text"

An identifier of a session with an AI agent.

client_metadataobjectOptional

The metadata to be sent to the client with the notifications of execution progress.

contextobjectOptional

Additional metadata to be used by the AI agent for the event.

event_source_targetobjectOptional

The source of the event to send notifications to, of asynchronous execution progress.

targetenumOptional
Allowed values: event_source_targetwebhook_target
webhook_targetobjectOptional

The source of the event to send notifications to, of asynchronous execution progress.

Response

Response object to provide final response after asynchronous execution of input event to AI agent.

sessionobject
Built with