Get Job Status Done

Send a GET request to https://api.cloud.nodeflux.io/v1/jobs/{job_id}.

job_id is the one you will receive when posting a job. For example:

{
"job": {
"id": "id": "a-very-long-job-id", // <--- this is the job_id you will use
"result": {...}
},
"message": "Job successfully submitted!",
"ok": true
}

Key

Value

Content-type

application/json

Authorization

Your authorization key

x-nodeflux-timestamp

x-nodeflux-timestamp from the Authorization API.

Response Body

The response will be adjusted with what analytic the job you have.

Face Match

{
"job": {
"id": "a-very-long-job-id",
"result": {
"status": "success",
"analytic_type": "FACE_MATCH",
"result": [
{
"face_match": {
"match": true,
"similarity": 0.8560543060302734
}
}
]
}
},
"message": "Job successfully submitted!",
"ok": true
}

Face Match with Liveness

{
"job": {
"id": "a-very-long-job-id",
"result": {
"status": "success",
"analytic_type": "FACE_MATCH_LIVENESS",
"result": [
{
"face_liveness": {
"live": true,
"live_score": 0.845223
}
},
{
"face_match": {
"match": true,
"smimilarity": 0.94731
}
}
],
}
},
"message": "Job successfully submitted!",
"ok": true
}

Face Liveness Check

{
"job": {
"id": "a-very-long-job-id",
"result": {
"status": "success",
"analytic_type": "FACE_LIVENESS",
"result": [
{
"face_liveness": {
"live": true,
"liveness": 0.8966461420059204
}
}
]
}
},
"message": "Job successfully submitted!",
"ok": true
}

OCR KTP

{
"job": {
"id": "a-very-long-job-id",
"result": {
"status": "success",
"analytic_type": "OCR_KTP",
"result": [
{
"": "JAKARTA SELATAN",
"NIK": "123456789012346",
"Nama": "JANE DOE",
"Agama": "ISLAM",
"RT/RW": "006 005",
"Alamat": "JL ACME",
"Kel/Desa": "DESA CONTOH",
"PROVINSI": "PROVINSI CONTOH",
"Kecamatan": "KECAMATAN CONTOH",
"Pekerjaan": "KARYAWAN SWASTA",
"Gol. Darah": "-",
"Jenis Kelamin": "PEREMPUAN",
"Berlaku Hingga": "21-12-2016",
"Kewarganegaraan": "WNI",
"Tempat/Tgl Lahir": "JAKARTA 21-12-1990",
"Status Perkawinan": "BELUM KAWIN"
}
]
}
},
"message": "Job successfully submitted!",
"ok": true
}