> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://infonite.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://infonite.dev/_mcp/server.

# Labor check

GET https://clients.infonite.tech/api/executions/results/{execution_id}/public/v1/labor-check

Your customer's working life with the Spanish Social Security (TGSS).

Who they have worked for and when, what they have contributed month by month, and what that means today: whether they are currently employed, under which régimes, and a guaranteed minimum net income floor derived from their contribution bases. It is the strongest employment and income signal available without a payslip. Field by field in [Labor Check](/guides/data-models/labor-check).

**The official reports travel with it.** The TGSS documents the figures were read from are kept with the execution and listed in [the documents](api:GET/executions/results/\{execution_id}/attachments/v1/all) — the evidence, next to the data.

Features are chosen when the execution **starts**, not here. An execution that did not ask for `labor_check` answers `204`, and the only way to get the data is to run another one.

| Status | Meaning                                                                                                                    |
| :----- | :------------------------------------------------------------------------------------------------------------------------- |
| `200`  | The labor check.                                                                                                           |
| `202`  | `feature_not_ready` — `labor_check` is still running. **Only this family waits**: the ones that already closed answer now. |
| `204`  | The execution never asked for `labor_check`, or it did and the source had nothing to give. No body either way.             |
| `404`  | No execution with that id for your application, or it has been deleted.                                                    |

**Server to server only.** This call is authorised with your application secret: it belongs in your backend, never in a browser, a mobile app or anything your customer can read.

Reference: https://infonite.dev/api-reference/direct-executions/direct-executions-api/fetching-the-results/public-administration/direct-executions-v-1-results-public-labor-check

## Authentication

- `X-APP-SECRET` header (required) — Application Secret

## Servers

- `https://clients.infonite.tech/api` (Legacy Server, default)
- `https://clients.infonite.io/api` (Production Server)

## Request

### Path parameters

- `execution_id` (string, required) — The execution, as the acceptance response returned it.

## Response

### 200

**200 OK**Who your customer has worked for and when, what they have contributed month by month, the minimum net income their bases support, and the work statuses they hold today. The official report the figures come from is in `attachments`.

- `product` ("social_security", required) — The product type identifier. Always `social_security` for this product.
- `sub_family` ("social_security:spain_labor_check", required) — The sub-family identifier: `social_security:spain_labor_check`, the Spanish Social Security (TGSS) labor life check.
- `fetch_date` (string, required) — Date this product was fetched.
- `work_relations_history` (list of object, required) — Work relation history: ongoing relations first, then the finished ones from the most recently ended backwards — including situations assimilated to registration such as benefit periods.
  - `activity_start` (date, required) — Activity start date — the date the TGSS counts contributed days from.
  - `name` (string, required) — Display name of the relation: the employer's name for employees, the regime for self-employment, and the situation description for benefit periods.
  - `work_type` (enum, required) — Work type of this relation (e.g. `employee`, `self_employed`, `unemployment_benefits`).
    - Allowed values: `unknown`, `employee`, `self_employed`, `public_employee`, `vacations`, `unemployment_benefits`, `other`
  - `contract_type` (enum, required) — Contract type as mapped from the TGSS classification; `unknown` when the source key has no mapping.
    - Allowed values: `unknown`, `permanent`, `temporary`, `training`, `professional_practices`, `fixed_discontinuous`
  - `work_schedule` (enum, required) — Work schedule: `full_time`, `part_time`, or `unknown`.
    - Allowed values: `unknown`, `full_time`, `part_time`
  - `activity_end` (date, optional) — Activity end date. Empty while the relation is ongoing.
  - `regime` (string, optional) — Social Security regime of this relation.
  - `ccc` (string, optional) — Employer contribution account code (CCC) — the join key to `contribution_base_by_company`. Absent for self-employment, which has no employer account.
  - `assimilated` (boolean, optional, default: false) — True for situations assimilated to registration (benefit periods, paid untaken vacations...) — periods that count for Social Security but are not an actual job. Skip them when reasoning about employment or earned income.
  - `contribution_group` (string, optional) — Contribution group of the worker in this relation.
  - `collective_agreement` (string, optional) — Collective agreement governing this relation, when declared.
  - `social_security_days` (integer, optional) — Days this relation counts for Social Security. Simultaneous relations each count their own days, so summing across relations overstates — the deduplicated career total is the top-level `social_security_days`.
  - `currently_active` (boolean, optional) — True while this relation is ongoing (it has no end date yet).
