---
title: "The rule set for one environment"
method: GET
path: "/api/config"
tags: ["Evaluation"]
---

# The rule set for one environment

`GET /api/config`

## Request

- Base URL: `https://launchflag.dev`
- URL: `https://launchflag.dev/api/config`
- Auth: none declared

What the SDK polls to evaluate locally. Contains rules, never user data. ETag is the version.

## Query parameters

- `key` string, required

## Response `200`

The environment's rule set

## Other responses

- `401`: A JSON error with a message that says how to fix it

---

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