# View Information for a Job

Retrieve a Job

Endpoint: GET /sbom/v1/orgs/{orgId}/jobs/{jobId}
Version: 1.0
Security: GlobalSession_header_Authorization

## Path parameters:

  - `orgId` (integer, required)
    Organization id
    Example: 38808

  - `jobId` (integer, required)
    job id.
    Example: 812

## Response 200 fields (application/json):

  - `bucketId` (integer)
    Example: 205

  - `createdBy` (string)
    Example: {"email":"adam@server.com","firstName":"Adam","id":2435456,"lastName":"Stone"}

  - `createdOn` (string)
    Example: "2022-07-20 04:55:49"

  - `id` (integer)
    Example: 812

  - `input` (object)
    Example: {"fileHash":"cb26478a28a51ce1ce08ccd2bc3f6942","fileName":"project-hello.spdx","filePath":"/project-import/843514967_40062_2_project-hello.spdx","logFile":"/project-import/843514967_40062_2_project-hello.log"}

  - `input.fileHash` (string)
    Example: "cb26478a28a51ce1ce08ccd2bc3f6942"

  - `input.fileName` (string)
    Example: "project-hello.spdx"

  - `input.filePath` (string)
    Example: "/project-import/843514967_40062_2_project-hello.spdx"

  - `input.logFile` (string)
    Example: "/project-import/843514967_40062_2_project-hello.log"

  - `modifiedBy` (string)
    Example: {"email":"adam@server.com","firstName":"Adam","id":2435456,"lastName":"Stone"}

  - `modifiedOn` (string)
    Example: "2022-07-20 04:55:49"

  - `orgId` (integer)
    Example: 38808

  - `output` (object)
    Example: {"parsed":{"errors":"null","failed":0,"messages":"null","processed":10,"skipped":2,"timeTaken":"4.51025ms","total":12},"processed":{"errors":"null","failed":0,"messages":"null","processed":10,"skipped":0,"timeTaken":"1.215864501s","total":10},"totalTime":"1.246455001s"}

  - `output.parsed` (string)
    Example: {"errors":"null","failed":0,"messages":"null","processed":10,"skipped":2,"timeTaken":"4.51025ms","total":12}

  - `output.processed` (string)
    Example: {"errors":"null","failed":0,"messages":"null","processed":10,"skipped":0,"timeTaken":"1.215864501s","total":10}

  - `output.totalTime` (string)
    Example: "1.246455001s"

  - `status` (string)
    Example: "queued / processing / completed"

  - `type` (string)
    Example: "import / others"

## Response 400 fields (application/vnd.goa.error):

  - `fault` (boolean, required)
    Is the error a server-side fault?
    Example: true

  - `id` (string, required)
    ID is a unique identifier for this particular occurrence of the problem.
    Example: "123abc"

  - `message` (string, required)
    Message is a human-readable explanation specific to this occurrence of the problem.
    Example: "server is unable to handle the request"

  - `name` (string, required)
    Name is the name of this class of errors.
    Example: "bad_gateway"

  - `temporary` (boolean, required)
    Is the error temporary?
    Example: true

  - `timeout` (boolean, required)
    Is the error a timeout?
    Example: true

## Response 401 fields (application/vnd.goa.error):

  - `fault` (boolean, required)
    Is the error a server-side fault?
    Example: true

  - `id` (string, required)
    ID is a unique identifier for this particular occurrence of the problem.
    Example: "123abc"

  - `message` (string, required)
    Message is a human-readable explanation specific to this occurrence of the problem.
    Example: "server is unable to handle the request"

  - `name` (string, required)
    Name is the name of this class of errors.
    Example: "bad_gateway"

  - `temporary` (boolean, required)
    Is the error temporary?
    Example: true

  - `timeout` (boolean, required)
    Is the error a timeout?
    Example: true

## Response 403 fields (application/vnd.goa.error):

  - `fault` (boolean, required)
    Is the error a server-side fault?
    Example: true

  - `id` (string, required)
    ID is a unique identifier for this particular occurrence of the problem.
    Example: "123abc"

  - `message` (string, required)
    Message is a human-readable explanation specific to this occurrence of the problem.
    Example: "server is unable to handle the request"

  - `name` (string, required)
    Name is the name of this class of errors.
    Example: "bad_gateway"

  - `temporary` (boolean, required)
    Is the error temporary?
    Example: true

  - `timeout` (boolean, required)
    Is the error a timeout?
    Example: true

## Response 404 fields (application/vnd.goa.error):

  - `fault` (boolean, required)
    Is the error a server-side fault?
    Example: true

  - `id` (string, required)
    ID is a unique identifier for this particular occurrence of the problem.
    Example: "123abc"

  - `message` (string, required)
    Message is a human-readable explanation specific to this occurrence of the problem.
    Example: "server is unable to handle the request"

  - `name` (string, required)
    Name is the name of this class of errors.
    Example: "bad_gateway"

  - `temporary` (boolean, required)
    Is the error temporary?
    Example: true

  - `timeout` (boolean, required)
    Is the error a timeout?
    Example: true

## Response 500 fields (application/vnd.goa.error):

  - `fault` (boolean, required)
    Is the error a server-side fault?
    Example: true

  - `id` (string, required)
    ID is a unique identifier for this particular occurrence of the problem.
    Example: "123abc"

  - `message` (string, required)
    Message is a human-readable explanation specific to this occurrence of the problem.
    Example: "server is unable to handle the request"

  - `name` (string, required)
    Name is the name of this class of errors.
    Example: "bad_gateway"

  - `temporary` (boolean, required)
    Is the error temporary?
    Example: true

  - `timeout` (boolean, required)
    Is the error a timeout?
    Example: true

## Response 502 fields (application/vnd.goa.error):

  - `fault` (boolean, required)
    Is the error a server-side fault?
    Example: true

  - `id` (string, required)
    ID is a unique identifier for this particular occurrence of the problem.
    Example: "123abc"

  - `message` (string, required)
    Message is a human-readable explanation specific to this occurrence of the problem.
    Example: "server is unable to handle the request"

  - `name` (string, required)
    Name is the name of this class of errors.
    Example: "bad_gateway"

  - `temporary` (boolean, required)
    Is the error temporary?
    Example: true

  - `timeout` (boolean, required)
    Is the error a timeout?
    Example: true


