---
title: "Render a capsule as an instruction file, with referenced summaries and bodies in place"
method: GET
path: "/api/preview/capsules/{id}/instruction-export"
tags: ["capsule"]
---

# Render a capsule as an instruction file, with referenced summaries and bodies in place

`GET /api/preview/capsules/{id}/instruction-export`

## Request

- Base URL: `https://symbol.chat` (the document declares no server; this is the origin it was published from)
- URL: `https://symbol.chat/api/preview/capsules/{id}/instruction-export`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Secure-next-auth.session-token`
  - OAuth 2
    - Authorization code: `https://mcp.symbol.chat/authorize`
    - Token URL: `https://mcp.symbol.chat/token`

## Path parameters

- `id` string, required: UUID v4 string

## Response `200`

Successful response

- object
  - `body` string, required
  - `bytes` integer, required
  - `capsule` object, required
    - `id` string, required: UUID v4 string
    - `ref` string, required
    - `title` string, required
  - `document` string, required
  - `markers` object, required
    - `begin` string, required
    - `end` string, required
  - `report` object, required
    - `unexpanded` object[], required
      - `reason` 'deleted' | 'unavailable' | 'encrypted' | 'empty_body', required
      - `ref` string, required
    - `warnings` object[], required
      - `reason` 'archived' | 'no_summary' | 'summary_stale' | 'marker_line', required
      - `ref` string, required

## Changes

- **2026-10-27** `3a2c4ebeab51`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/symbol/apis/symbol-api/changes/api/preview/capsules/:id/instruction-export/get.md)

---

[API](https://skmtc.dev/symbol/apis/symbol-api.md) - [All operations](https://skmtc.dev/symbol/apis/symbol-api/llms.txt) - [OpenAPI document](https://skmtc.dev/symbol/apis/symbol-api/revisions/3a2c4ebeab51?raw)
