---
title: "Export exact Markdown and its filename"
method: GET
path: "/workspace/knowledge/documents/{documentId}/export"
tags: ["Knowledge"]
---

# Export exact Markdown and its filename

`GET /workspace/knowledge/documents/{documentId}/export`

## Request

- Base URL: `https://blitzreels.com/api/v1`
- URL: `https://blitzreels.com/api/v1/workspace/knowledge/documents/{documentId}/export`
- Auth: API key in header `Authorization`

Export exact Markdown and its filename.

## Path parameters

- `documentId` string, uuid, required

## Query parameters

- `revision` integer, nullable

## Response `200`

Successful response

- object
  - `filename` string, required
  - `markdown` string, required
  - `revision` number, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/blitzreels/apis/blitzreels-api.md) · [All operations](https://skmtc.dev/blitzreels/apis/blitzreels-api/llms.txt) · [OpenAPI document](https://skmtc.dev/blitzreels/apis/blitzreels-api/revisions/35608b12471d?raw)
