GET /markdown/:siteId/export
This endpoint generates and returns a markdown file containing all the mapped URLs and their content for a specific site. This is useful for creating a local, readable copy of the site’s data.
Path Parameters
The ID of the site to export.
Response
The response will be a markdown file that will trigger a download in the browser.
curl -X GET https://api.llmgenerator.com/api/v1/markdown/site_xxxxxxxxxxxxx/export -o export.md
# Site Export: example.com
## URL: https://www.example.com/
**Title:** Example Domain
**Description:** An example domain for use in documentation.
---
*Content of the page...*
---
## URL: https://www.example.com/about
**Title:** About Us
**Description:** Information about our company.
---
*Content of the page...*
---