콘텐츠로 이동
무료 가입
API 레퍼런스

OpenAI Responses API 사용

Codex용 BetterToken OpenAI Responses API를 테스트하세요. Base URL, Bearer API Key 및 POST /v1/responses를 사용합니다.

POST /v1/responses

Codex와 OpenAI Responses API를 사용하는 applications에는 이 endpoint를 사용하세요.

Playground에서 테스트

오른쪽 Playground에서 API Key를 입력하고 필요하면 model을 현재 모델 ID로 바꾼 다음 request를 보내세요. 테스트하기 전에 모델 광장에서 model을 확인하세요.

관련 endpoints

POST/v1/responses

인증

Authorizationstringheader필수

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

본문 application/json

modelstring필수

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

예제:"YOUR_MODEL_ID"
inputstring필수

The text input to send to the model.

예제:"Hello"

응답

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.