Evaluate
Evaluate questions (OpenAI Decisions format)
POST /v1/decisions takes OpenAI's Decisions wire format on the same models as POST /v1/systemone, so the OpenAI SDKs, LiteLLM and Vercel AI Gateway call Drex with only a base URL and model change. The same key, funding, rate limits, validation and billing apply; only the request and response shapes differ. See OpenAI-compatible decisions.
- Billing: only a 200 is billed, at the per-input-token price, exactly as /v1/systemone bills the same request.
- Accepted and ignored: safety_identifier, prompt_cache_key, prompt_cache_options, prompt_cache_breakpoint and an image's detail are checked against OpenAI's schema and then dropped. Any other key Drex doesn't know is ignored.
- Errors: Drex's error.type and status, plus OpenAI's error.code and error.param.
Checks run in the same order as /v1/systemone and stop at the first failure.
post/v1/decisions
Request
- Base URLhttps://console.nace.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "drex-max",
"input": [
{
"content": [
{
"image_url": "data:image/png;base64,iVBORw0KGgo..."
}
]
}
]
}Response
Every question answered, in order. usage.input_tokens is debited from the account's balance before the response is returned.
Example response
{
"request_id": "req_bd2dffad68f5f5fa4ce702e9bd516fb4"
}Changes
No recorded changes to this operation across all 1 revision of this API.