API ReferenceText
Responses API
Унифицированный ввод, tools, vision и streaming события.
Ключ используется браузером напрямую и сохраняется только для текущей вкладки.
Authorization
bearerAuth AuthorizationBearer <token>
Ключ вида dqa_live_... из раздела API-ключей DemoQA AI.
In: header
Header Parameters
Idempotency-Key?string
Устойчивый уникальный ключ одного логического billable-запроса.
Length
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/responses" \ -H "Idempotency-Key: 42dc6f91-e882-4e79-91af-b7bef0458887" \ -H "Content-Type: application/json" \ -d '{ "model": "openai/gpt-4.1-mini", "instructions": "Отвечай как QA-лид.", "input": "Составь smoke checklist для релиза." }'{ "id": "string", "object": "response", "status": "string", "model": "string", "output": [ {} ], "output_text": "string", "usage": {}}