Run span-02
Changed onAnswer typed questions about a state with span-02, Respan's decision model. Each question is choice, noul (yes/no), score or number, and each answer carries its probability distribution and confidence. One request can mix all four types.
Set a thinking deadline with reasoning.budget_ms: span-02 thinks until then and answers with its best decision so far. The body is the System One format, so a System One client works by changing the URL. span-02 runs on Respan credits only and is priced per input and output token; thought tokens aren't billed. Streaming is unsupported.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/v1/decisions
- AuthHTTP bearer
Request body
Example request
{
"model": "span-02"
}Response
Answers keyed by question id. The example is the captured response to the request shown; probabilities can vary slightly between calls.
Changes
- breaking
request body became required
- breaking
the
//////request property's minItems was increased to2 - breaking
removed
subschema #2from the//////request propertyoneOflist - breaking
removed
subschema #1subschema #2subschema #3from the///////request propertyoneOflist - breaking
removed
subschema #1subschema #2subschema #3from the//////request propertyoneOflist - breaking
removed
subschema #1subschema #2subschema #3from the//////request propertyoneOflist - breaking
removed
subschema #1subschema #2subschema #3from the//////request propertyoneOflist - breaking
removed
subschema #1subschema #2subschema #3from the//////request propertyoneOflist - breaking
removed
subschema #2subschema #3from the///////request propertyoneOflist - breaking
removed
subschema #2subschema #3from therequest propertyoneOflist - breaking
the
//////request property type changed from no type toobject - breaking
the response property
//////became nullable for the status - breaking
added
subschema #2subschema #3to the///////response propertyoneOflist for the response status - breaking
the
//////response's property format changed fromdoubleto no format for status - breaking
the
///////response's property format changed fromdoubleto no format for status - breaking
the
//////response's property format changed fromdoubleto no format for status - breaking
the
//////response's property format changed fromdoubleto no format for status - breaking
the
///////response's property format changed fromdoubleto no format for status - breaking
the
//////response's property format changed fromdoubleto no format for status - breaking
the
//////response's property format changed fromdoubleto no format for status - breaking
the
//////response's property type changed fromnumbernulltonumber, and format fromdoubleto no format for status - info
api operation id
respanModels_createDecisionsremoved and replaced withcreateDecisions - info
api tag
Respan Modelsadded - info
api tag
respanModelsremoved - info
added the new optional request property
/////// - info
added the new optional request property
/////// - info
the request property
//////became nullable - info
added
subschema #1subschema #2subschema #3to the///////request propertyoneOflist - info
added
subschema #1subschema #2subschema #3to the//////request propertyoneOflist - info
added
subschema #1subschema #2subschema #3to the//////request propertyoneOflist - info
added
subschema #1subschema #2subschema #3to the//////request propertyoneOflist - info
added
subschema #1subschema #2subschema #3to the//////request propertyoneOflist - info
added
subschema #2subschema #3to the///////request propertyoneOflist - info
added
subschema #2subschema #3to therequest propertyoneOflist - info
removed
subschema #2subschema #3from the///////response propertyoneOflist for the response status
- breaking
- info
endpoint added
- info