- `contribution_base_history` (list of object, required, deprecated) — Flat monthly contribution-base history, most recent first. Months only — company attribution lives in `contribution_base_by_company`, which groups these same months per employer account.
  - `date` (date, required) — Last day of the contribution month — a convenience key for date-indexed consumers; `year` and `month` carry the same information.
  - `year` (integer, required) — Contribution year.
  - `month` (integer, required) — Contribution month (1-12).
  - `status` (enum, required) — State of the month: `registered` (base certified by the TGSS), `pending_update` (contribution reported, amount not published yet — an existing contribution, NOT a gap), `not_yet_settled` (recent month still inside the settlement lag), `no_base_registered`, or `no_alta` (not registered that month). A month absent from the list altogether means no contribution row existed for it.
    - Allowed values: `registered`, `no_alta`, `no_base_registered`, `pending_update`, `not_yet_elapsed`, `not_yet_settled`
  - `base` (object, required) — Monthly contribution base (gross). Carries a numeric amount only when the month is `registered`; in any other state the amount is not available — unavailable, not zero.
    - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
    - `amount` (string, required) — Decimal number with 2 digits precision
  - `provisional` (boolean, optional, default: false) — True when the base is provisional and may still be regularized by the TGSS — typical for self-employed workers until the yearly settlement.
- `currently_active` (boolean, optional) — True when the person is actually WORKING right now: at least one entry in `current_work_types` is real work (`employee`, `self_employed` or `public_employee`). Receiving an unemployment benefit is not active employment. Neither is a hire scheduled for a future date: Social Security reports such a person as registered ("alta programada"), but this field stays `false` until the job actually starts. `false` means the person's current situation is known and includes no active job; `null` means the work history could not be recovered, so nothing is claimed either way. The value is deliberately cautious — it is designed for risk decisions — so only clearly identified work counts: in the rare case where an ongoing relation cannot be classified you get `false` plus a `current_work_type_unknown` warning, never an optimistic `true`.
- `current_work_types` (list of enum, optional) — The person's current work statuses: one entry per ongoing relation, so repeated values reveal simultaneous jobs (two `employee` entries = two concurrent employments). An ongoing benefit shows as `unemployment_benefits`. An empty list means nothing ongoing — no job and no benefit.
  - Allowed values: `unknown`, `employee`, `self_employed`, `public_employee`, `vacations`, `unemployment_benefits`, `other`
- `social_security_days` (integer, optional) — Total days effectively counted by Social Security over the whole career. Simultaneous employments are counted once, so this is NOT the sum of the per-relation day counts.
- `contribution_base_by_company` (list of object, optional, default: []) — Contribution-base history grouped per employer account, most recent first. Join each group to its work relation through the `ccc` code.
  - `company_name` (string, optional) — Employer or regime name, as certified by the TGSS.
  - `ccc` (string, optional) — Employer contribution account code (CCC) — the join key linking this history to the matching entries in `work_relations_history`. Absent for self-employment, which has no employer account.
  - `regime` (string, optional) — Social Security regime of this account.
  - `is_benefit_block` (boolean, optional, default: false) — True when this entry tracks a benefit (e.g. cessation-of-activity protection for the self-employed), not an actual employer. Its bases are NOT earned income — exclude them from any income computation.
  - `months` (list of object, optional, default: []) — Monthly contribution bases of this account, most recent first.
    - `date` (date, required) — Last day of the contribution month — a convenience key for date-indexed consumers; `year` and `month` carry the same information.
    - `year` (integer, required) — Contribution year.
    - `month` (integer, required) — Contribution month (1-12).
    - `status` (enum, required) — State of the month: `registered` (base certified by the TGSS), `pending_update` (contribution reported, amount not published yet — an existing contribution, NOT a gap), `not_yet_settled` (recent month still inside the settlement lag), `no_base_registered`, or `no_alta` (not registered that month). A month absent from the list altogether means no contribution row existed for it.
      - Allowed values: `registered`, `no_alta`, `no_base_registered`, `pending_update`, `not_yet_elapsed`, `not_yet_settled`
    - `base` (object, required) — Monthly contribution base (gross). Carries a numeric amount only when the month is `registered`; in any other state the amount is not available — unavailable, not zero.
      - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
      - `amount` (string, required) — Decimal number with 2 digits precision
    - `provisional` (boolean, optional, default: false) — True when the base is provisional and may still be regularized by the TGSS — typical for self-employed workers until the yearly settlement.
