简体中文
cURL
curl --request GET \ --url https://api.sinancode.com/v1/tasks/{id} \ --header 'Authorization: Bearer <token>'
{ "error_code": "<string>", "error_msg": "<string>", "id": "01234567-89ab-cdef-0123-456789abcdef", "result": [ "<string>" ], "status": "processing" }
根据任务ID查询任务执行状态和结果
请使用您的 API Token 进行认证
任务ID
OK
"01234567-89ab-cdef-0123-456789abcdef"
"processing"
Friendly error message (fallback to error_code if empty)