跳轉到主要內容
GET
/
v2
/
job
/
{id}
任務 - 取得
curl --request GET \
  --url https://api.chainstream.io/v2/job/{id} \
  --header 'Authorization: Bearer <token>'
{
  "state": "completed",
  "result": {
    "success": true,
    "data": {
      "message": "Job completed successfully"
    }
  }
}

授權

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路徑參數

id
string
必填

任務標識符

範例:

"12345"

回應

200 - application/json

成功取得任務狀態

state
string
必填

任務狀態

範例:

"completed"

result
object
必填

任務結果

範例:
{
"success": true,
"data": { "message": "Job completed successfully" }
}