- `income_floor` (object, optional) — Guaranteed minimum NET income derived from the certified contribution bases (the certified gross lower bound travels alongside it). A floor for risk assessment, never a salary estimate.
  - `status` (enum, required) — Whether a floor could be asserted: `computed` (floor available), `not_currently_active` (no ongoing employment — e.g. between contracts, a scheduled future hire or an ongoing unemployment benefit; the current floor is zero), `insufficient_data` (working, but not enough certified months yet to measure a floor), or `activity_unknown` (no employment evidence either way).
    - Allowed values: `computed`, `not_currently_active`, `activity_unknown`, `insufficient_data`
  - `monthly_floor` (object, optional) — Estimated minimum NET monthly income: the worst observed window month after worker Social Security contributions and IRPF withholding. A lower bound for risk assessment — NOT a salary estimate: every unknown in the conversion (contract type, age, family situation) is resolved toward more deductions, so real take-home pay can only be equal or higher. For self-employed workers it deliberately understates real income; combine with other signals.
    - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
    - `amount` (string, required) — Decimal number with 2 digits precision
  - `annual_floor` (object, optional) — The net monthly floor, annualized.
    - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
    - `amount` (string, required) — Decimal number with 2 digits precision
  - `gross_monthly_floor` (object, optional) — Guaranteed minimum GROSS monthly income, certified by the contribution bases. The net floor is minimized over months separately, so it can come from a different (net-worse) month than this gross minimum.
    - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
    - `amount` (string, required) — Decimal number with 2 digits precision
  - `gross_annual_floor` (object, optional) — The gross monthly floor, annualized (x12).
    - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
    - `amount` (string, required) — Decimal number with 2 digits precision
  - `estimated_deduction_rate` (string, optional, default: nan) — Decimal number with 4 digits precision
  - `companies` (list of object, optional, default: []) — Only the companies contributing to the computed floor (ongoing, recent activity). Past employments are never listed here — their history is in `contribution_base_by_company` — so nothing in this list can be misread as a salary the person no longer earns.
    - `company_name` (string, required) — Employer or regime this floor comes from.
    - `monthly_floor` (object, required) — Estimated minimum NET monthly income from this company: its worst observed window month's net share, after worker Social Security contributions and IRPF withholding at that month's real income mix. Every unknown (contract type, age, family situation) is resolved toward more deductions, so real take-home pay can only be equal or higher.
      - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
      - `amount` (string, required) — Decimal number with 2 digits precision
    - `annual_floor` (object, required) — Estimated minimum NET annual income from this company.
      - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
      - `amount` (string, required) — Decimal number with 2 digits precision
    - `basis` (enum, required) — How this floor was derived (e.g. `window_minimum`: the minimum base over the trailing window of fully certified months).
      - Allowed values: `window_minimum`
    - `ccc` (string, optional) — Employer contribution account code (CCC) of this company.
    - `work_type` (enum, optional) — Work type behind this income.
      - Allowed values: `unknown`, `employee`, `self_employed`, `public_employee`, `vacations`, `unemployment_benefits`, `other`
    - `gross_monthly_floor` (object, optional) — The certified GROSS monthly floor this company's net figure derives from — the minimum contribution base over the observation window.
      - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
      - `amount` (string, required) — Decimal number with 2 digits precision
    - `gross_annual_floor` (object, optional) — The certified GROSS annual floor from this company (the gross monthly floor x12).
      - `currency` (string or "***", required) — Three-letter ISO currency code — or `***` when the source did not disclose the currency.
      - `amount` (string, required) — Decimal number with 2 digits precision
    - `observed_months` (integer, optional, default: 0) — Number of certified months the floor is based on — the more months, the steadier the floor.
  - `method_version` (string, optional) — Version of the floor derivation method. Bumped whenever the algorithm changes meaning — compare floors only within the same version.
