---
title: "Get global environment variables"
method: GET
path: "/api/projects/{projectName}/globalenv"
tags: ["globalenv"]
---

# Get global environment variables

`GET /api/projects/{projectName}/globalenv`

## Request

- Base URL: `https://api.hostim.dev`
- URL: `https://api.hostim.dev/api/projects/{projectName}/globalenv`
- Auth: HTTP bearer

Get global environment variables

## Path parameters

- `projectName` string, required

## Response `200`

OK

- EnvVar[]
  - `name` string, required: The env var name
  - `value` string, required: The env var value

## Other responses

- `401`: User is not authorized
- `404`: Project not found
- `500`: Internal server error

---

[API](https://skmtc.dev/hostim/apis/hostim-api.md) · [All operations](https://skmtc.dev/hostim/apis/hostim-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostim/apis/hostim-api/revisions/37c35e1026a9?raw)
