इसे छोड़कर कंटेंट पर जाएं
मुफ़्त साइन अप करें
API संदर्भ

OpenAI Responses API गाइड

Codex के लिए BetterToken का OpenAI Responses API जांचें: Base URL, Bearer API Key और POST /v1/responses।

POST /v1/responses

इस endpoint का उपयोग Codex और OpenAI Responses API इस्तेमाल करने वाले application के लिए करें।

Playground में परीक्षण

दाईं ओर Playground में API Key भरें, जरूरत पड़ने पर model को वर्तमान मॉडल ID से बदलें और अनुरोध भेजें। परीक्षण से पहले model plaza में मॉडल की पुष्टि करें।

संबंधित endpoint

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.