Pular para o conteúdo
Cadastre-se grátis
Referência da API

API OpenAI Responses

Teste a API OpenAI Responses da BetterToken para Codex: Base URL, Bearer API Key e POST /v1/responses.

POST /v1/responses

Use este endpoint para Codex e aplicações que usam a API OpenAI Responses.

Teste no Playground

No Playground à direita, insira sua API Key, substitua model por um model ID atual quando necessário e envie a solicitação. Confirme o modelo na model plaza antes de testar.

Endpoints relacionados

POST/v1/responses

Autorizações

Authorizationstringheaderobrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo application/json

modelstringobrigatório

A model ID currently available in the model plaza. Check the model plaza for the latest options.

Exemplo:"YOUR_MODEL_ID"
inputstringobrigatório

The text input to send to the model.

Exemplo:"Hello"

Resposta

200The Responses API result from the selected model.
400Invalid request format or parameters.
401The BetterToken API Key is missing or invalid.
402The account has insufficient credit or balance.
429The request exceeded a rate or concurrency limit, or the upstream service is busy.
500The gateway or upstream service returned an error.