Fetch
GET
/302/task/{id}/fetch302.AI's API is derived from models we've deployed on cloud GPUs. Some models are open-source, while others are fine-tuned or developed by 302.AI.
The interface will automatically return a task ID. Please pass the ID to this interface to retrieve the task result.
Price: 0 PTC / call
请求参数
Path 参数
id
string
Task ID
示例值:
1
Header 参数
Authorization
string
必需
API Key from 302.AI backend
示例值:
Bearer {{YOUR_API_KEY}}
示例代码
返回响应
OK(200)
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
completed_at
string
必需
created_at
string
必需
error
string
必需
id
string
必需
model
string
必需
output
string
必需
started_at
string
必需
status
string
必需
示例
{
"completed_at": "",
"created_at": "",
"error": "",
"id": "",
"model": "",
"output": "",
"started_at": "",
"status": ""
}
最后修改时间: 2 个月前