Skip to main content
POST
BaseURL: The default BaseURL is https://direct.evolink.ai, which has better support for text models and long-lived connections. https://api.evolink.ai is the primary endpoint for multimodal services and serves as a fallback address for text models.
Model ID is exclusive to this endpoint: gpt-6-luna-decisions can only be used on /v1/decisions. Using it on Chat Completions, Responses, or other endpoints returns 400 model_endpoint_mismatch. For conversation or text generation, use gpt-6-luna with Chat Completions or the Responses API.
Choosing a question typeYou can include multiple independent questions in one request; they share the same input. If a later question depends on an earlier answer, split them into two requests.
Difference from Chat Completions / Responses: This endpoint only accepts model, input, questions, and safety_identifier. Any additional field returns 400 unknown_parameter; images must be base64 data URLs; streaming is not supported.

Authorizations

Authorization
string
header
required

##All endpoints require Bearer Token authentication##

Get an API Key:

Visit the API Key management page to get your API Key

Add it to the request header:

Body

application/json
model
enum<string>
required

Model ID. Use gpt-6-luna-decisions; this endpoint also accepts the OpenAI model ID gpt-6-luna. Both have identical behavior and billing; usage and billing records are attributed to gpt-6-luna-decisions.

gpt-6-luna-decisions is only available on this endpoint. Using it on Chat Completions, Responses, or other endpoints returns 400 model_endpoint_mismatch.

Available options:
gpt-6-luna-decisions,
gpt-6-luna
Example:

"gpt-6-luna-decisions"

input
required

The shared basis for all decisions: a text string or an array of user messages, which can contain text and inline images.

Example:

"I was charged twice for my order."

questions
object[]
required

Questions to evaluate; at least 1 is required. Questions are independent and can mix different types; question name values must be unique within a request.

If a later question depends on an earlier answer, split them into two requests.

Minimum array length: 1
safety_identifier
string

Optional. Your own end-user identifier (an opaque string), forwarded unchanged to the model provider for abuse detection

Response

One answer per question, in the same order as the questions in the request

model
string

The model that actually performed the decisions

Example:

"gpt-6-luna"

answers
object[]

One answer per question, in the same order as the questions in the request. Use name to match the question and type to distinguish answer types

usage
object

Token usage. Only input tokens are billed on this endpoint: output, cache reads, and cache writes are free. A minimum charge applies to each request; when a single input exceeds 272,000 tokens, the input price for the entire request is 2 times the standard rate. See Model pricing for current prices.