---
title: "Get all available variables for a segment, with known values"
method: GET
path: "/segments/{id}/available_variables"
tags: ["Segments"]
---

# Get all available variables for a segment, with known values

`GET /segments/{id}/available_variables`

## Path parameters

- `id` string, required

## Response `200`

The variables available for the segment, with induced values

- object
  - `available_variables` object[], required — The variables available for the segment
    - `name` string, required — The dotted variable name, e.g. segment.name
    - `value` string, nullable, required — The induced value

---

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