POST
/
ai
/
integrate

Body

application/json
model
string

AI model to use (e.g., gpt-4)

messages
object[]

List of messages for the AI model

tools
string[]

Available tools for the AI to select from

tool_choice
string

How the AI should choose tools (e.g., auto)

Response

200 - application/json
responseId
string
tool_calls
object[]
status
string