cURL
curl --request POST \ --url https://api.qclawrouter.com/v1/responses \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model": "gpt-4o", "input": "<string>", "stream": false } '
{ "id": "<string>", "object": "response", "output": [ {} ], "usage": { "prompt_tokens": 20, "completion_tokens": 15, "total_tokens": 35 } }
OpenAI Responses API 格式,支持多轮对话和工具调用。
使用您的 API Key 作为 Bearer Token。在控制台创建令牌获取。
"gpt-4o"
输入内容(字符串或消息数组)
成功
"response"
Show child attributes