Decisions

Answer typed questions about an input

Changed on

Answers typed questions about a text or JSON input: a choice, a score or a yes/no, with probabilities. Bills input tokens only. Each answer carries its probabilities and a confidence; nothing is generated. Served by openrelay/qwen3.6-35b-decide, which reads the probability of each option's letter at one token; check a model's supported_apis on GET /v1/models for decisions. Online only: the Batch API does not accept /v1/decisions.

Requires a funded balance. Any field this schema does not list is rejected with 400 unknown_field. stream is dropped: a decision is always a single JSON response. Limits: 1 to 64 questions per request, 10 MiB request body.

Requires the inference.invoke permission. See Permissions for the roles and API key permissions that include it.

post/v1/decisions

Request

  • Base URL
    https://inference.openrelay.inc
  • URL
    https://inference.openrelay.inc/v1/decisions
  • Auth
    HTTP bearer

Request body

modelstring required

openrelay/qwen3.6-35b-decide.

questionsobject required

Question id to question ({type, instructions, criteria}). Between 1 and 64 questions.

Response

OK

answersobject
modelstring

The public model id requested.

usageobject

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      removed the optional property from the response with the status