# Request headers

Canonical URL: https://developers.iagenify.com/sdk/concepts/request-headers/
Language: en

Four headers travel on every call. Three of them describe the machine the SDK is running on, which is how a machine becomes a storage on your account.

Status: sent automatically

## What is sent {#what}

| Header | Value |
| --- | --- |
| Authorization | Bearer <jwt> — the session, never the key |
| X-IaGenify-Version | the SDK version |
| X-IaGenify-Machine-Id | a hash of hostname, platform, architecture and runtime |
| X-IaGenify-Resources | detected CPU, memory, GPU, disk — omitted when nothing was detected |
| Content-Type | application/json, unless the body is FormData |

## The resources header {#resources}

Recomputed at most every 30 seconds and shared across calls, so a burst of requests does not probe the disk a hundred times. Every probe is wrapped: a field that cannot be read is left out rather than failing the call, and when nothing at all could be read the header is not sent.

## Why it is sent at all {#why}

It is what lets the machine running the SDK appear on your account as a storage, with its own disk and capabilities, instead of being an anonymous caller. That is the same record an agent works against when it reads or writes files on that machine.

```javascript
const machines = await api.storage.list();
// a computer appears with its hostname and the disk it reported

const pc = await api.storage.get();
pc.hostname;     // from the exchange
pc.machineId;    // the same value as the header
```

> **Nothing here identifies a person**
>
> The machine id is a hash of machine facts. It contains nothing you typed, no key, and no account identifier.

```python
machines = api.storage.list()
# a computer appears with the machine id it reported

pc = api.storage.get()
pc.machine_id    # the same value as the X-IaGenify-Machine-Id header
```
