Create structured decisions
Free during the current testing rollout, including for zero-balance accounts; no top-up is required. Use a Bamboo API key with access to the default group. Preserves image, AutoThink, none_probability, and token-usage data.
Authorization
BearerAuth Bamboo API key; provider keys are configured on the gateway
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/decisions" \ -H "Content-Type: application/json" \ -d '{ "model": "startlux-decision-27b-autothink", "state": "A customer was charged twice and requests a refund.", "questions": { "team": { "type": "choice", "instructions": "Which team should handle this ticket?", "criteria": { "billing": "Payments and refunds", "tech": "Technical errors" } } }, "think_mode": "auto" }'{ "model": "startlux-decision-27b-autothink", "answers": { "team": { "type": "choice", "choice": "billing", "confidence": 0.998, "none_probability": 0.004, "probabilities": { "billing": 0.999, "tech": 0.001 } } }, "usage": { "input_tokens": 88, "output_tokens": 0 }}