---
title: "Get environment variables"
method: GET
path: "/v1/instance/{instance_id}/env"
tags: ["env"]
---

# Get environment variables

`GET /v1/instance/{instance_id}/env`

## Path parameters

- `instance_id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

Successful Response

- TypeEnvGetResponse
  - `variables` object, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/scrapybara/apis/api-reference.md) · [All operations](https://skmtc.dev/scrapybara/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scrapybara/api-reference/revisions/3d9197361372/schema)
