Get Job Details - GET /jobs/<jobId>

Get the details of a specific job by its job ID.

Example

curl 'http://localhost:8080/engine/v2/jobs/airplane

Returns

A job resource object, for example:

{
  "documentId" : "airplane",
  "exists" : true,
  "type" : "job",
  "document" : {
    "id" : "airplane",
    "location" : "http://localhost:8080/engine/v2/jobs/airplane",
    "createTime" : "2016-04-02T09:10:32.395+0000",
    "finishedTime" : "2016-04-02T09:23:35.654+0000",
    "lastDataTime" : "2016-04-02T09:13:02.090+0000"
    "timeout" : 600,
    "status" : "CLOSED",
    "modelSizeStats" : {
      "memoryStatus" : "OK",
      "modelBytes" : 50521637,
      "totalByFieldCount" : 3061,
      "totalPartitionFieldCount" : 187,
      "totalOverFieldCount" : 108813
    },
    "dataDescription" : {
      "timeField" : "datetime",
      "timeFormat" : "yyyyMMddHHmmss",
      "fieldDelimiter" : ",",
      "quoteCharacter" : "\"",
      "format" : "DELIMITED"
    },
    "counts" : {
      "inputBytes" : 0,
      "processedRecordCount" : 499999,
      "processedFieldCount" : 0,
      "inputRecordCount" : 0,
      "inputFieldCount" : 0,
      "invalidDateCount" : 0,
      "missingFieldCount" : 0,
      "outOfOrderTimeStampCount" : 0,
      "bucketCount" : 0
    },
    "analysisConfig" : {
      "bucketSpan" : 600,
      "detectors" : [ {
        "fieldName" : "groundspeed",
        "partitionFieldName" : "aircrafttype",
        "byFieldName" : "status",
        "overFieldName" : "callsign",
        "function" : "min"
      }, {
        "fieldName" : "groundspeed",
        "partitionFieldName" : "aircrafttype",
        "byFieldName" : "status",
        "overFieldName" : "callsign",
        "function" : "max"
      }, {
        "fieldName" : "groundspeed",
        "partitionFieldName" : "aircrafttype",
        "byFieldName" : "status",
        "overFieldName" : "callsign",
        "function" : "mean"
      } ]
    },
    "endpoints" : {
      "data" : "http://localhost:8080/engine/v2/data/airplane",
      "buckets" : "http://localhost:8080/engine/v2/results/airplane/buckets",
      "records" : "http://localhost:8080/engine/v2/results/airplane/records",
      "logs" : "http://localhost:8080/engine/v2/logs/airplane"
    }
  }
}

For a detailed description of the output, see Job Resource.

Errors

See the Error Codes documentation for the full list of errors that may be returned by the API.