AssemblyAI LLM Gateway adds a decisions endpoint for yes/no, choice and score answers; Python SDK 1.10.0 supports it (November 12, 2026)
AssemblyAI's LLM Gateway has POST /v1/decisions: typed answers with probabilities. Python SDK 1.10.0 adds decisions.create(). US only.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. What you paste stays in this tab. It is never sent to Wirestack or saved.
- AssemblyAI API keyASSEMBLYAI_API_KEYGet key
Your key is on the dashboard, or in the sidebar under Workspace, Manage, API Keys
What changed
On November 12, 2026 AssemblyAI released Python SDK 1.10.0, which adds decisions.create() for the LLM Gateway's /v1/decisions endpoint. The endpoint is documented on a Decisions page in the LLM Gateway docs.
POST https://llm-gateway.assemblyai.com/v1/decisions takes one input and a list of questions, and returns one typed answer per question with a probability instead of generated text.
- Question types:
predicate(is this true),choice(needschoices, at least 2) andscore(needslevels, 2 to 10). - A request can hold 1 to 400 questions, each with a unique
nameandinstructions. - Models:
gpt-6-luna(OpenAI; US and global;instructionscan include images) andjev-1.13.0(Typesafe AI; US; text only). Use the exact model ID; aliases are not accepted. jev-1.13.0is off by default. Accept the Jev terms on the Data Controls page in the dashboard first, or requests return400.- The endpoint is US only. It is not on the EU endpoint.
- Unknown fields are rejected.
What to do
Nothing changes in existing transcription or chat calls. To use the endpoint you need an AssemblyAI API key in ASSEMBLYAI_API_KEY, sent in the Authorization header. AssemblyAI's example asks three questions about a call transcript:
curl -X POST "https://llm-gateway.assemblyai.com/v1/decisions" \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-luna",
"input": "Agent: Thanks for calling Northwind Internet, this is Priya. Can I get your account number?\nCustomer: Sure, it'\''s 4471-2209.\nAgent: Thanks. And can you confirm the address on the account?\nCustomer: 18 Harbor Lane. My internet has dropped three times today and I work from home.\nAgent: I'\''m sorry about that. There'\''s an outage in your area. A technician is already on it, and it should be fixed by 5 PM.\nCustomer: Okay, that'\''s fine. Thanks for letting me know.",
"questions": [
{
"type": "predicate",
"name": "confirmed_account_details",
"instructions": "Did the agent ask the caller to confirm their account details?"
},
{
"type": "choice",
"name": "call_outcome",
"instructions": "How did the call end?",
"choices": [
{"value": "resolved", "description": "The issue was fixed or fully answered on the call"},
{"value": "follow_up", "description": "The customer was told the issue will be fixed later"},
{"value": "escalated", "description": "The call was transferred or escalated"}
]
},
{
"type": "score",
"name": "customer_sentiment",
"instructions": "How did the customer feel at the end of the call?",
"levels": [
{"label": "negative", "description": "Upset or frustrated"},
{"label": "neutral", "description": "Neither upset nor pleased"},
{"label": "positive", "description": "Satisfied or thankful"}
]
}
]
}'