Async Code Scans

Get asynchronous code scan status

Returns the current state of a queued, running, completed, or failed async code scan job. Repository jobs authorize repository view access; standalone jobs require the submitting token or user.

post/api/v2/async-code-scans/status

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

jobIdstring uuid required

Response

Current job status

jobIdstring uuid required
repositoryIdstring nullable required
status'queued' | 'running' | 'completed' | 'failed' required
codeScanIdstring nullable required
errorstring nullable required
createdAtstring date-time required
updatedAtstring date-time required
startedAtstring date-time nullable required
completedAtstring date-time nullable required
resultExpiresAtstring date-time nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.