src/Keboola/Syrup/Client.php
public function getJob($job)
    {
        if (substr($this->queueUrl, -1) == '/') {
            $uri = $this->queueUrl . "queue/job/{$job}";
        } else {
            $uri = $this->queueUrl . "/queue/job/{$job}";
        }
        try {
            $request = new Request('GET', $uri);
            $response = $this->guzzle->send($request);
        } catch (RequestException $e) {
            throw new ClientException($e->getMessage(), 0, $e);
        }
        return $this->decodeResponse($response);
    }
public function getJob($job)
    {
        if (substr($this->queueUrl, -1) == '/') {
            $uri = $this->queueUrl . "queue/job/{$job}";
        } else {
            $uri = $this->queueUrl . "/queue/job/{$job}";
        }
        try {
            $request = new Request('GET', $uri);
            $response = $this->guzzle->send($request);
        } catch (RequestException $e) {
            throw new ClientException($e->getMessage(), 0, $e);
        }
        return $this->decodeResponse($response);
    }
Get asynchronous job status (waiting, processing, etc.).

@param int|string $job Job Id.
@return array Response data with job status.
@throws ClientException