---
title: "Get last version"
method: GET
path: "/expression/recipes/{uuidOrShortId}/last"
tags: ["Expression - Recipes"]
---

# Get last version

`GET /expression/recipes/{uuidOrShortId}/last`

Get the last version of a recipe

## Path parameters

- `uuidOrShortId` string, required — Recipe identifier (UUID or short id).

## Response `200`

Successful response

- object
  - `recipe` object, required — Recipe details.
    - `uuid` string, required
    - `shortId` string, required
    - `version` number, required
    - `workspaceUuid` string, nullable, required
    - `name` string, required
    - `description` string, required
    - `category` 'other' | 'classification' | 'cleaning' | 'marketing' | 'sales' | 'event' | 'copywriting', required
    - `isPublic` boolean, required
    - `isBlacklisted` boolean, required
    - `archivedAt` string, nullable, required
    - `placeholders` union[], required
      - union
        - object
          - `slug` string, required
          - `name` string, required
          - `description` string
          - `kind` 'string' | 'number' | 'boolean', required
        - object
          - `slug` string, required
          - `name` string, required
          - `description` string
          - `kind` 'enum', required
          - `enum` string[], required
        - object
          - `slug` string, required
          - `name` string, required
          - `description` string
          - `kind` 'array', required
          - `items` union[], required
            - union
              - …
    - `expression` string, required
    - `instructTo` 'ai' | 'none', required
    - `kind` 'jsExpression' | 'templateExpression', required
    - `userUuid` string, required
    - `userFirstName` string, nullable, required
    - `userLastName` string, nullable, required
    - `userPicture` string, nullable, required
    - `isFavorite` boolean, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

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