ApiLlm_gateway
OpenAI Compatible Completion (Legacy)
Authorization
Authorization
RequiredBearer <token>Module-specific API Key (Bearer token format, starting with 'mk_') for accessing the LLM Gateway (/gateway).
In: header
Request Body
application/json
Requiredmodel
stringprompt
Requiredstring | array<string>stream
booleanDefault:
false
user
stringtemperature
numberFormat:
"float"
max_tokens
integertop_p
numberFormat:
"float"
n
integerDefault:
1
stop
string | array<string>presence_penalty
numberFormat:
"float"
frequency_penalty
numberFormat:
"float"
logit_bias
objectSuccessful Response (Streaming or JSON, mapped from Chat)