Endpoint
POST/loopos_ai_decision
Makes a decision based on a prompt and options using AI analysis.
Request
Language code for the request
The decision prompt/question to be answered
List of options to choose from (can be comma-separated string)
Context about the item for the decision
Additional context for the decision
Business context for the AI agent
Response
The selected option (guaranteed to be one of the provided options)
Explanation of why this decision was made
Example Request
Example Response
Related Documentation
- Decision Service - Service overview
- Integration Guide - Integration patterns