Introduction
Submit agent step states, workflow payloads, and operational queues in state and define up to 64 independent questions for Liquid D1.2 Ultra using noul, choice, or score to receive structured answers keyed by your names.
| Field | Value |
|---|---|
| Input | Text |
| Output | Structured data |
| Publisher and model | Liquid AI — Liquid D1.2 Ultra |
| Public API name | liquid/d1.2-ultra/decision |
| State format | String, JSON object, or array |
| Answer types | noul, choice, score |
| Question cap | Up to 64 parallel |
| Token ceiling | 64k input tokens |
| Choice options | 1–255 named options |
| Score levels | 2–10 ordered levels |
| Measured probe | 1.69 s, 102 input tokens |
| Billing | Input tokens only |
Key features & highlights
Compact efficiency with crisp calibration
Combines tight token efficiency with sharp confidence calibration so automated workflows and multi-step agents can branch cleanly without paying flagship token rates.
Probabilities, choices, and rubrics from Liquid D1.2 Ultra
Ask Liquid D1.2 Ultra using noul for 0–1 yes probabilities, choice for 1–255 described options with confidence, or score for 2–10 weighted rubric levels with a returned legend.
Score agent step states in one pass
Send agent step states, workflow payloads, and operational queues once inside state and let Liquid D1.2 Ultra evaluate up to 64 independent questions in parallel so your application can branch without chaining prompts.
Calibrate Liquid D1.2 Ultra thresholds in code
Use Liquid D1.2 Ultra confidence and probability distributions to automate high-certainty decisions over agent step states, workflow payloads, and operational queues while escalating ambiguous items to a reviewer or generative model.
Request parameters
| Parameter | Required | Description |
|---|---|---|
questions | Yes | Map of 1–64 named questions for Liquid D1.2 Ultra, each specifying type (noul, choice, or score), instructions, and criteria (1–255 choice options or 2–10 score levels). |
state | Yes | Text, JSON object, or array holding agent step states, workflow payloads, and operational queues for Liquid D1.2 Ultra; every question reads this state independently. at least 1 characters |
Pricing
$0.000042 / 1,000 tokens
Liquid D1.2 Ultra bills per measured input token with free output tokens; the acceptance hold uses the 64k-token cap and releases the difference at settlement.
Use cases
Gate multi-step agent transitions
Check completion predicates, safety flags, and next-step choices between agent tool calls to keep automated pipelines predictable.
Route operational and billing queues
Assign team ownership, urgency levels, and refund flags from structured incident or ticket payloads in one pass.
Validate structured state transitions
Verify whether a JSON workflow state satisfies business rules before advancing an order, ticket, or approval stage.
Run continuous QA checks on responses
Score draft outputs against ordered quality criteria and escalate low-confidence cases to a larger model or reviewer.
Prompt guide & pro tips
Assemble the state payload
Place agent step states, workflow payloads, and operational queues in state as plain text, a JSON object, or an array containing every fact Liquid D1.2 Ultra needs.
Author typed questions
Add 1–64 named entries under questions for Liquid D1.2 Ultra, choosing noul, choice, or score with explicit instructions and criteria.
Invoke Liquid D1.2 Ultra
Send POST /api/v1/jobs/createTask?wait=30 with model set to liquid/d1.2-ultra/decision and read output.decision, or poll recordInfo for completion.
Validate and route outputs
Benchmark Liquid D1.2 Ultra probabilities on labelled samples of agent step states, workflow payloads, and operational queues, route uncertain answers to review, and log inputTokens.
Liquid D1.2 Ultra API for typed decisions
Liquid D1.2 Ultra is Liquid AI’s compact, high-precision decision architecture engineered for deterministic workflow branching, agent gating, and operational triage. Submit agent step states, workflow payloads, and operational queues in state with up to 64 named questions to receive noul probabilities, choice labels, and score rubrics.
Call Liquid D1.2 Ultra
Send POST /api/v1/jobs/createTask?wait=30 with model set to liquid/d1.2-ultra/decision.
{
"model": "liquid/d1.2-ultra/decision",
"input": {
"state": {
"step": "order_cancel",
"verified_owner": true,
"shipment_status": "packed_not_dispatched"
},
"questions": {
"allow_auto_cancel": {
"type": "noul",
"instructions": "Can the workflow cancel this order automatically?"
},
"next_branch": {
"type": "choice",
"instructions": "Choose next agent branch",
"criteria": {
"cancel_now": "Execute cancellation tool",
"escalate_ops": "Hand off to warehouse team"
}
}
}
}
}
Inspect Liquid D1.2 Ultra output
Completed Liquid D1.2 Ultra tasks populate output.decision.answers and output.decision.inputTokens (or poll recordInfo).
{
"output": {
"decision": {
"answers": {
"allow_auto_cancel": {
"type": "noul",
"noul": 0.96
},
"next_branch": {
"type": "choice",
"choice": "cancel_now",
"confidence": 0.93
}
},
"inputTokens": 102
}
}
}
Input schema for Liquid D1.2 Ultra
state: String, JSON object, or array carrying agent step states, workflow payloads, and operational queues for Liquid D1.2 Ultra.questions: 1–64 keyed entries that Liquid D1.2 Ultra evaluates independently in parallel.type: Picknoul,choice, orscoredepending on the typed value your Liquid D1.2 Ultra caller expects.instructionsandcriteria: Clear wording plus optionaltrue/false, 1–255 options, or 2–10 ordered levels for Liquid D1.2 Ultra.
Billing and limits
Liquid D1.2 Ultra bills strictly on measured inputTokens (our 3-question probe took 1.69 s and 102 input tokens); output tokens are free. Stay within 64 questions and 64k text or JSON tokens, and route uncertain Liquid D1.2 Ultra results to review.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "liquid/d1.2-ultra/decision",
"input": {
"state": "example",
"questions": {
"example": {
"type": "noul",
"instructions": "The customer asks for a refund after being billed twice."
}
}
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.
