ApiLlm_gateway
OpenAI Compatible Completion (Legacy)
Authorization
AuthorizationRequiredBearer <token>Module-specific API Key (Bearer token format, starting with 'mk_') for accessing the LLM Gateway (/gateway).
In: header
Request Body
application/jsonRequiredmodelstringpromptRequiredstring | array<string>streambooleanDefault:
falseuserstringtemperaturenumberFormat:
"float"max_tokensintegertop_pnumberFormat:
"float"nintegerDefault:
1stopstring | array<string>presence_penaltynumberFormat:
"float"frequency_penaltynumberFormat:
"float"logit_biasobjectSuccessful Response (Streaming or JSON, mapped from Chat)