---
title: "Get Journey Schema"
method: GET
path: "/journeys/{journey_token}/schema"
tags: ["Journeys"]
---

# Get Journey Schema

`GET /journeys/{journey_token}/schema`

This endpoint retrieves the required and optional parameters for a given Journey.
The parameters will be aggregated and segmented by branch.

## Response `200`

Success

- object
  - `journey_token` string
  - `journey_version` integer
  - `timestamp` integer
  - `branches` object[]
    - `branch_name` string
    - `schema` object
      - `type` string
      - `properties` object
      - `required` string[]
      - `x-alloy-and` string[]
      - `x-alloy-or` string[]
      - `x-alloy-with` string[]
      - `x-alloy-missing-vendor-schemas` string[]
      - `x-alloy-input-attributes` string[]
      - `x-alloy-jq-input-attributes` string[]
      - `x-alloy-published-attributes` string[]

## Other responses

- `401` — Authentication Failure
- `404` — Not Found
- `429` — Rate Limit Exceeded
- `500` — Unhandled Service Error
- `503` — Temporarily Offline for Maintenance

---

[API](https://skmtc.net/alloy/apis/alloy-api.md) · [All operations](https://skmtc.net/alloy/apis/alloy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alloy/alloy-api/versions/405799de4d2a/schema)
