---
title: "Stream the converted PDF for a slot (MED-784 AC1, AC4, AC10)"
method: GET
path: "/cohorts/{cohortId}/sessions/{sessionId}/content/{slot}/pdf"
tags: ["Session Content"]
---

# Stream the converted PDF for a slot (MED-784 AC1, AC4, AC10)

`GET /cohorts/{cohortId}/sessions/{sessionId}/content/{slot}/pdf`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/sessions/{sessionId}/content/{slot}/pdf`
- Auth: none declared

Returns the converted PDF binary for an active, ready slot. Used by the
frontend's PDF.js renderer to produce slide thumbnails (AC4) and the
full-size preview modal. Always served with `Content-Disposition: inline`
per AC10 — no download affordance is offered to the client. Returns
409 if the slot's processing_state is not 'ready'.

## Path parameters

- `cohortId` string, uuid, required
- `sessionId` string, uuid, required
- `slot` SessionContentSlot, required (unresolved $ref)

## Response `200`

PDF binary

## Other responses

- `401`: Unauthorized
- `404`: Session or slot not found
- `409`: Slot exists but not yet ready (still pending/processing/failed)

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
