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

This guides walks you through retrieving an Insights job results. The results will depend on the type of job you requested and the status of the 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>/results \
 -H 'Content-Type: application/json' \
 -H 'X-Client-Id: <CLIENT_ID>' \
 -H 'X-Client-Secret: <CLIENT_SECRET>'
```

### Step 2 - Receiving the Job Results {#step-2---receiving-the-job-results}

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",
    "customerName": "John Doe",
    "score": 1,
    "accountDetails": [
      {
        "accountOwner": "John Doe",
        "accountNumber": "4356754"
      }
    ],
    "details": []
  }
}
```

* `status` refers to the overall job status.
* `accountOwner` refers to the Account Owner Verification insights results. It contains information about the job status, Customer Name, Score (defining how close it is to the requested name) and account information details for the accounts read through the connection.

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

```json
{
  "status": "Succeeded",
  "accountBalance": {
    "status": "Succeeded",
    "accountDetails": [
      {
        "accountNumber": "4356754",
        "currentBalance": 100.23,
        "availableBalance": 100.23,
        "currency": "GBP"
      }
    ],
    "details": []
  }
}
```

* `status` refers to the overall job status.
* `accountBalance` refers to the Account Owner Verification insights results. It contains information about the job status, and account balance details for the accounts read through the connection.

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

```json
{
  "status": "Succeeded",
  "accountOwner": {
    "status": "Succeeded",
    "customerName": "John Doe",
    "score": 1,
    "accountDetails": [
      {
        "accountOwner": "John Doe",
        "accountNumber": "4356754"
      }
    ],
    "details": []
  },
  "accountBalance": {
    "status": "Succeeded",
    "accountDetails": [
      {
        "accountNumber": "4356754",
        "currentBalance": 100.23,
        "availableBalance": 100.23,
        "currency": "GBP"
      }
    ],
    "details": []
  }
}
```

* `status` refers to the overall job status.
* `accountOwner` refers to the Account Owner Verification insights results. It contains information about the job status, Customer Name, Score (defining how close it is to the requested name) and account information details for the accounts read through the connection.
* `accountBalance` refers to the Account Owner Verification insights results. It contains information about the job status, and account balance details for the accounts read through the connection.
