---
title: "getJourneyEnvironment"
method: GET
path: "/v1/journey/configuration/{id}/environment"
tags: ["Journeys"]
---

# getJourneyEnvironment

`GET /v1/journey/configuration/{id}/environment`

Resolve the environment variables referenced by this journey. Only browser-safe value types are returned.

## Path parameters

- `id` string, uuid, required

## Response `200`

Resolved environment-backed datasources

- JourneyEnvironmentResponse
  - `items` object[], required
    - `datasourceId` string, required
    - `type` 'Text' | 'Number' | 'Boolean' | 'Map', required
    - `value` union, required
      - string
      - number
      - boolean
      - EnvironmentMap
        - `fallbackLanguage` string
        - `options` EnvironmentMapEntry[], required
          - `key` string, required
          - `value` union, required
            - string
            - object
  - `errors` object[], required
    - `datasourceId` string, required
    - `code` 'not_found' | 'unsupported_type' | 'not_set' | 'invalid_value' | 'incompatible_consumer', required

## Other responses

- `401` — Journey access token missing
- `403` — Journey access token does not match the journey
- `502` — Environment resolver unavailable

## Changes

- **2026-09-02** `ca059fb4cfe7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/epilot/apis/journey-api/changes/v1/journey/configuration/:id/environment/get.md)

---

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