Skip to main content

Trigger agent generation

POST 

/api/v1/agents/:agent_id/sessions/:session_id/generate

Triggers the agent to generate a response based on the current conversation. Returns the assistant reply or a requires_action status if the agent needs client tool outputs. Pass ?async=true for a 202 accepted response when you do not need to wait for the result.

Request

Responses

Agent reply or requires_action