Check Job

curl -u shiva:shiva -XGET "localhost:8902/hippo/v1/_jobs?pretty" -H 'Content-Type: application/json' -d'
{
  "job_ids" : ["fc6feff4f303455a9347f9aab323dfc8"],
  "action_patterns" : ["hippo*"]
}';

Result:

{
  "jobs" : [
    {
      "job_id" : "810935a1d91a46b7af2ec35013454fed",
      "job_status" : "SHIVA_JOB_SUCCESS",
      "embedding_number" : 100,
      "task_results" : [
        {
          "id" : "54ab52493dfb4bab9fb7742d850c64c4",
          "status" : "TASK_SUCCESS",
          "server" : "172.29.40.26:27841",
          "embedding_number" : 100,
          "execute_time" : 0.248
        }
      ]
    }
  ]
}

Parameter description:

ParametersDescriptionRequired
job_idsJob ID, supports checking multiple jobs at the same timeYes
action_patternsAction name, supports using asterisk (*) wildcard characterYes
Table 45 Check Job (Restful API)

📘

Kindly note

If “job_ids” and “action_patterns” are specified simultaneously, “job_ids” has higher priority.