---
title: "List environment variables"
method: GET
path: "/api/v1/functions/{function_id}/env"
tags: ["Functions"]
---

# List environment variables

`GET /api/v1/functions/{function_id}/env`

Secret values are masked; use the reveal endpoint to read them.

## Path parameters

- `function_id` string, required

## Response `200`

Environment variables

- object
  - `success` boolean
  - `data` object
    - `env_vars` FunctionEnvVar[]
      - `key` string
      - `value` string — Empty for secrets unless fetched via the reveal endpoint
      - `is_secret` boolean
      - `is_system` boolean — Managed by the platform (e.g. bindings) — read-only
      - `binding_id` string, uuid — Owning binding for system vars
      - `updated_at` string, date-time

## Other responses

- `401` — Authentication required

## Changes

- **2026-08-20** `efd3c11c5c92` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/functions/:function_id/env/get.md)

---

[API](https://skmtc.dev/rafftechnologies/apis/raff-api.md) · [All operations](https://skmtc.dev/rafftechnologies/apis/raff-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rafftechnologies/raff-api/revisions/2f4df56be77c/schema)
