HomeGuidesAPI ReferenceRelease notes
Log In
API Reference

Ask

Process conversational input and return AI response.

This endpoint accepts a conversational input within the context of a given chat history, invokes the AI executor, and returns the AI-generated response.

Parameters:

  • input: A string representing the user's current message or question to the AI agent.
  • chat_history: A list of objects representing the existing conversation history with the AI agent. Each object contains:
    • role: A string representing the role of the sender of the message which can be either 'human' or 'ai'.
    • message: The message content by the sender.
  • custom_headers: An optional key/value object, that will be attached to OpenAI tools requests
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!