---
title: "Get a recipe by path"
method: GET
path: "/api/v1/recipes/{id...}"
tags: ["recipes"]
---

# Get a recipe by path

`GET /api/v1/recipes/{id...}`

Returns the contents of a recipe file by its dot-notation name.
Uses a wildcard path parameter to support nested paths
(e.g., `base.webserver` or `base/webserver`).

## Path parameters

- `id` string, required

## Response `200`

Recipe contents

- NATSEnvelope — Standard NATS proxy response envelope. On success, `result` contains the response data. On error, `error` contains a message string.
  - `result` unknown
  - `error` string — Error message (present only on failure)

## Other responses

- `400` — Bad request — missing or invalid parameters
- `502` — NATS communication error — farmer unreachable or returned an error

## Changes

- **2026-03-15** `1aab0676c2b4` — 2 breaking, 3 warning
  - added the new path request parameter `path`
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - deleted the `path` request parameter `id`
  - removed the optional property `error` from the response with the `200` status
  - …1 more
- **2026-03-13** `26871a2f667f` — 2 breaking, 3 warning
  - added the new path request parameter `path`
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - deleted the `path` request parameter `id`
  - removed the optional property `error` from the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/gogrlx/apis/grlx-cli-api/changes/api/v1/recipes/:id.../get.md)

---

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