Copy
curl -X GET "https://gptproto.com/v1/task/<YOUR_TASK_ID>" \
-H "Authorization: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-H "Accept: text/event-stream"
Copy
{
"id": "f8b30625-e38d-4950-8e13-76b72cfcb965",
"status": "success",
"result": {
"content": [
{
"text": "你好!很高兴认识你!😊\n\n有什么我可以帮助你的吗?",
"type": "text"
}
],
"id": "msg_bdrk_01Dr1Hff6WvnpdjiYzkSd4SE",
"model": "claude-haiku-4-5-20251001",
"role": "assistant",
"stop_reason": "end_turn",
"stop_sequence": null,
"type": "message",
"usage": {
"cache_creation": {
"ephemeral_1h_input_tokens": 0,
"ephemeral_5m_input_tokens": 0
},
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"input_tokens": 12,
"output_tokens": 32
}
},
"created_at": 1769094930
}
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
id | string | - | Your task id |