# Get Recipe



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Get a recipe by id, optionally pinned to a historical version.

`?version_id=` (omit ⇒ latest) selects the snapshot. The response
body's top-level `version_id` mirrors the resolved snapshot —
HEAD when omitted, the supplied version otherwise — and the
`ETag: W/"\{version_id\}"` response header is derived from that
field. Clients can pass the ETag back as `If-Match` on the next
mutation for optimistic concurrency.

The response body's `data.status` (`active` / `archived` /
`deleted`) is the recipe lifecycle state.

Available only on API versions declaring the `recipe_versioning`
capability. Requests without this capability receive a 404.

<APIPage document="&#x22;bettermenu&#x22;" operations="[{&#x22;path&#x22;:&#x22;/studio/recipes/{recipe_id}&#x22;,&#x22;method&#x22;:&#x22;get&#x22;}]" />
