# Retrieve Job Status
source: https://developer.mastercard.com/open-finance-europe/documentation/unlicensed/insights/tutorials/unlicensed-insights-job-status-tutorial/index.md

This guides walks you through retrieving an Insights job status. This is an optional operation that just retrieves the status of a job.

#### Prerequisites: {#prerequisites}

* You must have created an app for use with Insights. Make sure you have recorded the `CLIENT_ID` and `CLIENT_SECRET`.
* You must have created an insights job and retrieved the `jobId`.
* This tutorial uses `curl` in order to send requests and receive responses.

### Step 1 - Creating the request {#step-1---creating-the-request}

1. With the `CLIENT_ID`, `CLIENT_SECRET` and `JOB_ID`, use `curl` to send the request to the **Insights** platform.

```shell
curl -X GET \ 
https://insights.sandbox.aiia.eu/api/enterprise/insights/<JOB_ID>/status \
 -H 'Content-Type: application/json' \
 -H 'X-Client-Id: <CLIENT_ID>' \
 -H 'X-Client-Secret: <CLIENT_SECRET>'
```

### Step 2 - Receiving the Job Status​ {#step-2---receiving-the-job-status}

The response you will receive from the service will depend on the services you requested.

### Verifying Account Owner Name {#verifying-account-owner-name}

```json
{
  "status": "Succeeded",
  "accountOwner": {
    "status": "Succeeded",
    "expires": "2022-11-14T08:30:00Z"
  }
}
```

* `status` refers to the overall job status.
* `accountOwner` refers to the Account Owner Verification insights results availability.

### Verifying Account Balance {#verifying-account-balance}

```json
{
  "status": "Succeeded",
  "accountBalance": {
    "status": "Succeeded",
    "expires": "2022-11-14T08:30:00Z"
  }
}
```

* `status` refers to the overall job status.
* `accountBalance` refers to the Account Balance insights results availability.

### Verifying Both Account Owner Name and Account Balance {#verifying-both-account-owner-name-and-account-balance}

```json
{
  "status": "Succeeded",
  "accountOwner": {
    "status": "Succeeded",
    "expires": "2022-11-14T08:30:00Z"
  },
  "accountBalance": {
    "status": "Succeeded",
    "expires": "2022-11-14T08:30:00Z"
  }
}
```

* `status` refers to the overall job status.
* `accountOwner` refers to the Account Owner Verification insights results availability.
* `accountBalance` refers to the Account Balance insights results availability.
