---
title: "Get local environment variables"
method: GET
path: "/api/system/environment/local"
tags: ["system"]
---

# Get local environment variables

`GET /api/system/environment/local`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/system/environment/local`
- Auth: none declared

Retrieve local environment variables from .env file

## Response `200`

Local environment variables

- object
  - `success` boolean
  - `data` object

## Other responses

- `500`: Error retrieving environment variables

---

[API](https://skmtc.dev/elizaos/apis/eliza-os-api.md) - [All operations](https://skmtc.dev/elizaos/apis/eliza-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/elizaos/apis/eliza-os-api/revisions/d606a12682bb?raw)
