> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tensorpro.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Mint an API key and make your first authenticated call to EDN.

## 1. Mint an API key

Sign in to the [Console](https://api.tensorpro.ai) and create an API key. Keep
the key secret and never commit it to source control. See
[Authentication](/authentication) for how the key is presented on each request.

## 2. Check the API is reachable

`GET /api/v1/health` is unauthenticated, so you can call it without a key to
confirm the API is reachable.

<CodeGroup>
  ```bash cURL theme={null}
  curl https://api.tensorpro.ai/api/v1/health
  ```

  ```python Python theme={null}
  import requests

  resp = requests.get("https://api.tensorpro.ai/api/v1/health")
  print(resp.status_code, resp.json())
  ```
</CodeGroup>

## 3. Make an authenticated call

Once you have a key, send it in the `Authorization` header as `Bearer <key>`.
The example below builds a session information packet (SIP) for a session by
posting to `POST /api/v1/sip/build` with a `session_id`.

<CodeGroup>
  ```bash cURL theme={null}
  curl https://api.tensorpro.ai/api/v1/sip/build \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"session_id": "YOUR_SESSION_ID"}'
  ```

  ```python Python theme={null}
  import requests

  resp = requests.post(
      "https://api.tensorpro.ai/api/v1/sip/build",
      headers={"Authorization": "Bearer YOUR_API_KEY"},
      json={"session_id": "YOUR_SESSION_ID"},
  )
  print(resp.status_code, resp.json())
  ```
</CodeGroup>

<Note>
  Replace `YOUR_API_KEY` with the key you minted in the Console, and
  `YOUR_SESSION_ID` with a session you have created. The base URL
  `https://api.tensorpro.ai` is the evaluation endpoint.
</Note>

## Next steps

<CardGroup cols={2}>
  <Card title="Authentication" icon="key" href="/authentication">
    The full API key scheme and which endpoints are unauthenticated.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/health-check">
    Browse every endpoint and try it in the playground.
  </Card>
</CardGroup>
