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

# Authentication

> Create, store, and send a Galileo API key.

Create an API key in the [Playground](https://playground.physionlabs.ai/api-keys). Store it in `GALILEO_API_KEY` on your server.

```bash theme={null}
export GALILEO_API_KEY="gk_live_..."
```

Both SDKs read this variable automatically. You can also pass the key when constructing a client.

<Tabs>
  <Tab title="TypeScript">
    ```ts theme={null}
    const galileo = new Galileo({ apiKey: process.env.GALILEO_API_KEY });
    ```
  </Tab>

  <Tab title="Python">
    ```python theme={null}
    galileo = Galileo(api_key=os.environ["GALILEO_API_KEY"])
    ```
  </Tab>

  <Tab title="HTTP">
    ```http theme={null}
    Authorization: Bearer gk_live_...
    ```
  </Tab>
</Tabs>

Keep API keys out of browser code, mobile applications, source control, and logs. Call Galileo from a server you control.

`GET /v1/status` accepts requests without a key. For upload PUT requests, use the temporary upload URL and omit the Galileo API key.
