/v1/responseshttps://api.linkinfra.aiAuthorization
Bearer TokenAuthorizationBearer <token>Authenticate requests with your API key in the request header:
Authorization: Bearer sk-your-api-keyNeed a key? Create one in the console
Request body
application/jsonmodelstringrequiredModel ID from the model catalog. Availability depends on your account group and configured channels.
inputstring | arrayrequiredText input or structured input items.
instructionsstringSystem instructions that guide model behavior.
streambooleanSet to true to receive incremental Server-Sent Events. Defaults to false.
max_output_tokensintegerMaximum number of output tokens.
previous_response_idstringLink a previous response. Availability depends on the upstream channel.
Streaming uses named SSE events such as response.output_text.delta and response.completed. The event format differs from Chat Completions.
Response
application/json200Successful responseoutputarray<object>Output items. Text message content contains output_text.
statusstringResponse status, such as completed.
usageobjectToken usage for this request. Check usage logs in the console for actual charges.