Evaluate text or images against typed questions and get calibrated predicate, choice and score answers back. OpenAI-compatible API.

post/v1/decisions

Request

  • Base URL
    https://api.llmgateway.io
  • Auth
    HTTP bearer

Request body

modelstring required

ID of the decision model to use, optionally prefixed with a provider (openai/gpt-6-luna-decisions, azure/microsoft-decision-1, typesafe/jev-1.14.0).

safety_identifierstring nullable

Opaque end-user identifier stored in log params.safety_identifier. Credits requests use LLM Gateway's fixed API-key identifier upstream; BYOK requests omit it.

Example request

{
  "model": "gpt-6-luna-decisions"
}

Response

Typed answers for the submitted questions.

modelstring required

Changes