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

# API Keys

> Authenticate API requests to Nota AI using Bearer token authentication.

# 🔐 API Keys

Use your Nota AI API key to authenticate programmatic requests. To generate or manage keys, go to **Settings → API Keys** in the dashboard — see the [API Keys settings guide](/settings/api-keys).

***

## 🔐 Using API Keys for Authentication

Once you’ve created a key, use it to authenticate API calls.

### Request Header

```json theme={null}
{
  "Authorization": "Bearer YOUR_API_KEY",
  "Content-Type": "application/json"
}
```

### Request Parameters

| Parameter          | Type     | Description                                                                           |
| ------------------ | -------- | ------------------------------------------------------------------------------------- |
| `data`             | `array`  | List of workflow descriptions specifying the tests to execute                         |
| `environment_name` | `string` | Name of the environment where the workflow should run (e.g., `staging`, `production`) |
| `suite_name`       | `string` | Logical grouping name for organizing the workflows                                    |

### Request Body Format:

```json theme={null}
{
  "data": [
    "Check button functionality across screen sizes",
    "Ensure accessibility for images and contrast",
    "Test button response under rapid clicks"
  ],
  "environment_name": "development nota ai",
  "suite_name": "api suite name"
}
```

### Response Example

```json theme={null}
{
  "status": "success",
  "message": "Request received. Your workflow execution has been initiated."
}
```