- `attachments` (list of object, optional, default: []) — List of attached supporting documents (e.g. the original TGSS PDF reports this product was extracted from).
  - `sub_family` (enum, required) — What kind of document this is (e.g. `attachment:es-tgss-life-report`).
    - Allowed values: `attachment:attachment`, `attachment:supplier_invoice`, `attachment:client_invoice`, `attachment:es-tgss-life-report`, `attachment:es-tgss-contribution-base-report`, `attachment:es-aeat-model-100`, `attachment:es-cirbe-report`, `attachment:sepa-direct-debit-bill`
  - `id` (string, required) — Attachment identifier — use it to download the file through the execution's attachments endpoint.
  - `content_name` (string, required) — File name of the document.
  - `content_type` (string, required) — MIME type of the content.
  - `metadata` (map from string to any, required) — Extra facts about the document, as simple key-value pairs (e.g. its official verification code, its issue date).
  - `product` ("attachment", optional, default: attachment) — The product type identifier. Always `attachment`.
  - `content_hash` (string, optional) — Fingerprint of the content, to verify its integrity.

### 202

**202 Accepted**`feature_not_ready`: `labor_check` is still running. **You do not have to wait for the whole execution** — every family answers as soon as its own feature closes, so a slow source does not hold up the ones that already finished.

- `detail` (string, required) — Error message

## Errors

### 404 Not Found Error

**404 Not Found**No execution with that id for your application, or it has been deleted.

- `detail` (string, required) — Error message

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of object, optional)
  - `loc` (list of string or integer, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any, optional)
  - `ctx` (object, optional)

## Examples

### A full working life

**Response**

