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

# Import Environment Variables

> Bulk import environment variables from .env format

Imports multiple environment variables at once from a `.env` file format string. Existing variables with the same key are overwritten.

## Authentication

Requires a valid Bearer token.

## Path Parameters

<ParamField path="id" type="string" required>
  Project ID (UUID).
</ParamField>

## Request Body

<ParamField body="content" type="string" required>
  Environment variables in `.env` file format. Each line should be in `KEY=value` format.
</ParamField>

<RequestExample>
  ```json theme={null}
  {
    "content": "DATABASE_URL=postgresql://user:pass@host:5432/db\nAPI_SECRET=sk-secret-123\nNODE_ENV=production"
  }
  ```
</RequestExample>

## Response

Returns `200 OK` on success.

## Errors

| Status | Description                                                  |
| ------ | ------------------------------------------------------------ |
| `400`  | Bad Request — invalid `.env` format                          |
| `401`  | Unauthorized — missing or invalid token                      |
| `404`  | Not Found — project does not exist or you do not have access |
