Prediction

Send message to flow and get AI response

post

Send a message to your flow and receive an AI-generated response. This is the primary endpoint for interacting with your flows and assistants.Authentication: API key may be required depending on flow settings.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Flow ID - the unique identifier of your flow

Example: your-flow-id
Body
questionstringOptional

The question/message to send to the flow

Example: What is artificial intelligence?
streamingbooleanOptional

Enable streaming responses for real-time output

Default: falseExample: false
Responses
200

Successful prediction response

application/json
post
/prediction/{id}

Last updated