---
title: Get a job
description: "GET`/projects/{projectId}/jobs/{jobId}` ## Code Samples ```curl curl --request GET \\ --url 'https://api.taskflow.example.com/v2/projects/{projectId}/jobs/{jobId}' \\ --header 'Authorization: Bearer YOUR_TOKEN' const response = await fetch('https://api.taskflow.example.com/v2/projects/{projectId}/jobs/{jobId}', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_TOKEN' } }); const data = await response.json(); console.log(data); import requests headers…"
url: "https://cbotai.shahrear.msf.bd/docs/get-a-job/"
updated: "2026-08-20"
category: hyper active / jobs
---

# Get a job

GET`/projects/{projectId}/jobs/{jobId}`

## Code Samples

```curl

                curl --request GET \
  --url 'https://api.taskflow.example.com/v2/projects/{projectId}/jobs/{jobId}' \
  --header 'Authorization: Bearer YOUR_TOKEN'

                const response = await fetch('https://api.taskflow.example.com/v2/projects/{projectId}/jobs/{jobId}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN'
  }
});

const data = await response.json();
console.log(data);

                import requests

headers = {
    "Authorization": "Bearer YOUR_TOKEN"
}

response = requests.get("https://api.taskflow.example.com/v2/projects/{projectId}/jobs/{jobId}", headers=headers)

print(response.json())

                <?php
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => 'https://api.taskflow.example.com/v2/projects/{projectId}/jobs/{jobId}',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => [
  'Authorization: Bearer YOUR_TOKEN'
  ],
]);

$response = curl_exec($curl);
curl_close($curl);

echo $response;

                using System.Net.Http;

var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.taskflow.example.com/v2/projects/{projectId}/jobs/{jobId}");
request.Headers.Add("Authorization", "Bearer YOUR_TOKEN");
var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);

                import java.net.URI;
import java.net.http.*;

HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://api.taskflow.example.com/v2/projects/{projectId}/jobs/{jobId}"))
    .header("Authorization", "Bearer YOUR_TOKEN")
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

## Response

```json

                {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "kind": "import",
    "status": "queued",
    "progress": 1,
    "error": {
        "code": "string",
        "message": "string"
    }
}

                {
    "code": "string",
    "message": "string"
}
```

## Responses

### 200 — The job

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | Optional |  |
| `kind` | string | Optional | Allowed: import, export |
| `status` | string | Optional | Allowed: queued, running, done, failed |
| `progress` | number | Optional |  |
| `error` | one of | Optional |  |

```json

                {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "kind": "import",
    "status": "queued",
    "progress": 1,
    "error": {
        "code": "string",
        "message": "string"
    }
}
```

### 404 — Resource not found

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | **Required** |  |
| `message` | string | **Required** |  |

```json

                {
    "code": "string",
    "message": "string"
}
```
