---
title: "Get a content draft rendered for preview"
method: GET
path: "/api/v1/content-generation/drafts/{draftId}"
tags: ["content-generation"]
---

# Get a content draft rendered for preview

`GET /api/v1/content-generation/drafts/{draftId}`

## Path parameters

- `draftId` string, uuid, required

## Response `201`

- ContentDraftPreviewResponseDTO
  - `difficulty` string — Difficulty level of the mission: easy, medium or hard
  - `draftId` string, required — The unique identifier for the draft
  - `hide_examples` boolean, required
  - `hide_scorecard` boolean, required
  - `language` string — Language the draft is authored in
  - `persona` object, required — Persona the learner will speak to
    - `avatar_file` object — The persona's avatar image
      - `sizes` object — Available size variants for the avatar
        - `card` object — Card size preview URL
          - `url` string — Preview URL for the image
        - `thumbnail` object — Thumbnail size preview URL
          - `url` string — Preview URL for the image
      - `url` string — Public URL to access the avatar
    - `description` string, nullable — Optional description of the persona
    - `name` string — Full name of the persona
    - `role` string — The role the persona plays in the conversation. For B2B sales conversations, use their job title or function. If there is no workplace, use their relationship to the conversation, such as "Prospective buyer," "Existing customer," or "Private customer." For role-plays about manager skills, use their relationship to the learner, such as "Team member." This is shown to the learner and used to instruct the AI during the role-play.
    - `workplace_description` string — Optional description of the workplace
    - `workplace_name` string — Name of the workplace where the persona works. Empty when no workplace is relevant.
  - `scenario` object, required — Scenario details shown before the call
    - `description` string — Detailed description of the scenario
    - `duration` number — Expected duration in minutes
    - `goal` string — Primary goal or objective of the scenario
  - `scorecard` object, required — The scorecard, shown to the learner as "Your tasks"
    - `items` object[], required
      - `desired_behaviours` object[], nullable — Array of desired behaviors for this item
        - `behaviour` string, required — Description of the desired behavior
        - `examples` string, nullable — List of examples demonstrating the behavior
      - `desired_outcome` string, nullable — Goal or objective for this specific item
      - `item_title` string — Optional title for the scorecard item
  - `title` string — Title of the mission being authored
  - `updatedAt` string, required — When the draft last changed
  - `version` number, required — Incremented by the store on every change. The preview polls and re-renders when this moves.

---

[API](https://skmtc.dev/wejam/apis/jam.md) · [All operations](https://skmtc.dev/wejam/apis/jam/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wejam/jam/revisions/b4e171f8d0f4/schema)
