Obtain the response of your submitted task.
开发环境
开发环境
GET
/obtain
Obtain
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/obtain?task_id' \
--header 'api-key;'
响应示例响应示例
{
"err_code": 0,
"err_msg": "Success",
"data": {
"input": "How to Give a Great Gift to Someone\n\n\nChoosing the perfect gift for someone can be a delightful experience when you consider their preferences and interests. Here's a guide on how to give a great gift that will be appreciated and cherished:\n\n\n1. Know the Recipient: Take the time to understand the person you're buying for. Consider their hobbies, interests, and personality. What makes them happy?\n\n\n2. Listen and Observe: Pay attention to any hints or mentions of things they want or need. Sometimes, people drop subtle hints about what they'd like as a gift.\n\n\n3. Consider Practicality: A useful gift can be just as thoughtful as a sentimental one. Think about what would make the recipient's life easier or more enjoyable.",
"input_words": 122,
"task_id": "2c451bac-c5ea-4e77-a21a-23ebc14ba47f",
"words_used": 97,
"output": "How to Give a Great Gift to Someone\n\nChoosing the perfect present for another requires deep reflection on their passions and pursuits. A guide for bestowing a gift certain to be cherished:\n\n1. Fathoming the recipient entails comprehending their diversions, interests, and persona. What lifts their spirit? \n\n2. Heed hints and allusions to objects they covet or necessities they require, whether oblique or overt. Subtle signposts sometimes indicate coveted offerings.\n\n3. Pondering usefulness alongside sentiment, a present easing life or amplifying joy merits equal thought. Consider how your selection may delight through facilitating pleasure or alleviating burden.",
"subtask_status": "completed",
"task_status": true,
"detection_result": "human",
"detection_score": 100,
"mode": "Fast"
}
}
请求参数
Query 参数
task_id
string
必需
Header 参数
api-key
string
必需
返回响应
修改于 2024-04-18 07:54:38