Tạo response

Tương thích với [OpenAI Responses API](https://platform.openai.com/docs/api-reference/responses). Dùng cho Codex CLI.

Authentication

AuthorizationBearer
API key làm bearer token. Tạo API key tại [Console](https://console.staging.tram.ai.vn/keys).

Request

This endpoint expects an object.
modelstringRequired
Model ID
inputstring or list of objectsRequired

Input text hoặc messages

streambooleanOptionalDefaults to false

Bật streaming (SSE)

temperaturedoubleOptional
Sampling temperature
max_output_tokensintegerOptional

Số token tối đa

toolslist of objectsOptional

Danh sách tools

Response

Thành công

idstring
objectstring
outputlist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error