```json
{
  "product": "social_security",
  "sub_family": "social_security:spain_labor_check",
  "fetch_date": "2026-09-12T01:26:45+00:00",
  "work_relations_history": [
    {
      "activity_start": "1982-09-30",
      "name": "SEGUNDA EMPRESA SL",
      "work_type": "employee",
      "contract_type": "permanent",
      "work_schedule": "full_time",
      "activity_end": "2024-08-31",
      "regime": "GENERAL",
      "ccc": "28000000001",
      "assimilated": false,
      "contribution_group": "INGENIEROS LICENCIADOS",
      "social_security_days": 15312
    },
    {
      "activity_start": "1979-02-28",
      "name": "PRIEMRA EMPRESA SL",
      "work_type": "employee",
      "contract_type": "permanent",
      "work_schedule": "full_time",
      "activity_end": "1982-09-29",
      "regime": "GENERAL",
      "ccc": "28000000002",
      "assimilated": false,
      "contribution_group": "INGENIEROS LICENCIADOS",
      "social_security_days": 1310
    },
    {
      "activity_start": "1978-06-30",
      "name": "PRIEMRA EMPRESA SL",
      "work_type": "employee",
      "contract_type": "permanent",
      "work_schedule": "full_time",
      "activity_end": "1979-02-27",
      "regime": "GENERAL",
      "ccc": "28000000002",
      "assimilated": false,
      "contribution_group": "AUXILIARES ADMINISTRATIVOS",
      "social_security_days": 243
    },
    {
      "activity_start": "1978-04-30",
      "name": "PRIEMRA EMPRESA SL",
      "work_type": "employee",
      "contract_type": "training",
      "work_schedule": "full_time",
      "activity_end": "1978-06-29",
      "regime": "GENERAL",
      "ccc": "28000000002",
      "assimilated": false,
      "contribution_group": "AUXILIARES ADMINISTRATIVOS",
      "social_security_days": 61
    },
    {
      "activity_start": "1977-10-31",
      "name": "PRACTICANTES SL",
      "work_type": "employee",
      "contract_type": "professional_practices",
      "work_schedule": "part_time",
      "activity_end": "1978-04-29",
      "regime": "GENERAL",
      "ccc": "28000000003",
      "assimilated": false,
      "contribution_group": "INGENIEROS LICENCIADOS",
      "social_security_days": 181
    }
  ],
  "contribution_base_history": [],
  "currently_active": false,
  "current_work_types": [],
  "social_security_days": 17107,
  "contribution_base_by_company": [],
  "income_floor": {
    "status": "not_currently_active",
    "monthly_floor": {
      "currency": "EUR",
      "amount": "0.00"
    },
    "annual_floor": {
      "currency": "EUR",
      "amount": "0.00"
    },
    "gross_monthly_floor": {
      "currency": "EUR",
      "amount": "0.00"
    },
    "gross_annual_floor": {
      "currency": "EUR",
      "amount": "0.00"
    },
    "companies": [],
    "method_version": "floor-v2"
  },
  "attachments": [
    {
      "sub_family": "attachment:es-tgss-life-report",
      "id": "6aa74d55cacbac2754cb62e4",
      "content_name": "work_life_report.pdf",
      "content_type": "application/pdf",
      "metadata": {
        "cea-id": "DEMO3E03CAB9",
        "csv-code": "DEMO0-3E03C-AB917-846EF-19093-A5A2A",
        "csv-url": "https://sandbox.infonite.tech/demo/verify",
        "document-date": "2026-09-12",
        "document-type": "attachment:es-tgss-life-report"
      },
      "product": "attachment",
      "content_hash": "d3df1044751484e3296222487667f33050fda5e1e5d80e159773bbcd2a9540212d5f64afa48e9318b2b93dca1077ad06fd79dfb64c2e58e56c6975528c024a47"
    }
  ]
}
```

**SDK Code**

```python A full working life
import requests

url = "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check"

headers = {"X-APP-SECRET": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript A full working life
const url = 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check';
const options = {method: 'GET', headers: {'X-APP-SECRET': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go A full working life
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-APP-SECRET", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby A full working life
require 'uri'
require 'net/http'

url = URI("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-APP-SECRET"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java A full working life
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check")
  .header("X-APP-SECRET", "<apiKey>")
  .asString();
```

```php A full working life
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check', [
  'headers' => [
    'X-APP-SECRET' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp A full working life
using RestSharp;

var client = new RestClient("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check");
var request = new RestRequest(Method.GET);
request.AddHeader("X-APP-SECRET", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift A full working life
import Foundation

let headers = ["X-APP-SECRET": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### This family has not finished

**Response**

```json
{
  "detail": "feature_not_ready"
}
```

**SDK Code**

```python This family has not finished
import requests

url = "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check"

headers = {"X-APP-SECRET": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript This family has not finished
const url = 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check';
const options = {method: 'GET', headers: {'X-APP-SECRET': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go This family has not finished
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-APP-SECRET", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby This family has not finished
require 'uri'
require 'net/http'

url = URI("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-APP-SECRET"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java This family has not finished
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check")
  .header("X-APP-SECRET", "<apiKey>")
  .asString();
```

```php This family has not finished
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check', [
  'headers' => [
    'X-APP-SECRET' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp This family has not finished
using RestSharp;

var client = new RestClient("https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check");
var request = new RestRequest(Method.GET);
request.AddHeader("X-APP-SECRET", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift This family has not finished
import Foundation

let headers = ["X-APP-SECRET": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://clients.infonite.tech/api/executions/results/6aa3d8b418d1c5dc9a8e3d36/public/v1/labor-check")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```