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

# Get a recipe by path

`GET /api/v1/recipes/{path}`

Returns the contents of a recipe file by its path.
Uses a wildcard path parameter to support nested paths (e.g., `base/webserver`).
(Added in PR #177, may not be present on all builds.)

## Path parameters

- `path` string, required

## Response `200`

Recipe contents

- unknown

## Other responses

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

---

[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/26871a2f667f/schema)
