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.

contextobjectRequired

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

eventobjectRequired

An event to be processed by an AI agent.

event_source_targetobjectRequired

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

session_objectstringRequiredformat: "text"

An identifier of a session with an AI agent.

webhook_targetobjectRequired

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

client_metadataobjectOptional

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

targetenumOptional
Allowed values: event_source_targetwebhook_target

Response

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

sessionobject
Built with