Decisions

/api/v1/systemone

Beta: Alias of POST /decisions mirroring the upstream TypeSafe path, so TypeSafe SDKs work with a base URL swap (TYPESAFE_BASE_URL=https://api.venice.ai/api).

post/api/v1/systemone

Request

  • Base URL: https://api.venice.ai
  • URL: https://api.venice.ai/api/v1/systemone
  • Auth: one of:
    • HTTP bearer
    • API key in header SIGN-IN-WITH-X

Headers

Accept-Encodingstring
Example:gzip, br

Supported compression encodings (gzip, br)

Request body

questionsobject required

Map of typed questions, keyed by an id you choose. At least one question is required. Answers come back under the same ids. Every question is evaluated in parallel and in isolation against the same state. Question ids are not sent to the model.

Example request

{
  "questions": {
    "is_urgent": {
      "type": "noul",
      "instructions": "Does this message convey urgency?"
    }
  }
}

Response

OK

modelstring required

The model that performed the evaluation.

answersobject required

One answer per question, keyed by the same ids used in the request.

Example response

{
  "model": "jev-latest",
  "answers": {
    "is_urgent": {
      "type": "noul",
      "noul": 0.92
    }
  },
  "usage": {
    "input_tokens": 312,
    "output_tokens": 48
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.