Agent Graph
Invoke (Sync)
Send customer input events to an AI agent and receive a single aggregated JSON response without streaming 🫴
POST
Invoke (Sync)
Use this endpoint when you want the agent’s complete reply in a single JSON response rather than a streaming NDJSON body. Useful for server-to-server integrations where streaming is inconvenient. You must initialise a session before calling this endpoint.
Endpoint
Request body
Same as Invoke (Stream) —businessId, clientKey, sessionId, optional agentId, and inputEvents with the same supported event types.
Response
The session ID for this conversation.
All agent response events returned in a single array. Each element contains exactly one event key:
