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

# Introduction

> Here you will find detailed information on every endpoint, including request parameters, response formats, and examples.

<Note>Production API endpoint URL: `https://api.openstack.ai/v1`</Note>

## Authentication

All requests to the OpenStack API require authentication using your **project’s API key**.

### How it works

Each project in your account has a unique secret API key. This key identifies your project and ensures that only you can access and modify your data.

* **Keep your API key secure**
* **Rotate keys in your dashboard if needed**

### Adding the API key to requests

You must include your API key in the `Authorization` header of every request to the OpenStack API:

```shellscript theme={null}
Authorization: Bearer YOUR_API_KEY
```

For example:

```bash theme={null}
curl -X GET "https://api.openstack.ai/v1/models" \
-H "Authorization: Bearer YOUR_API_KEY"
```

### Where to find your API key

1. Log in to your Dashboard.
2. Go to the OpenStack section of the dashboard.
3. Copy the secret API key for the project you want to integrate.

<Warning>If your API key is compromised, rotate it from the dashboard to protect your data.</Warning>

### Tips for API key usage

* Never commit your API key to public repositories.
* Use environment variables (process.env.YOUR\_API\_KEY) in your backend for secure usage.
* Periodically review and rotate keys to maintain security.
